Commit Graph

24334 Commits

Author SHA1 Message Date
Tracy Zhou
ef9596d4c1 Only load the first page in grid preview
Bug: 160662425
Test: manual (verified correctness)
Change-Id: I9dc3b7d7b84924ffb588470d4b6b20431a62b6cd
2020-09-10 14:10:41 -07:00
Samuel Fufa
b6dc22c38b Merge "Support People search result in launcher" into ub-launcher3-master 2020-09-09 18:26:29 +00:00
Samuel Fufa
35f9150a67 Support People search result in launcher
NOTE: this uses PackageManager and should be removed after people<>shortcut mapping in search provider.

Bug: 166337069
Test: Manual
Change-Id: I016ff0d5e6ada1599cce3d75bdcd55347c85193e
2020-09-09 10:37:27 -07:00
TreeHugger Robot
75b4b9d8a2 Merge "Annotating open-app transitions in trace files" into ub-launcher3-master 2020-09-09 02:19:11 +00:00
vadimt
f367ced932 Annotating open-app transitions in trace files
Change-Id: I2461186321b7c33dbabca34c066b61f2169010f3
2020-09-08 18:39:32 -07:00
TreeHugger Robot
681e6517ca Merge "Simplifying AppFilter" into ub-launcher3-master 2020-09-09 00:17:09 +00:00
Sunny Goyal
4484015f48 Simplifying AppFilter
Change-Id: I36217a42aa67f2b3bc3a3226ace2ef7e194956a6
2020-09-08 16:31:17 -07:00
TreeHugger Robot
57cf650115 Merge "Annotating open-Launcher transition in trace files" into ub-launcher3-master 2020-09-08 22:27:58 +00:00
vadimt
70dc1066b6 Annotating open-Launcher transition in trace files
Currently, in trace files, it's hard
to find the exact set of frames for this transition.

Change-Id: I17ac201f9f9bc357ba42003776ec7a20ddef033d
2020-09-08 14:51:43 -07:00
Samuel Fufa
7aa577d883 Show independent shortcuts from Hero view
Test: Manual
Screenshot: https://screenshot.googleplex.com/6iQGEZADXf9PtWz
Bug: 165320033
Change-Id: Ib8db1fc34da4adc39f3bec5557223a1e283380dd
2020-09-08 13:24:46 -07:00
Hyunyoung Song
b0277191f3 Improve AA+ Search UI, fix IME double close
Bug: 167573256

