vadimt
c8aada4433
Moving away from obsolete Display#getRealSize().
...
Step 1: use both new and old APIs and make sure they return the same values.
Bug: 202567877, 227307209
Test: presubmit
Change-Id: I86fbb0ca089a88b5ff787a5c353664a192fb7e79
2022-03-29 16:58:25 +00:00
TreeHugger Robot
b1faf1f4b3
[automerger skipped] Merge "RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps" into sc-v2-dev am: bc46f69aff am: adfe503a9f -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223256
Change-Id: Ic115a1eb93c284c08707265a7dcb70189ba16a7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 22:53:26 +00:00
TreeHugger Robot
54b28995f1
Merge changes from topic "presubmit-am-aa9635a5cca34b62b554abab1bb81b7d" into sc-v2-dev-plus-aosp am: ce7ce0ab13
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223256
Change-Id: I3ac5372c24cc6d45db1f36462dbd5ce13d4e545e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 22:53:18 +00:00
Presubmit Automerger Backend
9814da4112
[automerger skipped] [automerge] RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps 2p: 1ccb68a9fd am: 0cc9eb8e83 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223256
Change-Id: I140ee8ab4509038c58e2d51baafe792fd1167118
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 22:53:17 +00:00
TreeHugger Robot
adfe503a9f
Merge "RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps" into sc-v2-dev am: bc46f69aff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17223256
Change-Id: I5d6b6505f27d2f7a30828867cb84df311680e16c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 22:52:53 +00:00
TreeHugger Robot
ce7ce0ab13
Merge changes from topic "presubmit-am-aa9635a5cca34b62b554abab1bb81b7d" into sc-v2-dev-plus-aosp
...
* changes:
[automerge] RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps 2p: 1ccb68a9fd
RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps
2022-03-25 22:37:47 +00:00
TreeHugger Robot
bc46f69aff
Merge "RESTRICT AUTOMERGE Hide keyboard when launcher is resumed for misbehaving apps" into sc-v2-dev
2022-03-25 22:37:47 +00:00
Chavi Weingarten
ba653b3b92
Merge "Replace consumeNextDraw with SurfaceSyncer" into tm-dev
2022-03-25 22:08:17 +00:00
Evan Rosky
5a7d6e93af
Merge "Implement switchtoScreenshot recents callback" into tm-dev
2022-03-25 21:26:12 +00:00
Stefan Andonian
234889c81c
Update text in "get app suggestions" bottom sheet to use Google Sans
...
font family.
Bug: b/211375020
Test: Verified that the font was different after setting it in the xml.
Screenshot: screenshot.googleplex.com/AEvdCXTufBnbQC5.png
Change-Id: Ie5447344b9e917648b50945414cf58562a1d0ca8
(cherry picked from commit 4f15b6cafb )
2022-03-25 19:37:22 +00:00
Tony Wickham
59d4896635
Merge "Don't recreate taskbar on rotation" into tm-dev
2022-03-25 16:14:04 +00:00
Nicolò Mazzucato
286dd249e0
Merge "Tune fold animation on top of apps" into tm-dev
2022-03-25 09:31:10 +00:00
TreeHugger Robot
dbae2148f7
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 4a19eb9982 -s ours am: e1bbc6f6c9 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369267
Change-Id: Ida5f0b31f0b78aa4b47dab65bcf80867b54929d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 00:20:47 +00:00
TreeHugger Robot
a92bc71ec7
Merge changes from topic "presubmit-am-a27557f2cd3e4a2695ce355e447c91ac" into sc-v2-dev-plus-aosp am: b1b060c385
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369267
Change-Id: Ie17116587e33c581a04d644e003c0cccde583cea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 00:20:40 +00:00
Bill Yi
dec72ce7cc
[automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9f5fe666e0 am: 912c597978 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369267
Change-Id: I2ff04c8f92797d76c25f557760ab6d7f83051d75
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 00:20:39 +00:00
TreeHugger Robot
e1bbc6f6c9
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev am: 4a19eb9982 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369267
Change-Id: I21a7d02cb3a7f91022bcb6d678f451545d4ca42e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-03-25 00:20:09 +00:00
TreeHugger Robot
4a19eb9982
Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev
2022-03-25 00:03:05 +00:00
TreeHugger Robot
b1b060c385
Merge changes from topic "presubmit-am-a27557f2cd3e4a2695ce355e447c91ac" into sc-v2-dev-plus-aosp
...
* changes:
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9f5fe666e0
Import translations. DO NOT MERGE ANYWHERE
2022-03-25 00:03:05 +00:00
TreeHugger Robot
b832737744
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-03-24 22:20:55 +00:00
Bill Yi
a0ef9d2404
[automerger skipped] [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 5b0608e0c2 am: 385c8631e0 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369268
Change-Id: I5d43e540e73e149200bc4875ea9d59ee50d6f5ea
Signed-off-by: Automerger Merge Worker
2022-03-24 22:02:19 +00:00
Vinit Nayak
7ac2116fcc
Merge "Hide taskbar when launcher receives nav and keyguard showing" into tm-dev
2022-03-24 22:01:15 +00:00
Evan Rosky
e81d9679c1
Implement switchtoScreenshot recents callback
...
This lets the recents animation trigger a switchToScreenshot
to avoid premature live-tile disappearance.
Bug: 223321653
Test: put app in pip, open another app, go to recents, expand pip
Change-Id: I7ddcd891978fca7e91d7d90c1c8d9b824f5652a6
2022-03-24 14:13:59 -07:00
TreeHugger Robot
6306a81ef7
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-03-24 18:30:02 +00:00
Sebastián Franco
1c11c5319c
Merge "Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it" into tm-dev
2022-03-24 18:17:39 +00:00
Tony Wickham
3b7a391c2b
Don't recreate taskbar on rotation
...
This was a regression due to ag/17241303, since technically the size changes when rotating (width and height swap). Now we detect that case and don't recreate, but instead propagate the new DeviceProfile via TaskbarActivityContext#updateDeviceProfile()
Test: Open an app, rotate device, ensure taskbar isn't recreated. Changing properties such as dark theme does still recreate taskbar.
Bug: 219981733
Change-Id: Ic827c8e697a284a085609ea8653d77900686306a
2022-03-24 10:35:10 -07:00
TreeHugger Robot
181f803258
Merge "Prevent removing the feedback view and callbacks when the user completes a gesture." into tm-dev
2022-03-24 12:17:42 +00:00
Nicolo' Mazzucato
ff84d2bc66
Tune fold animation on top of apps
...
On top of apps, the fold animation is triggered only after a threshold. On Launcher, there is not threshold.
In this way, we don't show fold animation while apps might be handling table top/half_folded state.
+ timeout to finish the animation made shorter
Test: atest DeviceFoldStateProviderTest
Bug: 225185239
Change-Id: I5adf82e853af9a5dee5af41a853abb84c9926ccd
2022-03-24 11:31:51 +00:00
Abhilasha Chahal
a35179d4ea
Merge "Use numAllAppsColumns to calculate height of all apps icons" into tm-dev
2022-03-24 11:02:31 +00:00
TreeHugger Robot
b8e0d2c052
Merge "Aligning Hotseat and Workspace icons in vertical bar mode" into tm-dev
2022-03-24 09:23:50 +00:00
Bill Yi
0437823e12
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2e25b2357f36ad85b531c7e10cc1b08e4a242567
2022-03-24 05:38:49 +00:00
Bill Yi
dffa0c3186
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ia234a01c49be8012beba9944f28198a1a04d162a
2022-03-24 05:37:30 +00:00
Bill Yi
912c597978
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 9f5fe666e0
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369267
Change-Id: Ida842e39d3cbac50a13754c0b554f1761bddd02c
2022-03-24 05:36:11 +00:00
Bill Yi
385c8631e0
[automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 5b0608e0c2
...
Blank merge reason: commit message contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17369268
Change-Id: Ia81372b4161506cc7752ff9691e70ad99b0dfcae
2022-03-24 05:35:50 +00:00
Bill Yi
5b0608e0c2
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I2481624f80c74293e15a1b520a1ee471fc741171
2022-03-24 05:35:40 +00:00
Bill Yi
9f5fe666e0
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I37c082ae9b255c6a2ec997f2d39b41e1bd432ad7
2022-03-24 05:35:02 +00:00
Hongwei Wang
ca9f9ebec5
Merge "Hide the Taskbar when user leaves PiP mode" into tm-dev
2022-03-23 22:38:48 +00:00
Abhilasha Chahal
dfd154f18d
Use numAllAppsColumns to calculate height of all apps icons
...
Additionally opens up access of some fields to allow them to be overridden.
Test: Manually verified that Launcher3 layout does not change
Launcher3 APKs: https://drive.google.com/drive/folders/1hBcZU9xou4tZJxbTmkya_LyBbD2oYuwV?resourcekey=0-R0I1IQ2rSUIEfPjW8S_ppA&usp=sharing
Bug: 216150572
Change-Id: I4b97a7e9e15973fc5aa70a4b98f0b73dd5bf3c17
2022-03-23 21:09:54 +00:00
Vinit Nayak
c750e3d3aa
Hide taskbar when launcher receives nav and keyguard showing
...
* On large screen we receive notification shade expanded
signals even on keyguard.
* Add a check to not show taskbar if keyguard is showing
Fixes: 223465924
Test: Taskbar doesn't show on 3 button nav except
on bouncer, as expected.
Change-Id: I4a7ea14422eda13ae8571793ed7ba1a1964072d6
2022-03-23 14:09:25 -07:00
Sebastian Franco
12db27fe34
Task thumbnail background is spilling to the front, making the BK 1px smaller to fix it
...
This change ag/17003268 was meant as a solution for b/146521490 but
it's ineficient so this other solution is simpler and more performant.
This solution only makes the background 1px smaller and that prevents
it from spilling in the Anti Aliasing.
Test: Put Telegram in recent Task (shouldn't be the first one) and you won't see a white border. Also when a task was in multitask the backgroudn should be draw.
Fix: 223761979
Change-Id: I6855e9ecce1e06f7a9311c62a038d34b04fe2398
2022-03-23 13:11:20 -07:00
Sebastián Franco
da297fb0f1
Merge "Revert "Combining the Thumbnail bitmap with the background to fix background spilling in the front."" into tm-dev
2022-03-23 20:01:42 +00:00
Sihua Ma
38bb3b0c5c
Aligning Hotseat and Workspace icons in vertical bar mode
...
Changing the padding of the Hotseat Bar to align the hotseat icons with the Workspace icons.
Test: Manual
Fix: 223553482
Change-Id: I7939c3a900dfe22d2ce3f71d408f1d2778a0af2a
2022-03-23 18:27:41 +00:00
Schneider Victor-tulias
c7dee917db
Prevent removing the feedback view and callbacks when the user completes a gesture.
...
Touching the screen immediately removed the feedback view and any callbacks attached. When the user successfully completed a gesture, one of those callbacks progresses the tutorial to its next step.
Fixes: 226028473
Test: manual
Change-Id: Ic432a5b73aa4410cb0188f50a57e3df637afb52d
2022-03-23 11:08:08 -07:00
Tracy Zhou
f3d81b0a1c
Merge "Fix thumbnail disappearing during staged split animation" into tm-dev
2022-03-23 16:06:37 +00:00
Vinit Nayak
aa2f879c55
Merge "Null out mRemoteTargetHandles when swiping to home" into tm-dev
2022-03-23 14:58:19 +00:00
Pat Manning
85eeb4e62e
Merge "Add workspace page translations for edit state." into tm-dev
2022-03-23 11:35:20 +00:00
Luca Zuccarini
6f962f9357
Merge "[Toast] Flip the QSB motion flag to true by default." into tm-dev
2022-03-23 10:27:05 +00:00
Tracy Zhou
67bc75a8a9
Fix thumbnail disappearing during staged split animation
...
Previous set the thumbnail view to be visible initially. After deciding not to do so, forgot to put the visibility statement back. Also the transform matrix needs to reset before posting new scales.
Test: https://recall.googleplex.com/projects/f46cfe9c-8076-4efe-bf8a-b1cc4f1f5e1b/sessions/6576df3a-6d14-4b7e-8fb2-1c0a335472e4
Fixes: 194414938
Change-Id: I25fe39ea99943a3c1e2257681df3eb379bc30e51
2022-03-22 22:01:27 -07:00
Vinit Nayak
1d6058c2cd
Null out mRemoteTargetHandles when swiping to home
...
* Also all null check when trying to show divider
after swipe down animation from overview
Fixes: 223946009
Test: Steps in bug no longer cause crash
Change-Id: I2c8484c37b863c4cb6aba7e274c1eb76bce92b4a
2022-03-22 20:47:54 -07:00
Hongwei Wang
808d568367
Hide the Taskbar when user leaves PiP mode
...
This is to prevent the Taskbar from flickering when the app settles in
full-screen mode.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dIgvinb9yEB8MYfYDx0Ijy
Bug: 218450853
Test: see video
Change-Id: I9cfb0ca151dea6951561f78798bb16bafa48eba0
2022-03-22 18:45:31 -07:00
Tracy Zhou
53ad207008
Use topComponent to get package name
...
task.topActivity can be null
Fixes: 226232720
Test: manual
Change-Id: I7d0c928871d01402bf41bc96514aae7854045baf
2022-03-22 17:13:52 -07:00