Commit Graph

25121 Commits

Author SHA1 Message Date
Winson Chung a8dee18ff1 Pass user id with call to get icon from task description
Bug: 145708947
Test: Manual
Change-Id: Ic7da3d36af490ea568481576e26c927020659eda
2019-12-09 11:08:11 -08:00
TreeHugger Robot 3b0f2ba40d Merge "Merging from ub-launcher3-master @ build 6048063" 2019-12-04 18:08:34 +00:00
Automerger Merge Worker 55799dea8c Merge "Merge Android10 QPR1 into AOSP master" am: 361d6da737 am: 1c9e5fa967
Change-Id: Iaa5b19e6846a1331b6d63beaeefc023adf37bc78
2019-12-04 16:57:39 +00:00
Xin Li 1c9e5fa967 Merge "Merge Android10 QPR1 into AOSP master" am: 361d6da737
am: 4dff540d8c

Change-Id: I96154b82f23fa6fa13a8cccf1f4ff3a6b0d64911
2019-12-04 08:13:07 -08:00
Hyunyoung Song e2fe62eea8 Merging from ub-launcher3-master @ build 6048063
Test: manual, presubmit on the source branch
http://x20/teams/android-launcher/merge/ub-launcher3-master_6048063.html

Change-Id: Ieee38cc301364f96cf252b2387142b0aa1b75317
2019-12-04 00:42:32 -08:00
TreeHugger Robot dbff60ff5e Merge "Fix Text shadow issue for predicted icons" into ub-launcher3-master 2019-12-04 05:32:22 +00:00
TreeHugger Robot e1187e6d98 Merge "Dedupe Items on Workspace for hotseat prediction" into ub-launcher3-master 2019-12-04 02:39:36 +00:00
Samuel Fufa 425c60e65c Fix Text shadow issue for predicted icons
Bug:142753423
Test:Manual
Change-Id: Ib8ce43592421aa0507400eabd9324dd8c6950086
2019-12-03 17:41:29 -08:00
Xin Li 4dff540d8c Merge "Merge Android10 QPR1 into AOSP master"
am: 361d6da737

Change-Id: If10199827c4e23ae281821cc182522be6ce842fc
2019-12-03 16:13:08 -08:00
Treehugger Robot 361d6da737 Merge "Merge Android10 QPR1 into AOSP master" 2019-12-03 23:14:56 +00:00
Samuel Fufa 2f0b2d3b4e Dedupe Items on Workspace for hotseat prediction
Bug:145236832
Test:Manual
Change-Id: I46da38998486c7f58aca829d33b42cbb04da515a
2019-12-03 14:39:12 -08:00
Zak Cohen f9e73a01a6 Update FeatureFlags documentation.
Test: comment change
Change-Id: I25f99150f467e4e65d4969ad20a91f18743eceb0
2019-12-03 12:00:44 -08:00
Zak Cohen 39a7760ec9 Merge "Make it possible to set a bottom margin on the task thumbnail view." into ub-launcher3-master 2019-12-03 19:43:29 +00:00
TreeHugger Robot 70b3d2a0ba Merge "Don't removePluginListener() unless user is unlocked" 2019-12-03 18:31:53 +00:00
Xin Li 287611f0b2 Merge Android10 QPR1 into AOSP master
Bug: 145570283
Change-Id: I3c118d4decc3c7b8801428a172e9dfc4a931f051
2019-12-02 21:25:17 -08:00
Zak Cohen b053371672 Make it possible to set a bottom margin on the task thumbnail view.
Test: manual test

Change-Id: Idb18efeb5e2ee46f789488529513874e028532db
2019-12-02 15:56:57 -08:00
Sunny Goyal ec30c5ed51 Merge "Adding utility class to load customization resources for easier prototype" into ub-launcher3-master 2019-11-28 00:23:37 +00:00
TreeHugger Robot 51a5bf15ab Merge "Hybrid hotseat predicted icon visuals" into ub-launcher3-master 2019-11-26 20:13:09 +00:00
Samuel Fufa 1e2d004dd5 Hybrid hotseat predicted icon visuals
Bug:142753423
Test: Manual
Change-Id: I6f056aaec905c8ca357b7cf78a657cdaac84e2f1
2019-11-25 17:35:05 -08:00
Xin Li dafd27454b [automerger skipped] Merge QQ1A.191205.011 into stage-aosp-master am: 5cc9ace295 -s ours
am: c7d9fcd0e0 -s ours
am skip reason: change_id I482ace6717063630d3c5018c471601cfd21a2f19 with SHA1 8b406b8d31 is in history

Change-Id: Ieb7156ac64ea849500184c5bff723ffc321ba84a
2019-11-25 07:52:13 -08:00
Xin Li c7d9fcd0e0 [automerger skipped] Merge QQ1A.191205.011 into stage-aosp-master
am: 5cc9ace295 -s ours
am skip reason: change_id I482ace6717063630d3c5018c471601cfd21a2f19 with SHA1 8b406b8d31 is in history

