Commit Graph

24354 Commits

Author SHA1 Message Date
Tony Wickham a85fa09885 Make overview to home translate faster
Fixes: 169052350
Change-Id: Ia6f21f479498927a5561819fcc256b698acbd095
2020-09-21 11:14:49 -07:00
TreeHugger Robot 445e4b4b9b Merge "Dismiss task menu when swiping to home" into ub-launcher3-master 2020-09-14 21:31:47 +00:00
Samuel Fufa 65542a4864 Merge "Fix launcher leaks" into ub-launcher3-master 2020-09-14 18:38:04 +00:00
TreeHugger Robot 34e3d615ba Merge "resolve invalid size variable issue for people view" into ub-launcher3-master 2020-09-14 17:43:31 +00:00
Samuel Fufa 2fa2e0ae23 Fix launcher leaks
Follow up of: ag/12558751
Bug: 168121204

Change-Id: I381284a5e1cd9568ed14ec7a357ff150e35c18c6
2020-09-14 09:35:37 -07:00
Samuel Fufa d099d24807 resolve invalid size variable issue for people view
Change-Id: I176a4de9536a7724a07c4e953f124b0c1691fe1b
2020-09-14 09:23:12 -07:00
Samuel Fufa e96b5cc754 Merge "set people icon on main thread" into ub-launcher3-master 2020-09-11 20:10:17 +00:00
Tony Wickham ef4b506c34 Dismiss task menu when swiping to home
Change-Id: Ie23e12cefeed2835aa0e5902337856505a5815bc
2020-09-11 13:00:06 -07:00
Samuel Fufa 5f1de1ad29 set people icon on main thread
Change-Id: I23435e41677efc6f262b464bfb5d9db6c057abb8
2020-09-11 11:33:14 -07:00
TreeHugger Robot b350c66b6c Merge changes I358a6020,I202ed999 into ub-launcher3-master
* changes:
  Inline INDEX_PAUSE_TO_OVERVIEW_ANIM
  Allow pause during quick switch for any horizontal displacement
2020-09-11 02:08:25 +00:00
Tony Wickham 1c3150fa1f Inline INDEX_PAUSE_TO_OVERVIEW_ANIM
It is only used by NoButtonQuickSwitchTouchController. Also removed
the interpolator overrides that are no longer needed since we don't
animate the shelf into overview mode.

Change-Id: I358a6020caaee859c6b22179591ab1d11a432f1d
2020-09-10 18:33:24 -07:00
TreeHugger Robot 8cfecbd40b Merge "Setup logging pipeline for search results" into ub-launcher3-master 2020-09-11 01:12:31 +00:00
Tracy Zhou 734caeb5ab [automerger skipped] Only load the first page in grid preview am: 312cf43863 -s ours
am skip reason: Change-Id I9dc3b7d7b84924ffb588470d4b6b20431a62b6cd with SHA-1 ef9596d4c1 is in history

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

Change-Id: I197a77f8f6081680ea7214792896c1424d270dd8
2020-09-11 00:40:46 +00:00
Samuel Fufa f4eb70c96e Setup logging pipeline for search results
Bug: 168121204
Test: Manual
Change-Id: I4abb6c75aa0f22416616a713733bef2802b703d1
2020-09-10 17:28:42 -07:00
Tracy Zhou 312cf43863 Only load the first page in grid preview
Bug: 160662425
Test: manual (verified correctness)
Merged-In: I9dc3b7d7b84924ffb588470d4b6b20431a62b6cd
Change-Id: I9dc3b7d7b84924ffb588470d4b6b20431a62b6cd
2020-09-10 23:18:03 +00:00
Tracy Zhou 4dfd31024e Merge "Only load the first page in grid preview" into ub-launcher3-master 2020-09-10 22:08:09 +00:00
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
TreeHugger Robot b7cc9fcc9e Merge "Adding content push button behind flag to OAV." into ub-launcher3-master 2020-09-10 21:07:44 +00:00
Sreyas 46aba2a46e Adding content push button behind flag to OAV.
Tested: TaplTestsNexus:testOverviewActions()
Change-Id: I83bc6e5033e2292776c927fba363214f347e01ce
2020-09-10 12:59:55 -07:00
Tony Wickham 248a7f89ac Only set live target if there is a target to set
Fixes: 166143722
Change-Id: I10c5bf384f6cee02cc55c035647911672f638e48
2020-09-10 00:41:22 +00:00
Tony Wickham 4318324ab4 Allow pause during quick switch for any horizontal displacement
The shelf no longer exists in 0 button mode, so it's not necessary
to wait for workspace to be invisible before allowing the pause.

Change-Id: I202ed9991b18f5e7cb2e4f0aa6be7a0d66b8ffd7
2020-09-09 17:12:49 -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