Commit Graph

34630 Commits

Author SHA1 Message Date
Samuel Fufa 26c1105fa0 [search api part 1] Setup centralized SearchEventTracker
- Rename AdapterItemWIthPayload to SearchAdapterItem, PayloadResultHandler to SearchTargetHandler
- Setup SliceViewWrapper for self contained slices

Bug: 170702596
Change-Id: I0baf984ec8123c95011abcc17372f8d055e98ad7
2020-10-13 12:40:22 -07:00
Xin Li 103dbab650 [automerger skipped] Merge ab/6749736 in stage. am: 2ef7e39983 -s ours am: f6b4389da9 -s ours am: 5767441c19 -s ours
am skip reason: Change-Id Id9c756552c08d7690b99987dafadc13448a0c236 with SHA-1 0581f5b05b is in history

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

Change-Id: I0ea6e626d9c3ac31e9ff6a93ce05929dca203571
2020-10-13 04:50:29 +00:00
Xin Li 5767441c19 [automerger skipped] Merge ab/6749736 in stage. am: 2ef7e39983 -s ours am: f6b4389da9 -s ours
am skip reason: Change-Id Id9c756552c08d7690b99987dafadc13448a0c236 with SHA-1 0581f5b05b is in history

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

Change-Id: Iacae332383fb32b8b3460642c6408671c090372b
2020-10-13 04:22:37 +00:00
Xin Li f6b4389da9 [automerger skipped] Merge ab/6749736 in stage. am: 2ef7e39983 -s ours
am skip reason: Change-Id Id9c756552c08d7690b99987dafadc13448a0c236 with SHA-1 0581f5b05b is in history

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

Change-Id: I5c166c4b778272882283ec85d5945912abf52f7a
2020-10-13 03:50:59 +00:00
TreeHugger Robot 057f2d0d7d Merge "Introduce shortcut container for hotseat event reporting" into ub-launcher3-master 2020-10-13 01:57:47 +00:00
TreeHugger Robot 4bb65ff516 Merge "Search UI clean up" into ub-launcher3-master 2020-10-13 00:07:36 +00:00
Samuel Fufa 2afcab804b Search UI clean up
- Resolve spacing issue when work profile is installed
- Cache play icons and use icon shape
- Only draw focus indicator for the first result

Bug: 170487752
Bug: 170665892
Change-Id: I864d2e796786637132e127ef9b418c0a76c74d6e
2020-10-12 16:19:41 -07:00
TreeHugger Robot 69740e62be Merge "Add app start source info of apps launched from launcher" into ub-launcher3-master 2020-10-12 20:53:29 +00:00
Jon Miranda 2d7bfc8782 Fix shadowRadius not being used in swipe up animation.
Bug: 168608912
Change-Id: I08f7bb057237e5061d5f1fc29afb488b204ee385
2020-10-12 12:09:22 -07:00
Sunny Goyal a433fe1fb3 Merge "Using FrameCallbacks instead of windowCallbacks for surface removal" into ub-launcher3-master 2020-10-12 18:08:35 +00:00
Samuel Fufa 9a6145efb8 Introduce shortcut container for hotseat event reporting
Bug: 170636685
Test: Manual
Change-Id: I5abeb17976bbafdc8cc74fb8b9a586d544c682fc
2020-10-12 09:33:00 -07:00
Yogisha Dixit 2de606fe73 Delete the minimal database to force refresh.
Bug: 169771796
Test: manual
Change-Id: Ic2188bb162f295c208346861fddc137ace19ddcb
2020-10-12 15:36:07 +01:00
Sunny Goyal 0471b9836c Using FrameCallbacks instead of windowCallbacks for surface removal
WindowCallbacks is called during the draw pass, before the frame has
been sent to the surfaceFlinger. Frame callback will provide a closer
approximation for when the frame is actually rendered on screen.

Bug: 141126144
Change-Id: I62aab526c2ca24b00b5e7b312b36080f26c7b439
2020-10-09 13:55:56 -07:00
Schneider Victor-tulias 2727434c44 Merge "Fix hotseat and prediction row to allow updates when empty." into ub-launcher3-master 2020-10-09 20:09:08 +00:00
TreeHugger Robot 59f532fe9e Merge "Improve search section header" into ub-launcher3-master 2020-10-09 19:52:54 +00:00
Riddle Hsu 979da64d82 Add app start source info of apps launched from launcher
Bug: 166614700
Test: Enable statsd log: "adb shell cmd stats print-logs"
      adb logcat | grep statsd | grep "(48)"
      The line may contain 0x100000->1[I] 0x110000->10[I]
      that means 1=from launcher and 10=latency 10ms.