Change-Id: I63d07af6fdf44bf3f24b576f72de13c4e71841c8
2019-11-23 23:46:37 -08:00
Automerger Merge Worker d4e8c33a16 [automerger skipped] Merge "Align badging logic with platform IconDrawableFactory." into ub-launcher3-qt-future-dev am: 491bb699c8 -s ours
am skip reason: Change-Id I2241bdb524ca6bc66e545a0ec8433119e0448358 with SHA-1 b2049196b9 is in history

Change-Id: I9f4d692dd2a3e09a78e31767f4ed094b921d0524
2019-11-23 05:45:07 +00:00
TreeHugger Robot 491bb699c8 Merge "Align badging logic with platform IconDrawableFactory." into ub-launcher3-qt-future-dev 2019-11-23 05:36:41 +00:00
Hyunyoung Song 110e1a335a Merge "Align badging logic with platform IconDrawableFactory." into ub-launcher3-master 2019-11-23 05:06:36 +00:00
Tony Wickham 70a4ff9b9a Don't removePluginListener() unless user is unlocked
This just crashes since we can't access SharedPreferences, and we don't
addPluginListener until onUserUnlocked() anyway.

Bug: 145019350
Change-Id: I705498f859857a52a2cb5735201a652973b26d0b
(cherry picked from commit 435b11b95f)
2019-11-23 01:13:42 +00:00
TreeHugger Robot 41a39e3eb0 Merge "Don't removePluginListener() unless user is unlocked" into ub-launcher3-master 2019-11-23 00:48:43 +00:00
Hyunyoung Song 7fe8a69085 Merge "Provide up to 3 folder name suggestions to active IME Bug: 144973594" into ub-launcher3-master 2019-11-23 00:48:08 +00:00
Tony Wickham 435b11b95f Don't removePluginListener() unless user is unlocked
This just crashes since we can't access SharedPreferences, and we don't
addPluginListener until onUserUnlocked() anyway.

Change-Id: I705498f859857a52a2cb5735201a652973b26d0b
2019-11-22 16:06:49 -08:00
Hai Zhang f58ba9ca79 Align badging logic with platform IconDrawableFactory.
The current logic in BaseIconFactory is only trying to add the user
badge if the user passed in isn't null and isn't the current user,
then if no such attempt is made, try to add an instant app badge. This
is causing user badge to disappear if the current user is a work
profile. Meanwhile, the badging logic in IconDrawableFactory is to try
to add the instant app badge first, and then always try to add the
user badge.

Bug: 132625654
Test: manually test as in b/128625591
Change-Id: Ia5b456f1f27095d546504266a1a90034105c9ae9
Merged-In: I2241bdb524ca6bc66e545a0ec8433119e0448358
(cherry picked from commit bdb0236125922a3a9b20fbaa8ecd1d2477b48ed5)
2019-11-22 23:40:04 +00:00
Hyunyoung Song b2049196b9 Align badging logic with platform IconDrawableFactory.
The current logic in BaseIconFactory is only trying to add the user
badge if the user passed in isn't null and isn't the current user,
then if no such attempt is made, try to add an instant app badge. This
is causing user badge to disappear if the current user is a work
profile. Meanwhile, the badging logic in IconDrawableFactory is to try
to add the instant app badge first, and then always try to add the
user badge.

Bug: 132625654
Test: manually test as in b/128625591

Change-Id: I2241bdb524ca6bc66e545a0ec8433119e0448358
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2019-11-22 15:21:56 -08:00
Automerger Merge Worker 9d9a3f6293 Merge "Fix quick switch from home biased towards returning home" into ub-launcher3-qt-future-dev am: 75b7b9d35c
Change-Id: I9a8e859c876f311c0ce7df97ca6246238fe958cf
2019-11-22 22:00:01 +00:00
Xin Li 5cc9ace295 Merge QQ1A.191205.011 into stage-aosp-master
Bug: 144955631
Merged-In: I482ace6717063630d3c5018c471601cfd21a2f19
Change-Id: I4e52c840563ce3fc739adadf8f9eeb3178afffad
2019-11-22 13:56:43 -08:00
TreeHugger Robot 75b7b9d35c Merge "Fix quick switch from home biased towards returning home" into ub-launcher3-qt-future-dev 2019-11-22 21:45:32 +00:00
Xin Li 535cd59c6c [automerger skipped] DO NOT MERGE - Skip QQ1A.191003.001 in stage-aosp-master am: db631e7f97
am: 6da429a4c4 -s ours
am skip reason: subject contains skip directive

Change-Id: I8e34ddfbe463e87eb0feb3a1263d8db268660c93
2019-11-22 12:03:05 -08:00
Xin Li 6da429a4c4 DO NOT MERGE - Skip QQ1A.191003.001 in stage-aosp-master
am: db631e7f97

