Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot 479ff47a72 Merge "Allows Accessibility to focus on specified view in AbstractFloatingView." into ub-launcher3-rvc-dev 2020-06-10 20:58:06 +00:00
Tony Wickham 779955390c Add null check before updating animation progress
Haven't been able to reproduce it locally, but seems theoretically
possible if we get an onDrag() event right after something else
cancels the animation (which clears the animation controller).

Bug: 157900227
Change-Id: Ia134aa948e62d39f71e41dd4e6b98f3227ae0522
2020-06-10 15:36:52 -05:00
Andy Wickham bc83edbf4d Allows Accessibility to focus on specified view in AbstractFloatingView.
Here, the first item in an ArrowPopup or Folder are focused on.

Note: There's another pre-existing bug where it announces
"Home screen x of y" when the floating view appears; this
change doesn't address that.

Fixes: 147470419
Change-Id: I1dc70edc21ea7c19a5742208512738d6c4a94067
2020-06-10 12:03:43 -07:00
thiruram 5e204ff61a Adds PredictedHotseatContainer to launcher_atom.proto am: 18c2495b8f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11825364

Change-Id: I4094d1a5efc572806acb0f3f257fc7497be06446
2020-06-10 18:47:41 +00:00
thiruram 18c2495b8f Adds PredictedHotseatContainer to launcher_atom.proto
Used for differentiating logs from normal hotseat and predicted hotseat.

Bug: 158218197
Change-Id: I011ff724ea0916b32f680dc24e8d6090d3df766d
2020-06-10 10:44:58 -07:00
Tracy Zhou fa88a25ea4 Consider folder diff differently
Fixes: 157813770
Test: manual

Change-Id: I0e95f7d9709cacfe1c3b8384dfb15208a4c36914
2020-06-10 10:40:47 -07:00
Tracy Zhou 5f53ea65c4 Merge "Workspace migration should start from CellY = 1" into ub-launcher3-rvc-dev am: c11a808b99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11821039

Change-Id: I598c5fdafc54caac11b82162e6aba2ac291c3469
2020-06-10 17:26:05 +00:00
Tracy Zhou c11a808b99 Merge "Workspace migration should start from CellY = 1" into ub-launcher3-rvc-dev 2020-06-10 17:21:16 +00:00
TreeHugger Robot 71eb5a54ea Merge "Decrease predicted icon outline size" into ub-launcher3-rvc-dev am: 4e975109bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11813851

Change-Id: I0dc914c6dad3de94faae94d3392d296100fd2e0e
2020-06-10 17:21:00 +00:00
TreeHugger Robot 4e975109bb Merge "Decrease predicted icon outline size" into ub-launcher3-rvc-dev 2020-06-10 17:06:48 +00:00
Jerry Chang dd3eb7d075 Hook one-handed gesture to expand notification panel by default
Notify to expand notification panel through SystemUiProxy when
one-handed mode disabled and one-handed gesture detected.

Bug: 154080211
Test: make and install
Test: manual disable one handed mode and swipe down to trigger
Test: verified the gesture works even outside of home page
Change-Id: Iacc0e506ccd04dd81f6182759c8af7d686a7b77b
2020-06-10 23:26:03 +08:00
Tracy Zhou 51e33e187b Workspace migration should start from CellY = 1
Test: Manual
Fixes: 155828336
Change-Id: Ic262f63e5e9dc0a5738f71a84dc5cc8b0cefd321
2020-06-10 00:42:07 -07:00
android-build-team Robot 0e4d4dbafa Snap for 6574919 from b3669be6d3 to mainline-release
Change-Id: Ie478b44416cd5cf698caaea7a16c2b0a47c7c1e7
2020-06-10 07:05:54 +00:00
TreeHugger Robot c3d56527e1 Merge "Relaunch app that is restarted mid-gesture" into ub-launcher3-rvc-dev am: 179880c0f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11758170

Change-Id: I357e0cd687aef73031416beb515f5d91eb2e1be4
2020-06-10 07:02:43 +00:00
TreeHugger Robot 179880c0f6 Merge "Relaunch app that is restarted mid-gesture" into ub-launcher3-rvc-dev 2020-06-10 06:53:50 +00:00
Winson Chung 7d7864e89a Relaunch app that is restarted mid-gesture
Bug: 156692295
Test: Swipe up from an app that has a HUN and ensure tapping on the
      HUN (or anything that can restart the activity) will start the
      activity while the recents animation is still running
