Commit Graph

21217 Commits

Author SHA1 Message Date
Sreyas
d567b58810 RecentsExtraCard
Bug fixing / formatting

Change-Id: If36cd64986cc213682af1c7b4fd3281909812c15
2019-11-11 16:19:01 -08:00
vadimt
7afd271a17 When scrolling in All apps, scroll to last clickable row
Not the last row.

Also scrolling in the middle of All Apps, not at the top, because
otherwise the scroll can start on search box.

Bug: 144180777
Change-Id: I219faec165b8b403530a9c09d419cc453aea6039
2019-11-11 10:46:28 -08:00
TreeHugger Robot
4b62b18aa1 Merge "Removing temporary tweaks to make tests pass in presubmit" into ub-launcher3-master 2019-11-11 18:34:41 +00:00
vadimt
b0a14e96ae Removing temporary tweaks to make tests pass in presubmit
Now that we have a more reliable build of CF

Bug: 142828227
Change-Id: Ib385443048b6ccd9e1eb3372dc39947536f948bd
2019-11-11 09:23:28 -08:00
TreeHugger Robot
1ca9c89b01 Merge "[DO NOT MERGE] Folder name suggest Bug: 142498588" into ub-launcher3-master 2019-11-09 02:52:21 +00:00
Hyunyoung Song
4c74620d6a [DO NOT MERGE] Folder name suggest
Bug: 142498588

Change-Id: I735c842522f08db1fb9a11f731b63f8dba5a298f
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2019-11-08 15:07:48 -08:00
Jon Miranda
238343a65b Merge "Address SessionCommitReceiver vulnerability by validating intent." into ub-launcher3-qt-future-dev
am: 992cfbf63d

Change-Id: Id80274e147008bd00aeb581d637fcd82938c034f
2019-11-08 13:59:11 -08:00
TreeHugger Robot
992cfbf63d Merge "Address SessionCommitReceiver vulnerability by validating intent." into ub-launcher3-qt-future-dev 2019-11-08 21:50:02 +00:00
Jon Miranda
7e04887e59 Address SessionCommitReceiver vulnerability by validating intent.
Bug: 144081762
Change-Id: I28699d26abefc716e57c281c15699f15003229b2
2019-11-08 13:02:52 -08:00
TreeHugger Robot
f59803e708 Merge "Add visual indicator for predicted hotseat icons" into ub-launcher3-master 2019-11-08 15:45:22 +00:00
Tony Wickham
b13c14a228 Have LauncherActivityInterface#getCreatedActivity return BaseQuickstepLauncher
This gives access to quickstep-specific functionality such as ShelfPeekAnim.

Change-Id: I514baa45fe9404157de51f06e891eaea3fc86971
2019-11-07 20:35:37 -08:00
Tony Wickham
d0764c04c5 Merge "Move shelf peeking anim code to ShelfPeekAnim class" into ub-launcher3-master 2019-11-08 04:30:19 +00:00
Samuel Fufa
ba6b47fd8e Add visual indicator for predicted hotseat icons
Bug: 142753423
Test: Manual
Change-Id: Ie4325660fc5392358ec845ae58385bef279db60f
2019-11-07 16:49:24 -08:00
Sunny Goyal
d89b580ce2 Merge "Scaling down hotseat to match prediction row size when going to overview" into ub-launcher3-qt-future-dev
am: 45656e296f

Change-Id: I4dfbebf382af5a7a70b9b48c8160cefda876e53c
2019-11-07 15:40:16 -08:00
TreeHugger Robot
45656e296f Merge "Scaling down hotseat to match prediction row size when going to overview" into ub-launcher3-qt-future-dev 2019-11-07 23:35:15 +00:00
TreeHugger Robot
e49d31c846 Merge "Scaling down hotseat to match prediction row size when going to overview" into ub-launcher3-master 2019-11-07 23:35:15 +00:00
Tony Wickham
85d6f25016 Move shelf peeking anim code to ShelfPeekAnim class
Bug: 126596417
Change-Id: I5ba501b04b3eaf12a20ba1312ef362f9734761c3
2019-11-07 15:21:23 -08:00
Winson Chung
5bdae3d869 Merge "Skip calling into recents view if the activity is not yet initialized" into ub-launcher3-master 2019-11-07 03:42:08 +00:00
Winson Chung
5583e53909 Skip calling into recents view if the activity is not yet initialized
Bug: 143792840
Change-Id: Ib7cde70786a49390b253a57161be8eb66a26a188
2019-11-06 16:26:22 -08:00
Jon Miranda
13a7980e09 System apps must target API 29 or higher
AndroidManifest.xml already updated