Change-Id: I2c6053312332e242d75f08c950756d72ada207f1
2019-11-22 11:13:20 -08:00
Xin Li db631e7f97 DO NOT MERGE - Skip QQ1A.191003.001 in stage-aosp-master
Bug: 144955631
Change-Id: Ib89d21099be0a67844fe674b35196e3198bfe732
2019-11-22 10:47:04 -08:00
TreeHugger Robot 0868d999f1 Merge "Improving error messages when swiping up to home" into ub-launcher3-master 2019-11-22 18:40:56 +00:00
Hyunyoung Song 5fcd8f9647 Provide up to 3 folder name suggestions to active IME
Bug: 144973594

Change-Id: I92078fffd68a1230fd87d2387404c8a2fed55bc0
2019-11-22 08:19:17 +00:00
vadimt 7d6e7add97 Improving error messages when swiping up to home
Change-Id: I7c230d657eacb7a386a906e1f5470a15e1fe5868
2019-11-21 19:12:19 -08:00
Automerger Merge Worker 0cdb388ac2 [automerger skipped] Fix bug where icon remains invisible after returning home. am: a3ea27de39 -s ours
am skip reason: Change-Id I082291ca9b288f57701cc00d61a9b3a84da8b084 with SHA-1 ad7e30f5d7 is in history

Change-Id: Ia0b4a222f49ffab92533873134b358df1780ddf2
2019-11-21 22:58:54 +00:00
TreeHugger Robot 9ccea3961c Merge "Accelerating dragging to workspace by using pause at the end of the gesture" into ub-launcher3-master 2019-11-21 22:30:04 +00:00
Jon Miranda a3ea27de39 Fix bug where icon remains invisible after returning home.
- The bug is caused by cancelling of the RectFSpringAnim before the
  StaggeredWorkspaceAnim has started.
- Instead of having logic in StaggeredWorkspaceAnim control the visibility
  of the icon, we instead maintain all the visibility within the
  FloatingIconView class itself.

Bug: 142120338
Change-Id: I94f3a066d395f9c3b97dc6ee9fc836e9401650a5
Merged-In: I082291ca9b288f57701cc00d61a9b3a84da8b084
2019-11-21 22:16:36 +00:00
Jonathan Miranda 92d4086fda Merge "Fix bug where icon remains invisible after returning home." into ub-launcher3-master 2019-11-21 22:16:23 +00:00
thiruram 5e1ecf6d73 Adds proto-lite libraries to Launcher3 make files.
Change-Id: Icb2f8fcdb4d5344de835f4702fc01ec80d4a3b84
2019-11-20 21:49:44 +00:00
Jon Miranda ad7e30f5d7 Fix bug where icon remains invisible after returning home.
- The bug is caused by cancelling of the RectFSpringAnim before the
  StaggeredWorkspaceAnim has started.
- Instead of having logic in StaggeredWorkspaceAnim control the visibility
  of the icon, we instead maintain all the visibility within the
  FloatingIconView class itself.

Bug: 142120338
Change-Id: I082291ca9b288f57701cc00d61a9b3a84da8b084
2019-11-20 13:17:51 -08:00
Tony Wickham 94fb4cd3fd Fix quick switch from home biased towards returning home
When flinging up and to the right, we previously always returned
home. Now, if the right velocity is stronger, we quick switch.

Bug: 126596417
Change-Id: I14fa0584399bb90f2e07e0b296fc5932d8224fbf
2019-11-20 13:08:44 -08:00
Hyunyoung Song 51ba729f5d [automerger skipped] Merging from ub-launcher3-qt-future-dev @ build 6018744 am: 793f5c5186
am: 8b406b8d31 -s ours
am skip reason: change_id I8a1e20d0b175f03a1a05c81749f07ab5314e872a with SHA1 73b84ce47f is in history

Change-Id: If28a800615a8a50ec5bf9b15f12a43658012e998
2019-11-20 12:35:25 -08:00
Hyunyoung Song 8b406b8d31 Merging from ub-launcher3-qt-future-dev @ build 6018744
am: 793f5c5186

Change-Id: I482ace6717063630d3c5018c471601cfd21a2f19
2019-11-20 12:31:54 -08:00
Tony Wickham fed129305d [automerger skipped] Merge "Fix recents scale sometimes lagging behind window scale" into ub-launcher3-qt-future-dev
am: f3761296a1 -s ours
am skip reason: change_id I65a2c71c9acd2f5345941ea2cff7d32c04b7be3f with SHA1 4df42f85a4 is in history

Change-Id: Ife6d77baef86054445ccbe966c3e880f1c95007c
2019-11-20 11:12:43 -08:00
TreeHugger Robot f3761296a1 Merge "Fix recents scale sometimes lagging behind window scale" into ub-launcher3-qt-future-dev 2019-11-20 19:02:45 +00:00