Alex Chau
5c1eb61391
Merge "Don't scale iconSize and textSize in non-default display size" into tm-qpr-dev
2022-12-14 17:15:21 +00:00
Brian Isganitis
338fa3e9ab
Delay hiding Taskbar EDU until entering home or overview.
...
EDU will now end up hiding due to
TaskbarLauncherStateController#onStateChangeApplied closing all AFVs if
we are going to home or overview.
This is a quickfix to make it harder to accidentally close the EDU when
testing out the transient taskbar. We will eventually be moving to a
lighter EDU UI where having gestures occuring behind it will be less
awkward.
Test: Manual
Bug: 260769010
Change-Id: I477abe9339ed10cb3aed8d1a0fbe0e22ac14c7ab
2022-12-13 20:16:29 -05:00
Jon Miranda
e7417ce2ae
Taskbar All Apps button visual updates
...
- Moved to new position
- Using 3x3 icon
- New Colors
Checked with visd that this half is good to go,
will follow up with positioning of the 3x3 icon within
its container.
Bug: 259712417
Test: manual, LTR/RTL modes, transient/persisent models
Change-Id: I298b6dbca004cdb8920e6533fffc8ca83e0197f9
2022-12-13 15:16:01 -08:00
Bill Yi
99d8e6c7a4
Merge "Import translations. DO NOT MERGE ANYWHERE"
2022-12-13 21:48:34 +00:00
Brian Isganitis
47da4167ea
Assign taskbar EDU same interpolator as all apps.
...
This polishes closing both at the same time when they are on top of each
other.
Test: Manual
Bug: 217261955
Change-Id: Iecb8658b98debb0225d3b59da99ecb34d008971a
2022-12-13 16:43:36 -05:00
Brian Isganitis
2a2f1b6cd3
Polish all apps taskbar unstash behavior for transient and persistent.
...
- During gestures from taskbar all apps, unstash immediately in
transient.
- Overlay closes sooner if all apps is open (still done later for EDU).
- Taskbar stashes in overview when All Apps is opened.
- Transient app-window threshold is ignored if All Apps is opened.
Test: Manual
Fix: 262076812
Change-Id: I46b2dcdc75ee0cc15c1b47da2139ff8c20cf618a
2022-12-13 16:24:35 -05:00
TreeHugger Robot
e6cb5467c8
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-12-13 19:49:16 +00:00
Pat Manning
f5240c1538
Merge "Include taskbar cropped insets in thumbnail aspect ratio difference calculation." into tm-qpr-dev am: 59c4fff67c am: 2eca15a02f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20643015
Change-Id: Idc04b9118bab3ab633ee3f3b1b84e33e1d462f40
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 19:35:40 +00:00
Jeremy Sim
45241914cd
Merge "Use already-running app instances when splitting" into tm-qpr-dev am: 538281db37 am: 8ccaa6a33d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20625907
Change-Id: I6364fe358bf9438b5483e7ec3675bbd6464f045f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 19:33:20 +00:00
Pat Manning
2eca15a02f
Merge "Include taskbar cropped insets in thumbnail aspect ratio difference calculation." into tm-qpr-dev am: 59c4fff67c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20643015
Change-Id: Id044d04b165d334931afb3cfc3754c5b4e0f4abf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 18:59:11 +00:00
Jeremy Sim
8ccaa6a33d
Merge "Use already-running app instances when splitting" into tm-qpr-dev am: 538281db37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20625907
Change-Id: If7edcfa37908409a48c6a4db9031fab0fe2414a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 18:57:59 +00:00
Pat Manning
59c4fff67c
Merge "Include taskbar cropped insets in thumbnail aspect ratio difference calculation." into tm-qpr-dev
2022-12-13 18:29:27 +00:00
Brian Isganitis
2478619202
Merge "Move forward initial frame for suggestions asset." into tm-qpr-dev am: 97db609701 am: 5315688415
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20708959
Change-Id: I5e19ffe7929ac3b529ba12c77d4742fdc6d68196
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 18:22:54 +00:00
Jeremy Sim
538281db37
Merge "Use already-running app instances when splitting" into tm-qpr-dev
2022-12-13 18:21:12 +00:00
Brian Isganitis
5315688415
Merge "Move forward initial frame for suggestions asset." into tm-qpr-dev am: 97db609701
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20708959
Change-Id: I7edee6d6c08beca923da50772d73e92e72c85bad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-13 17:47:10 +00:00
Brian Isganitis
97db609701
Merge "Move forward initial frame for suggestions asset." into tm-qpr-dev
2022-12-13 17:36:49 +00:00
Alex Chau
be753137a2
Don't scale iconSize and textSize in non-default display size
...
- Cells should get extra space by reducing borderSpace. If that's still not enough, use 0 borderSpace and distribute the space
Fix: 256976071
Fix: 248348171
Test: manual
Change-Id: I067c1aaa553d7a84caeeb9ce21e80cfaf86a3bed
2022-12-13 16:30:14 +00:00
Pat Manning
0333ec1d21
Include taskbar cropped insets in thumbnail aspect ratio difference calculation.
...
Bug: 260861673
Test: manual.
Change-Id: I3abed4dfab5dccf99ae81e0f2d0ae840a3aabed5
2022-12-13 11:45:05 +00:00
Andy Wickham
67e171a872
Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev am: 29b95b58ba am: a89df1e47f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546292
Change-Id: I9614ee34df20a367907c9d9860e2f085690e93b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-12 20:03:44 +00:00
Brian Isganitis
3ac3a8a3b4
Move forward initial frame for suggestions asset.
...
The assets were starting with remnants of the previous step.
Bug: 217261955
Test: Manual
Change-Id: Ibf9194afba97def051334a85d172396fb6659213
2022-12-12 14:30:25 -05:00
Andy Wickham
a89df1e47f
Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev am: 29b95b58ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546292
Change-Id: I09030c24485b7b25a2eb72d90e4515d6e9ea3960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-12 19:29:48 +00:00
Andy Wickham
29b95b58ba
Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev
2022-12-12 19:08:37 +00:00
Bill Yi
b0c55e8ca3
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I43015720f42267d1028be4592081997d9798d7c6
2022-12-12 08:40:40 -08:00
Bill Yi
4fcaced7e0
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: If8443530a05b53ebe6fb9ddd0f7919255c854672
2022-12-12 08:40:05 -08:00
Jon Miranda
c77d4e0715
Merge "Better support transient and persistent taskbar in taskbar's overlays." into tm-qpr-dev am: a76222d209 am: e34202df54
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20693438
Change-Id: I6b7bef257cd1553c6a2e79e99c52926b2b3f3012
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-12 12:25:55 +00:00
Brian Isganitis
262d9e3269
Merge "Add logging to investigate updateOverviewTargets state." into tm-qpr-dev am: 570c5146d3 am: 3030ccf26b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20680311
Change-Id: I320ca78da94f9a57d9304a44df06fd916f06e6b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-12 12:25:43 +00:00
Bill Yi
bafb04f1e2
Merge "Import translations. DO NOT MERGE ANYWHERE"
2022-12-10 04:36:10 +00:00
Jon Miranda
e34202df54
Merge "Better support transient and persistent taskbar in taskbar's overlays." into tm-qpr-dev am: a76222d209
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20693438
Change-Id: I54a1a4198047d658def291ec70fc8530b42ad6b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-10 02:03:49 +00:00
Brian Isganitis
3030ccf26b
Merge "Add logging to investigate updateOverviewTargets state." into tm-qpr-dev am: 570c5146d3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20680311
Change-Id: If5371ef5eaf0b1c37ee506dae619e311977490b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-10 02:02:59 +00:00
Jon Miranda
a76222d209
Merge "Better support transient and persistent taskbar in taskbar's overlays." into tm-qpr-dev
2022-12-10 02:02:54 +00:00
Brian Isganitis
570c5146d3
Merge "Add logging to investigate updateOverviewTargets state." into tm-qpr-dev
2022-12-10 01:22:13 +00:00
Brian Isganitis
209f10c225
Add ACCESS_SHORTCUTS to quickstep manifest.
...
Bug: 259601472
Test: Manual, can drag-n-drop shortcuts from taskbar when 3p launcher is
default.
Change-Id: I7b9ed4d16a0b3a17387bf8a39f1ae9bf54767e8e
2022-12-09 19:49:33 -05:00
Federico Baron
ac584422c7
Merge "Move AnimatedFloat from quickstep to launcher" into tm-qpr-dev am: 9a6a2c8a2d am: 2263b57d8d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20683305
Change-Id: I3814194afeb52feba500bcfef3cc243d933b7809
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-10 00:29:17 +00:00
Federico Baron
2263b57d8d
Merge "Move AnimatedFloat from quickstep to launcher" into tm-qpr-dev am: 9a6a2c8a2d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20683305
Change-Id: Ib0f4ad639670fce70e9431f8c8cb9f2663722c77
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 23:56:31 +00:00
Federico Baron
9a6a2c8a2d
Merge "Move AnimatedFloat from quickstep to launcher" into tm-qpr-dev
2022-12-09 23:33:17 +00:00
TreeHugger Robot
08e1f9f7c4
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-12-09 23:20:31 +00:00
Brian Isganitis
85ccf120f2
Better support transient and persistent taskbar in taskbar's overlays.
...
- Transient taskbar nav threshold now works in overlays.
- Delay closing overlay to transient app-window threshold if necessary.
- Persistent taskbar no longer stashes for EDU overlay.
- EDU overlay provides enough bottom padding for transient and
persistent taskbar.
Test: Manual
Bug: 217261955
Change-Id: I2ae5612ef70a6d09e22f83f8117cdbf2a0a053b8
Fix: 260769010
2022-12-09 11:24:27 -08:00
Sunny Goyal
5daac6fbfb
Merge "Removing some unnecessary interfaces and merging them to ActivityContext" into tm-qpr-dev am: d31c8baef1 am: deffe8f8df
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20676568
Change-Id: I97e64fbb701249aef7268421943f0e174a59c3bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 16:14:28 +00:00
Sunny Goyal
deffe8f8df
Merge "Removing some unnecessary interfaces and merging them to ActivityContext" into tm-qpr-dev am: d31c8baef1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20676568
Change-Id: Ie215c1933dce65d87204e5969c470548452a7998
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 15:47:35 +00:00
Sunny Goyal
d31c8baef1
Merge "Removing some unnecessary interfaces and merging them to ActivityContext" into tm-qpr-dev
2022-12-09 15:35:59 +00:00
Ats Jenk
5c3e394aec
Merge "Check for both proto flags for common logic" into tm-qpr-dev am: e8c57e94e7 am: 7868989e50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20653403
Change-Id: I4a6caf4fc8ac4df2b19e3c636b5b5ade948f339a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 00:57:59 +00:00
Ats Jenk
7868989e50
Merge "Check for both proto flags for common logic" into tm-qpr-dev am: e8c57e94e7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20653403
Change-Id: I155bba8ce3621fcb235d3b5cc245e381f3c22947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 00:54:23 +00:00
Ats Jenk
e8c57e94e7
Merge "Check for both proto flags for common logic" into tm-qpr-dev
2022-12-09 00:43:04 +00:00
Brian Isganitis
9a7d443a28
Merge "Add EDU lottie animations for persistent and transient." into tm-qpr-dev am: ddc7ef2eb1 am: 2b5ba5eb5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20672612
Change-Id: I517c94e189d7e4a2e8a2d0fb7b4cb835b66911df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 00:27:18 +00:00
Brian Isganitis
2b5ba5eb5f
Merge "Add EDU lottie animations for persistent and transient." into tm-qpr-dev am: ddc7ef2eb1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20672612
Change-Id: Ie302f00d1ba369210caf9910422a1df305a8a4ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-09 00:02:31 +00:00
Brian Isganitis
ddc7ef2eb1
Merge "Add EDU lottie animations for persistent and transient." into tm-qpr-dev
2022-12-08 23:11:27 +00:00
Federico Baron
47d81686e6
Move AnimatedFloat from quickstep to launcher
...
We are moving AnimatedFloat to launcher to be able to use this in class in launcher. Having it in launcher will allow us to do restore icon treatment animations to do with scaling the icon size
Bug: 254858049
Test: verified that the device still works
Change-Id: I1c4c47ab436c389a94abf7c910c1a44724efc955
2022-12-08 13:58:07 -08:00
Jeremy Sim
2cbd7bbfdf
Use already-running app instances when splitting
...
This patch makes it so that when the user initiates a split from Home, a running app instance is used instead of always attempting to spawn a new Intent. If no matching app instance is found, behavior is unchanged.
Previously, splitting from Home always resulted in a new Intent being staged, which ignored the fact that an app of the same type could already be running. This resulted in undesirable situations like being able to attempt splitting an app with itself in Overview.
Fixed by querying the RecentsModel when a split of this type is initiated, checking to see if there is a running task of the desired type, and using that to perform the split operation if one is found. When Overview is loaded, applyLoadPlan() will now check to see if there is a staged task, and remove the associated tile as needed. If the removed task is part of a pair, this involves creating a temporary TaskView to hold the other task.
Also fixes a bug where using the Taskbar to select one's second app would incorrectly choose the oldest instance of a multi-instance app rather than the newest.
Fixes: 257513447
Fixes: 259936298
Test: Manual
Change-Id: I97a62f34c03aa4980f9cd743e35e9fc6ef4c092d
2022-12-08 13:24:43 -08:00
Stefan Andonian
078bb9338c
Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304
Change-Id: Ice492ce44086ab2fe0e21631b067e489ced310ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-08 19:32:14 +00:00
Brian Isganitis
b962950ae9
Add logging to investigate updateOverviewTargets state.
...
Test: Manual (logcat)
Bug: 258022658
Change-Id: I50640124f1e8fd5ae4aaf6240c044ded108849b5
2022-12-08 18:26:22 +00:00