Brandon Dayauon
f54e016c82
split the scrolling logging into work,personal, and search
...
- moved collapse/extend logging with the other scroll logging
bug: 263817965
test: Manual - WW
Change-Id: I9cd57b895c0c2edb7fe39ef98dced574d09a0953
2023-01-11 10:09:27 -08:00
Sebastian Franco
a955403ba9
Change the access of cellX/Y of CellLayoutLayoutParams to private
...
Cherry pick needed for changes on workspace lily
Bug: 188081026
Test: no op change, should compile
Test: ReorderWidgets
Change-Id: I20367974e5a4cead406e18eb66dafd4d59651b2a
2023-01-11 15:25:23 +00:00
Luca Zuccarini
50ef8004e0
[Toast] Add a feature flag for result launch animations.
...
Bug: 250588519
Test: manual
Change-Id: I6d605bf8b1008a3b12497e1d04601735ad79c001
2023-01-11 13:16:02 +00:00
Jeremy Sim
5f8dd20236
Fix transition animations for launch-from-staged operation
...
This change makes it so that a smoother animation will play when the user cancels the splitscreen flow by tapping the staged app to launch the app in fullscreen. Since this was the only blocker to activating the feature, this change also enables launch-from-staged by default and removes the flag.
Fixes: 257513449
Test: Manual
Change-Id: Iabff2fc72bfcd6975d216b5cd86e0df7a772b308
2023-01-10 15:44:23 -08:00
Sunny Goyal
5fe99d560e
Fetching the session info on the background thread when launching pening icon
...
Bug: 242669604
Test: Verified that the RPC is not made on UI thread
Change-Id: I4299628b8b3e9aa2844f5556c57f47d997dd85e1
2023-01-10 11:02:58 -08:00
Alex Chau
06f36e8568
Reduce icon/text simultaneously when cellHeight is not enough for largest display size
...
- Follow-up of http://ag/20691430
- Reduce iconDrawablePaddingPx to further recover space
- Then proportional reduce both iconSizePx and iconTextSizePx
- This will result in larger icon/text size in px when going from larger to largest for most devices
- For extremely large desnity (> largest for most devices), iconSizePx/iconTextSizePx will inevitably reduce due to smaller availalbe space
Fix: 264149604
Test: test different density between larger and largest, check that icon/text size continues to grow in px
Change-Id: I1633566b9372acf1393c7e997598cb3e46c4a507
2023-01-10 18:11:59 +00:00
Thales Lima
3241b26430
Merge "Check kotlin format before uploading" into tm-qpr-dev am: bdfc07f1f0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20883265
Change-Id: I1f211915948bd6112d605dbd6d2a6569838c1585
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-10 17:20:23 +00:00
Luca Zuccarini
fb4429f0b0
Revert^2 "Update timings for the Home <> All Apps transition."
...
e18ac479e5
Change-Id: Id09987b2c67be70e62349574973d4bc62b10bc9d
Bug: 263221786
2023-01-10 17:05:29 +00:00
Thales Lima
bdfc07f1f0
Merge "Check kotlin format before uploading" into tm-qpr-dev
2023-01-10 16:41:58 +00:00
Thales Lima
03ac377a34
Check kotlin format before uploading
...
This uses ktfmt on the PREUPLOAD hook to check file formatting.
Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
Merged-In: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-10 13:24:43 +00:00
Thales Lima
47a40a8bd3
Merge "Check kotlin format before uploading"
2023-01-10 13:23:59 +00:00
Sebastián Franco
aeaaef068d
Merge "Printing the workspace items to improve flake investigation." into tm-qpr-dev am: b66293e96d am: b1bb6d37d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20680953
Change-Id: I6556acee7b4a44ed4a39aefa749cdfca4f305f26
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-10 00:25:48 +00:00
Sebastián Franco
b1bb6d37d7
Merge "Printing the workspace items to improve flake investigation." into tm-qpr-dev am: b66293e96d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20680953
Change-Id: I103270c818b050f1bcb67dbfa91a6b333d01016b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-09 23:46:57 +00:00
Sebastián Franco
b66293e96d
Merge "Printing the workspace items to improve flake investigation." into tm-qpr-dev
2023-01-09 23:20:51 +00:00
Thales Lima
7a3c1e10a7
Check kotlin format before uploading
...
This uses ktfmt on the PREUPLOAD hook to check file formatting.
Bug: 264851618
Test: manual
Change-Id: I8bdeabd9c1ed571a464707e6912419ad3190a169
2023-01-09 17:45:42 +00:00
Vinit Nayak
1c9b42521f
Merge "Improves overview split adjacent launch animation" into tm-qpr-dev am: 72b186aefd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20873328
Change-Id: I9534252aee43616154247c5e130dbc6c7336e5b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-07 01:07:52 +00:00
Vinit Nayak
72b186aefd
Merge "Improves overview split adjacent launch animation" into tm-qpr-dev
2023-01-07 00:36:16 +00:00
Sunny Goyal
73a3b68c9d
Merge "Fixing work tab is not updated when work-mode changes" into tm-qpr-dev am: 3da648a80b am: 11a984a00e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20886439
Change-Id: I3b1e52d896ad53f9e2a46cab67cd0ca72f5a4340
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 19:04:19 +00:00
Sebastian Franco
f34f35fddb
Printing the workspace items to improve flake investigation.
...
Recording the screen to investigates flakes on ReorderWidgets
is really useful but it requires changing the code for that and
storing the video and most of the time the useful information
is just the end state so by logging the end state makes resolving
flakes easier
Fix: 261877803
Test: atest ReorderWidgets
Change-Id: If5d9745ebb57826a55b5df9d3599eed56c48298f
2023-01-06 12:29:11 -06:00
Sunny Goyal
11a984a00e
Merge "Fixing work tab is not updated when work-mode changes" into tm-qpr-dev am: 3da648a80b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20886439
Change-Id: Id88d1048401066badd490b10f92c1f85bda4a205
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 18:28:04 +00:00
Sunny Goyal
3da648a80b
Merge "Fixing work tab is not updated when work-mode changes" into tm-qpr-dev
2023-01-06 18:11:15 +00:00
Brandon Dayauon
160ac3577f
Merge "Add logging to work mode switch" into tm-qpr-dev am: bae7e704a4 am: 0981bf9fd3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20832425
Change-Id: I922ced33d67c4e68652b798352cc4acf2cd70ce1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-06 12:13:56 +00:00
Brandon Dayauon
0981bf9fd3
Merge "Add logging to work mode switch" into tm-qpr-dev am: bae7e704a4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20832425
Change-Id: I7d0cb1b41cb1b08d7a548081d176d258aacef01e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 23:47:26 +00:00
Brandon Dayauon
bae7e704a4
Merge "Add logging to work mode switch" into tm-qpr-dev
2023-01-05 23:21:35 +00:00
Vinit Nayak
c7fa32d478
Merge "Improves overview split adjacent launch animation"
2023-01-05 23:15:41 +00:00
Sunny Goyal
3c2ee27a01
Fixing work tab is not updated when work-mode changes
...
Bug: 263399769
Test: Verified on device
Change-Id: I94d8f20bc70f2299d11d539d4821ba7e13253522
2023-01-05 14:53:28 -08:00
TreeHugger Robot
f2df42fdca
Merge "Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"" into tm-qpr-dev am: 1973056e40 am: 3c57751362
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747317
Change-Id: I7c98fa2b687ff8af976b4cffe389afb3d8eb4304
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 21:15:58 +00:00
TreeHugger Robot
5e7081554d
Merge "Re-enable the fast scroll in widget picker" into tm-qpr-dev am: 5b860ca3ed am: e8890ee0fc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20685020
Change-Id: Iff4fe710fc96361b488996cb20e5771071407719
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 21:15:47 +00:00
TreeHugger Robot
3c57751362
Merge "Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"" into tm-qpr-dev am: 1973056e40
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747317
Change-Id: Icbb373ae2748a4fc1d8c2e6043841f67a499a8b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:48:48 +00:00
TreeHugger Robot
e8890ee0fc
Merge "Re-enable the fast scroll in widget picker" into tm-qpr-dev am: 5b860ca3ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20685020
Change-Id: Ifd60d70220abc3375545167a5de9b069261fe12d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-05 20:48:24 +00:00
TreeHugger Robot
1973056e40
Merge "Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"" into tm-qpr-dev
2023-01-05 20:04:07 +00:00
TreeHugger Robot
5b860ca3ed
Merge "Re-enable the fast scroll in widget picker" into tm-qpr-dev
2023-01-05 19:55:51 +00:00
Vinit Nayak
da2819ed5f
Improves overview split adjacent launch animation
...
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)
Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
Merged-In: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 11:54:22 -08:00
Vinit Nayak
9740ba4bf1
Improves overview split adjacent launch animation
...
* Translation gets scaled along with the parent,
so the secondary thumbnailView which has a translate on
it gets exaggerated as the parent goes to fullscreen
scale.
* Now we inversely scale translationX/Y properties,
however it seems like the interpolation is still slighly
off at the beginning of the animation (or maybe some other
value, such as pivot, etc)
Bug: 260814999
Test: Manually slowed down animation and observed
Change-Id: I831476b4ffb582fecbd166525ceea33623e66bdd
2023-01-05 19:53:28 +00:00
Brandon Dayauon
9d38a3fd10
Add logging to work mode switch
...
Add logging to the work button on work profile, logging when button
is extended and collapsed
bug: 263817965
test: presubmit
Change-Id: I3194d0a1567a9ee995497391350ed5be4b08c3db
2023-01-05 01:40:30 -08:00
Federico Baron
1cbb2bec7d
Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev am: 7cb0133d84 am: e80898c6f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20806533
Change-Id: I6c92b40e5e25b4fba30ecdf6d7b3afd8fc810a3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 23:51:25 +00:00
Federico Baron
6a7b45937d
Merge "Add icon scale and alpha animation for entering downloading state from pending state" into tm-qpr-dev am: 19aeae3e66 am: cc14cfc671
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20714347
Change-Id: I1e317e95573c9f80631329434de82580feee3573
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 23:51:14 +00:00
Sihua Ma
db7f098bc1
Re-enable the fast scroll in widget picker
...
Fix: 258299457
Test: Manual
Change-Id: Ic069f5304827de40be88b80590f5c6c7d88b13b2
2023-01-04 15:47:07 -08:00
Federico Baron
e80898c6f1
Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev am: 7cb0133d84
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20806533
Change-Id: Iacf3baf470a4799d580216d927801e741d7a7794
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 23:32:01 +00:00
Federico Baron
7cb0133d84
Merge "Fix bug where dragging icons in folders causes error" into tm-qpr-dev
2023-01-04 23:22:36 +00:00
Federico Baron
cc14cfc671
Merge "Add icon scale and alpha animation for entering downloading state from pending state" into tm-qpr-dev am: 19aeae3e66
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20714347
Change-Id: Idbd087b1979fb400fd95234c298c1ecc1e8f8903
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 23:16:58 +00:00
Schneider Victor-tulias
7ae19d0146
Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev am: 8aa0471591 am: 0d5736e9b2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746686
Change-Id: Ie69ae3b15b46cdb9d03c388ab0bbdf9dbc3ab807
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 23:03:47 +00:00
Federico Baron
19aeae3e66
Merge "Add icon scale and alpha animation for entering downloading state from pending state" into tm-qpr-dev
2023-01-04 22:43:38 +00:00
Schneider Victor-tulias
0d5736e9b2
Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev am: 8aa0471591
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746686
Change-Id: I1dc8ce531281802027b88e99cedfe57b8562090c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 22:27:34 +00:00
Schneider Victor-tulias
8aa0471591
Merge "Add check for loading ever applied in check for page scrolls initialized" into tm-qpr-dev
2023-01-04 22:08:12 +00:00
Schneider Victor-tulias
50f66511d9
Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls.
...
Bug: 262256539
Test: swiped home several times
Change-Id: I1d4b515f917e89c2ee0112a408499734222c6852
2023-01-04 18:27:27 +00:00
Schneider Victor-tulias
5455b85291
Revert "Add logging to help debug additional app infos being updated by CacheDataUpdatedTask"
...
This reverts commit 62511de74e .
Reason for revert: bug not reproducing
Fixes: 20747317
Change-Id: I55c1fe8005fee66db53052aab15e152e6d39a34c
2023-01-04 18:27:00 +00:00
Pat Manning
6c4912ae90
Merge "Use DisplayController INSTANCE for info instead of IDP INSTANCE." into tm-qpr-dev am: 50b82f887c am: d257345019
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20836636
Change-Id: Iaa49143a26f168625e53a80ed01d7050bb9e08c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 14:52:45 +00:00
Pat Manning
d257345019
Merge "Use DisplayController INSTANCE for info instead of IDP INSTANCE." into tm-qpr-dev am: 50b82f887c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20836636
Change-Id: I38f6ceb9309cf010513f75f73f77cb65bb9df3b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-01-04 14:17:06 +00:00
Federico Baron
2161985b50
Add icon scale and alpha animation for entering downloading state from pending state
...
When we enter downloading state from being in pending state, we want to run an animation that animates the process of scaling down the icon as well as removing the overlay with an animation
Bug: 254858049
Test: Download a couple of apps with ENABLE_DOWNLOAD_APP_UX_V2 flag on
Change-Id: Ie4f378874aa3cf6597c02b4d7043a34eb51d838c
2023-01-03 14:29:01 -08:00