Sunny Goyal
a1692a467f
Moving all intent receiver register calls to a single place
...
This is eventually allow us to move all register to background thread
Also creating a single ScreenOn tracked which is used at multiple places
Bug: 264465756
Test: Verified on device
Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7
2023-01-20 23:50:00 +00:00
Brian Isganitis
4bcc9bc816
Add loopable EDU lottie files and convert to light theme manually.
...
These new assets are better at looping than the previous ones.
Followed go/sysui-illustration-eng to map from dark to light colors
programmatically. Handling the mapping in code is preferred over having
separate lottie assets for light and dark theme.
Test: Manual
Bug: 263157739
Change-Id: Ia3cd2a1e7d349188d182d796ba927f1c513d4716
2023-01-20 15:16:20 -08:00
Brian Isganitis
b21ad2da8c
Implement initial transient Taskbar EDU tooltips.
...
Since this tooltip looks and behaves differently than the existing EDU
sheet, it has its own view and controller implementations (I also may
have wanted to write some Kotlin).
To keep transient taskbar open while on the second EDU step, another
autohide suspend flag is defined. Additionally, special casing is added
to avoid hiding transient taskbar if autohiding is currently suspended.
Tooltips use the same assets as the bottom sheet for now, and are scaled
down to fit the tooltip dimensions.
Reset `Taskbar Education` in Developer Options to try EDU again.
[Demos]
- First: https://screenshot.googleplex.com/ASBeGvrb2EA5wEF.png
- Second: https://screenshot.googleplex.com/7fnfcTh9bMYezDc.png
Test: Manual
Test: Open app, see swipe-up tooltip.
Test: Swipe up to show transient taskbar, see features tooltip.
Bug: 263157739
Fix: 258460203
Change-Id: I473f5fccbae279db0614763b640da0a120b6b7f7
2023-01-20 15:16:12 -08:00
Evan Rosky
d9cc7d1eb1
Revert^7 "Enable Shell Transitions"
...
039217e518
Change-Id: Id82874ee3c209bb024b131b4a427eba25a84cd20
2023-01-20 23:14:47 +00:00
Ats Jenk
9db95e89b2
Support desktop tasks in recents animation
...
Desktop tasks are using freeform windowing mode. Update recents
animation to support freeform tasks when desktop mode feature flag is
enabled.
Changes:
- set initial size for freeform tasks to be the size of the thumbnail
instead of size of the screen
- support multiple individual remote animation targets when starting the
recents animation
TODO:
- there are flickers when starting and ending the recents animation
Bug: 263264985
Test: swipe up when more than 1 desktop task is visible
Change-Id: I27ee02774281b3a433d779c0bb8825cdb6ea5457
2023-01-20 14:09:32 -08:00
Alex Chau
2d9692f63d
Destroy taskbar if it's not present in DeviceProfile
...
Bug: 254119092
Test: manual
Change-Id: I9eb95cc90c92bf93d9220b05406d4589b2cb196f
2023-01-20 20:57:58 +00:00
Tracy Zhou
66b9860080
Merge "Revert "Update onOverviewShown interface to get signal of whethe...""
2023-01-20 19:19:40 +00:00
Evan Rosky
f805d1ee93
Merge "Revert^6 "Enable Shell Transitions""
2023-01-20 18:27:11 +00:00
Alex Chau
51298a6b87
Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev am: 7e1144ee99 am: c79e576824
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20731930
Change-Id: I614bd9d11e98012b2ec17a525c4e501761d33675
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 16:20:17 +00:00
Alex Chau
c79e576824
Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev am: 7e1144ee99
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20731930
Change-Id: Ibaa0cad2b3ff673a5d2c83f189e28c4637694ae3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 15:44:42 +00:00
Pat Manning
5909a6403d
Merge "Reset splash icon when task icon is null to avoid caching incorrect drawable." into tm-qpr-dev am: 0f76a4d810 am: be9359ca62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980939
Change-Id: Ib112d7c8fe3fddc92cf2ef7b88f06166fceb6c68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 15:13:59 +00:00
Nicolo' Mazzucato
beecffed7c
Fix CUJ_RECENTS_SCROLLING
...
The atom was output also when swiping from the bottom to open overview. Now, it's only reported on horizontal swipes between tasks.
Fixes: 265790869
Test: checked perfetto traces
Change-Id: Ic70f440a30ea2c61e44f84098d84b0485a85905e
2023-01-20 15:09:43 +00:00
Alex Chau
7e1144ee99
Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev
2023-01-20 15:07:10 +00:00
Pat Manning
be9359ca62
Merge "Reset splash icon when task icon is null to avoid caching incorrect drawable." into tm-qpr-dev am: 0f76a4d810
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980939
Change-Id: I332ee64b21c99362eb42eadfd407c5564d81e93b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 14:38:32 +00:00
Pat Manning
0f76a4d810
Merge "Reset splash icon when task icon is null to avoid caching incorrect drawable." into tm-qpr-dev
2023-01-20 14:17:09 +00:00
Nick Chameyev
68c039afde
Merge "Calculate StatusBar height locally in Launcher" into tm-qpr-dev am: effbe5aa48 am: 93784fb7b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980927
Change-Id: I1eb1e471be99e8a7b0e7c19c26bc915687bee1d9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 12:41:43 +00:00
Nick Chameyev
93784fb7b0
Merge "Calculate StatusBar height locally in Launcher" into tm-qpr-dev am: effbe5aa48
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980927
Change-Id: I9b3dae6a3c9b7ef68ee0977a8ee89b076358513a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 12:03:02 +00:00
Nick Chameyev
effbe5aa48
Merge "Calculate StatusBar height locally in Launcher" into tm-qpr-dev
2023-01-20 11:42:19 +00:00
Vinit Nayak
1b6c2b7f54
Merge "Add unit tests for TaskbarKeyguardController" into tm-qpr-dev am: 8d98dd2905 am: b069336a7e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21021735
Change-Id: I7591a0a13b438998abfaf84d8c647dd56a92f2a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 01:16:11 +00:00
Vinit Nayak
b069336a7e
Merge "Add unit tests for TaskbarKeyguardController" into tm-qpr-dev am: 8d98dd2905
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21021735
Change-Id: Ibef64055af917cd865d364f27a99e319c695bbe7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-20 00:37:37 +00:00
Vinit Nayak
8d98dd2905
Merge "Add unit tests for TaskbarKeyguardController" into tm-qpr-dev
2023-01-20 00:12:53 +00:00
Holly Sun
0df9f8a5c4
[QL-v3] Add feature flag.
...
Bug: 261629630
Test: manual
Change-Id: Ibf499fba97ef2e5f56a61cb254180bb41841f003
2023-01-19 14:55:36 -08:00
Jagrut Desai
421d73063d
Merge "Adding a debug feature flag for taskbar pinning." into tm-qpr-dev am: b207102b98 am: b9a217bfa5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20956813
Change-Id: I510491256a044f8d7572de3c24f36db409d1f5f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 22:53:56 +00:00
Ling Wo
a83e753c9b
Merge "Expose getSearchBox from the HomeAllApps class" into tm-qpr-dev am: 38aa60c38f am: 6dafb0359c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20273481
Change-Id: I75db89675672c9c08a4e48f7ebbc8448aec51a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 22:44:20 +00:00
Jagrut Desai
b9a217bfa5
Merge "Adding a debug feature flag for taskbar pinning." into tm-qpr-dev am: b207102b98
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20956813
Change-Id: Id079dd46f57a13e7645bbf0d3240874c6cddbd26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 22:07:10 +00:00
Ling Wo
6dafb0359c
Merge "Expose getSearchBox from the HomeAllApps class" into tm-qpr-dev am: 38aa60c38f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20273481
Change-Id: Iccad1a308b2c5a022b54013a1750b5db983484d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 22:06:55 +00:00
Winson Chung
f6d75c98a9
Prevent falling into OtherActivityInputConsumer when over lockscreen
...
- When opening the emergency dialer from the bouncer, there's a brief
period where notificationPanelExpanded=false and occluded=false which
currently means canStartSystemGesture=true and
isKeyguardShowingOccluded=false, which falls through to other activity
input consumer. In this state, we can't properly finish the gesture
stream because Launcher never shows (it's behind the lockscreen)
and the recents animation never finishes.
Bug: 242704576
Test: atest NexusLauncherTests
Change-Id: I7795abe0aebefca2d42998a672abfd12f951d501
2023-01-19 22:01:04 +00:00
Jagrut Desai
b207102b98
Merge "Adding a debug feature flag for taskbar pinning." into tm-qpr-dev
2023-01-19 21:50:05 +00:00
Ling Wo
38aa60c38f
Merge "Expose getSearchBox from the HomeAllApps class" into tm-qpr-dev
2023-01-19 21:29:12 +00:00
Nicolò Mazzucato
451cdb6895
Merge changes I2c1e440b,I805d56d4 into tm-qpr-dev am: 1207e773e2 am: 27876d7154
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980941
Change-Id: I6a83789008ea7626a5a029af766414252a445fb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 20:44:50 +00:00
Nicolò Mazzucato
27876d7154
Merge changes I2c1e440b,I805d56d4 into tm-qpr-dev am: 1207e773e2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980941
Change-Id: I7914563f8e32d3fa58a70ce4cb925764a7936df9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 20:07:58 +00:00
Nicolò Mazzucato
1207e773e2
Merge changes I2c1e440b,I805d56d4 into tm-qpr-dev
...
* changes:
Add OPTIMIZE_MEASURE flag to QuickSteplauncher window
Log device profile changes in perfetto traces
2023-01-19 19:42:26 +00:00
Tracy Zhou
a026d1f80a
Revert "Update onOverviewShown interface to get signal of whethe..."
...
Revert submission 20956764-alt_tab_forward
Reason for revert: Actually we dont need these changes after all. SHIFT doesn't matter in the initial tab to overview. The subsequent tabs are handled by RecentsView and we already have a check on shift
Reverted changes: /q/submissionid:20956764-alt_tab_forward
Change-Id: I42b03d10f30ef137c98005bb46e23f8516720236
2023-01-19 19:34:34 +00:00
Jagrut Desai
ffe8cc01d5
Adding a debug feature flag for taskbar pinning.
...
Bug: 265307333
Test: cl
Change-Id: I95cea392924fb9dc2acff99cd97a5fb4ddc32fbc
2023-01-19 19:16:23 +00:00
Miranda Kephart
31e0d2ef85
[automerger skipped] Merge "Update ImageActionUtils to construct a ScreenshotRequest" into tm-qpr-dev am: 188ff40249 am: 2c296caddb -s ours
...
am skip reason: Merged-In Ib629f5d9eed2091f2bc4c1082d5e0dd3d2f9176b with SHA-1 6e6f555182 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20894872
Change-Id: Ia5a060a79fed9a26bf55e56e86178fa8778f2900
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 17:44:30 +00:00
Miranda Kephart
2c296caddb
Merge "Update ImageActionUtils to construct a ScreenshotRequest" into tm-qpr-dev am: 188ff40249
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20894872
Change-Id: I5a315bd9b8741bfdf016f9dd5d87ca8575fdd104
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 17:39:21 +00:00
Miranda Kephart
188ff40249
Merge "Update ImageActionUtils to construct a ScreenshotRequest" into tm-qpr-dev
2023-01-19 17:23:57 +00:00
Nicolo' Mazzucato
62fe4445c7
Add OPTIMIZE_MEASURE flag to QuickSteplauncher window
...
This flag allows to avoid an initial measure pass by getting the window size by the LayoutParams.
Test: Recorded a trace before and after this change and compared the doFrames
Bug: 265150323
Change-Id: I2c1e440b73437df9f328d64c98d160bed11282f3
2023-01-19 16:48:11 +00:00
Jeremy Sim
65f9b77064
Merge "Fix bug with Taskbar launches in Overview" into tm-qpr-dev am: bc1fa1e6a4 am: f9551e4cc1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20890017
Change-Id: I8a5bd9dc73c85cdb432766e63243319982e9ac36
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 03:25:07 +00:00
TreeHugger Robot
51799a7d07
Merge "Fixing while navication bar in all-apps in 3-button mode." into tm-qpr-dev am: bc7efd06a7 am: 768e60af0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21037713
Change-Id: I6cd4f4e079c84f4130730014a11b7ca76b12f4cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 03:24:29 +00:00
Jeremy Sim
f9551e4cc1
Merge "Fix bug with Taskbar launches in Overview" into tm-qpr-dev am: bc1fa1e6a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20890017
Change-Id: I53382fd8559820495872b76c34218f3cb071b0be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 02:31:09 +00:00
TreeHugger Robot
768e60af0b
Merge "Fixing while navication bar in all-apps in 3-button mode." into tm-qpr-dev am: bc7efd06a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21037713
Change-Id: I638100629f9f813ede4010f9b7d99bf49b9d3fde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-19 02:30:56 +00:00
Jeremy Sim
bc1fa1e6a4
Merge "Fix bug with Taskbar launches in Overview" into tm-qpr-dev
2023-01-19 02:23:32 +00:00
TreeHugger Robot
bc7efd06a7
Merge "Fixing while navication bar in all-apps in 3-button mode." into tm-qpr-dev
2023-01-19 02:06:30 +00:00
Sunny Goyal
7450874e28
Fixing while navication bar in all-apps in 3-button mode.
...
Launcher was not accounting for all-apps-nav-bar-scrim when
computing sysui-flags
Bug: 194486821
Test: Verified on device
Change-Id: I692977fba5999bbab9737bac4b27c15c2912e6af
2023-01-18 15:36:28 -08:00
TreeHugger Robot
8c3d0fb5df
Merge "Close Taskbar AllApps when going from overview to home" into tm-qpr-dev am: 7c323889aa am: 3cb0796d36
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980934
Change-Id: Ie896ab713b9100da43f495536cf6f86ae5613849
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 22:06:43 +00:00
TreeHugger Robot
3cb0796d36
Merge "Close Taskbar AllApps when going from overview to home" into tm-qpr-dev am: 7c323889aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20980934
Change-Id: I1ff479f7475d613ee36aa94ecca42620b47465aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 21:31:35 +00:00
Miranda Kephart
00ae9eb815
Merge "Update ImageActionUtils to construct a ScreenshotRequest"
2023-01-18 21:10:39 +00:00
TreeHugger Robot
7c323889aa
Merge "Close Taskbar AllApps when going from overview to home" into tm-qpr-dev
2023-01-18 20:54:43 +00:00
Federico Baron
52f7897d7b
Merge "Set the ENABLE_DOWNLOAD_APP_UX_V2 flag to true" into tm-qpr-dev am: a9e5f5a1ef am: fd0a71c1a1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20579699
Change-Id: I3a74aa2995937a49895e6d71829aaaf33baee504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-18 20:48:18 +00:00