Change-Id: Ia1fbd9cfb21aa64b3c8a0d431ba2d9824ee4c0a1
2020-06-09 23:10:13 -07:00
Vinit Nayak 895576b2a3 Remove rotation flag check am: 2b515c7058 am: c4bab76347 am: f5a4e1df5b am: 60d61d4416
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I7564a4e91bd08b389a604e7e9bf84af6a3b1a348
2020-06-10 05:41:52 +00:00
Automerger Merge Worker 532885a5d9 Merge "Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: fab05d953f" into rvc-qpr-dev-plus-aosp am: 198c25bd18
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Id789da517000d6219c56cfae0db4dceade3a274b
2020-06-10 05:41:26 +00:00
Vinit Nayak b210bac680 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: f413b5f861 am: 5e99335b98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Idc4b440b0b686d0068666de7aef3f693eaf0c1b4
2020-06-10 05:40:57 +00:00
Vinit Nayak 60d61d4416 Remove rotation flag check am: 2b515c7058 am: c4bab76347 am: f5a4e1df5b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: If64e860b106955dac641d41f50b4a22c49026724
2020-06-10 05:22:37 +00:00
Automerger Merge Worker 198c25bd18 Merge "Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: fab05d953f" into rvc-qpr-dev-plus-aosp 2020-06-10 05:22:25 +00:00
Vinit Nayak d65f0294b3 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: fab05d953f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I260218429f8675469bae63a78cf86123a3177791
2020-06-10 05:22:20 +00:00
Vinit Nayak 5e99335b98 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab am: f413b5f861
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I64beb81f09ff5714a11e10929b9d63bf336fb1c1
2020-06-10 05:22:18 +00:00
Vinit Nayak f5a4e1df5b Remove rotation flag check am: 2b515c7058 am: c4bab76347
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Ibdd3da791a5e9e00e857aaa871deb2cb23224bd5
2020-06-10 05:06:44 +00:00
Vinit Nayak f413b5f861 Remove rotation flag check am: 2b515c7058 am: 158cbbfeab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I7fc1f6de13c2521e11d68ac97a9854db8d99bae6
2020-06-10 05:06:32 +00:00
Vinit Nayak fab05d953f Remove rotation flag check am: 2b515c7058 am: 158cbbfeab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I1822a7c310827cf4a3c818e316d4bd7d385b4b4f
2020-06-10 05:06:31 +00:00
Vinit Nayak b3669be6d3 Remove rotation flag check am: 2b515c7058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: I1ece7585c51c53a6dbe99e23cc4fea04cf1ef90d
2020-06-10 04:54:49 +00:00
Vinit Nayak c4bab76347 Remove rotation flag check am: 2b515c7058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Iffdc6c60f6b3e6b0b2049e04dac083ed7776f715
2020-06-10 04:54:45 +00:00
Vinit Nayak 158cbbfeab Remove rotation flag check am: 2b515c7058
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815828

Change-Id: Ied328efa8f43520439ecddc458d3df0d25544d5b
2020-06-10 04:54:31 +00:00
Sreyas b64b59d025 Fix Task Icon menu behavior.
Tapping task icon will now show the scrim for rest of thumbnail and not snap to page that is already snapped to.
Pressing task icon from clear all will scroll to the page.
Link: https://drive.google.com/file/d/1I90rd6ELPZNIje2_VZ3CamWWeFN8ywhL/view?usp=sharing

Bug: 158004853
Change-Id: I9ac8229a603190ea09a74e1cfb70a6bb6e1e65b7
2020-06-09 21:10:46 -07:00
thiruram 713fbec475 Update StatsLogManager to support ranking related events. am: 236f40d97e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11816368

Change-Id: I552001afd96df55cfa28ec492c6db3e4248d0bff
2020-06-10 03:08:18 +00:00
thiruram 236f40d97e Update StatsLogManager to support ranking related events.
Change-Id: I238f00a782a620f704005d37c8972b5e25610c75
2020-06-10 02:47:58 +00:00
Becky Qiu 03113c5d7a Revert "Fix Task Icon menu behavior." am: 23986e9a84
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815826