Change-Id: Iddaff7066b66e241ba58ec87129ddbe2c531dc7e
(cherry picked from commit 7bdf3574a3)
2020-10-09 17:21:38 +00:00
Winson Chung d2bfce71f7 Merge "Comply with the ISystemUiProxy.aidl change" into ub-launcher3-master 2020-10-09 16:39:06 +00:00
Winson Chung ed4530fedd Merge "Add latency metrics for recents gesture" into ub-launcher3-master 2020-10-09 16:39:06 +00:00
Schneider Victor-tulias 1b9e199b3d Fix hotseat and prediction row to allow updates when empty.
Rotating the screen in the homescreen empties the hotseat, however it does not get populated while it is visible to the user. The user should not be able to see an empty hotseat or prediction row if predictions are available. It should therefore be possible to populate these when they are empty even if they are visible to the user.

Change-Id: I8e5252bd29050c2cd9d443aedcb3f3e305c0e2d7
2020-10-09 10:01:55 -04:00
Hyunyoung Song b5334e3f07 Improve search section header
Change-Id: I47cf207f0d0ab792c0e7a47c9d1185eec087ec88
2020-10-09 00:50:48 -07:00
Xin Li 2ef7e39983 Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: Id9c756552c08d7690b99987dafadc13448a0c236
Change-Id: I93903c258f834a9e9537b88882d77a6660482638
2020-10-08 23:46:34 -07:00
Samuel Fufa 692d2109a6 invalidate itemDecoration on predictedRow focus draw
Change-Id: I66c731f00ae1c1292c51ff281957f05fd2d70dfa
2020-10-08 18:42:48 -07:00
Samuel Fufa 8d5b118060 Revert PredictionRow shuoldDraw check
+ Show Rounded play result icons

Bug: 168805872
Test: Manual
Change-Id: I663c7f7ca1f1ac072e5e9c441deabef7c3fbd97b
2020-10-08 17:49:22 -07:00
android-build-team Robot 19d1f91b49 Snap for 6893192 from 743fe26951 to rvc-qpr2-release
Change-Id: I0001185f10843258f73fd1c159932c59134d6547
2020-10-08 23:16:09 +00:00
Hilary Huo 86f8df6cf9 Merge "[pixel-search] add escape hatch" into ub-launcher3-master 2020-10-08 18:43:51 +00:00
Samuel Fufa 4d19854b25 Merge "Search UI cleanup" into ub-launcher3-master 2020-10-08 18:40:56 +00:00
Hilary Huo 16045060c3 [pixel-search] add escape hatch
Change-Id: I33ffea1fc0859564955380d7d1db317293d1a2cb
2020-10-08 10:27:13 -07:00
Andy Wickham 0827e1e32a Merge "Adds feature flag for BC Smartspace." into ub-launcher3-master 2020-10-08 16:53:29 +00:00
Hyunyoung Song 59aea2c4ed [automerger skipped] [DO NOT MERGE] Add component name to launcher home and overview gestures am: 743fe26951 am: 7bd6d79e1f -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib11f9951124a990bed5b3ed6ce4e9ae0354b1e29
2020-10-08 10:40:38 +00:00
Hyunyoung Song 7bd6d79e1f [DO NOT MERGE] Add component name to launcher home and overview gestures am: 743fe26951
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/12745956

Change-Id: I11603a2880e96d6af8dedc0a4177d2bfdba90a8f
2020-10-08 10:24:18 +00:00
Samuel Fufa ab9ad20be6 Search UI cleanup
- offset all apps header padding with search input margin
- avoid check shouldDraw check on HeaderRow. (race condition)

Bug: 170263425
Change-Id: I11a1fbb448aa6afd18ec0984af9bb8b1d7600f69
2020-10-07 15:22:15 -07:00
Andy Wickham 68d7a6e5b2 Adds feature flag for BC Smartspace.
Change-Id: Iaf9fb7507d0ccd004a4e00188c75dadd6a059246
2020-10-07 14:27:17 -07:00
TreeHugger Robot 3463f0a876 Merge "Align fallback result query with result text" into ub-launcher3-master 2020-10-07 20:09:04 +00:00
Vadim Tryshev 2470d812a1 Merge "Annotating Quick Switch CUJ for 3-button mode" into ub-launcher3-master 2020-10-07 20:04:09 +00:00
Tony Wickham cae7d74d89 Merge "Update launcher_trace.proto for quick switch" into ub-launcher3-master 2020-10-07 18:32:48 +00:00
vadimt 7a6e4c931f Annotating Quick Switch CUJ for 3-button mode
Bug: 169221288
Change-Id: Ief62345fe6004dde699f44aa0c90329b7cd84e8b
2020-10-07 10:51:01 -07:00
Samuel Fufa 4b7f38b8fa Align fallback result query with result text
screenshot: https://screenshot.googleplex.com/6Daj5vdmz2jmznX
bug: 169438169
test: Manual
Change-Id: Ie621ed3c834aec5e9467607da4f685d05d152183
2020-10-07 10:31:06 -07:00
Hongwei Wang 222afb9704 Comply with the ISystemUiProxy.aidl change
Two methods are added to support communications between Launcher and
SysUI when user swipes an auto PiP-able Activity to home.

