Tracy Zhou
0731273d54
Track live tile better by considering resistance animation
...
Fixes: 170338029
Test: Manual
Change-Id: I66536bae567aa94385d5e0352cec9d46d512927a
2020-10-21 12:03:40 -07:00
Tracy Zhou
d2c27a5950
Merge "[Live Tile] Support launching running task animation" into ub-launcher3-master
2020-10-21 07:19:48 +00:00
Tracy Zhou
8b488ccc2e
[Live Tile] Support launching running task animation
...
Fixes: 170338170
Test: manual
Change-Id: I2526b7cfbacaea7899b8e2ed233f913630071d36
2020-10-20 23:42:44 -07:00
Schneider Victor-tulias
fb79f5541d
Merge "Add the ability to specify a list of tutorial steps in the gesture sandbox tutorial intent." into ub-launcher3-master
2020-10-20 13:51:06 +00:00
TreeHugger Robot
29c79947ec
Merge "Removing condition for CUJ tracing/metrics" into ub-launcher3-master
2020-10-19 18:42:05 +00:00
vadimt
a68ac3e5dd
Removing condition for CUJ tracing/metrics
...
Is doesn't reflect whether jank monitors is collecting metrics,
which will eventually be always true anyways.
Change-Id: Iaebdc838ed2b2cebd32c8c48d7e45bdd93f76fb4
2020-10-16 10:48:28 -07:00
Sunny Goyal
9228ff53c2
Trimming activity and task label
...
Bug: 170648272
Change-Id: Icd099acee65305e0aa0f98a2a301a0df8a27cf07
2020-10-16 17:10:33 +00:00
Schneider Victor-tulias
cf0b275a48
Add the ability to specify a list of tutorial steps in the gesture sandbox tutorial intent.
...
Added tutorial_steps string array in the intent to allow specifying an ordered list of tutorial steps.
Change-Id: Ic42a65598a74a64f8441a22f58c6cd988a5762e3
2020-10-15 10:27:30 -04:00
mtk20437
02fc23c993
Modifying screenshot button visibility
...
Just like "Share" button, we are modifying Screenshot button visibility to gone.
Bug: 168754258
Change-Id: Ie92552c931857eed5d11af130af5a79923ee72e8
2020-10-15 03:31:52 +00:00
Samuel Fufa
d5bbe6809d
Rename shrotcut container to deep-shrotcuts
...
Change-Id: If94f0dfa447235f3b1a652f7b6c749695b42d97c
2020-10-14 15:39:38 -07: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
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
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
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
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
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
Tracy Zhou
2c5ed10ffa
Merge "[Live Tile] Support launching another task (other than the current running task) in Overview" into ub-launcher3-master
2020-10-06 18:40:57 +00:00
Samuel Fufa
b2b65a1ef5
Merge "Avoid double search item highlight" into ub-launcher3-master
2020-10-06 17:45:35 +00:00
Tracy Zhou
8ed9707cf3
[Live Tile] Support launching another task (other than the current running task) in Overview
...
- Get rid of the defer cancelation logic
- Render animation on the task view of the task being launched upon task view appeared callback
- Finish the recents animation upon the end of the recents window animation
Fixes: 164926736
Test: manual
Change-Id: Ibffb6a9c74c235efc8615a22b0306551532c7b61
2020-10-06 09:58:10 -07:00
The Android Open Source Project
05a4c9e19a
DO NOT MERGE - Merge RP1A.201005.006
...
Bug: 168212094
Merged-In: Idef112187f34a18feea7e6a0b77258626f9d0ed4
Change-Id: Ibab48c1925a0ab7a80ddcaba45a7b73219bb0b0a
2020-10-06 16:53:21 +00:00
Schneider Victor-tulias
3cf264f498
Prevent hotseat updates if it is visible to the user.
...
Test: manual
Fixes: 168653219
Changing app icons under the user's finger could be disruptive. Added a checks for whether the hotseatand all apps predictions are visible and callbacks to update them when they become hidden.
Change-Id: Ib9e6e904e9f662ecfaeea6a2fe21d1d81ba39b96
2020-10-06 11:05:02 -04:00
Hongwei Wang
56a98f651c
Merge "Comply with the ISystemUiProxy.aidl change"
2020-10-06 04:09:06 +00:00
Hyunyoung Song
b6aff1f56d
Fix NPE inside RecentsOrientedState
...
Bug: 169963211
Change-Id: I86dd337dc1b862f3fa99b91b47fa250076233f96
2020-10-05 16:08:35 -07:00
Jonathan Miranda
eab40983b9
Merge "Add shadow radius to windows during app launch / close animations." into ub-launcher3-master
2020-10-05 22:20:27 +00:00
Alistair Delva
6b6b13502f
Merge "Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ...""
2020-10-05 20:01:22 +00:00
Samuel Fufa
4c14f4b9ed
Avoid double search item highlight
...
Change-Id: Ic2e28b18f6d5e3ed32cd5646bc3bb4789c378e57
2020-10-05 11:12:15 -07:00
Winson Chung
0c943966d3
Add null check for input receiver before updating batching
...
- A change in the system (ie. sysui crash or nav mode change) could
cause the input monitor to be disposed before the swipe animation
settles
Bug: 170121063
Test: Kill sysui while swiping up
Change-Id: I1417b109fecdb98fae6197c7038dbe9307470853
2020-10-05 17:55:55 +00:00
Alistair Delva
087a9e39b6
Revert "Merge commit '8d14dbe041199d611839140f1c9285fd4174e9f4' ..."
...
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert "Merging from ub-launcher3-master @ build 6877130"
Revert submission 12738409-merge_ub-launcher3-master_6877130
Reason for revert: Introduced crashes to global presubmit
Reverted Changes:
I624658ce6:Merge commit '8d14dbe041199d611839140f1c9285fd4174...
Iccd2f1e3a:Merging from ub-launcher3-master @ build 6877130
I791d64951:Merging from ub-launcher3-master @ build 6877130
Icdd32ab01:Merging from ub-launcher3-master @ build 6877130
Bug: 169963211
Change-Id: I77a4ae59e823147beae8dd7cb9b54ccdace2c7f4
2020-10-05 14:46:26 +00:00
Riddle Hsu
7f2c08920f
Merge "Add latency metrics for recents gesture"
2020-10-05 14:13:16 +00:00
Tracy Zhou
d028937e74
[Live tile] Finish recents animation when the phone goes to sleep in live tile mode
...
Fixes: 169988381
Test: manual
Change-Id: Ic71d3e6767eadb6854dbd46581bf9d3242c161a4
2020-10-03 00:36:53 -07:00
Hongwei Wang
88ddae38db
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
2020-10-02 15:42:33 -07:00
TreeHugger Robot
b21819e181
Merge "Annotating Quick Switch CUJ for non-3-button modes" into ub-launcher3-master
2020-10-02 22:07:12 +00:00
vadimt
a762b02418
Annotating Quick Switch CUJ for non-3-button modes
...
Bug: 169221288
Change-Id: I7145a9e28a2f0a789d19d2a0e3d15630c6e50f6a
2020-10-02 14:08:37 -07:00
TreeHugger Robot
931bce3697
Merge "Moving some initializations to the background thread" into ub-launcher3-master
2020-10-02 19:19:50 +00:00
Sunny Goyal
733e3c609b
Moving some initializations to the background thread
...
HandlerThread.getLooper blocks until the thread is ready. Instead
moving all looper dependency to the new thread itself.
Change-Id: I240e8c56b855a991433a7fe93875059e6dab146b
2020-10-02 10:58:27 -07:00