Bug: 143991628
Change-Id: Ia9ddeda016548a0ebe5c5ec527741a7a8f9c0e4d
2019-11-06 16:01:25 -08:00
Hyunyoung Song
b967170659 [automerger skipped] Merge "[DO NOT MERGE] Folder name suggest Bug: 142498588" into ub-launcher3-qt-future-dev
am: 00105625f4 -s ours
am skip reason: subject contains skip directive

Change-Id: I1efb5617f609e5e1b5943d8ff4d7237585844498
2019-11-06 15:42:15 -08:00
Hyunyoung Song
9edf5ce520 [automerger skipped] [DO NOT MERGE] Folder name suggest Bug: 142498588
am: 7564d3b8bd -s ours
am skip reason: subject contains skip directive

Change-Id: I28905af882ca69e310cb12563f6a06e7f266108b
2019-11-06 15:36:35 -08:00
Hyunyoung Song
00105625f4 Merge "[DO NOT MERGE] Folder name suggest Bug: 142498588" into ub-launcher3-qt-future-dev 2019-11-06 23:24:02 +00:00
Hyunyoung Song
7564d3b8bd [DO NOT MERGE] Folder name suggest
Bug: 142498588

Change-Id: I735c842522f08db1fb9a11f731b63f8dba5a298f
Signed-off-by: Hyunyoung Song <hyunyoungs@google.com>
2019-11-06 23:06:01 +00:00
Sunny Goyal
37279e2313 Scaling down hotseat to match prediction row size when going to overview
Bug: 141265005
Change-Id: I3b11146881af334508f553e4ca3a36b9291511d9
2019-11-06 14:39:28 -08:00
Sunny Goyal
a5020007e3 Scaling down hotseat to match prediction row size when going to overview
Bug: 141265005
Change-Id: I3b11146881af334508f553e4ca3a36b9291511d9
2019-11-06 22:36:34 +00:00
TreeHugger Robot
96ea1a05bf Merge "Bound progress to 0 to 1" into ub-launcher3-master 2019-11-06 21:22:57 +00:00
Tony Wickham
3260168f3a Bound progress to 0 to 1
Test: Swipe up far to overview, ensure corners stay rounded throughout
Change-Id: Ie8694237586dad3d2f3605d2a395f1079c9cebc1
2019-11-06 10:35:44 -08:00
Tony Wickham
238c4bae27 Merge "Add BothAxesSwipeDetector" into ub-launcher3-qt-future-dev
am: ea09b9c963

Change-Id: I926c97b277e1ee268269955b6a8c66dab32f3178
2019-11-06 09:12:00 -08:00
Tony Wickham
ea09b9c963 Merge "Add BothAxesSwipeDetector" into ub-launcher3-qt-future-dev 2019-11-06 16:58:07 +00:00
Samuel Fufa
5fe9dd028c Merge "Fix icons vanishing when dragged within folder" into ub-launcher3-qt-future-dev
am: 734574221b

Change-Id: I857a428a0a828a922482372dbe63a8bd3bbd233b
2019-11-05 20:54:57 -08:00
TreeHugger Robot
734574221b Merge "Fix icons vanishing when dragged within folder" into ub-launcher3-qt-future-dev 2019-11-06 04:40:41 +00:00
Samuel Fufa
1b9e540a52 Fix icons vanishing when dragged within folder
Bug: 143702700
Test: Manual
Change-Id: Idc24086553fd337fc2a553e25daa570073d9ad51
2019-11-05 19:49:30 -08:00
Vadim Tryshev
a6e19602a6 Merge "Disable failing test testQuickSwitchFromApp" into ub-launcher3-master 2019-11-06 03:19:50 +00:00
Samuel Fufa
306177c14e Fix dragging icon badge offset
am: 37b2489ff7

