Alex Chau
1c4871298e
Merge "Crop letterbox insets when thumbnail is from different aspect ratio" into sc-v2-dev
2021-11-16 18:40:31 +00:00
Merissa Tan
0a2ec731b6
Merge "Create new TaskbarUIController class for Kingyo."
2021-11-16 18:18:25 +00:00
Alex Chau
b7abf7e96d
Fix launch animation from bottom row and end of grid
...
- Apply gridTranslationY when calculating taskRect so it's used to calculate RecnetsView pivot
- Moved recentsViewScroll to RecentsView group and applied after recentsViewScale
- Before: http://dr/file/d/1-Nrqa80J4FRbjcdZ3GZSeKwfQF8fN9a1/view?resourcekey=0-gYT9z1HA0YksW5Ujbzsmeg
- After: http://dr/file/d/1-DpZrg5_nFeUKS-8APnLvG8SJVvke9BU/view?resourcekey=0-p59hm-abzpU7Y7tqWyneTQ
Fix: 200813202
Test: Launch task from grid from top/bottom/left/right/focus
Test: Launch task from left/middle/right in small screen
Change-Id: I814512c02611f59a5a6d1f53411d42cf4f0f26b3
2021-11-16 13:55:38 +00:00
Fedor Kudasov
b807d92aa7
Merge "Annotate RecentsView with @Nullable" into sc-v2-dev am: 72c8e71e06
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16261398
Change-Id: Ic382d5886aa2df5c1bb8f981cbe626f031fd9c51
2021-11-16 10:44:07 +00:00
Fedor Kudasov
72c8e71e06
Merge "Annotate RecentsView with @Nullable" into sc-v2-dev
2021-11-16 10:26:23 +00:00
Tracy Zhou
36cd649a2b
Merge "Track LauncherState, RecentsAnimation, resumed state for task bar in one place" into sc-v2-dev am: 0200636585 am: 022c66327b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16205781
Change-Id: I8d135ccf3b14de2e10384c365ce69d9313984347
2021-11-16 10:09:51 +00:00
Tracy Zhou
022c66327b
Merge "Track LauncherState, RecentsAnimation, resumed state for task bar in one place" into sc-v2-dev am: 0200636585
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16205781
Change-Id: Ie9ca6ecdd77ac76b5b93461b6c5d7d6e670b71a6
2021-11-16 09:57:38 +00:00
Tracy Zhou
0200636585
Merge "Track LauncherState, RecentsAnimation, resumed state for task bar in one place" into sc-v2-dev
2021-11-16 09:41:58 +00:00
Schneider Victor-tulias
5173fd8090
Add notification dots and popup menu notification support to the taskbar.
...
- Added support for notification dots
- Added support for notifications in popup menu
- Added support for dismissing notifications from the popup menu
Bug: 198438631
Test: long pressed launcher and taskbar icons, clicked notifications, clicked shortcuts
Change-Id: I7c981e60a82b4d6ce28332d804bbbfb5eb89c6a8
2021-11-15 14:47:36 -08:00
Fedor Kudasov
acf07f338e
Simplify getTaskViewAt call am: 9d6fb64f45
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16249427
Change-Id: If52c26a38fab17d294b08a34a3e41fd5f88cef27
2021-11-15 20:50:06 +00:00
Fedor Kudasov
3a0f8a90bd
Annotate RecentsView with @Nullable
...
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I44a4f7ce4258e54d43ca2c5a3937c81a4a686f80
(cherry picked from commit ac9cee5a7c )
2021-11-15 20:39:07 +00:00
Fedor Kudasov
9d6fb64f45
Simplify getTaskViewAt call
...
RecentsView getTaskViewAt method is nullable and is safe
to call for an out of bound index.
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I7709d63ad4490fd756a50caaf42ba70c4fad4d06
(cherry picked from commit 41edede1ee )
2021-11-15 20:37:12 +00:00
Fedor Kudasov
9385170c1b
Add some more @Nullable annotations
...
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I6d2f269c4ec5f6cdee31ad68545c2720fbf1d8fc
2021-11-15 17:03:45 +00:00
Fedor Kudasov
2f2b057710
Merge "Annotate RecentsView with @Nullable"
2021-11-15 12:02:55 +00:00
Fedor Kudasov
913c8aee24
Merge "Add @Nullable annotations for simple cases" into sc-v2-dev am: ba47b591c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16246987
Change-Id: I4fe20700452492680e0ea1e30577ed04ecda0e4f
2021-11-13 09:17:31 +00:00
Fedor Kudasov
ac9cee5a7c
Annotate RecentsView with @Nullable
...
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I44a4f7ce4258e54d43ca2c5a3937c81a4a686f80
2021-11-13 09:08:03 +00:00
Fedor Kudasov
2fa969b9d9
Merge "Simplify getTaskViewAt call"
2021-11-13 09:01:24 +00:00
Fedor Kudasov
ba47b591c4
Merge "Add @Nullable annotations for simple cases" into sc-v2-dev
2021-11-13 09:00:32 +00:00
Winson Chung
131cceecad
Merge "Freeze task list if requested when launching split tasks" into sc-v2-dev am: ea77e49524 am: 16d6010418
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16245857
Change-Id: I0b25462982047dfb1ebaa0fd4f86727b540e66f6
2021-11-12 21:26:49 +00:00
Winson Chung
16d6010418
Merge "Freeze task list if requested when launching split tasks" into sc-v2-dev am: ea77e49524
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16245857
Change-Id: Icad379bd6b9302e1dd2903e3e7f8d468f8d87718
2021-11-12 21:08:27 +00:00
Winson Chung
ea77e49524
Merge "Freeze task list if requested when launching split tasks" into sc-v2-dev
2021-11-12 20:51:15 +00:00
Merissa Tan
5f2516c03a
Create new TaskbarUIController class for Kingyo.
...
This CL creates a new TaskbarUIController sub-class to allow for taskbar
UI customization on Kingyo.
Recall: http://recall/clips/598d7fc8-fa06-426b-8851-c5d5c1a91eb2
Bug: 202450677
Test: Manual
Change-Id: I9e06fe7556bd9a29d126e29c0277139b2f218069
2021-11-12 12:05:50 -08:00
Alex Chau
8ab30afd53
Fix launch animation from grid am: f75725830a am: 45bb7b48ec
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16240053
Change-Id: Ic0d61f508f16eec3c3163ea358b36b1a3ad6834a
2021-11-12 18:27:51 +00:00
Alex Chau
45bb7b48ec
Fix launch animation from grid am: f75725830a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16240053
Change-Id: I6815036c3d3916a4378340c089a35339a52206d4
2021-11-12 18:13:10 +00:00
Winson Chung
21d129de28
Removing logs
...
Bug: 201305599
Test: Builds
Change-Id: Ic480136ee6b158dc614d43beaed1dfce91b9ca8a
2021-11-12 17:18:11 +00:00
Alex Chau
f75725830a
Fix launch animation from grid
...
- Fixed calculateGridTaskSize to algin to taskRect instead of gridRect
- Extracted end of grid's scroll diff calculation to getOffsetFromScrollPosition to accurately calculate end of grid task's offset between its scroll and visual position (End of grid task's scroll is all the same at the position where ClearAllButton is just invisible)
- Extracted isGridTask in TaskView so TaskViewSimualtor can use the correct task size depedning if it's grid task or not
Bug: 200813202
Test: manual
Change-Id: I11a980345aee2680abf1c2563baadd9718a40192
2021-11-12 16:13:47 +00:00
Jason Chang
c9ffa88cc3
(5/n) Remove One-handed mode overlay mechanism from quickstep
...
We were already splitted One-handed mode larger gesture region from
original before, so remove unnecessary overlay listener.
Bug: 201743873
Bug: 202132480
Test: manually test One-handed mode gesture
Test: build ROM and doing adb test (adb shell dumpsys activity
services com.google.android.apps.nexuslauncher/
com.android.quickstep.TouchInteractionService)
Change-Id: I7e0a750fe1850f39586a21718c2e2e5466ad8e28
2021-11-12 18:27:24 +08:00
Fedor Kudasov
2ca545c387
Add @Nullable annotations for simple cases
...
Add @Nullable annotations for the fields that are expected
to be null at arbitrary lifecycle time and are their usage
is protected by null checks.
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I9c31e1dc0d01cdd68dfff0a005ba1f40c257f8ea
(cherry picked from commit 920dc2f28f )
2021-11-12 10:01:33 +00:00
Fedor Kudasov
3618de3017
Merge "Add @Nullable annotations for simple cases"
2021-11-12 10:01:18 +00:00
Fedor Kudasov
820f8b6da4
Merge "Annotate AttributeSet with @Nullable" into sc-v2-dev am: 6c7c91fe86
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16233502
Change-Id: I44b3c235304572fc034a38584324a7f275fd24d9
2021-11-12 08:32:14 +00:00
Hyunyoung Song
e59246d4e7
Merge "Address AppEventProducer to correctly send search-result location on AppTargetEvent" into sc-v2-dev am: 664f685336 am: 9dfc2ba0a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16235837
Change-Id: If3ddb608ddebbf2e8d171ba10379b4d89a3b5a31
2021-11-12 08:17:58 +00:00
Fedor Kudasov
6c7c91fe86
Merge "Annotate AttributeSet with @Nullable" into sc-v2-dev
2021-11-12 08:17:55 +00:00
Hyunyoung Song
9dfc2ba0a3
Merge "Address AppEventProducer to correctly send search-result location on AppTargetEvent" into sc-v2-dev am: 664f685336
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16235837
Change-Id: I015c3a22684a74c93241287dbcd27651fdf36ac3
2021-11-12 08:03:20 +00:00
Hyunyoung Song
664f685336
Merge "Address AppEventProducer to correctly send search-result location on AppTargetEvent" into sc-v2-dev
2021-11-12 07:46:23 +00:00
Winson Chung
d0e6c8b2e7
Freeze task list if requested when launching split tasks
...
Bug: 206000278
Test: Quickswitch from app pair and back
Change-Id: I76af1396145e121e7f66f9e6b97f21a85c075e8e
2021-11-12 06:27:26 +00:00
Hyunyoung Song
1e5b621a50
Address AppEventProducer to correctly send search-result location on AppTargetEvent
...
Bug: 191362091
Test: logcat printout
11-10 20:27:02.290 32215 32237 D QuickstepModelDelegate: notifyAppTargetEvent action=1launchLocation=search-results
Change-Id: I16ef7679116e397a8a108cc291f5741febf2e453
2021-11-11 21:27:01 -08:00
TreeHugger Robot
9cb558f756
Merge "Update corner radius of both snapshot in app pair" into sc-v2-dev am: 916873e7ab am: 215a79a150
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16240047
Change-Id: I8d0bcedcaea62a58c9256434cb87846c96f536ed
2021-11-11 21:38:31 +00:00
TreeHugger Robot
215a79a150
Merge "Update corner radius of both snapshot in app pair" into sc-v2-dev am: 916873e7ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16240047
Change-Id: I20fb777687eb54d7710c59f875951946501b0350
2021-11-11 21:18:00 +00:00
Alex Chau
80836f637f
Update corner radius of both snapshot in app pair
...
Fix: 206002609
Test: manual
Change-Id: I6af28c6948769eac53326d61e84ac39196bd840f
2021-11-11 19:40:42 +00:00
Fedor Kudasov
41edede1ee
Simplify getTaskViewAt call
...
RecentsView getTaskViewAt method is nullable and is safe
to call for an out of bound index.
Bug: N/A
Test: m LauncherGoResLib
Change-Id: I7709d63ad4490fd756a50caaf42ba70c4fad4d06
2021-11-11 16:55:18 +00:00
Fedor Kudasov
920dc2f28f
Add @Nullable annotations for simple cases
...
Add @Nullable annotations for the fields that are expected
to be null at arbitrary lifecycle time and are their usage
is protected by null checks.
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: I9c31e1dc0d01cdd68dfff0a005ba1f40c257f8ea
2021-11-11 14:58:45 +00:00
Fedor Kudasov
b498b648ae
Annotate AttributeSet with @Nullable
...
Bug: 205828770
Test: m LauncherGoResLib
Change-Id: Ib8584e1bbcc7061aef2eb4813a8f6aa41d3c7362
(cherry picked from commit 96f8792c04 )
2021-11-11 08:16:08 +00:00
Fedor Kudasov
990256cf44
Merge "Annotate AttributeSet with @Nullable"
2021-11-11 08:15:39 +00:00
Vinit Nayak
86f80f4625
Merge "Finish recents animation for app-icon tap" into sc-v2-dev am: 185da72e98 am: f9ed2a09d1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16223705
Change-Id: Id54c503718fb06f0b8d1ea6e3956533e9bb7e3a1
2021-11-11 06:33:49 +00:00
Vinit Nayak
f9ed2a09d1
Merge "Finish recents animation for app-icon tap" into sc-v2-dev am: 185da72e98
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16223705
Change-Id: Icfaddc538c171f09a65efd0d82bb869228518c44
2021-11-11 06:22:34 +00:00
Vinit Nayak
185da72e98
Merge "Finish recents animation for app-icon tap" into sc-v2-dev
2021-11-11 06:03:47 +00:00
Ryan Lin
29cb975748
Merge "Fix the cutout of magnification border" into sc-v2-dev am: b6e3caeb7a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214743
Change-Id: I8f9abdbee71c100dde4c6403158732922a809c56
2021-11-11 02:01:39 +00:00
Ryan Lin
b6e3caeb7a
Merge "Fix the cutout of magnification border" into sc-v2-dev
2021-11-11 01:56:21 +00:00
Schneider Victor-tulias
d0865f8219
Add animated background to the suw all set page.
...
Test: Ran all set page in landscape/portrait, dark/light mode
Fixes: 190828563
Change-Id: Ie7fbc6ce6777e9cec8d4dcb5dff3090dc167a161
2021-11-10 14:15:55 -08:00
TreeHugger Robot
cc4438ac0b
Merge "launcher: use a different task menu for foldables" into sc-v2-dev am: 0aadbc6b37 am: 3945fd8f4c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16214330
Change-Id: Ife3cc0d3a23a048495d275b8225d64c32af7743b
2021-11-10 20:29:04 +00:00