Sunny Goyal
6773667e34
Revert "Revert "Adding main thread binder tracing in development..."
...
Revert submission 23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Reason for revert: Fixed broken build
Reverted changes: /q/submissionid:23522417-revert-23482347-launcher-binder-tracing-RBUMTFPXQG
Change-Id: I3e130a780b8641c4a17a5cdf799513f2ba08b16e
2023-06-02 18:14:35 -07:00
Brian Isganitis
992065ba38
Merge changes from topics "all-apps-search-delegate-qpr", "search-container-view" into udc-qpr-dev
...
* changes:
Add initial support for search session in Taskbar All Apps.
Add All Apps search delegate for inflating search box.
2023-06-03 00:59:47 +00:00
Kevin Lim
89be8eec42
Merge "[Launcher] Added comment to keep logging latency type in sync" into udc-qpr-dev
2023-06-03 00:11:54 +00:00
vadimt
99c4becf24
Switch ScrimView to use view alpha
...
Using view alpha instead of background paint’s color alpha component
will make ScrimView alpha and visibility available to View Capture and
any analysis tool that’s based on it.
The change makes ScimView background completely opaque, and makes Scrim
View use variable alpha instead of always-1.0 alpha.
Changes some code that depends on the old way of representing ScrimView
opacity.
Also moves “updateSysUiColors()” call in ScrimView#setBackgroundColor
below updating alpha and background color so the new values are used in
the calculations.
Bug: 282991128
Test: local, presubmit
Change-Id: I6ca089bae55adfb9c3140d06da4fbb3b08f2bf8b
2023-06-02 15:47:51 -07:00
Andrew Cole
a9a97f5123
Merge "Multi-line titles supporting RTL" into udc-dev am: f011d43325 am: aadd40dc21
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23521213
Change-Id: Ie0bf8ee8743b9960582221d1a091c92b76c87974
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 20:26:56 +00:00
TreeHugger Robot
3b7285f61c
Merge "Revert "Adding tracing for workspace loading that never finishes"" into udc-dev am: 4ad5ffd0a1 am: ef529447b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23537958
Change-Id: I774fa87ee58d684ab27114a68354ffd42538077c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 20:26:50 +00:00
Andrew Cole
f011d43325
Merge "Multi-line titles supporting RTL" into udc-dev
2023-06-02 19:04:50 +00:00
TreeHugger Robot
4ad5ffd0a1
Merge "Revert "Adding tracing for workspace loading that never finishes"" into udc-dev
2023-06-02 18:59:47 +00:00
Kevin Lim
7d8058cf43
[Launcher] Added comment to keep logging latency type in sync
...
Bug: b/279978057
Flag: No flag needed. Documentation change.
Test: No test needed. Documentation change.
Change-Id: I5bd7f260fe7e4e2a0c4a5aa005a3d7c80351af09
2023-06-02 17:47:46 +00:00
Brian Isganitis
1fb10991d0
Add All Apps search delegate for inflating search box.
...
Test: Manual
Bug: 216683257
Flag: not needed
Change-Id: I2e1d9b0abf6d370d7ff6d6af2bab002b87330d86
2023-06-02 15:40:36 +00:00
Vadim Tryshev
d8b470cf2f
Revert "Adding tracing for workspace loading that never finishes"
...
This reverts commit 80bb8a12da .
Reason for revert: Cleanup after the bug is fixed. Tracing is not necessary anymore.
Change-Id: I1bb2bc59dd5debb51b094f14430cd18a203ed33c
2023-06-02 15:28:18 +00:00
Sunny Goyal
ee9740462e
Simplifying some test utility methods
...
Bug: 283821111
Test: Presubmit
Flag: N/A
Change-Id: I7b9690bc0cc53d097d26cd4f0ab2dd36ba88e1cb
2023-06-02 13:30:55 +00:00
Alex Chau
1a5ca93835
ENABLE_CURSOR_HOVER_STATES should be TEAMFOOD only
...
- Not all features are landed yet
Bug: 243191650
Test: manual
Change-Id: I7f70898fb16435134bfb58982b754a57c6f5c29f
2023-06-02 10:05:47 +00:00
Santiago Aboy Solanes
0edac04688
Merge "Revert "Adding main thread binder tracing in development build."" into udc-qpr-dev
2023-06-02 09:06:26 +00:00
Santiago Aboy Solanes
ee846feb80
Revert "Adding main thread binder tracing in development build."
...
Revert submission 23482347-launcher-binder-tracing
Reason for revert: Broken Build 10242119 on git_master on errorprone b/285434612
Reverted changes: /q/submissionid:23482347-launcher-binder-tracing
Change-Id: Id9726474265e839a59d6eb34822e7a86d40f0fc9
2023-06-02 08:59:28 +00:00
Vinit Nayak
c2545b82cc
Merge "Add logs for launcher user cache" into udc-dev am: 43c79d23b3 am: d7037d07e4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23523872
Change-Id: I5a512981f5776174f079dca8b81fc3e3fe069a83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 04:24:56 +00:00
Vinit Nayak
43c79d23b3
Merge "Add logs for launcher user cache" into udc-dev
2023-06-02 02:57:40 +00:00
Anushree Ganjam
87cb7ad06a
Merge "Add UID in AppInfo." into udc-dev am: 9b4f62e681 am: eb9cd7e26e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23331302
Change-Id: I2bfbbf5fd5ec777baca79d89c13204857e600f8d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-02 01:46:38 +00:00
Anushree Ganjam
9b4f62e681
Merge "Add UID in AppInfo." into udc-dev
2023-06-02 01:17:29 +00:00
Vinit Nayak
134e429189
Add logs for launcher user cache
...
Bug: 243688989
Flag: None
Change-Id: I6f6ea3f3326c1814c2a50863e9bfbcb7e4323ae8
2023-06-01 17:11:42 -07:00
Anushree Ganjam
97434eea53
Add UID in AppInfo.
...
Create a reverse hashmap of PackageUserKey to Uid in AllAppsStore for
faster lookup of uid based on packageName and userHandle.
Log Uid in Impression Logging.
Bug: 282849559
Test: Manual. See various usecases documented in http://shortn/_UcvAYOmLIP
Flag: NA
Change-Id: I416426214f6b6efc45f7d4c0433bbbfca9056adf
2023-06-01 22:45:19 +00:00
Andrew Cole
0aae6049e2
Multi-line titles supporting RTL
...
In order to support multi-line titles in an RTL configuration we have to override
the androidx preferences library and manually set the text direction of the list view to be locale
Bug: 279880739
Test: Manual
Change-Id: I1f837a14a289e2ced8f8f3655f5ce061b37baa74
2023-06-01 15:08:35 -07:00
Brandon Dayauon
fde9d30ff2
Merge "Fix "Pause work apps" button in strange location" into udc-dev am: 052045907c am: 225170c59b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23480191
Change-Id: I74502ce0b46bead253388281a18cf74ca0f03857
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-01 20:50:36 +00:00
Sunny Goyal
3e596d3aa4
Updating the top scrim to also use dynamicaly generated bitmap
...
Bug: 237818532
Test: Verified on device
Flag: N/A
Change-Id: I22ceb470677ab9df53e40fb78f0292b7fd5e2241
2023-06-01 19:20:04 +00:00
Brandon Dayauon
052045907c
Merge "Fix "Pause work apps" button in strange location" into udc-dev
2023-06-01 19:00:27 +00:00
Sunny Goyal
50c9126cc3
Merge "Adding main thread binder tracing in development build." into udc-qpr-dev
2023-06-01 17:27:21 +00:00
Sunny Goyal
3db98b1152
Adding main thread binder tracing in development build.
...
> Unifying multiple binder tracing implementations
> Removing wallpaper customization check as it has been rolled out
few years ago, this avoids additional RPC to check for wallpaper
> Removing RaceConditionReproducer as it is not used anywhere and
is not integrated with this tracing anymore
Bug: 273718665
Test: Presubmit
Flag: N/A
Change-Id: I801af5d039a9d38d5d39e803723ec6da50a9d59f
2023-06-01 09:39:50 -07:00
Alex Chau
3e68f68528
Enable Grid only overview in teamfood
...
Bug: 270397206
Test: manual
Change-Id: I5f1fed8f04f63cb53af66a94ad415d3d6814245d
2023-06-01 14:29:55 +00:00
Nick Chameyev
c1eafd92ab
Merge "[Unfold animation] Do not preemptively start the animation if it has run already" into udc-qpr-dev
2023-06-01 12:55:27 +00:00
Sunny Goyal
b980b529a4
Merge "Fixing icon cache thrashing due to an unsupported icon" into udc-dev am: 6c8d57d8b5 am: d063440188
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23493432
Change-Id: I040576bf5def42760d5543bf5140144fd77395da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-01 02:04:16 +00:00
Vadim Tryshev
01a4b4990a
Merge "Fixing a flake when workspace loading never finishes." into udc-dev am: 5fe61d4ff7 am: 88ad0211ac
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23493702
Change-Id: Ia6a4ac682df6d374029823333faa9746ab75d991
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-01 02:04:01 +00:00
Sunny Goyal
6c8d57d8b5
Merge "Fixing icon cache thrashing due to an unsupported icon" into udc-dev
2023-06-01 01:31:26 +00:00
Vadim Tryshev
5fe61d4ff7
Merge "Fixing a flake when workspace loading never finishes." into udc-dev
2023-06-01 00:50:25 +00:00
Schneider Victor-tulias
807f6d1828
Merge "Fix flaky null pointer in LauncherWidgetHolder" into udc-dev am: 2b06cbc748 am: d9a7a143f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23454674
Change-Id: I12c4749ee9b9740796bf4380a728b678757ebdf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-31 23:43:51 +00:00
Sunny Goyal
41737b3e8b
Fixing icon cache thrashing due to an unsupported icon
...
Bug: 284032965
Test: Verified by reproducing the use case
Flag: N/A
Change-Id: I835dd545a01eb2fd7990e0fd5ad51bac0e4b1f33
2023-05-31 23:21:13 +00:00
Schneider Victor-tulias
2b06cbc748
Merge "Fix flaky null pointer in LauncherWidgetHolder" into udc-dev
2023-05-31 22:07:57 +00:00
Jagrut Desai
9edf316ca3
Merge "Fixing Toast Hiding behind Taskbar - Part 2" into udc-dev am: e208e02aba am: 3d630fdddb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23455641
Change-Id: I4b47b8d6304830311eef6545ee08bfee51554269
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-31 21:26:47 +00:00
Jagrut Desai
e208e02aba
Merge "Fixing Toast Hiding behind Taskbar - Part 2" into udc-dev
2023-05-31 20:45:37 +00:00
Brandon Dayauon
6a14189b07
Fix "Pause work apps" button in strange location
...
The issue why the button sticks up is because of the translation not resetting when closing
All apps.
- This CL resets ime insets and the position of the button to the original location.
bug: 278722407
test: manual - before:https://drive.google.com/file/d/1_L4ICHrt582KcVcpvQDK9HciC_n5eiEy/view?usp=sharing
after: https://drive.google.com/file/d/1_G8-Jd_wdUKjy7vFj6iQ1QmCx_7Qrogn/view?usp=sharing
Change-Id: Ib32b8ef950d03aa812f30c2393e3cad3201c08da
2023-05-31 20:23:26 +00:00
vadimt
9c102e5634
Fixing a flake when workspace loading never finishes.
...
The flake was caused by the fact that addOnDrawListener(), the redraw is not guaranteed. This ultimately results to the workspace loading never finishing.
Forcing the redraw.
Bug: 267200150
Test: atest Launcher3Tests:com.android.launcher3.celllayout.ReorderWidgets#simpleReorder --rerun-until-failure
Flag: N/A
Change-Id: I47683425150a07ab2632e2bebdeca4d304e30d1b
2023-05-31 10:59:25 -07:00
Jagrut Desai
84e959a72a
Fixing Toast Hiding behind Taskbar - Part 2
...
Test: Visual, Manual
Bug: 282964229
Flag: not needed
Change-Id: If2373d8f0bc44a555844c78d20877e9636a7e176
2023-05-31 10:41:16 -07:00
Nick Chameyev
6d756970e7
[Unfold animation] Do not preemptively start the animation if it has run already
...
Currently if we open an app, unfold the device and then go to home
screen we will start the unfold animation preemptively in Launcher
because Launcher activity will receive updated configuration change
(where isTablet = true) only after going back to home screen, not
when unfolding the device.
This causes a problem because SystemUI won't send the unfold animation
events after going back home as the animation has already run, so we
end up with wrongly started animation in Launcher.
This CL fixes the issues by checking if SystemUI has finished the
animation (or if it is currently running) to avoid preemptive animation
start in this case. This is done by subscribing to the original
unfold transition progress provider which emits progress events
sent through IPC from SystemUI.
Bug: 285150685
Test: open an app on folded screen, unfold, go to home screen =>
check that icons are not squished
Test: fold/unfold when launcher is open
Change-Id: Ic437ff4d19cbd5764635f3007d99880622150f5b
2023-05-31 17:12:08 +00:00
Kateryna Ivanova
72fbdc7976
Merge "Migrate Interpolators from Launcher3 to the public animation library" into udc-qpr-dev
2023-05-31 15:25:40 +00:00
Thales Lima
2ffa6d99a8
Merge "Implement calculations of Responsive Grid in DeviceProfile" into udc-qpr-dev
2023-05-31 13:21:17 +00:00
Nick Chameyev
28caa7586c
Merge "[Unfold animation] Disable preemptive launcher animation" into udc-dev am: 0bb67d4c2c am: ff417fc486
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23476096
Change-Id: I7d26cd3c3972ce690157aec072b3251c2f02bd7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-31 11:59:13 +00:00
Nick Chameyev
0bb67d4c2c
Merge "[Unfold animation] Disable preemptive launcher animation" into udc-dev
2023-05-31 10:03:03 +00:00
TreeHugger Robot
f7d08912fa
Merge "Add LAUNCHER_APP_LAUNCH_PENDING_INTENT where an app is launched through pending intent." into udc-dev
2023-05-31 06:13:38 +00:00
TreeHugger Robot
76a7def698
Merge "Possibly fix the widget restoration bug" into udc-dev am: 7dabd57f2d am: 8fbd56b2c5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23481736
Change-Id: Iade89cc8961c46bacfd3ceeec189cb5f03df635b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-31 03:20:09 +00:00
TreeHugger Robot
8fbd56b2c5
Merge "Possibly fix the widget restoration bug" into udc-dev am: 7dabd57f2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23481736
Change-Id: Ia460fd62985e83f82addc5ddb6ae8f449bbfde9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-05-31 02:16:44 +00:00
TreeHugger Robot
7dabd57f2d
Merge "Possibly fix the widget restoration bug" into udc-dev
2023-05-31 01:32:53 +00:00