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
Tracy Zhou
6a4a229c27
Revert "Revert "Add testSplitFromOverview test (for phones)""
...
This reverts commit 24df4bffd8 .
Reason for revert: resubmit
Change-Id: Iebc66cbce6885e06fe7691c548c1ffe950e936df
2022-08-11 17:59:34 -07:00
Stefan Andonian
8b336195a6
Fix for bug where expensive launcher animations were being paused and never resumed.
...
Bug: 240623130
Test: Verified on device that the issue is not reproducible after fix.
Change-Id: I7b1e2f70fd75b1eddf340a4f85465cc6d5b65f73
2022-08-11 20:36:41 +00:00
Sebastián Franco
f2d61702cd
Merge "Adding 4x4 roerder widget test" into tm-qpr-dev
2022-08-11 17:19:27 +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
Jerry Chang
4322190a24
Merge "Integrate split pair cold launch transition with shell transition" into tm-qpr-dev
2022-08-11 07:05:18 +00:00
Winson Chung
99b1580d79
Merge "Force finish pending frame drawn callback once launcher is stopped" into tm-qpr-dev
2022-08-11 05:32:41 +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
Winson Chung
e7bf15932b
Force finish pending frame drawn callback once launcher is stopped
...
- In rare cases, we may schedule to update the taskview with a
screenshot but Launcher will not finish calling back because
the activity is stopped (can be the result of the animation
cancelling back to the app), which prevents Launcher from
scheduling any frames and properly decrementing the frame
count.
Bug: 202776119
Test: Launch an app with sharesheet, swipe up and verify that
screenshot callbacks
Change-Id: I6b7e121fd5d9ef27ef5cccca060a4ff819fe9acc
2022-08-10 19:58:19 +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
Alex Chau
360ec033ac
Use WindowManagerProxy.getRotation to determine if rotation has changed
...
- Follow-up of http://ag/19559863 as Config diff on windowConfiguration does not work on 3P Launcher, so diff WindowManagerProxy.getRotation instead
- Also centralized Configuration diff logic into StatefulActivity
Bug: 240730723
Test: manual on 90/180 degree rotation in Launcher, RecentsActivity and 3P Launcher
Change-Id: Ib368ed5d749841a6873a03e2644608ff68885922
2022-08-10 18:14:06 +01:00
Aurélien Pomini
192a014cde
Hide keyboard when transitioning from all-apps state to overview state.
...
Sample video: http://shortn/_Jy0ynsszTd (tablet),
http://shortn/_BoBSuQGdMT (mobile phone)
Test: manual
Bug: b/240637768
Change-Id: I4c1e9f779f8c7dbe7acdb306c22d5b18965da163
2022-08-10 14:54:24 +00:00
Thales Lima
1fb075de3b
Tune display options for non-default display sizes
...
Fix: 241382721
Test: manual
Change-Id: I05379c359dabad6931ee897455aa847a7a9b470c
2022-08-10 10:47:50 +01:00
Nicolò Mazzucato
92b4a88f78
Merge "Disable hinge sensor while the screen is off" into tm-qpr-dev
2022-08-10 09:32:53 +00:00
Alex Chau
16b6511e14
Merge "Detect potential WindowConfiguration change at onApplyWindowInsets" into tm-qpr-dev
2022-08-10 09:14:11 +00:00
András Klöczl
00d27d25da
Merge "Fix widget jump bug when moved to invalid place" into tm-qpr-dev
2022-08-10 08:07:30 +00:00
Vinit Nayak
89be3a4c6d
Merge "Show 3 button nav on phone in Taskbar (1/2)" into tm-qpr-dev
2022-08-10 03:06:53 +00:00
Sihua Ma
e04aa207f2
Resize preview for correct clipping
...
Before, the remote view for the widget in launcher is reused to generate a new preview. However, measuring the view without changing the scale would cause strange clippings. This CL sets the scale of the widget views by manually computing the size ratio.
Change ag/19572297 is necessary before a complete clean-up.
Test: Create a weather widget on first screen -> go to Wallpaper & style -> App grid -> tap on a different grid and verify that the clipping is correct
Fix: 228328759
Change-Id: I8242d3bcfcf30ec924552c1320e22f8a3592f1c1
2022-08-09 23:57:41 +00:00
Vinit Nayak
8a3d05587e
Show 3 button nav on phone in Taskbar (1/2)
...
* TODO: Landscape/seascape support,
Separate nav spacing out into
separate class/add tests
Bug: 219035565
Change-Id: I8f5c007f04ea4d6df15962772806356181d764ff
2022-08-09 13:25:50 -07:00
TreeHugger Robot
2db1dd81af
[automerger skipped] Merge changes from topic "fabFixMoveToTM" into tm-dev am: e2fd4e4e43 am: 5e9ff9eaa1 -s ours
...
am skip reason: Merged-In I363c98c23f84fe570ea9cb1a40128359f5b67c9f with SHA-1 46e368f755 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19432065
Change-Id: Ie64d9f76dff51119e0fe8dcabc6b2aa924feec98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 20:06:24 +00:00
Sunny Goyal
d5d8839041
[automerger skipped] Fixing tab width and panner not aligned with the all-apps icons am: 524f4c4fba am: fb2be66008 -s ours
...
am skip reason: Merged-In Ibec3eed4aef730439d79b086d6ae23b63b66361e with SHA-1 eab51677ae is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19432064
Change-Id: Id6f0c2b31ef6e0b853b96fa35bc32dc3ed792e92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 20:06:22 +00:00
TreeHugger Robot
5e9ff9eaa1
Merge changes from topic "fabFixMoveToTM" into tm-dev am: e2fd4e4e43
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19432065
Change-Id: I63b05d4643a6e545ab8f0ad53ac4c077400edad9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 19:41:43 +00:00
Sunny Goyal
fb2be66008
Fixing tab width and panner not aligned with the all-apps icons am: 524f4c4fba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19432064
Change-Id: Ifcf3ecd483dda14cf01028cec268e10e56aba6ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 19:41:42 +00:00
TreeHugger Robot
e2fd4e4e43
Merge changes from topic "fabFixMoveToTM" into tm-dev
...
* changes:
Removing tabWidth calculation and using DeviceProfile directly
Fixing tab width and panner not aligned with the all-apps icons
2022-08-09 19:16:58 +00:00
Sebastian Franco
c3ecf392e3
Adding 4x4 roerder widget test
...
Fix: 241000659
Test: atest ReorderWidgets
Change-Id: I7dea2fbc676710798187b50d27b63ced9910a43b
2022-08-09 11:20:45 -07:00
Alex Chau
ccc430e2c1
Detect potential WindowConfiguration change at onApplyWindowInsets
...
- Invoke onConfiguration when receiving inset changes
- In Laucnher/RecentsActivity onConfiguration, additionally detect for windowConfiguration's rotation change; if Configuration stays the same, it'll be ignored.
Bug: 240730723
Test: manual on 90/180 degree rotation in Launcher and RecentsActivity
Change-Id: I7087878af847d62e1c715a4f52a18818d1a6c258
2022-08-09 19:09:42 +01:00
Jon Miranda
b4972a3291
Merge "Make windows transform into icons quicker for certain devices." into tm-qpr-dev
2022-08-09 16:14:58 +00:00
Alex Chau
aae5739511
Merge "Update hotseat QSB alpha after isQsbInline changes" into tm-qpr-dev
2022-08-09 14:23:33 +00:00
Andras Kloczl
eb6a154230
Fix widget jump bug when moved to invalid place
...
When dropTargetLayout is null we don't need to
animate the widget to the closest location but
move it back to its original position.
Test: manual
Bug: 236135424
Change-Id: I50a793732cd9656605fdc9908f71ff0efa7e69e9
2022-08-09 10:53:33 +02:00
Jon Miranda
da8c0f9926
Make windows transform into icons quicker for certain devices.
...
Bug: 240671690
Test: manual
Change-Id: Ie36a68c1e92443ca453778df6b8f7549d6e1f7e1
2022-08-08 16:58:04 +00:00
Bill Yi
fa13629da8
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 2282ad0480 -s ours am: 8d682fb72c -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19550646
Change-Id: Idd496c1cf6dcd80b30508afbf874b42ff2400277
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 14:43:27 +00:00
Bill Yi
d91953b7d6
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1fe3df2f33 -s ours am: 014c9e2241 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19550646
Change-Id: I2a339356c46e2919269ddbd03024014070b0f77a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 14:43:15 +00:00
Bill Yi
6125b18f60
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 486c139776 -s ours am: f1d41f854c -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19550645
Change-Id: I0db056c7d0e46f243425f76daa42137428610ef6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 14:43:00 +00:00
Jerry Chang
3a971a67d6
Merge "Fix no action menu for split pairs in overview panel" into tm-qpr-dev
2022-08-08 14:38:13 +00:00
Luca Zuccarini
96945fcc24
Merge "Update keyboard dismissal logic in the AllAppsTransitionController." into tm-qpr-dev
2022-08-08 14:34:51 +00:00
Bill Yi
8d682fb72c
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev am: 2282ad0480 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19550646
Change-Id: I5674524f74a48317fee7d9d3498a8fad44ea96ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 14:15:20 +00:00
Bill Yi
014c9e2241
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 1fe3df2f33 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19550646
Change-Id: Idf59710124730649efc0401035a652109f7e4c9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 14:15:07 +00:00
Bill Yi
f1d41f854c
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 486c139776 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19550645
Change-Id: I6fd5a953edd3510107060e38db478364125a105a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 14:14:52 +00:00
Bill Yi
2282ad0480
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev
2022-08-08 13:45:50 +00:00
Thales Lima
c92b40f10a
Merge "Calculate hotseat width based on available width" into tm-qpr-dev
2022-08-08 08:57:20 +00:00
TreeHugger Robot
e749617ccb
Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev
2022-08-08 08:29:12 +00:00
Bill Yi
5b494cd572
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I9060cb68654e9d5810f44429965d4167ac225c5b
2022-08-07 12:04:43 -07:00
Bill Yi
1fe3df2f33
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I44c1817a598027dd831091ad1e138e5dca4171c2
2022-08-07 12:03:46 -07:00
Bill Yi
cd79e4ed7b
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: I6aff60edb2f1086c1c6ee47e8a442ce7e7b78def
2022-08-07 12:02:11 -07:00
Bill Yi
486c139776
Import translations. DO NOT MERGE ANYWHERE
...
Auto-generated-cl: translation import
Change-Id: Ieec1273b2d9fb1b9555ea9e06089ac1bdd1a02b6
2022-08-07 12:01:31 -07:00
Sunny Goyal
68ef8bf37a
Merge "Dumping view capture directly to file instead of loading it all in memory" into tm-qpr-dev
2022-08-06 05:14:16 +00:00
Sunny Goyal
a30cf8b7e1
Dumping view capture directly to file instead of loading it
...
all in memory
This avoid OOM when processing large data
Bug: 241600398
Test: Verified on device
Change-Id: I76072d52e47bea3a2f9802ce3b23ddae58fe8d23
2022-08-05 16:30:01 -07:00
Pat Manning
80d33f35a9
Merge "Skip button layout spacing call when kids nav bar is active." into tm-qpr-dev
2022-08-05 23:29:24 +00:00
Sunny Goyal
0c0fb6bc08
Merge "Fixing surface blur when using multiple surfaces" into tm-qpr-dev
2022-08-05 23:12:22 +00:00