Sebastian Franco
ffae7d256c
[Merge conflict tmp-qpr] Adding flag to improve the icons reordering on foldables
...
Test: compiles
Bug: 188081026
Change-Id: Ifa30bbc9ff38f2cc0f9530f3e075b5eb662f63eb
2022-08-26 00:05:27 +00:00
Brandon Dayauon
c2cb9a3823
Merge "Fix jumpiness when dragging surface down and up." into tm-qpr-dev am: dc51afd920 am: 6c3f5a32aa
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19600189
Change-Id: I50d10c838e8e6291a261243898de201f3ce1bb0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-24 05:25:07 +00:00
Pinyao Ting
292d0d3dc9
Merge "Explicit Nullbility in Launcher (Part 2)" into tm-qpr-dev am: 775b0d21dc am: ff8f09b5b5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19679564
Change-Id: I569d5e6fd9ebbcb31266c6683c129481ee3c2144
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-24 05:08:54 +00:00
Brandon Dayauon
dc51afd920
Merge "Fix jumpiness when dragging surface down and up." into tm-qpr-dev
2022-08-23 20:38:52 +00:00
Pinyao Ting
775b0d21dc
Merge "Explicit Nullbility in Launcher (Part 2)" into tm-qpr-dev
2022-08-23 16:53:20 +00:00
Brandon Dayauon
d4a60b394f
Fix jumpiness when dragging surface down and up.
...
Currently the overshoot only works when you first open all apps and try
to extend the all apps to the top (making it overshoot). This pull works
when you go mFromState:Normal -> mToState:AllApps. However once the all
apps is set and you move the surface down then up..that overshoot
animation jumps AFTER your finger goes all the way up and off the
screen. At this point, once all apps is completely opened.. the states are
mFromState:AllApps -> mToState:Normal.
Now with this change, it addresses the jumpiness by considering the
current states (mFromState==AllApps) by
including the same onPull() but with different calculations
bug: 240669628
test: manual - videos included in bug thread
Change-Id: I7873f1ec22574f87fab3d2f11d1f5a5f81dfb5bc
2022-08-23 01:20:22 +00:00
Sunny Goyal
94da7bd9f3
Merge "Compressing view capture data and changing the format to avoid storing duplicate strings" into tm-qpr-dev am: 56677c50bd am: 97da32d50d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19638802
Change-Id: Id35b4b24ce569b1abe9ee4169de8e2bd4eb7af2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-23 00:45:39 +00:00
Pinyao Ting
023b973d15
Explicit Nullbility in Launcher (Part 2)
...
This CL updates the nullabality on methods associated with IconCache in Launcher.
Bug: 242895652
Test: manual
Change-Id: I4832c0950141c8a52c8a9e62659ccabb082897c8
2022-08-22 17:15:44 -07:00
Sunny Goyal
56677c50bd
Merge "Compressing view capture data and changing the format to avoid storing duplicate strings" into tm-qpr-dev
2022-08-23 00:10:05 +00:00
Sunny Goyal
ca5761d21f
Merge "Removing some obsolete features" into tm-qpr-dev am: 211496e3d8 am: a3dacac8b9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19505122
Change-Id: I8a0157caa803b2edcef458895d7e9ded06ea5fe0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 21:07:20 +00:00
Sunny Goyal
211496e3d8
Merge "Removing some obsolete features" into tm-qpr-dev
2022-08-22 20:27:45 +00:00
Luca Zuccarini
c97195c1fc
Merge "Set the default for keyboard sync to IS_STUDIO_BUILD." into tm-qpr-dev am: ee29b830b4 am: c905fd544a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19668493
Change-Id: Id3cad76e985f7b8da0f586b3b515b55b1d3b1a6e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-22 09:52:24 +00:00
Luca Zuccarini
ee29b830b4
Merge "Set the default for keyboard sync to IS_STUDIO_BUILD." into tm-qpr-dev
2022-08-22 09:12:01 +00:00
Sukesh Ram
b6d673ad40
Merge "Enable Pinning Deep Shortcuts in Secondary Display"
2022-08-19 23:18:52 +00:00
Sukesh Ram
353b0a914f
Enable Pinning Deep Shortcuts in Secondary Display
...
Currently, deep shortcuts can be pinned to the workspace grid (home screen) upon long click of the icon. However, a challenge in doing so has been persistence of these shortcuts because whenever a new secondary display activity gets started, these pinned shortcut icons vanish. To address this, we store pinned shortcut data in memory which is done here via SharedPreferences.
Retrieval of this data still needs to be done as outlined here: https://docs.google.com/document/d/1wLb2h8qCPGur-VsufCH4mLnnuLDLcmMq0FrCo7ichu8/edit#heading=h.44bkbp2hiok0 .
Bug: 241843710
Test: Manual
Change-Id: I709f046fac79fdfd47c3c84054173992d81757ae
2022-08-19 16:18:04 -07:00
Luca Zuccarini
78c6e3f2a4
Set the default for keyboard sync to IS_STUDIO_BUILD.
...
As discussed offline, I will send out an announcement in the Sysui-studio and #sysui-debug Chat Spaces to solicit bug reports.
Bug: 234812580
Test: manual
Change-Id: Id693e8ebd990b804da247d4639a2dd2d6fbdd01f
2022-08-19 19:09:15 +00:00
Grace Han
c9225b74d4
Merge "Create Flag for Region Sampling in Smartspace" into tm-qpr-dev am: 4fb9dbb9f5 am: ae351cd134
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19397546
Change-Id: I203497b28f995f4660718c85ce1e132bcd982e86
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 16:39:22 +00:00
Grace Han
4fb9dbb9f5
Merge "Create Flag for Region Sampling in Smartspace" into tm-qpr-dev
2022-08-19 15:59:35 +00:00
Jeremy Sim
235bd0c0d4
Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev am: 5ea6cfdb7e am: 2351d8dee3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19669397
Change-Id: Ie12aac6a63ff32c8fd0a443554898ba77c65d471
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-19 14:21:11 +00:00
Jeremy Sim
5ea6cfdb7e
Merge "Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"" into tm-qpr-dev
2022-08-19 13:37:58 +00:00
Jeremy Sim
2fe7dd7306
Revert "Update animations for TM-QPR: Overview > OverviewSplitSelect transition"
...
This reverts commit a50bb39048 .
Reason for revert: Causes a P1 bug (b/241165022).
Fixes: 241165022
Bug: 236760307
Change-Id: Icc080d9a37e26d70d0f4cf846a4fd39df3b71625
2022-08-18 21:28:54 +00:00
Sunny Goyal
c9c81ef320
Compressing view capture data and changing the format to avoid
...
storing duplicate strings
Also starting the dump process early to avoid timeouts
Bug: 242868825
Test: Verified on web-hv UI tool
Change-Id: I9943e41426f820c9ab70d39b9f01896ed060cab4
2022-08-17 16:48:27 -07:00
Thales Lima
14c79fb2d7
Merge "Make inlineQsb a grid-option attr" into tm-qpr-dev am: 8da8198bbb am: 5915f5e8d7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19607213
Change-Id: I35fd23671b3bd0b55bc4eb250f97a50e2915daae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 17:04:38 +00:00
Sunny Goyal
41b71f08ee
Merge "Get elevation in time-lapse View Hierarchy capture." into tm-qpr-dev am: 1b3b71f2d7 am: a6f3a6d32e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19626512
Change-Id: I821f46e159651e633974a12a097090a3ca3f9747
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:55:56 +00:00
Thales Lima
7cb6a57fe5
Merge "Show resize handle on cancel widget drop" into tm-qpr-dev am: 3906192135 am: 1da0c0fa28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19500455
Change-Id: I19bea834a5b6040786247d999735bbaced409822
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:41:59 +00:00
Thales Lima
5c842cde1f
Merge "Make folder sizes customizable" into tm-qpr-dev am: 7b10492e88 am: f97d64e152
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19559864
Change-Id: I35b9cc3af1bd282cb2fc2389c27e8f67fbf1cb37
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:40:58 +00:00
Sihua Ma
3cedd3920d
Merge "Resize preview for correct clipping" into tm-qpr-dev am: 2d675e8ab0 am: eeb46032ef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19324973
Change-Id: I0dec5e33e09efca7afe60c7d7183025018712965
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-17 16:37:36 +00:00
Sukesh Ram
e02c21259a
Merge "Added Tests for Secondary Display Launcher"
2022-08-17 06:46:19 +00:00
Sukesh Ram
73c27a1fa3
Added Tests for Secondary Display Launcher
...
These UIAutomator tests for secondary display launcher cover app drawer, drag-n-drop functionality, app predictions, pin/unpinning icons, and correct back press behavior.
We are deviating from go/modify-tapl due to the time constraints of this project as outlined here (https://docs.google.com/document/d/1wLb2h8qCPGur-VsufCH4mLnnuLDLcmMq0FrCo7ichu8/edit#heading=h.brf6af3bno4g ).
A preliminary design document has also been created to reference for future TAPL integration (https://docs.google.com/document/d/1H642SSu5DCM_zSXTsvTWumgm3OHIxsKEXvTlTeC4y54/edit?resourcekey=0-M9sTxdyQBi8bUy5cpjmJNA#heading=h.90f2s4sc5ic9 ).
Before TAPL integration, we need to follow up on test rewrite to eliminate antipatterns in the following bug: b/242776943.
Bug: 241166788
Test: Run Locally, on presubmit, and on a test on a cuttlefish emulator
Change-Id: I556a47b93a7ea3b2583dbc1efd2de7623d820e2a
2022-08-16 23:20:27 +00:00
Thales Lima
8da8198bbb
Merge "Make inlineQsb a grid-option attr" into tm-qpr-dev
2022-08-16 20:34:10 +00:00
Sunny Goyal
1b3b71f2d7
Merge "Get elevation in time-lapse View Hierarchy capture." into tm-qpr-dev
2022-08-16 16:20:04 +00:00
Thales Lima
3906192135
Merge "Show resize handle on cancel widget drop" into tm-qpr-dev
2022-08-16 15:02:54 +00:00
Thales Lima
7b10492e88
Merge "Make folder sizes customizable" into tm-qpr-dev
2022-08-16 15:02:41 +00:00
Sihua Ma
2d675e8ab0
Merge "Resize preview for correct clipping" into tm-qpr-dev
2022-08-16 00:15:06 +00:00
Stefan Andonian
608cd69805
Get elevation in time-lapse View Hierarchy capture.
...
Bug: 234032088
Test: Verified that elevation attributes from device are captured and
show up correctly on go/web-hv UI.
Change-Id: Id4c5a5c5a003cc38d332edc99365b160f17c52a6
2022-08-15 23:40:47 +00:00
Jeremy Sim
6044de1977
Merge "Update animations for TM-QPR: Overview > OverviewSplitSelect transition" into tm-qpr-dev am: cf03d04469 am: 6a6b5e4e9a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19464657
Change-Id: Ifb097d77968dd73d80aa42327e53dcb1fdc1c2c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-15 22:47:36 +00:00
Jeremy Sim
cf03d04469
Merge "Update animations for TM-QPR: Overview > OverviewSplitSelect transition" into tm-qpr-dev
2022-08-15 21:19:21 +00:00
Jeremy Sim
a50bb39048
Update animations for TM-QPR: Overview > OverviewSplitSelect transition
...
The animation from Overview to OverviewSplitSelect is now updated to the latest spec. See bug for details.
- New timings
- Task thumbnails slide in with a new spring animation
- Icons fade out and fade in appropriately
- SplitInstructionsView has a new compound "unfold" animation
Bug: 236760307
Test: Manual on tablet and phone. Looks good on both true and fake orientations.
Change-Id: If98d4464aa51c876d79bee9672279992a2cf9026
2022-08-14 10:34:51 -07:00
Sunny Goyal
083c1043db
Merge "Optimizing View capture logic" into tm-qpr-dev am: ee3ef1e991 am: 8e48bd4223
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19572602
Change-Id: Id6d1f9e7447771183ad66c275d07a35e06a19803
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-12 18:14:44 +00:00
Sunny Goyal
ee3ef1e991
Merge "Optimizing View capture logic" into tm-qpr-dev
2022-08-12 17:27:22 +00:00
Thales Lima
11af7bcd83
Make inlineQsb a grid-option attr
...
It should be per grid and not display size
Fix: 242301548
Test: atest DeviceProfileTest
Change-Id: I5ac11bd7162ce8102fd47c64039e339099ee8a05
2022-08-12 15:24:54 +01:00
Thales Lima
a08a443d63
Make folder sizes customizable
...
Introduce new attrs for folder sizes and update all grids to use the new attrs
Fix: 214582832
Fix: 236272949
Test: atest DeviceProfileTest
Test: manual comparison with mocks
Change-Id: I638052a7f01b4951df0dd26db577167468a3c46d
2022-08-12 12:24:18 +01:00
Thales Lima
09fc647338
Merge "Tune display options for non-default display sizes" into tm-qpr-dev am: f1b88dcb85 am: da164682c0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19578549
Change-Id: Ib448bfcfe4fb33bf3e576185eea579a309f7aae2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 15:30:59 +00:00
Thales Lima
f1b88dcb85
Merge "Tune display options for non-default display sizes" into tm-qpr-dev
2022-08-11 14:47:43 +00:00
Pat Manning
2c60b25805
Merge "Add logging to help debug flake when swiping home to overview."
2022-08-11 09:54:17 +00:00
Alex Chau
ea521f4857
Merge "Use WindowManagerProxy.getRotation to determine if rotation has changed" into tm-qpr-dev am: 5d9625b865 am: d86d6223b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19582532
Change-Id: I93957f96b19647c873580ae014e275be2060b3f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 00:03:29 +00:00
Sunny Goyal
a38aa060eb
Optimizing View capture logic
...
Doing view capture in two passes
1) UI thread: creating a flat copy of the full view tree. Since
view structure can change on the UI thread, this needs to be
captured synchronously on UI thread.
2) BG thread: We capture the properties of the View on background
thread using the flat tree created in the previous step. Since
reading the properties is atomic, there is no synchronization
issued.
One down side of this approach is that the properties might change
while the background-tep is underway. So all the properties of a
of a node may not represent the frame-state. But for the purpose
of animations, we can just refer a few continous frames.
Bug: 242095405
Test: Verified on device, frame capture reduced by at least 5x
every time.
Change-Id: I0a61fb24669940b3b3533c0471e42e476709da55
2022-08-10 15:49:36 -07:00
Alex Chau
5d9625b865
Merge "Use WindowManagerProxy.getRotation to determine if rotation has changed" into tm-qpr-dev
2022-08-10 22:32:51 +00:00
Luca Zuccarini
a5722fa5f0
Merge "Introduce a new flag to guard keyboard synchronization." into tm-qpr-dev am: 2e126f985e am: 4728814a0f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19117747
Change-Id: Ia57d8df450a9cf6922ca19327ea55bfa6fdc8d63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 18:15:54 +00:00
Luca Zuccarini
2e126f985e
Merge "Introduce a new flag to guard keyboard synchronization." into tm-qpr-dev
2022-08-10 17:37:05 +00:00