Commit Graph

16300 Commits

Author SHA1 Message Date
Hyunyoung Song cbebaa19f9 Add user event logging for clear all button (follow up CL)
Bug: 72222505

Change-Id: I95e3bb8dbf55e9ae4ca8de4040eb89ddfb161368
2018-04-27 16:39:23 -07:00
Sunny Goyal 5fdd300e8a Fixing task open animation in split screen mode
Removing duplicate logic for task bounds calculation and using
ClipAnimationHelper everywhere

Bug: 78126501
Change-Id: I5ed8b2f9162f0bd6144a849f5b677963776d325c
2018-04-27 16:36:19 -07:00
android-build-team Robot 50483ea4e6 Merge "Add user event logging for clear all button Bug: 72222505" into ub-launcher3-edmonton 2018-04-27 23:33:13 +00:00
Mehdi Alizadeh 7ad04f35f8 Merge "Refactor initializing LauncherAccessibilityDelegate" into ub-launcher3-edmonton 2018-04-27 23:14:01 +00:00
Hyunyoung Song 63311a2ddc Add user event logging for clear all button
Bug: 72222505

----------------------------------------------
Verified

UserEvent: action:TAP
UserEvent:  Source child:CLEAR_ALL_BUTTON
UserEvent:  Elapsed container 8142 ms, session 11322 ms, action 0 ms
----------------------------------------------
Change-Id: I3ace51c30129728017c5eb198c52ab1bfd94c0ac
2018-04-27 15:54:15 -07:00
Mehdi Alizadeh 8588fd0ea2 Refactor initializing LauncherAccessibilityDelegate
Bug: 77638406
Test: None
Change-Id: Ibf9f4fcabe42400abc91aa4b94417a8ff0449248
2018-04-27 15:38:52 -07:00
android-build-team Robot 15260fdd00 Merge "Enable Clear-all button by default" into ub-launcher3-edmonton 2018-04-27 20:44:02 +00:00
Vadim Tryshev cc0c98ad94 Enable Clear-all button by default
Making it work with all 4 combinations of RTL and flip-recents.