Change-Id: Ibe7dbed4d3880086da14692597341ea9487efc29
2019-11-05 18:53:46 -08:00
vadimt
272a541ab9 Disable failing test testQuickSwitchFromApp
Bug: 143285809
Change-Id: I7df5a1deb74aabf0f874e969a57aba471902747f
2019-11-05 18:26:29 -08:00
TreeHugger Robot
90a0320600 Merge "Adds zakcohen@ to OWNERS." into ub-launcher3-master 2019-11-06 01:21:52 +00:00
Zak Cohen
d45205cb68 Adds zakcohen@ to OWNERS.
Change-Id: I3d7b1474913e9b0459f298813ef6607b3485618b
2019-11-05 16:49:58 -08:00
Pinyao Ting
fe160c55c2 Merge "Add IconCache support for deep shortcuts, loads deepshortcut on background thread. Added a feature flag to toggle on/off this feature." into ub-launcher3-master 2019-11-05 23:33:48 +00:00
Samuel Fufa
37b2489ff7 Fix dragging icon badge offset
Bug: 143702640
Test: Manual
Change-Id: I86d97c1f0ea02c86f4bf745a8bdda3887c62f27e
2019-11-05 15:29:22 -08:00
Tracy Zhou
a522472ab7 Merge "Handling pullback on home handle in Overview for live tile" into ub-launcher3-master 2019-11-05 21:18:08 +00:00
Vadim Tryshev
d3e2771bd3 Merge "Not treating "Screen is empty" as an anomaly in NavigationModeSwitchRule" into ub-launcher3-master 2019-11-05 20:06:28 +00:00
vadimt
09ce192b4e Not treating "Screen is empty" as an anomaly in NavigationModeSwitchRule
It's an acceptable state when Launcher just starts under
 instrumentation.

Change-Id: Ia6eb2550effbd9236bb955e0c0e04416fc5fa506
2019-11-05 11:30:35 -08:00
Pinyao Ting
c1a1ced33a Add IconCache support for deep shortcuts, loads deepshortcut on
background thread.  Added a feature flag to toggle on/off this
feature.

Bug: 140242324
Test:
  1. (Custom Shortcut) Long click on google maps -> widgets -> drag
     driving mode to workspace.

  2. Open chrome -> add to home screen -> add -> add automatically.

  3. InstallShortcutReceiver
     In Launcher.completeAddShortcut, commend out the code that
     calls PinRequestHelper.createWorkspaceItemFromPinItemRequest,
     then open chrome -> add to home screen -> add -> add
     automatically.

  4. ShortcutDragPreviewProvider
     qdb -> long press on suggested app that has deep shortcut
     -> drag to workspace.

Change-Id: If7babe4eddf5434909bf686b4e9bde15e444d9fd
2019-11-05 11:27:28 -08:00
TreeHugger Robot
8e24097014 Merge "Implement hotseat prediction client" into ub-launcher3-master 2019-11-05 19:18:49 +00:00
Samuel Fufa
efb665d3ec Implement hotseat prediction client
Bug: 142753423
Test: Manual
Change-Id: I9f697c474b29340c9b33ddf896a49e8f3f893f8b
2019-11-05 09:53:25 -08:00
Winson Chung
5d3dc9c76d Merge changes I4649483a,I890a45e6,I6ccfab86 into ub-launcher3-master
* changes:
  17.5/ Remove synchronized calls, verify controller before finishing animation
  17/ Update activity tracker callback
  16/ Renaming the swipe handlers
2019-11-05 05:18:05 +00:00
Winson Chung
4356311cfe 17.5/ Remove synchronized calls, verify controller before finishing animation
- The states that trigger the call are all on the UI thread, so we
  shouldn't need to synchronize before calling into it.  But the
  second issue is that we set those states when the gesture ends and
  we calculate the end target.  This can happen before the animation
  started or after the animation has been canceled, so we need to
  guard against the null controller as well.

Bug: 143153963
Change-Id: I4649483a52c85c5662665d5e8905b49d5623b6dc
2019-11-04 20:13:18 -08:00
Winson Chung
52c57f73d2 17/ Update activity tracker callback
- Immediately callback when scheduling activity tracker callback and the
  activity already exists
- Remove LauncherInitListenerEx, it was only used to update the prediction
  ui state, but not all of the callers of the launcher activity init
  listener actually needs this (ie. Go doesn't have overview predictions,
  overscroll input consumer/touch interaction service doesn't need it.)

  Instead we only call it in the places we need it LauncherSwipeHandler (for
  swipe up) and OverviewCommandHelper (for the nav bar button).

Bug: 141886704

Change-Id: I890a45e658be813e99b2a02f179fce611ede9ce8
2019-11-04 20:13:11 -08:00
Jon Miranda
e6691f34c1 Add additional shortcutExists check to prevent same app from being auto added.
am: f788bbb0c4

Change-Id: I42f0c4d75f8be38b9e81c5932fc1def710a68f36
2019-11-04 17:32:56 -08:00