This reverts commit 44f5215ee8.
Reason for revert: <Make Ime test in SystemDecorationTest failed>
Bug: 130715649
Change-Id: I9afb1d5ee7e7a4f1e7de6fa4c7c3ec5dcc336f08
Property methods to get/set gesture exclusion rects for a window.
This is useful for games or other frameworks that use Window#takeSurface
and do not have a view hierarchy, leaving the associated View methods
unavailable.
Bug: 130572780
Test: cts via "atest SystemGestureExclusionRectsTest"
Change-Id: I2704aef1d1950158fcabf7c91413bedee08b8971
Also removed ContentCaptureClient, which is not used anymore (it probably became obsolete with the
ContentCaptureOptions optimization).
Fixes: 130585342
Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.augmented.AugmentedLoginNotImportantForAutofillActivityTest
Test: manual verification with Dialer app
Change-Id: I041922874fac749f1f5d49793f1ad3e26cc345d6
As per the suggestion from API council, we now have a subclass for event
of each category.
Bug: 129344540
Test: atest frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/
Test: atest frameworks/base/packages/ExtServices/tests/src/android/ext/services/notification/SmartActionsHelperTest.java
Change-Id: Ic43b33c2176447c40e64bd0e410e906d5fb9c4cc
All requests / result objects from TextClassifier have get/setRequest,
so ConversationActions.Request should have them as well.
BUG: 130529981
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/ConversationActionsTest.java
Change-Id: I19719b009d4f34df8650c669cc24cb304293407a
To fix the issue that mContext is not updated when moved to another
display, we previously introduce mDisplayContext as a workaround in [1].
Change to use Context#updateDisplay(int) to unify mDisplayContext to
mContext.
[1]: Ifa0ca24e9cf764caf492ee065606680b6a06751a
Bug: 116349163
Test: atest ActivityManagerMultiDisplayTests
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Test: atest InputMethodManagerTest
Test: atest InsetsControllerTest
Test: atest InsetsSourceConsumerTest
Test: atest ImeInsetsSourceConsumerTest
Test: atest CtsActivityManagerDeviceTestCases:MultiDisplayClientTests
Change-Id: Ic2010e8b533caf01418e0deb8062b8ff597c5abc
Forgot to add this in generateLinks.
BUG: 129119759
Test: frameworks/base/core/tests/coretests/src/android/view/textclassifier/
Change-Id: I1882ed496b4a8aa04aaced4e9d632b47393dccbf
Modify the document of this method, View#setScreenReaderFocusable,
To make as clear and precise as possible
Bug: 109898645
Test: Java Doc Build PASS
Change-Id: I683d420b6f1a4743d57dad9d06a343b85ec5da00
ImeInsetsSourceConsumer was not unregistered when focus lost, it
was still references by InputMethodManager. So, the last activity
in the process won’t be GCed even though it has been destroyed.
Bug: 130216346
Test: atest ImeInsetsSourceConsumerTest
Change-Id: Ida19411d8361180692e7de7e012d2cd3b431fa9f
For message like "a@anrdoid.comb@android.com", we wanna show no
suggestion on them because it will be ambiguous (Two chips with
label "Send Email"). And this is achieve by deduplication.
Previously, we did sublisting before duplication, and thus
we failed to remove some duplications. Let's do it the another way round.
BUG: 130344529
Test: atest
Change-Id: Idb4ea439daca710ce6247611f97c657e6a1c1a1b
Callers are supposed to close the hardware buffer themselves. Creating
a utility method around this
Bug: 123874711
Test: No more leak warning on device
Change-Id: I2cf215f0646222f63e564a58edab1ffffa396ff3
Did a grep to ensure no more deepCopy() in textclassifier folder.
BUG: 129901152
Test: atest cts/tests/tests/view/src/android/view/textclassifier/cts/
Change-Id: Ia1e6f3ad1664a0b57495d94d2cf5aa8945965862
Previously when we capture layers into graphic buffer we always assume SRGB
dataspace, however, if we have an app that is in wide color gamut mode, we want
to show the difference. This patch adds the ability to determine the dataspace
screenshot graphic buffer based on the color mode of the display.
BUG: 116112787
Test: Build, flash and boot. Verify with WCG Photos.
Change-Id: Ie2df32cad056576c256b9299a67855ed73714f50
The feature is not enabled for Q, so although the cost of checking if it's
enabled is low, there's no reason to pay it at all.
Bug: 111895153
Change-Id: I0d20f47d2c8ddc15031257ce87b40a0d23a617ff