Bug: 143965596
Test: N/A
Change-Id: I2c73a287a094e882bde3cd71c27f9f66ae20e64a
(cherry picked from commit 88ddae38db)
2020-10-07 04:26:47 +00:00
Riddle Hsu 9d4a96ed02 Add latency metrics for recents gesture
Pass the touch down time to RecentsAnimation#startRecentsActivity.

Bug: 169221287
Test: Enable statsd log: "adb shell cmd stats print-logs"
      Touch gesture navigation bar.
      adb logcat | grep statsd | grep "(48)"
      The line may contain 0x100000->4[I] 0x110000->20[I]
      that means 4=by recents and 20=latency 20ms.
Change-Id: I81ee804895b7712f4d925736f5b4694c11a12cbe
(cherry picked from commit 63623967b8)
2020-10-07 03:52:58 +00:00
Tracy Zhou e9bf2bd14c Merge "[Live tile] Finish recents animation when the phone goes to sleep in live tile mode" into ub-launcher3-master 2020-10-07 02:19:04 +00:00
Tony Wickham 1fddddb4f3 Update launcher_trace.proto for quick switch
Sample output from one entry:
entry {
  elapsed_realtime_nanos: 440461382888540
  launcher {
    touch_interaction_service {
      service_connected: true
      overview_component_obvserver {
        overview_activity_started: true
        overview_activity_resumed: false
      }
      input_consumer {
        name: "TYPE_OTHER_ACTIVITY:TYPE_ONE_HANDED"
        swipe_handler {
          gesture_state {
            endTarget: NEW_TASK
          }
          is_recents_attached_to_app_window: true
          scroll_offset: 846
          app_to_overview_progress: 0
        }
      }
    }
  }
}

Bug: 167259591
Change-Id: I7f199d88f1d736efcea6b9165b8c4b77a5d27c58
2020-10-06 18:25:50 -07:00
TreeHugger Robot 73ae75474e Merge "Removing tracing for a gone flake" into ub-launcher3-master 2020-10-06 23:18:44 +00:00
TreeHugger Robot 8a6f3e40d0 Merge "Update Search UI" into ub-launcher3-master 2020-10-06 22:49:40 +00:00
Xin Li 79094741cb [automerger skipped] Merge "DO NOT MERGE - Merge RP1A.201005.006" am: 3c4b9d5283 am: aef9c20ae0 am: dbae408d09 am: 295eca1f26 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I91d1ff774ca85e75bb04eb2d5da0f63bed25cd09
2020-10-06 22:17:54 +00:00
The Android Open Source Project 4064b6b92e [automerger skipped] DO NOT MERGE - Merge RP1A.201005.006 am: 05a4c9e19a am: 603572dd6c am: 6b3d5d51b6 am: 1d05532628 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Iafff39d1168805172d83401feaa4e6f43d9209d2
2020-10-06 22:17:51 +00:00
vadimt 0ebbc18803 Removing tracing for a gone flake
Bug: 156044202
Change-Id: Ice142bb941fee7b731f46c2073fab17d83bbc871
2020-10-06 14:52:27 -07:00
Xin Li 295eca1f26 Merge "DO NOT MERGE - Merge RP1A.201005.006" am: 3c4b9d5283 am: aef9c20ae0 am: dbae408d09
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1449166

Change-Id: If35cf36ec38a2df9b18edf31797e9d362b479f09
2020-10-06 21:49:17 +00:00
The Android Open Source Project 1d05532628 DO NOT MERGE - Merge RP1A.201005.006 am: 05a4c9e19a am: 603572dd6c am: 6b3d5d51b6
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1449166

Change-Id: I0fe784c14863ff69c8375883331a04937cb2f6d4
2020-10-06 21:49:13 +00:00
Samuel Fufa 565ed4ff69 Update Search UI
[preview attached to bug]

Bug: 169438169
Test: Manual
Change-Id: I085f3dd38ac373c1afab82a637ec08715a6e0cc5
2020-10-06 14:44:53 -07:00
Xin Li dbae408d09 Merge "DO NOT MERGE - Merge RP1A.201005.006" am: 3c4b9d5283 am: aef9c20ae0
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/1449166

Change-Id: Id97b52d6540954ebd798687af9f595b544206601
2020-10-06 21:15:46 +00:00