Vadim Tryshev
baef466f61
Enabling view capture analysis in Launcher tests.
...
For now, only Alpha Jumps detector is implemented. The test will fail if
an alpha jump is detected.
The ignore-list for alpha jump detection ended up being uncomfortably
long, I plan dealing with this immediately after landing this CL.
Bug: 286251603
Test: presubmit, forrest
Flag: N/A
Change-Id: I3f44b02015e2ce93eb8b4071becbc44b36416459
2023-07-13 17:34:57 -07:00
TreeHugger Robot
c84ecc0f67
Merge "Removing ViewCaptureAnalysisRule" into udc-qpr-dev
2023-06-28 20:08:23 +00:00
Schneider Victor-tulias
e2e1b79b06
Merge "Handle onFlingFinished onRecentsAnimationStart" into udc-qpr-dev
2023-06-28 19:59:33 +00:00
Schneider Victor-tulias
3ce99d1d96
Merge "Inset the contents of AllSetActivity" into udc-qpr-dev
2023-06-28 19:59:19 +00:00
Alex Chau
f63ceebadd
Merge "Decrease the padding between app icon and label" into udc-qpr-dev
2023-06-28 19:51:44 +00:00
Vadim Tryshev
a7a27fd4ca
Merge "View capture analyzer tree walker + Alpha jump detector V1" into udc-qpr-dev
2023-06-28 18:59:45 +00:00
Schneider Victor-tulias
ad2279a26e
Handle onFlingFinished onRecentsAnimationStart
...
If the onRecentsAnimationStart callback runs after the user lifts their finger and onFlingFinished runs, then onFlingFinished never has another chance to run, leaving the user trapped in a state where the launcher is not started and the AllSetActivity is still present but invisible. Reverted to allow onFlingFinished to run onRecentsAnimationStart to handle this edge case.
Flag: not needed
Fixes: 285194839
Test: Ran AllSetActivty with a delay in onRecentsAnimationStart
Change-Id: I33ce5c1d4955b34d4b77d3b740dc599621bd4ed1
2023-06-28 17:43:03 +00:00
Schneider Victor-tulias
ae62216f15
Inset the contents of AllSetActivity
...
Insetting the contents of AllSetActivity to prevent overlapping with the gesture nav handle
Flag: not needed
Fixes: 275018092
Test: launched AllSetActivity in landscape with largest font and display size
Change-Id: Ia82a007e8a69c637a30c56e079d9c77d73885d9f
2023-06-28 10:02:05 -07:00
Thales Lima
93ee8fcb30
Decrease the padding between app icon and label
...
The app icon size in XMLs are 10% larger because of http://b/235886078 , so we need to remove that from the padding between the icon and the label.
Bug: 235886078
Fix: 279142287
Test: DeviceProfileDumpTest
Flag: N/A
Change-Id: I2662c30252dc4e06d4767dbe7125a99a02ce2b64
2023-06-28 16:12:52 +01:00
Winson Chung
551cbc4969
Merge "Workaround for handling the restart of an already visible task" into udc-dev am: 0da5208bb3 am: c8a2f9111b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23785437
Change-Id: I2a7ebbac3c510d32b70ee57dd8323123800ff09a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-28 07:52:58 +00:00
Winson Chung
c8a2f9111b
Merge "Workaround for handling the restart of an already visible task" into udc-dev am: 0da5208bb3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23785437
Change-Id: Icd31107e3d5f3e8496bf4ac974a23d49396ee695
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-28 07:07:49 +00:00
Winson Chung
0da5208bb3
Merge "Workaround for handling the restart of an already visible task" into udc-dev
2023-06-28 05:51:59 +00:00
Winson Chung
57c2a79e47
Workaround for handling the restart of an already visible task
...
- If a task is already visible, then startActivity is a no-op and the
remote transition that launcher expects to run is not started. As a
workaround (until restarts are an actual transition), listen for
the case where a task is restarted and invoke the end callbacks
Fixes: 286016555
Test: Repro steps on the bug
Change-Id: Iec3ab97c8817a5e95399cec90f891d65f369d234
2023-06-28 05:51:54 +00:00
TreeHugger Robot
d5b3a0a099
Merge "Removing explicit target SDK for launcher" into udc-qpr-dev
2023-06-27 22:34:40 +00:00
Vadim Tryshev
2ba42ef94d
Removing ViewCaptureAnalysisRule
...
Bug: 286251603
Test: presubmit
Flag: N/A
Change-Id: I0123ed3892bbfd6d0e880141ace878b6204dbd81
2023-06-27 22:12:45 +00:00
Jerry Chang
c2bac08fac
Merge "Prevent exception when quick switching between two split pairs" into udc-dev am: 26d5493e69 am: 71fe404fd1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23792388
Change-Id: If3b1a1a4bef71e51c70d072f9f4c5c6a03ea78ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-27 19:10:19 +00:00
Jerry Chang
71fe404fd1
Merge "Prevent exception when quick switching between two split pairs" into udc-dev am: 26d5493e69
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23792388
Change-Id: I26c979ac6002a5eb02a6fdb4bc53d701bc37c699
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-27 18:26:13 +00:00
Jerry Chang
26d5493e69
Merge "Prevent exception when quick switching between two split pairs" into udc-dev
2023-06-27 17:42:42 +00:00
Mady Mellor
d8cb90f010
Merge changes Iaee9aeb0,I76587cf6 into udc-qpr-dev
...
* changes:
Fade the bubble bar arrow in and out when the bubble bar expands and collapses.
Animate the bubble bar width and the bubbles within it as it expands and collapses.
2023-06-27 17:35:58 +00:00
Treehugger Robot
d2d1942b27
Merge "Add themed work badge for themed icons in dragview or floatingiconview" into udc-qpr-dev
2023-06-27 16:42:25 +00:00
TreeHugger Robot
796c3bbd02
Merge "Restore strong reference to animation runner" into udc-dev am: 1f3c56af5b am: 7733c11623
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23793397
Change-Id: I5f485e204fa56b319f250a467eb448622be9f01f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-27 03:54:56 +00:00
TreeHugger Robot
7733c11623
Merge "Restore strong reference to animation runner" into udc-dev am: 1f3c56af5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23793397
Change-Id: I5faa06a4742cbe4edc6bc3c4819807ac7e99af80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-27 03:04:07 +00:00
TreeHugger Robot
1f3c56af5b
Merge "Restore strong reference to animation runner" into udc-dev
2023-06-27 02:13:00 +00:00
Randy Pfohl
2310a890c2
Merge "Updating content description for accessibility no matter the state" into udc-qpr-dev
2023-06-27 01:13:53 +00:00
TreeHugger Robot
f382308ca8
Merge "Add logs to determine if grid positions incorrect" into udc-qpr-dev
2023-06-27 01:02:59 +00:00
Winson Chung
6cfe2e6cbe
Restore strong reference to animation runner
...
- The remote animation factory needs to be strongly referenced since
the only other reference is a weakly held one from
LauncherAnimationRunner, and if a gc happens in between starting
the animation and the onAnimationStart() callback, then the
animation will not play.
Fixes: 284106887
Test: Force a gc after creating a remote app launch animation and ensure
that the runner still exists when the animation starts
Change-Id: I5f584451b41c666916801b8ea0cb470c7ab9fc51
2023-06-26 23:55:23 +00:00
Holly Jiuyu Sun
65d7ccd153
Merge "[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace." into udc-d1-dev am: 926057fd18
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23814528
Change-Id: Idbb918c4926f54a44bc861d1ebb9fa17082bd6fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-26 22:41:19 +00:00
Holly Jiuyu Sun
926057fd18
Merge "[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace." into udc-d1-dev
2023-06-26 21:56:11 +00:00
randypfohl
442b93c9c9
Updating content description for accessibility no matter the state
...
Test: built and tested locally by opening apps and then turning on talkback to verify content description is set
Bug:280908761
Change-Id: I9ed015bdd375e2cedf5e068a77bd4b4dcb5f9488
2023-06-26 13:24:58 -07:00
Winson Chung
23fb63f09e
Merge "Fix NPE due to invalid RecentsView access" into udc-dev am: fa3434fc37 am: b578dac96e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23810649
Change-Id: I3ee6069ad3664c32ed9a042270fc836a59b0a44b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-26 19:31:58 +00:00
Winson Chung
b578dac96e
Merge "Fix NPE due to invalid RecentsView access" into udc-dev am: fa3434fc37
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23810649
Change-Id: I41a3f9b28368bcef0d2dfa5ce9a7f69dca816481
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-26 18:25:09 +00:00
Winson Chung
fa3434fc37
Merge "Fix NPE due to invalid RecentsView access" into udc-dev
2023-06-26 17:47:49 +00:00
Winson Chung
cdf410f134
Fix NPE due to invalid RecentsView access
...
Fixes: 288829919
Test: N/a, reorganizing code behind null check
Change-Id: I9efe48cab239b521f7e729af06706c352be2499c
2023-06-26 17:47:33 +00:00
Sunny Goyal
b02dafc1d4
Removing explicit target SDK for launcher
...
> It will automatically target the latest SDK it was compiled with
Bug: 284349887
Test: Presubmit and manual
Flag: N/A
Change-Id: I32629b0dd710c3c04d8f70f988b7279e7cae6731
2023-06-26 10:15:14 -07:00
Holly Sun
c3127d29b2
[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace.
...
// play uninstalled app
Bug: 286998395
Bug: 287156208
Bug: 287157282
// contact
Bug: 287362865
Bug: 287370843
Bug: 287372663
// clock
Bug: 287166186
Bug: 287166771
Bug: 287167527
Test: manual
Flag: N/A
Change-Id: I859deba6218e232a232f009793044ca4be2cab19
2023-06-26 16:52:53 +00:00
Schneider Victor-tulias
a4d1e9aa99
Merge "Remove unnecessary method from StatefulActivity" into udc-qpr-dev
2023-06-26 16:41:12 +00:00
Holly Jiuyu Sun
befe262d18
Merge "[a11y] Add FLAG_NOT_PINNABLE and modify supportAddToWorkSpace." into udc-qpr-dev
2023-06-26 16:39:42 +00:00
Jerry Chang
97eb471f2e
Prevent exception when quick switching between two split pairs
...
When switching in between two split pairs just quick enough, it is
possible to send the second entering split transition while it is
animating the first entering split transition which is merged to a
recents-during-split transition. The split parents might not be
collected into the second transition because the split parents are
already visible at that time, and there is no recents transition to
merge to. So updates to not throwing when there is no split parent when
composing a recents-to-split animation.
Bug: 236226779
Test: repro steps of the bug and the Launcher won't throw
Change-Id: I3a595722721186e8de7d60c9fb8c099ec799804a
2023-06-26 13:49:37 +00:00
TreeHugger Robot
3fb9456edc
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: d3e37bf03d -s ours am: acced493f4 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787726
Change-Id: Ic9c92f445085c6bbf193ca8b11d862f47bd381eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 04:31:11 +00:00
Bill Yi
b783ea1640
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d6b0605005 -s ours am: 2b0c123c79 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787726
Change-Id: I94ca54febede15030d598974f57ae202d9efd7ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 04:30:59 +00:00
TreeHugger Robot
acced493f4
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev am: d3e37bf03d -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787726
Change-Id: Id52e3fd8661c2777bf38595bb07051eebe12741e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 03:19:51 +00:00
Bill Yi
2b0c123c79
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: d6b0605005 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787726
Change-Id: Ibaa2729d9ee47f7c193ad7796f0c2080eb18986f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 03:19:39 +00:00
TreeHugger Robot
d3e37bf03d
Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-dev
2023-06-24 02:45:00 +00:00
Bill Yi
5e730d9976
Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev
2023-06-24 01:57:53 +00:00
Bill Yi
ec3fa8a88b
Merge "Import translations. DO NOT MERGE ANYWHERE" into udc-qpr-dev
2023-06-24 01:57:53 +00:00
TreeHugger Robot
0b78977d73
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 1e49227a09 -s ours am: b337b2fef6 -s ours am: 4e1c5da8d3 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: I96d1e6e87321f0101a44757d51ede735dd673b89
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 01:18:14 +00:00
Bill Yi
a9e075b725
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1d2c6e41d -s ours am: 00a238ceb0 -s ours am: ee62a8f179 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: Ia2e588e257fe23d56cdc3394f93db00f49d797f0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 01:18:02 +00:00
Bill Yi
33ef2976ae
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6caeb0e5f5 -s ours am: 6583add9fc -s ours am: a11da558ad -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787728
Change-Id: I6818f207fc39ac3557ac095db5e3de0716aa32f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 01:17:25 +00:00
TreeHugger Robot
4e1c5da8d3
[automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev am: 1e49227a09 -s ours am: b337b2fef6 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: I70d2cab6d5ed29df24702159cd26e4d3964fc333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 00:06:57 +00:00
Bill Yi
ee62a8f179
[automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c1d2c6e41d -s ours am: 00a238ceb0 -s ours
...
am skip reason: subject contains skip directive
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/23787730
Change-Id: Ie1376769b5710623b37973fb2c84b5858cfae385
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-06-24 00:06:43 +00:00