Bug: 72222505
Test: Manual
Change-Id: Ifb2428e006674abfe9a2609fd3d8f3f648eff0b8
2018-04-27 13:32:28 -07:00
android-build-team Robot c2c907edec Merge "Preventing new object creation during animation frame" into ub-launcher3-edmonton 2018-04-27 19:15:32 +00:00
Sunny Goyal 70abd3f91c Preventing new object creation during animation frame
Bug: 74556464
Change-Id: I85c106839c11f9588d5f4a6f1ffa35cafb754624
2018-04-27 12:04:29 -07:00
android-build-team Robot e14a462e9f Merge "Using the split screen secondory bounds returned by SystemUIProxy" into ub-launcher3-edmonton 2018-04-27 17:05:11 +00:00
Sunny Goyal a18918a0ed Using the split screen secondory bounds returned by SystemUIProxy
Bug: 77281732
Change-Id: I0ae75528ec2fae006a11833b06383369ba593365
2018-04-27 16:48:51 +00:00
TreeHugger Robot 553f13a13e Merge "Shared touch and drag slops for quick step changes with density (2/3)" into ub-launcher3-edmonton 2018-04-26 21:07:47 +00:00
Matthew Ng 4df80700c4 Shared touch and drag slops for quick step changes with density (2/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: Idc35e78bdd9c6d9b31a1ccbdd9cd0e7fec87185f
2018-04-26 13:57:11 -07:00
Winson Chung 473730fcf9 Call Activity.onTrimMemory() to ensure render thread cache is also trimmed
Bug: 76162466
Change-Id: Ie3cf9076ba8149c0f2d7e58b5ca0c974ae914c18
2018-04-26 12:07:39 -07:00
TreeHugger Robot 1d2c3fb9be Merge "Fix issue with z order layering" into ub-launcher3-edmonton 2018-04-26 18:18:57 +00:00
Winson Chung 90749604f4 Fix issue with z order layering
- Move first frame remote animation logic into the same method to ensure
  we consistently update the layers and state for every animation

Bug: 78249267
Change-Id: Id0378cfe3e1be56128c2a1cd607929225927e3b4
2018-04-26 10:58:01 -07:00
Sunny Goyal 23f83a8b7b Revert "Revert "Fixing recents transition not getting completed when using QuickScrub""
This reverts commit dea746cb4c.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I695dbd069eeea266c74e15cb76c7fbcdf553ac84
2018-04-26 17:56:17 +00:00
TreeHugger Robot b38170a7a5 Merge "Avoid crash when widget previews have no intrinsic size" into ub-launcher3-edmonton 2018-04-26 17:55:00 +00:00
Roger Olsson 4ac406db22 Avoid crash when widget previews have no intrinsic size
Intrinsic size for widget preview drawable checked.
Needed since some drawables, like color drawables,
do not have any intrinsic size.

Bug: 78452220
Test: manual, see Bug info.
Change-Id: I815353773e38b1fce2fe19962f07c1727e1b0768
2018-04-26 10:44:09 -07:00
Sunny Goyal 6a9bc7dfa7 Revert "Revert "Long swipe from an app goes all the way to all-apps""
This reverts commit 1b6e81ed14.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I3d97f70a04a7d75d959b24f79198f6c9f7014b10
2018-04-26 17:29:36 +00:00
Sunny Goyal 1b6e81ed14 Revert "Long swipe from an app goes all the way to all-apps"
This reverts commit f39e602a00.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I4d812a200f78447d9c9a1c4c2fcc9dca0b0c2ca9
2018-04-26 16:32:34 +00:00
Sunny Goyal dea746cb4c Revert "Fixing recents transition not getting completed when using QuickScrub"
This reverts commit 22c72167ae.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Iecb5d145af299c6ee2a6383d5bf8c912f546a8e9
2018-04-26 16:21:38 +00:00
Sunny Goyal 22c72167ae Fixing recents transition not getting completed when using QuickScrub
Bug: 78615441
Change-Id: I30a876abb1f4129c7dc022762154f4cc21e677f1
2018-04-26 08:19:40 -07:00
Jorim Jaggi 118295e07c Fix some jank with transitions
- Animations in WorkspacePageIndicator while the app transition
was running was causing layer trashing, potentially leading to
jank.
- Make sure to use a layer in the wallpaper open animation.

Test: Open app while indicators are about to fade out.
Bug: 75985430
Change-Id: Iad6a511d98dff81b5cde727f4472f0f039ffc4be
2018-04-26 14:47:44 +02:00
Tony Wickham dcad5534a0 Merge "Animate icon scale when hitting recents button" into ub-launcher3-edmonton 2018-04-26 01:27:47 +00:00
Tony Wickham 0ca2b2b75a Animate icon scale when hitting recents button
Change-Id: I8d34ef6c44ee8264f50489173e204a19c83cb3e1
2018-04-25 17:45:02 -07:00
Tony Wickham 7a0e965c4f Merge "Don't animate hotseat when launching if swipe up disabled" into ub-launcher3-edmonton 2018-04-26 00:44:45 +00:00
Tony Wickham 4923c0557f Don't animate hotseat when launching if swipe up disabled
Bug: 78248316
Change-Id: Iaee33a81db5b46fc73d6e08ec1b109a1da842106
2018-04-25 17:12:18 -07:00
Mehdi Alizadeh 87249707a5 Merge "Prepares SecondaryDropTarget to inherit from" into ub-launcher3-edmonton 2018-04-25 23:56:14 +00:00
Sunny Goyal f39e602a00 Long swipe from an app goes all the way to all-apps
Bug: 76449024
Change-Id: Ie6a0c5b7fd6d497ea8ac5f0a861a84c2290f84b1
2018-04-25 15:44:13 -07:00
Mehdi Alizadeh 8517b69b9e Prepares SecondaryDropTarget to inherit from
Bug: 77638406
Test: None
Change-Id: I8a1b1e2ef4cb9b090da33b3b56de177c9ddc6171
2018-04-25 14:49:12 -07:00
Sunny Goyal dcb74be7a6 Only rotate screenshots taken in full-screen mode
Bug: 78155683
Change-Id: I8a730c1fbd85c4cb8548049231daccc48c1a3627
2018-04-25 14:46:21 -07:00
Winson Chung 80602a94ec Add some logs when failing to launch a task from recents.
Bug: 78514113
Change-Id: I5fb6996cb566c93ebe72258e4f7f5423d4b55bc1
2018-04-25 21:03:52 +00:00
TreeHugger Robot 69ac60381c Merge "Improving highlight for Clear-all button." into ub-launcher3-edmonton 2018-04-25 20:37:37 +00:00
Vadim Tryshev 77cb385d47 Improving highlight for Clear-all button.
Better shape + now has hover state.

Bug: 72222505
Test: Manual
Change-Id: I24ba55c760b15d71406a35ea5f7bf54f505741d6
2018-04-25 13:20:37 -07:00
TreeHugger Robot 730ee62e41 Merge "Call close for AbstractFloatingViews that were removed while still open." into ub-launcher3-edmonton 2018-04-25 18:42:23 +00:00
Jon Miranda 83337f9e8e Call close for AbstractFloatingViews that were removed while still open.
I'm not sure how/when this case occurs (perhaps during some transition/state
change), but manually removing the floating view matches the symptoms in the
bug.