Change-Id: I3bd86ca9493b0937e0b71952119426957751fb52
2020-06-10 01:27:55 +00:00
Sunny Goyal f74f0c27bc Creating correct device profile when appContext and launcher context do not match
Bug: 156891776
Change-Id: If2df3a6719de4207fa15d8a416704eb8e7c136b9
2020-06-09 18:10:00 -07:00
android-build-team Robot 5018f1a4c5 Snap for 6573866 from 655b47c614 to rvc-release
Change-Id: Ic1e11ef9484567b797afb987e5092b5c4d1e2446
2020-06-10 01:07:34 +00:00
TreeHugger Robot 92775d6353 Merge "Apply PendingAnimation#mDuration to all added anims" into ub-launcher3-rvc-dev am: 8984fea211
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11815998

Change-Id: I8dda5a2887eca4d19678e92a4a59b358b16cbad2
2020-06-10 00:36:36 +00:00
Becky Qiu 23986e9a84 Revert "Fix Task Icon menu behavior."
This reverts commit 6df0148b07.

Reason for revert: breaks the task icon behavior.

Change-Id: I6f654478e0ffe7827efeca1553622dad2e02c5da
2020-06-10 00:20:49 +00:00
TreeHugger Robot 8984fea211 Merge "Apply PendingAnimation#mDuration to all added anims" into ub-launcher3-rvc-dev 2020-06-10 00:18:31 +00:00
TreeHugger Robot fc2398560e Merge "Remove rotation flag check" into ub-launcher3-rvc-dev am: ea928edc36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11812119

Change-Id: I6d1293d2f804bd19f5e3e68e73a6b6dae08af9e8
2020-06-09 23:59:06 +00:00
TreeHugger Robot ea928edc36 Merge "Remove rotation flag check" into ub-launcher3-rvc-dev 2020-06-09 23:43:44 +00:00
Vinit Nayak 2b515c7058 Remove rotation flag check
There's a race condition between when
the flag is read and when it gets set,
and not registering the listener that
the flag is gating can result in a lot
of bad rotation state.

Fixes: 158592847
Change-Id: Idd78e15669698bb0d057d0b6661ea69bfa5c8202
2020-06-09 23:43:17 +00:00
Tony Wickham fe54c36822 Apply PendingAnimation#mDuration to all added anims
Doing this at the root instead of individually for all added
animators ensures none fall through the cracks.

Fixes: shelf moving too quickly in 2 button mode
Change-Id: I0de1ba9cee3fb8f1d6161371625d97e4b2305129
2020-06-09 18:35:07 -05:00
TreeHugger Robot 58a865486b Merge "Add feature flag for majority ranking." into ub-launcher3-rvc-dev am: e34b183547
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11780342

Change-Id: I17182815ffc4e268c1869c3c73d7f27643dbcafb
2020-06-09 23:25:39 +00:00
TreeHugger Robot e34b183547 Merge "Add feature flag for majority ranking." into ub-launcher3-rvc-dev 2020-06-09 23:23:49 +00:00
Tracy Zhou 6313feabb7 Merge "Fix icons not rendering in folder migration" into ub-launcher3-rvc-dev am: f917b640d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/11812121

Change-Id: Ia864aae5faa8597be2d4b269c1868250dcb62418
2020-06-09 23:21:18 +00:00
Tracy Zhou f917b640d0 Merge "Fix icons not rendering in folder migration" into ub-launcher3-rvc-dev 2020-06-09 22:59:31 +00:00
Vinit Nayak 92364cdc74 Remove rotation flag check
There's a race condition between when
the flag is read and when it gets set,
and not registering the listener that
the flag is gating can result in a lot
of bad rotation state.

Fixes: 158592847
Change-Id: Idd78e15669698bb0d057d0b6661ea69bfa5c8202
2020-06-09 22:55:07 +00:00
Jayaprakash Sundararaj f4898452f7 Add feature flag for majority ranking.
Bug: 157907222
Change-Id: I72962c3c68559ce8d40ca4137e89b9cc2913825a
2020-06-09 15:50:58 -07:00
Sunny Goyal 55e2b1635f Adding a new attribute to speficy folder label directly in layout
Bug: 158141109
Change-Id: I84dccf43981abc910c0d9e75bf316c6b27b3606b
2020-06-09 15:47:21 -07:00
Tracy Zhou 1983faca2d Fix icons not rendering in folder migration
Fixes: 157813770
Test: manual

Change-Id: I68a2685482756a2b8afa65bf652b667972158a46
2020-06-09 14:40:17 -07:00