Joanne Chung
7229007466
Merge "Refine the ViewTranslationCallback usage." into sc-dev am: cee152ee43 am: df12bfb9ff am: f14bf04771
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14186069
Change-Id: I28792837248882200481e439971b57cc32758e86
2021-05-22 08:25:51 +00:00
Joanne Chung
df12bfb9ff
Merge "Refine the ViewTranslationCallback usage." into sc-dev am: cee152ee43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14186069
Change-Id: I8fd555cf8e64110681a81404d262464fec0073dc
2021-05-22 07:55:19 +00:00
Joanne Chung
cee152ee43
Merge "Refine the ViewTranslationCallback usage." into sc-dev
2021-05-22 07:41:18 +00:00
Nikita Dubrovsky
274056da3d
Merge "Improve javadocs for OnReceiveContentListener" into sc-dev am: 7bac522d23 am: cca2545680 am: 4e968b6830
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14607569
Change-Id: Idbbb7fe3bffff52e30a799ff04772f7c9b945702
2021-05-22 05:28:17 +00:00
Nikita Dubrovsky
cca2545680
Merge "Improve javadocs for OnReceiveContentListener" into sc-dev am: 7bac522d23
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14607569
Change-Id: I3f8092c14abcc076f013cecafae5f7b92913f6bc
2021-05-22 05:11:20 +00:00
Nikita Dubrovsky
7bac522d23
Merge "Improve javadocs for OnReceiveContentListener" into sc-dev
2021-05-22 05:05:40 +00:00
Nate Myren
681cc20169
Merge "Add PrivacyIndicator APIs to WindowInsets" into sc-dev am: 4421186590 am: dde62b8b20 am: accaabe4ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14273325
Change-Id: Iaf50eb90588eb49645ee4d33db2c0a41a3ed9734
2021-05-22 00:47:47 +00:00
Nate Myren
accaabe4ba
Merge "Add PrivacyIndicator APIs to WindowInsets" into sc-dev am: 4421186590 am: dde62b8b20
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14273325
Change-Id: Ifd25e3332700e34c9318db9f1ab8aff71f10cd06
2021-05-22 00:34:10 +00:00
Nate Myren
286db646fe
Merge "Add PrivacyIndicator APIs to WindowInsets" into sc-dev am: 4421186590
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14273325
Change-Id: Ibef0b8fe751d69ad6d622594d3dee5e0a744bc0f
2021-05-22 00:18:14 +00:00
Nate Myren
4421186590
Merge "Add PrivacyIndicator APIs to WindowInsets" into sc-dev
2021-05-22 00:13:34 +00:00
Evan Rosky
b521eaf1d1
Merge "Hook up nav-bar attach/detach logic to Shell Transitions" into sc-v2-dev am: 6399316a1e am: 1613381920
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14654775
Change-Id: Ib1fcf32b406046755648c053a30fafbc005aab62
2021-05-22 00:07:53 +00:00
Evan Rosky
6399316a1e
Merge "Hook up nav-bar attach/detach logic to Shell Transitions" into sc-v2-dev
2021-05-21 23:28:32 +00:00
Nikita Dubrovsky
abd1ae225b
Improve javadocs for OnReceiveContentListener
...
Bug: 186122267
Test: Presubmit
Change-Id: I7d9648ea3d942f69770dc65c1d4f4a799edf11ad
2021-05-21 15:53:15 -07:00
Yohei Yukawa
032af45064
Merge "Remove CursorAnchorInfo#createForAdditionalParentMatrix()" into sc-dev am: 53fb57c212 am: 3593b5c424 am: df14bfd364
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14429500
Change-Id: I34c93cb1b8a137274fd3a9d2ea1592bfa73e11dd
2021-05-21 22:50:22 +00:00
Yohei Yukawa
32bd24d526
Merge "Remove InputMethodManager#reportActivityView()" into sc-dev am: e738cfc898 am: e56486181f am: 170157f875
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14429499
Change-Id: I1e0fd5ed7e8eb1221d5401ec5517fbc698f05e77
2021-05-21 22:48:45 +00:00
Yohei Yukawa
df14bfd364
Merge "Remove CursorAnchorInfo#createForAdditionalParentMatrix()" into sc-dev am: 53fb57c212 am: 3593b5c424
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14429500
Change-Id: Iedd246961c4bbd0d3afb635a9fb6e3da8c20798d
2021-05-21 22:36:31 +00:00
Yohei Yukawa
a8fab3749d
Merge "Remove CursorAnchorInfo#createForAdditionalParentMatrix()" into sc-dev am: 53fb57c212
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14429500
Change-Id: I79e0ece0c6d79954a13437420dbaf010a514babe
2021-05-21 22:35:59 +00:00
Yohei Yukawa
e56486181f
Merge "Remove InputMethodManager#reportActivityView()" into sc-dev am: e738cfc898
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14429499
Change-Id: Id5b4932a00aa13b8485203dc3ed8aa73df9db0d1
2021-05-21 21:43:08 +00:00
Yohei Yukawa
898b28fecc
Remove CursorAnchorInfo#createForAdditionalParentMatrix()
...
This CL logically reverts my previous CL [1], which added an @hide
method
CursorAnchorInfo#createForAdditionalParentMatrix()
as a preparation to support CursorAnchorInfo API on ActivityView.
Now that InputMethodManager#reportActivityView() is removed [2], we
also do not need this @hide method any more too.
Note also that CursorAnchorInfo is now fully tested in CTS rather than
FrameworksCoreTests [3]. Thus it's fine with removing
CursorAnchorInfoTest.java from FrameworksCoreTests.
[1]: Ic7f9057623ffc61ec7a6121735dc39adecf4649d
e4410a135b
[2]: Idd60d96a39f827197d189beb5de016446576d9cd
44c499d853
[3]: Ib758bddff34b4722b39c94e7ad4e8f8da2bb8b92
c4ef1d6ec22dc2af2ed339fd4e78075903783be0
Bug: 115693908
Bug: 179161778
Test: atest CtsInputMethodTestCases:CursorAnchorInfoTest
Change-Id: I0a05453eeed863db5bfe4b965ab4bcbad67f2783
2021-05-21 18:14:26 +00:00
Yohei Yukawa
44c499d853
Remove InputMethodManager#reportActivityView()
...
This CL logically reverts my previous CL [1], which re-enabled
CursorAnchorInfo API for ActivityView since ActivityView is finally
removed [2].
There should be no user/developer impact in this CL as
InputMethodManager#reportActivityView()
is called nowhere.
[1]: Id0411a80456182111bb5b681c6d1230b58e7ec2e
b4f328a2f3
[2]: Ic66f3740819634366edb20a34a7c8177af258c2f
5456990f7e
Bug: 115693908
Bug: 179161778
Test: atest CtsInputMethodTestCases
Test: atest CtsWindowManagerDeviceTestCases:ActivityViewTest
Change-Id: Idd60d96a39f827197d189beb5de016446576d9cd
2021-05-21 18:13:17 +00:00
Evan Rosky
2996ef5f4f
Hook up nav-bar attach/detach logic to Shell Transitions
...
For the Recents gesture animation, the navbar gets attached to
the app while dragging. The actual navbar attach/detach logic
lives in Core, so this change basically hacks the logic into
the core-side of shell transitions. This is ugly and should
be a temporary solution until that behavior can move to Shell.
This also had to add an ugly API on IATM because the lifecycle
of the navbar reparent is different from the transition lifecycle
in this instance because of LiveTiles.
Bug: 188595497
Test: With shell transit enabled, open app, swipe up to recents.
Observe navbar attached to app during drag and put back
on screen afterwards. Also, no more crash.
Change-Id: I1aba53314329e3fd7678a7e8a5fc8ffa0294e395
2021-05-21 08:47:46 -07:00
Joanne Chung
18b1d3bde4
Refine the ViewTranslationCallback usage.
...
Currently, TextView uses its default implementation even developers
uses setViewTranslationCallback() to set their customized
ViewTranslationCallback, we should only set default TextView
implementation if developers don't set it.
The onViewTranslationResponse() will call getViewTranslationCallback
instead of getting TextView default implementation directly. This can
make sure we can get the expected ViewTranslationCallback.
Bug: 183467275
Test: manual
Test: atest CtsTranslationTestCases
Change-Id: I41417140f8985aec6c80f1bca3cfba804727d5df
2021-05-21 19:11:14 +08:00
TreeHugger Robot
fbb73c1d7c
Merge "Soft remove deprecated translation apis." into sc-dev am: cc0987b12a am: d0922047d0 am: 2494782a3c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14606780
Change-Id: I61414a3eb757f8fa7e49450011ce16f662e9dbaa
2021-05-21 09:01:32 +00:00
TreeHugger Robot
d0922047d0
Merge "Soft remove deprecated translation apis." into sc-dev am: cc0987b12a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14606780
Change-Id: I156df433e5e47061213caa273c3cbc7a7c5734e6
2021-05-21 08:47:40 +00:00
TreeHugger Robot
cc0987b12a
Merge "Soft remove deprecated translation apis." into sc-dev
2021-05-21 08:39:35 +00:00
Adam He
6ebd5b236d
Soft remove deprecated translation apis.
...
Bug: 186475868
Test: atest CtsTranslationTestCases
Change-Id: I87395052e9e5574f4ba11652c484cedec95c0cfb
2021-05-20 18:14:56 -07:00
Yohei Yukawa
50b5bddef4
Merge "Fix IME be dismissed abruptly" into sc-dev am: ebd27c999b am: 89e0c27087 am: 16df571dbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609914
Change-Id: Ida01629acd7416131cab31589a7ef5df639d731e
2021-05-20 18:36:36 +00:00
Yohei Yukawa
16df571dbe
Merge "Fix IME be dismissed abruptly" into sc-dev am: ebd27c999b am: 89e0c27087
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609914
Change-Id: Id03d4f72758241655bb1adba7e44cca02f51692f
2021-05-20 18:01:12 +00:00
Yohei Yukawa
35dae9722d
Merge "Fix IME be dismissed abruptly" into sc-dev am: ebd27c999b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14609914
Change-Id: I2b4c9d3d862c6fd38291fe4ea96406c9ba7a1e44
2021-05-20 17:37:15 +00:00
Jeff DeCew
f771b4d19f
Merge "Remove padding logic designed for old position of the expand button" into sc-dev am: fc0a05e3e4 am: 742910ae0e am: 5fa3b67fab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14646130
Change-Id: I0207790de1a36db29125b945667c2e54d2a81481
2021-05-20 17:20:37 +00:00
Yohei Yukawa
ebd27c999b
Merge "Fix IME be dismissed abruptly" into sc-dev
2021-05-20 17:19:45 +00:00
Nate Myren
8e762afcd7
Add PrivacyIndicator APIs to WindowInsets
...
Add an API to WindowInsets that allows apps to see the maximum bounds
of the system privacy indicator
Fixes: 185932128
Test: atest PrivacyIndicatorBoundsTests
Change-Id: I01d9e36ccbbea15752eccadfbce4c54bdd35ed5a
2021-05-20 09:43:49 -07:00
Jeff DeCew
742910ae0e
Merge "Remove padding logic designed for old position of the expand button" into sc-dev am: fc0a05e3e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14646130
Change-Id: I203008500c91e931cd97d227d8e780a77b4747f9
2021-05-20 16:43:32 +00:00
Jeff DeCew
fc0a05e3e4
Merge "Remove padding logic designed for old position of the expand button" into sc-dev
2021-05-20 16:22:41 +00:00
Joanne Chung
7fafecc477
Merge "Translate TextView content description if exist" into sc-dev am: 86d3f3deae am: 15676878d8 am: cbccbd1cd9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14543285
Change-Id: Ifca78d32251c4cfee704aac6b86c11bc9d24b956
2021-05-20 06:37:58 +00:00
Joanne Chung
15676878d8
Merge "Translate TextView content description if exist" into sc-dev am: 86d3f3deae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14543285
Change-Id: I89669c1cbdffdc76ed6d0ded76167607c5590ef5
2021-05-20 06:04:31 +00:00
Joanne Chung
86d3f3deae
Merge "Translate TextView content description if exist" into sc-dev
2021-05-20 06:00:56 +00:00
Wilson Wu
e525c01439
Fix IME be dismissed abruptly
...
CL[1] used to fix some IME animation issue.
And simplified the check focused view logic.
But when window focus changed, the focused view
may still be null. So ImeFocusdController use the
DecorView to start an new Input and hide keyboard.
Use the focused view after focus change callbacks
when we call onPostWindowFocus as before.
[1]: Ib140801f1ce03b5566e756914f96dacba3ad8892
Bug: 186331446
Test: Manual test with the bug steps
Test: atest FocusHandlingTest#testRequestFocusOnWindowFocusChanged
Change-Id: I2f8fde0b6575db17955ff8b8804b61378f9d6dad
2021-05-20 10:26:47 +08:00
Tiger Huang
473ea5e981
Merge "Force showing navigation bar while IME is visible" into sc-dev am: a254d7fd43 am: 19c08f146a am: 99b11e0bdb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14486201
Change-Id: I72d2a3ce4904be37ac0882268ecfe4bb9ec0807b
2021-05-20 02:07:30 +00:00
TreeHugger Robot
214e26eced
Merge changes from topic "revert-13738532-client_suggestions_fillrequest-sc-dev-EQZRQWLQUO" into sc-dev
...
* changes:
[DO NOT MERGE] Remove the Client Suggestions APIs
[DO NOT MERGE] Remove Client suggestions implementations
2021-05-20 01:23:24 +00:00
Adam He
366a43cc49
Merge "Change dictionary results to use a bundle instead since it is a structured result." into sc-dev am: c1b7cc6ab5 am: e28429ee52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14536510
Change-Id: I8f30e546238833da431b7af49304b74e9f480fb4
2021-05-20 00:18:06 +00:00
TreeHugger Robot
8baba52f11
Merge "Quick change to add default to deprecated callback method so implementors can move to new api." into sc-dev am: 0b9af71d1e am: 7844e5d8dd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14535063
Change-Id: I8beed957f338fa500659ce6064a0ca82069a753e
2021-05-20 00:17:50 +00:00
Galia Peycheva
4180a8e6a5
Merge "Add windowIsFloating to window blur documentation" into sc-dev am: 551a988b60 am: 0c40c1794b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14599594
Change-Id: Ia2145b4d2bffb8e82171c18c72c931492b43594f
2021-05-20 00:03:27 +00:00
Vadim Caen
39d72fac25
Merge "Draw splashscreen edge to edge" into sc-dev am: eacda76449 am: d286a11746
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14253107
Change-Id: Ia0e1e9fa29a6726a0bec349039f780c0353ed4ed
2021-05-20 00:02:19 +00:00
Siarhei Vishniakou
000beba278
Merge "Check mInputEventReceiver before sending timeline -- 2" into sc-dev am: 234adf7cb2 am: 12318a45bd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14350504
Change-Id: I55ef308fcebb9323496916fffa8d7b8af24ff3ae
2021-05-19 23:20:43 +00:00
Jeff Sharkey
e97c037d19
Apply AttributionSource during Intent delivery. am: dd6dd3b1fb am: 2d0e8e3d5d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14470318
Change-Id: Iac0646b8065a4e70ec0366db19943db33ba2e40b
2021-05-19 22:47:13 +00:00
Jeff DeCew
970a13aea0
Remove padding logic designed for old position of the expand button
...
Fixes: 188095319
Test: Manual testing of minimized notifications.
Change-Id: I92ba63ec0266089a4af630afb202b279dbe294ed
2021-05-19 13:37:24 -04:00
Tiger Huang
a254d7fd43
Merge "Force showing navigation bar while IME is visible" into sc-dev
2021-05-19 15:25:17 +00:00
TYM Tsai
94a825887b
[DO NOT MERGE] Remove the Client Suggestions APIs
...
Bug: 188618287
Test: atest CtsAutoFillServiceTestCases
Change-Id: I178e0443278383120d9e6e3321ec96be8e5705c1
2021-05-19 23:24:32 +08:00
Winson Chung
6b917e7216
Merge "Add fallback animation for auto-enter without source rect hint" into sc-dev am: 79914dfbd5 am: f4e6b4efba am: 61ab0fa320
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14105379
Change-Id: Ibfcb25cc29b213b2d514c6d650e46207d2a778a4
2021-05-18 20:22:03 +00:00