Change-Id: If0d76177a8589bee3283d8c06529cedc8aab6c31
2020-09-08 00:51:00 -07:00
TreeHugger Robot
f79837d93f [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 31d117b093 -s ours am: a626172f96 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I82bd9e23a42f74b3477a62efd49749fe4b60b5c3
2020-09-05 21:05:27 +00:00
Bill Yi
61cc8641de [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5ad2a69089 -s ours am: c98cb8f5af -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8982daf7215d1f80b429c8cf898f06a7d1901ca9
2020-09-05 21:05:22 +00:00
TreeHugger Robot
0d9af1f8d5 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev am: b797f767d9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia1473044f4064397f2a77ff54291df3d88f00d32
2020-09-05 21:05:07 +00:00
Bill Yi
8ee94941c4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c4a8e05484 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I18ff5cb69f3501e4d3cfb6804f92112a071b9990
2020-09-05 21:04:51 +00:00
TreeHugger Robot
a626172f96 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev am: 31d117b093 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I96d298b4f7885c9b03a577444cef86d64ed867e7
2020-09-05 21:04:34 +00:00
Bill Yi
c98cb8f5af [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 5ad2a69089 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I63eca51a02b1babe1ce3fb3fca85c7ff4de4c073
2020-09-05 21:04:19 +00:00
TreeHugger Robot
b797f767d9 Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-qpr-dev 2020-09-05 20:45:24 +00:00
TreeHugger Robot
31d117b093 Merge "Import translations. DO NOT MERGE ANYWHERE" into ub-launcher3-rvc-dev 2020-09-05 20:36:33 +00:00
Bill Yi
c4a8e05484 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If5df1f7ce4c804632081cbc9d0e3050a87b2aeef
2020-09-05 18:49:41 +00:00
Bill Yi
5ad2a69089 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I561a389ed45dce75d1f929c77d4f1de2aafb5d52
2020-09-05 18:49:09 +00:00
Bill Yi
a16a23bfdc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I937d1c6fe5f15090699b1cbb57b8271e5f70e90d
2020-09-05 18:47:35 +00:00
Bill Yi
4307781a10 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If9d4e92299ac6d5952ff7d07db10b0d74d9a3e34
2020-09-05 18:47:07 +00:00
Schneider Victor-tulias
dea10fc20a Merge "Add folder UI animation." into ub-launcher3-master 2020-09-04 05:27:19 +00:00
Schneider Victor-tulias
8a35c76427 Add folder UI animation.
Test: manual

Fixing b/144948355. The entire launcher was panning up when the user
would try to edit a folder name if that folder's name field would have
otherwise been obscured by the keyboard. This had the effect of
obscuring the smartspace. Added an animation to the folder UI to bring
it above the keyboard during text editing.

Change-Id: I0f95aae27fc7426f1025135ea6d4fa142a21cf43
2020-09-03 18:19:06 -07:00
Tony Wickham
2152ba0a24 Merge changes Ib0fae780,I6d14f106 into ub-launcher3-master
* changes:
  Standardize quickstep velocities
  Don't detach recents from app window after motion pause
2020-09-03 23:40:20 +00:00
TreeHugger Robot
406895cd73 Merge "Refrain from overwriting shortcut icon with default icon" into ub-launcher3-master 2020-09-03 21:17:18 +00:00
Tony Wickham
01e4070836 Standardize quickstep velocities
- Compute velocities as px/ms from VelocityTracker, instead of
  computing px/s and dividing by 1000 in various places
- Use quickstep_fling_threshold_speed in TriggerSwipeUpTouchTracker
  instead of ViewConfiguration#getScaledMinimumFlingVelocity
- Check MotionPauseDetector to determine whether a fling is
  sufficient to escape after pause, in additon to above threshold

Bug: 159089437
Change-Id: Ib0fae7804e1f008f3b6ab37d6c463352c224b0e4
2020-09-03 10:52:34 -07:00
Pinyao Ting
61e8ae1d9d Refrain from overwriting shortcut icon with default icon
Invert the condition check in IconCache so that, if a shortcut is
already using a non-default icon, do not replace it with default icon
again.

Bug: 162783875
Test: add weather shortcut, backup, restore, verify its icon is not
replaced by default droid icon

Change-Id: Idaf4ce4afa84d21f7192a2f4ce41a6f8daa8d3f2
2020-09-02 17:52:37 -07:00
Tony Wickham
3a89e42237 Don't detach recents from app window after motion pause
- Update MotionPauseListener to have 2 methods: the existing
  onMotionPauseChanged(isPaused) and onMotionPauseDetected()
  - onMotionPauseDetected is the default as most listeners only
    care about the first detected pause
  - AbsSwipeUpHandler still listens to pause changes, to help
    determine the end target at the end of the gesture

Bug: 159089437
Change-Id: I6d14f106cdcbe4e07d8dddba1cee909a963615b1
2020-09-02 17:28:49 -07:00
TreeHugger Robot
1aee9da5b8 Merge "Make modal based UI changes in TaskView only if modalness changes." into ub-launcher3-master 2020-09-02 22:12:34 +00:00
Sreyas
ed5e43bd25 Make modal based UI changes in TaskView only if modalness changes.
Fixes issue with jittery displaying of suggestion chip, when entering overview.
Merging into master manually as automerger failed.
Tested:Manual

Change-Id: I8228c51b22d550cb8f0aa559f997060b571763f1
2020-09-02 11:18:01 -07:00
Sreyas
639505c23b Scale down chip proportional to TaskView becoming fullscreen.
Merging into ub-launcher3-master manually as automerger failed.

Tested: Manual
Change-Id: Ic8e6dd6ba83206d67ee27d4af9d56639e9e43ff9
2020-09-02 11:17:19 -07:00
TreeHugger Robot
017c93488c Merge "Intercept touch events from anywhere while all apps is closing" into ub-launcher3-master 2020-08-31 18:59:32 +00:00
TreeHugger Robot
a10f459281 Merge "Migrate trace proto from nano to lite" into ub-launcher3-master 2020-08-31 18:34:54 +00:00
Winson Chung
486fad2c44 Migrate trace proto from nano to lite
Bug: 166630570

Change-Id: I0567d0f71dd78e5dab87bb5878417c99c9bbe306
2020-08-31 17:55:51 +00:00
Hyunyoung Song
5191fe9ba0 SearchTarget/SearchTargetEvent API
Bug: 165869384
Bug: 161599758

TL;DR;;
Also introduce some additional methods for
- all apps start and stop
- metrics logging

Change-Id: I666ff5a27a5f8befdb0db483ebb07344a90e96bc
2020-08-28 23:58:23 -07:00
TreeHugger Robot
767470e756 [automerger skipped] Merge "Make modal based UI changes in TaskView only if modalness changes." into ub-launcher3-rvc-qpr-dev am: 39c79929d1 -s ours
am skip reason: skipped by user sreyasr

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

Change-Id: I444a3c0adbca1f176b42ce6bb8101cec1a7fa499
2020-08-28 23:57:01 +00:00
TreeHugger Robot
87d7908858 [automerger skipped] Merge "Scale down chip proportional to TaskView becoming fullscreen." into ub-launcher3-rvc-qpr-dev am: 7c39afeccc -s ours
am skip reason: skipped by user sreyasr

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

Change-Id: Ie69cef4348a127e1968151f582ab9c538b829eab
2020-08-28 23:48:29 +00:00
Andy Wickham
1ca1d6343f Merge "Delays removal of extra screen when dropping an app." into ub-launcher3-master 2020-08-28 23:24:24 +00:00
TreeHugger Robot
39c79929d1 Merge "Make modal based UI changes in TaskView only if modalness changes." into ub-launcher3-rvc-qpr-dev 2020-08-28 23:08:11 +00:00
Sreyas
3aca92104f Make modal based UI changes in TaskView only if modalness changes.
Fixes issue with jittery displaying of suggestion chip, when entering overview.
Tested:Manual

Change-Id: Id37fcc67840402f1f66d7646cd562c282a19e312
2020-08-28 15:13:25 -07:00
TreeHugger Robot
7c39afeccc Merge "Scale down chip proportional to TaskView becoming fullscreen." into ub-launcher3-rvc-qpr-dev 2020-08-28 22:10:57 +00:00
TreeHugger Robot
9d7859eaf8 Merge "Implementing TouchDelegate to make full chip clickable." into ub-launcher3-master 2020-08-28 22:09:49 +00:00
Tony Wickham
734be27f9b Intercept touch events from anywhere while all apps is closing
Previously we did this only from a settled state, but now we also
do it during the transition to NORMAL.

Test: open all apps. Then, swipe down to home and back up to all
apps (from above the top of all apps).

Fixes: 159856104
Change-Id: Ib78c6a41d5fa17dd26a7df4e9069e0ada1f46dd0
2020-08-28 13:23:10 -07:00
Sreyas
90faa282f1 Implementing TouchDelegate to make full chip clickable.
Merging to ub-launcher3-master manually as automerger failed.
Tested: Manual

Change-Id: I1b8b43de7f04e1e13cb283c88f95a7c6fea84ea6
2020-08-28 12:10:55 -07:00
TreeHugger Robot
c4f119fa85 [automerger skipped] Merge "Implementing TouchDelegate to make full chip clickable." into ub-launcher3-rvc-qpr-dev am: 7d7b471a6c -s ours
am skip reason: skipped by user sreyasr

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

Change-Id: I66a7309b71ff5b193505652b759f9c0d7f2377d4
2020-08-28 19:03:41 +00:00
TreeHugger Robot
7d7b471a6c Merge "Implementing TouchDelegate to make full chip clickable." into ub-launcher3-rvc-qpr-dev 2020-08-28 17:53:54 +00:00
Sreyas
8a622edb78 Scale down chip proportional to TaskView becoming fullscreen.
Tested: Manual
Change-Id: I09c80b28cb01fb4873efffa8d4856b63af32493f
2020-08-28 10:20:05 -07:00
Sreyas
fee2b25b9c Implementing TouchDelegate to make full chip clickable.
Bug: 166376182
Tested: Manual
Change-Id: I36b2559908fbf7ab6a863fb6e550a88b5374aefa
2020-08-28 10:10:30 -07:00