Bug: 72996404
Change-Id: I1e7c1a338fcd16c8e07b3c49fb9c9b2097eb2708
2018-04-25 11:25:40 -07:00
Tony Wickham c1af02f931 Merge "Remove preference to flip recents" into ub-launcher3-edmonton 2018-04-25 17:21:17 +00:00
Jorim Jaggi 170b1929c0 Merge "Post at front of queue for app launch and recents launch" into ub-launcher3-edmonton 2018-04-25 14:16:28 +00:00
TreeHugger Robot ad007ba9f1 Merge "Fix bug where workspace taps were not being sent to WallpaperManager." into ub-launcher3-edmonton 2018-04-24 22:41:33 +00:00
TreeHugger Robot 38cbf7e97a Merge "Fixing some swipe animations for multi-window" into ub-launcher3-edmonton 2018-04-24 22:32:52 +00:00
Jon Miranda d2d39cbfc7 Fix bug where workspace taps were not being sent to WallpaperManager.
Bug: 77218814
Change-Id: Ied464f08dce6f96fd3c56aa790f60a2561edcc84
2018-04-24 15:24:21 -07:00
TreeHugger Robot eba61c6490 Merge "Adding all-tasks dismiss animation" into ub-launcher3-edmonton 2018-04-24 21:56:35 +00:00
Sunny Goyal 8c36e3c747 Fixing some swipe animations for multi-window
> Calling minimized mode change on background thread (without depending on the launcher)
> Fixing swipe down from task view, causing a jump in multi-window

Change-Id: I16fd83dade2efb4a5285d6c4298fd7fec9e6748e
2018-04-24 14:50:11 -07:00
Winson Chung 2d18c688d4 Merge "Send trim memory to trim icon cache when stopped" into ub-launcher3-edmonton 2018-04-24 21:32:22 +00:00
Vadim Tryshev e5a265b9db Adding all-tasks dismiss animation
Bug: 72222505
Test: Manual
Change-Id: Ib5ecf13682cb34cde9c3bc315538c14a6b39e6c3
2018-04-24 14:31:51 -07:00
Winson Chung dea51350d6 Send trim memory to trim icon cache when stopped
- Workaround for b/78520668

Bug: 76162466

Change-Id: I2c225c59484984a671186415cb1eb19161f57ba6
2018-04-24 14:07:49 -07:00
Sunny Goyal 8546213d01 Passing stateHandler information to the callback
Bug: 78478167
Bug: 78478567
Change-Id: Ie3334c4473037c31d87bda950239c628e219dc46
2018-04-24 11:40:38 -07:00
TreeHugger Robot 406c08727e Merge "Ensure workspace is still in a valid state when handling long press." into ub-launcher3-edmonton 2018-04-24 16:10:42 +00:00