Tracy Zhou
005976f46c
Merge "Count app launch correctly." into pi-dev am: 8b49b9f736
...
am: b86987fc05
Change-Id: I0f5226e1338395368da54d8b36bc48ea8701caf8
2018-05-16 19:38:57 -07:00
Tracy Zhou
60cd1d96a9
Count app launch correctly.
...
Previously we mis-count each different activity, regardless of the app
it belongs, as one app launch. We should instead count each different
app open, either created, or brought front as a different app launch,
but different tasks created from the same app is considered one launch.
Fixes: 79885137
Test: Manual test
Change-Id: I5b4b8bee9b0ed4aa23a4ea9eefdfa112b6442455
2018-05-16 17:25:04 -07:00
Jorim Jaggi
aa7505dfc5
Follow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b
...
Test: Open notification
Bug: 78611607
Change-Id: I608d4b619d5e236c1c874c8c7613f35574d45fd4
2018-05-16 21:40:09 +00:00
Sunny Goyal
b2fbf8f26c
Merge "Adding utility method to dump encoded view hierarchy" into pi-dev am: ce42933ae3
...
am: 7e7ad73005
Change-Id: If9041ce31a967fdc2c502027699a17385f8d05a5
2018-05-16 13:29:03 -07:00
Sunny Goyal
40f658625d
Adding utility method to dump encoded view hierarchy
...
Test: Verified the library change with launcher (after generating a bug report)
Bug: 79861035
Change-Id: Id1eabbfd293ee43c46cbecae82442fc77b661744
2018-05-16 10:14:19 -07:00
Jorim Jaggi
7a5addd2b7
Apply surface parameters in sync with RenderThread
...
Otherwise it could lead to parameters applied in the wrong frame,
leading to jank.
Test: Open notification
Bug: 78611607
Change-Id: Ia7900e753b29187a7a7b81f393666687e8b8e04b
2018-05-15 17:31:33 -07:00
Hyunyoung Song
051e8dd386
Merge "Add user event logging for recents onboarding > Actual logging will happen in launcher side" into pi-dev am: 9a59a1abf6
...
am: da57173960
Change-Id: I57cecae83bc92e22e7373069479900f0645f8d21
2018-05-14 12:54:54 -07:00
Hyunyoung Song
b96238a120
Add user event logging for recents onboarding
...
> Actual logging will happen in launcher side
Bug: 73784423
Test: Builds
Change-Id: I99ae31a74c2e5921915dc3bbf6d08669b5c98584
2018-05-11 17:02:41 -07:00
Winson Chung
10348578c8
Merge changes from topic "sysui_flags_drop" into pi-dev am: 53ae6a82cd
...
am: 59ff523949
Change-Id: I8d6fa49ba23b78648cf43fafe7c290f2e0c4b59f
2018-05-11 16:48:13 -07:00
Winson Chung
53ae6a82cd
Merge changes from topic "sysui_flags_drop" into pi-dev
...
* changes:
Clean up Recents animation api
Expose the system ui visibility flags and translucent state with snapshot
2018-05-11 22:18:37 +00:00
Winson Chung
95d769e4c5
Merge "Expose rotation button as hit target for deferring recents animation." into pi-dev am: 800a8a8e61
...
am: 39ce66898a
Change-Id: I552781076a7729a7e1f557771947cfb08b9fa9e9
2018-05-10 16:29:48 -07:00
Winson Chung
8079af7742
Expose rotation button as hit target for deferring recents animation.
...
Bug: 78906750
Test: Hit rotation button with Camera open, no flash
Change-Id: Id5abc2d255d35debcade0ccbc55f20aedcf89e35
2018-05-10 11:12:55 -07:00
Winson Chung
6802e2a553
Clean up Recents animation api
...
Bug: 73714156
Test: Ensure you can still swipe up
Change-Id: Ie70ed0edb05f54d17d3989895b86e07851c44c06
2018-05-08 17:56:05 -07:00
Winson Chung
173020c2ef
Expose the system ui visibility flags and translucent state with snapshot
...
- Allow SystemUI/Launcher to determine whether the snapshot is of a
translucent activity (to reduce overdraw by skipping drawing task
background) and also the sysui visibility flags are (to determine how
to update the nav bar while animating before the app is started.
- Fixing issue where the recents animation was reporting task fillsparent
state instead of the app's fillsparent state (as we do in normal remote
animations)
Bug: 79228291
Bug: 77984778
Bug: 78659249
Test: atest FrameworksServicesTests:TaskSnapshotPersisterLoaderTest
Change-Id: I19bdf7f780e7d94014d6a115bf84fa614b1dffa0
2018-05-08 17:56:05 -07:00
android-build-team Robot
b2887c3fec
Merge "Adding a utility class for listening disable rotation changes" into pi-dev am: 2040fbd40f
...
am: 9130bab925
Change-Id: If1ccefba131db6e257fe77d087f13c452e5f6b8b
2018-05-08 12:26:53 -07:00
Sunny Goyal
a4c4c687c9
Adding a utility class for listening disable rotation changes
...
Bug: 79376298
Test: Verified the library with Launcher
Change-Id: I2682f97f323438db0d19a2eba1a8328b7af5e3f0
2018-05-08 17:26:27 +00:00
android-build-team Robot
0d2ec5a2b6
Merge "Adding a wrapper around Tonal API" into pi-dev am: 790d1a0efa
...
am: 122150603c
Change-Id: I19460f95a651e3f38686949c4c52621ae4293c6c
2018-05-03 20:29:00 -07:00
Sunny Goyal
c1723fb248
Adding a wrapper around Tonal API
...
Bug: 79111591
Test: Verified API on launcher build
Change-Id: I84e0e8b9d5cfb8c915dcc1123d150df4ecb3a9b1
2018-05-04 01:34:15 +00:00
Hyunyoung Song
bb6d6d3f25
Merge "Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep Test: is done on ub-launcher3-edmonton branch that uses this library function Bug: 77920179" into pi-dev am: d7f98ac19e
...
am: 5486d76bd5
Change-Id: I206ca34c61390745988a7284e117bf7ba8c404d0
2018-05-02 14:01:02 -07:00
Hyunyoung Song
6fa96718e0
Log OVERVIEW_ACTIVITY via MetricsLogger in quickstep
...
Test: is done on ub-launcher3-edmonton branch that uses this library function
Bug: 77920179
Change-Id: I3b96adc176acf81008fe78e646c4f960fa926bb8
2018-05-01 17:21:26 -07:00
android-build-team Robot
16e4b92ce5
Merge "Secondary split screen app will be next to the navigation bar (1/2)" into pi-dev am: 9f88bbc064
...
am: bd28b0ad7d
Change-Id: Ifb3aa5f765f47f6a7cdc76ac686d7133ed58d536
2018-04-30 18:08:05 -07:00
Matthew Ng
62c7846bf8
Secondary split screen app will be next to the navigation bar (1/2)
...
Refactored docked position code into PhoneWindowManager to determine
which side the docked app should go based on the position of the nav bar
in landscape (as portrait will only have top). Fixed the split screen
entrance animation for quick step's overview.
Change-Id: I30f1be9d791c23f4cd197f17487609964f78fac0
Fixes: 73250406
Test: play around with splitscreen and minimized mode
Test: atest com.android.server.policy.PhoneWindowManagerTest
2018-04-30 16:25:15 -07:00
Hyunyoung Song
398a91a1cb
Merge "Expose MetricLogger to support AOSP logging in Launcher Bug: 77920179 Test: builds. This is also only a library that is yet used anywhere" into pi-dev am: a8cf4df4ce
...
am: af3a2d3452
Change-Id: Ibeab19014b39194d0573184e8d80853c56539529
2018-04-27 15:15:34 -07:00
Hyunyoung Song
a8cf4df4ce
Merge "Expose MetricLogger to support AOSP logging in Launcher Bug: 77920179 Test: builds. This is also only a library that is yet used anywhere" into pi-dev
2018-04-27 21:48:39 +00:00
Hyunyoung Song
edb37cb405
Expose MetricLogger to support AOSP logging in Launcher
...
Bug: 77920179
Test: builds. This is also only a library that is yet used anywhere
Change-Id: Ia4aec76eb31236081b16d6ec59db1d11ce7fde7b
2018-04-27 13:01:12 -07:00
Matthew Ng
44c5f2ae73
Merge "Shared touch and drag slops for quick step changes with density (1/3)" into pi-dev am: 87d71db19a
...
am: d458c1c9c3
Change-Id: Ie88230114283410ab08ea15d868410ab14789409
2018-04-26 17:51:06 -07:00
Matthew Ng
f29ad756f6
Shared touch and drag slops for quick step changes with density (1/3)
...
All shared touch and drag slops are not static anymore but are computed
for the current system density if the user were to switch density of
device.
Test: change density and use quick scrub
Fixes: 78244075
Change-Id: If593568404c00bc1fbccd8a31379bb5fd03beefd
2018-04-26 12:17:19 -07:00
Winson Chung
7f12b45892
Merge "Expose API to hide the IME during a recents animation" into pi-dev am: 6fab40d82c
...
am: bd41ceda0b
Change-Id: Ieb8eaa08dc2477ca75b7ba58a8e3e715463462e5
2018-04-23 17:35:00 -07:00
Winson Chung
a840c328e7
Expose API to hide the IME during a recents animation
...
Bug: 73285089
Test: Swipe up from app with IME open, ensure that it closes
Change-Id: I95ce59291f11285c853e8b3029638119c21f7e38
2018-04-23 16:20:27 -07:00
Winson Chung
131ac05712
Merge "Add windowing mode to task snapshot." into pi-dev am: 167710981c
...
am: ec1e188e67
Change-Id: If2193c37570deb762d7ae74fcbda4c3d9fd61729
2018-04-23 15:46:34 -07:00
Winson Chung
167710981c
Merge "Add windowing mode to task snapshot." into pi-dev
2018-04-23 22:16:01 +00:00
Sunny Goyal
a1668764b5
Merge "Exposing setRecentsVisibility method and associated callbacks to the Recents components" into pi-dev am: 9d5eb3453f
...
am: 97abef6da0
Change-Id: Ib42036805eebbc2f6981a931e4ae7eebb4bb5711
2018-04-23 12:58:35 -07:00
Winson Chung
a4fa8d5bd4
Add windowing mode to task snapshot.
...
Bug: 78155683
Test: atest FrameworksServicesTests:TaskSnapshotPersisterLoaderTest
Change-Id: I4e562d818416a30d6759baef37c74b6d9c514a00
2018-04-23 12:25:38 -07:00
Sunny Goyal
37cc29ac4d
Exposing setRecentsVisibility method and associated callbacks to the Recents components
...
Bug: 78125098
Test: Verified with Launcher as the recents component
Change-Id: Ic369d336f9caa3c8bdc565ff6931c78c9914e23e
2018-04-23 16:33:16 +00:00
Jorim Jaggi
99ae19d125
Merge "Remove prolonged animations" into pi-dev am: 5bdf9530a0
...
am: 92cb00c2e4
Change-Id: Ibab85ea0385f09ac332553e51b13c4638c6d6d98
2018-04-23 06:44:11 -07:00
Jorim Jaggi
5bdf9530a0
Merge "Remove prolonged animations" into pi-dev
2018-04-23 12:17:37 +00:00
Matthew Ng
437fc39327
Merge "Add a function to get the secondary split screen bounds" into pi-dev am: 427e41bd07
...
am: 652de4ec42
Change-Id: I1d7affda3f0715566e27be180ed52cc7d0a9241b
2018-04-20 18:48:30 -07:00
Matthew Ng
c603a5012f
Add a function to get the secondary split screen bounds
...
Access through the overview proxy to get the bounds of the secondary
split screen app when split screen is enabled.
Test: manual
Fixes: 77678123
Change-Id: Iabbcf30dc7194ac6fff9b4d7cad8a9fe5ee48a2b
2018-04-20 12:00:57 -07:00
Jorim Jaggi
66b48dfb9e
Remove prolonged animations
...
Didn't work anymore since the animation refactoring. Doesn't look
like we still need it, and only causing issues with stuck
animations.
Test: go/wm-smoke
Test: Dock task from recents
Change-Id: Ibb3543d15f42fc7689c3ad705aee693eba93e8b7
Fixes: 77993227
2018-04-20 16:50:25 +02:00
Tracy Zhou
373ce58c08
Merge "Implement swipe up and quick scrub onboarding" into pi-dev am: 08a2028228
...
am: 3c61313c88
Change-Id: Iaf863bc205557e9883dbb85238ca0e1ccdcb56ec
2018-04-18 18:50:53 -07:00
Sunny Goyal
a262fed8e2
Merge "Reducing the touch slop for quickstep" into pi-dev am: 0a16178660
...
am: a596129a80
Change-Id: Ia5d566ad66e0b88b7144df1724624a3ed3b6842a
2018-04-18 18:24:16 -07:00
TreeHugger Robot
08a2028228
Merge "Implement swipe up and quick scrub onboarding" into pi-dev
2018-04-19 01:16:20 +00:00
Tracy Zhou
27599053d5
Implement swipe up and quick scrub onboarding
...
Bug: 70180942
Test: manual test
Change-Id: I5c487d1e4ab800450c6b5a8f7ad1bf7434e45904
2018-04-18 17:08:27 -07:00
Sunny Goyal
c5ac711385
Reducing the touch slop for quickstep
...
Also fxing some wrong thresholds being used for slop comparisions
Test: Verified on device
Bug: 78232923
Change-Id: I0b10a921002f2e45d0d2472a3e690d1526f4aecb
2018-04-18 16:41:02 -07:00
Mehdi Alizadeh
05652972bd
Merge "Adds SettingsCompat to mirror settings names used in Launcher" into pi-dev am: eb914118f4
...
am: 3118c5768a
Change-Id: Ic07fbe1dad857591e7443906578e1194dd5a618b
2018-04-12 22:05:15 -07:00
Mehdi Alizadeh
eb914118f4
Merge "Adds SettingsCompat to mirror settings names used in Launcher" into pi-dev
2018-04-13 04:33:23 +00:00
Sunny Goyal
263d637160
Merge "Exposing activity type in targets so that we can handle home activity differently" into pi-dev am: 6dfad28bed
...
am: d4445cadbd
Change-Id: I7f41f3d8fc8cb35ecda756b0fd21034e3e499493
2018-04-12 20:00:11 -07:00
TreeHugger Robot
6dfad28bed
Merge "Exposing activity type in targets so that we can handle home activity differently" into pi-dev
2018-04-13 02:32:38 +00:00
Mehdi Alizadeh
501ff41a52
Adds SettingsCompat to mirror settings names used in Launcher
...
Bug: 77732469
Test: verify it builds
Change-Id: I2d0dee714a7d5eb59f189302d97414f3117a624b
2018-04-12 19:05:38 -07:00
Sunny Goyal
c5b69b8b91
Exposing activity type in targets so that we can handle home activity differently
...
Test: Verified library with launcher
Bug: 77830202
Change-Id: I072013725190aced116093808029973b278ed263
2018-04-12 18:10:40 -07:00