Commit Graph

23259 Commits

Author SHA1 Message Date
TreeHugger Robot da674e7c95 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: 612b16a26b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12195532

Change-Id: Ifa3e8531aaf9975cda8258f34ac218cab6ba36a3
2020-07-20 21:54:50 +00:00
TreeHugger Robot 612b16a26b Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-07-20 21:41:06 +00:00
Samuel Fufa adc8870aa1 Invalidate stale BgDataModel when predictions are disabled am: e47896cb91
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12193276

Change-Id: I840a11ea2986d9e7c0d95ec7c5ad7e738e2dd0a7
2020-07-20 21:26:20 +00:00
Bill Yi 19496b916b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c326e8cf15da316393c3be70f6b1c8dfc559a52
2020-07-20 14:03:37 -07:00
Samuel Fufa e47896cb91 Invalidate stale BgDataModel when predictions are disabled
Launcher stores ItemInfos for cached predictions in list BgDataModel.cachedPredictedItems  on Launcher start (LoaderTask#run). The list reused if launcher has to rebind UI. Hence, the list should be cleared if launcher receives empty predictions.

Bug: 161245294
Test: Manual
Change-Id: I275655d5f52f6a6e5297473dd2f642728c1964a6
2020-07-20 12:41:07 -07:00
Jon Miranda 721d5c7cc7 Fix bug where double swipe gets us stuck in Hint state while in Overview. am: a8c08584a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12173854

Change-Id: I2d28a41aff760ce884d46ce2d0fc6f9b2da8152b
2020-07-20 18:28:15 +00:00
Jon Miranda a8c08584a7 Fix bug where double swipe gets us stuck in Hint state while in Overview.
With the second swipe, we never complete the swipe to Overview

NoButtonNavbarToOverviewTouchController#maybeSwipeInteractionToOverviewComplete
- mReachedOverview = true
- mDetector.isSettlingState = false

And then the second swipe starts the state transition to Hint but then
it never gets completed because:
1. The animation starts
2. Gets cancelled
3. Starts again
4. Finishes, but is not marked as success since the cancel in #2 was never
   set back to false

Bug: 160759508
Change-Id: I8c3972e6209c3d5a4a0bdd9f9b7683de18105d57
2020-07-20 10:29:29 -07:00
TreeHugger Robot 3857d2645f Merge "Notify TaskViews of updated orientation state" into ub-launcher3-rvc-qpr-dev am: dbca5a4190
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12142279

Change-Id: I9e9bdcad0fac1f6d78049617ca12d13564cf60ba
2020-07-18 00:00:41 +00:00
TreeHugger Robot dbca5a4190 Merge "Notify TaskViews of updated orientation state" into ub-launcher3-rvc-qpr-dev 2020-07-17 23:31:54 +00:00
TreeHugger Robot 737028c63e Merge "Persist prediction cache on every update" into ub-launcher3-rvc-qpr-dev am: 9ad6b3011c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12181132

Change-Id: I02ee1a047092cb520c9f612bb446cc44d3efc540
2020-07-17 19:55:34 +00:00
TreeHugger Robot 9ad6b3011c Merge "Persist prediction cache on every update" into ub-launcher3-rvc-qpr-dev 2020-07-17 19:48:40 +00:00
Tracy Zhou 835b25d1dd Merge "Infinite loop when migrating calendar widget" into ub-launcher3-rvc-dev am: 8c46b20958 am: 011fa1bac1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12151323

Change-Id: I39bfa2410d80dba0879887c76f747ea8aa693d56
2020-07-17 19:43:00 +00:00
TreeHugger Robot 98a997e71a Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-dev am: 2a22f3686d am: 297b64fad5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153143

Change-Id: I67e48e1524638fa5cb62dab59156385168e8ae7e
2020-07-17 19:42:55 +00:00
Tracy Zhou d6d2a4da11 Improve grid preview performance am: b023873bc3 am: a1d5ebefbf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153148

Change-Id: I54fdfc60ee1216759c5c7b61b19514482b30d497
2020-07-17 19:42:50 +00:00
Sunny Goyal 6247359f62 Fixing swiping up on home interrupting animation am: 369501d8aa am: 41be7aef51
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152001

Change-Id: Ifeb0e1877d681d3e3e2476a07d3decfa66305a1a
2020-07-17 19:42:44 +00:00
Sunny Goyal 9df156fe38 Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a2f am: 7d9c18392d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301

Change-Id: I70a8da9b17230c4db7145d6fd85c2471755be338
2020-07-17 19:42:38 +00:00
Bill Yi e656de0ebf [automerger skipped] Import translations. DO NOT MERGE am: bda86377d5 -s ours am: 66b33c2fdf -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140156

Change-Id: I427f3bc0cee79b0fa042f5e0cf28e5f330561974
2020-07-17 19:42:32 +00:00
TreeHugger Robot b4ed9cd526 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: c8a69873dc -s ours am: adc7b6780b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130602

Change-Id: I2f704c942328279f6ef8e6359153de5ccbac72c2
2020-07-17 19:42:27 +00:00
Bill Yi fac16ea3f7 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6adc72a4ca -s ours am: 11f740d013 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12131831

Change-Id: Ie2e968e9b14cb1ce2b65df07f1af8320bb26683e
2020-07-17 19:42:22 +00:00
TreeHugger Robot f6f685987a [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: d524036b24 -s ours am: 5c4e41e69b -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12118863

Change-Id: Id3bcf228528b46e706f2a9267712f14c24bc1655
2020-07-17 19:42:16 +00:00
Bill Yi 89141dd074 [automerger skipped] Import translations. DO NOT MERGE am: 812f466f48 -s ours am: 4d6b234c04 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12118569

Change-Id: I86ea30d7809dd279673cf464c7f5683fdf765059
2020-07-17 19:42:10 +00:00
TreeHugger Robot 44b7b63852 Merge "Persist prediction cache on every update" into ub-launcher3-rvc-dev am: 1cc0010eba am: 21ff5c4ff0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12077679

Change-Id: I92f9793aefc493d61b10622402339ac5f85acdd7
2020-07-17 19:42:05 +00:00
Sunny Goyal 2985c058a4 [automerger skipped] Fixing recents orientation (when home rotation is allowed) during swipe-up am: 141c231d2f -s ours am: 1e068bc2da -s ours
am skip reason: Change-Id I27be09febcdb6f19687469db34b002ce682aa0cb with SHA-1 12f46d521a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12039320

Change-Id: Ia562edfed49ff90f8aa56d1bb7e1cb54166a9641
2020-07-17 19:41:57 +00:00
Sunny Goyal 642f679243 Fixing recents orientation (when home rotation is allowed) during swipe-up am: 12f46d521a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12181002

Change-Id: If2459ee1dbfb37a9382fdf016cfec207632e3f00
2020-07-17 19:41:50 +00:00
Tracy Zhou 011fa1bac1 Merge "Infinite loop when migrating calendar widget" into ub-launcher3-rvc-dev am: 8c46b20958
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12151323

Change-Id: Ifc101b5e4b76976cb835d3d0210320fe332ff323
2020-07-17 19:20:37 +00:00
TreeHugger Robot 297b64fad5 Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-dev am: 2a22f3686d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153143

Change-Id: I426249f3d22465128990514f45354cd74f6114f2
2020-07-17 19:20:32 +00:00
Tracy Zhou a1d5ebefbf Improve grid preview performance am: b023873bc3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12153148

Change-Id: I00c2cee5ddcbd27201de2043408109e553c3434b
2020-07-17 19:20:26 +00:00
Sunny Goyal 41be7aef51 Fixing swiping up on home interrupting animation am: 369501d8aa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12152001

Change-Id: I5f41916fb2fa2fcf90979bb9c0a593fb7264b551
2020-07-17 19:20:21 +00:00
Sunny Goyal 7d9c18392d Merge "Preventing disambiguation screen when swiping up" into ub-launcher3-rvc-dev am: c031040a2f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141301

Change-Id: I59ec7dd9e689d4f3a712364a74f341d730f00f8e
2020-07-17 19:20:16 +00:00
Bill Yi 66b33c2fdf [automerger skipped] Import translations. DO NOT MERGE am: bda86377d5 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12140156

Change-Id: I98d84d8f50aafd90a7761c828b3a0261e380e2f7
2020-07-17 19:20:11 +00:00
TreeHugger Robot adc7b6780b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: c8a69873dc -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130602

Change-Id: I5c1016161eb01f600045e8425d10729cb3b764e9
2020-07-17 19:20:05 +00:00
Bill Yi 11f740d013 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 6adc72a4ca -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12131831

Change-Id: I917a8ab94be0752df9e734329528368df541c81b
2020-07-17 19:19:59 +00:00
TreeHugger Robot 5c4e41e69b [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-rvc-dev am: d524036b24 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12118863

Change-Id: I3cafeacb013ffef35f17753cd3cc503944af7cea
2020-07-17 19:19:51 +00:00
Bill Yi 4d6b234c04 [automerger skipped] Import translations. DO NOT MERGE am: 812f466f48 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12118569

Change-Id: I13ca6f3a8098a48b6add131983ac9e892c33633f
2020-07-17 19:19:45 +00:00
TreeHugger Robot 21ff5c4ff0 Merge "Persist prediction cache on every update" into ub-launcher3-rvc-dev am: 1cc0010eba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12077679

Change-Id: I5f2cbe314dfb249594a2dff70cda5188cad60fa1
2020-07-17 19:19:40 +00:00
Sunny Goyal 1e068bc2da [automerger skipped] Fixing recents orientation (when home rotation is allowed) during swipe-up am: 141c231d2f -s ours
am skip reason: Change-Id I27be09febcdb6f19687469db34b002ce682aa0cb with SHA-1 12f46d521a is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12039320

Change-Id: I48c9c9316f74997ef331790de1c6fe52e3155702
2020-07-17 19:19:27 +00:00
Tracy Zhou 8c46b20958 Merge "Infinite loop when migrating calendar widget" into ub-launcher3-rvc-dev 2020-07-17 19:11:51 +00:00
Sunny Goyal 56cc3a4aaa Persist prediction cache on every update
Test: Manual
Bug: 160058750
Change-Id: Icb0b7322b7f9754d3f1c3012e1c98a760f83c787
(cherry picked from commit 451b09ea75)
2020-07-17 19:10:47 +00:00
TreeHugger Robot 2a22f3686d Merge "Calculate all apps cell height based on actual sizes." into ub-launcher3-rvc-dev 2020-07-17 19:06:23 +00:00
Sunny Goyal 12f46d521a Fixing recents orientation (when home rotation is allowed) during swipe-up
Bug: 158781568
Bug: 160149607
Change-Id: I27be09febcdb6f19687469db34b002ce682aa0cb
Merged-In: I27be09febcdb6f19687469db34b002ce682aa0cb
(cherry picked from commit 141c231d2f)
2020-07-17 18:53:01 +00:00
TreeHugger Robot 3a80d76fac Merge "Prevent showing TaskMenuView if icon isn't present" into ub-launcher3-rvc-qpr-dev am: 4b1d1a0f18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12130181

Change-Id: Iff8f2a973f2204e332f74f1af5499cdce6b9a5bd
2020-07-17 00:32:05 +00:00
TreeHugger Robot 4b1d1a0f18 Merge "Prevent showing TaskMenuView if icon isn't present" into ub-launcher3-rvc-qpr-dev 2020-07-17 00:04:41 +00:00
Tony Wickham 32b52cedbd Fix tracking window being slightly off when swiping from an app am: 94be66acd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12172317

Change-Id: I4c69a9ff4d8398e873ac5aea37c565d13a626c95
2020-07-16 21:27:12 +00:00
Tony Wickham 94be66acd6 Fix tracking window being slightly off when swiping from an app
Test: swipe up from an app in landscape, seascape, and portrait,
and verify the window tracks with the finger 1:1 until pullback

Bug: 149934536
Change-Id: Ia469877e7152c8135e0b9153f69c191ba86cbd14
(cherry picked from commit f0a1b2ccd8)
2020-07-16 20:03:36 +00:00
Sunny Goyal a587387a4f Merge "Fixing shortcut popop non-clicable on the icon" into ub-launcher3-rvc-qpr-dev am: 4ef25b0122
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12141678

Change-Id: I31b3c452ffc24e53a09434225524de957041186d
2020-07-16 06:11:51 +00:00
Sunny Goyal 4ef25b0122 Merge "Fixing shortcut popop non-clicable on the icon" into ub-launcher3-rvc-qpr-dev 2020-07-16 05:58:23 +00:00
Tracy Zhou b814c3bb23 Infinite loop when migrating calendar widget
Second page can take y = 0

Fixes: 161201598
Test: manual
Change-Id: I6654db5c2c358dfb132268218dd044674e302e83
2020-07-16 05:40:37 +00:00
TreeHugger Robot eb682915f0 Merge "Move rotation logic to RotationTouchHelper" into ub-launcher3-rvc-qpr-dev am: eb2eb38cc2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12155343

Change-Id: I504871c83bd89d0fc895f6df2d93a7c9023c8cd8
2020-07-16 05:34:14 +00:00
TreeHugger Robot eb2eb38cc2 Merge "Move rotation logic to RotationTouchHelper" into ub-launcher3-rvc-qpr-dev 2020-07-16 05:14:25 +00:00
Vinit Nayak 0affd89031 Move rotation logic to RotationTouchHelper
No functional changes.

Fixes: 159764370
Change-Id: Ie7739a62242377bda69c86bd46e24d2f847f17e0
2020-07-15 22:03:14 -07:00