Tony Wickham
ce9cbda1b7
Scroll recents side to side during swipe up from an app
...
- Swiping straight up and down works the same as before.
- We dispatch the MotionEvents to RecentsView so that it scrolls if you
swipe side to side as you swipe up.
- As RecentsView scrolls, we offset the window to match the position of
the first task
- If you scroll or fling towards the previous app, it will settle on it
and launch it.
Bug: 111699315
Change-Id: I1ff160cfc3ca66302a2506d18a4788015de75b94
2019-01-07 16:24:08 -06:00
Winson Chung
0a9261b3f3
Merge changes from topic "ub-context-compat" into ub-launcher3-master
...
* changes:
SyncRtTransactionApplier -> SyncRtTransactionApplierCompat
Track when plugins are disabled due to crashes.
Updating shared lib for context wrapper.
2019-01-05 00:20:23 +00:00
TreeHugger Robot
e754bad967
Merge "Revert "Add spring to shelf for home <-> overview <-> all apps state transitions."" into ub-launcher3-master
2019-01-05 00:13:53 +00:00
Jonathan Miranda
2bdac8f7e5
Revert "Add spring to shelf for home <-> overview <-> all apps state transitions."
...
This reverts commit e018711aac .
Reason for revert: investigating crash
Change-Id: I157b61a9f1bd46e2fcd3f2f883d3b5c23ca314af
2019-01-05 00:04:20 +00:00
TreeHugger Robot
2c3089d591
Merge "Fixing quick switch with task stabilization" into ub-launcher3-master
2019-01-04 23:05:05 +00:00
TreeHugger Robot
aacb815463
Merge "Fix bug in getVisualCenter where we do not offset by the dragRegion." into ub-launcher3-master
2019-01-04 22:57:37 +00:00
Sunny Goyal
3ae337e5fb
Fixing quick switch with task stabilization
...
> Using the scroll of the current page instead of page 0
> Starting switch from current page instead of page 0
> Disable task flip animation accordingly
Change-Id: I29b9c6dafca1e856e634f471aa2b1b667158a790
2019-01-04 14:49:52 -08:00
Jon Miranda
23c2a024fc
Fix bug in getVisualCenter where we do not offset by the dragRegion.
...
This bug made it hard to create folders in landscape mode because since the
visual center was off, placing the drag view directly in the center of the
cell caused the underlying item to move since the distance calculation placed
the drag view outside of the folder creation range.
Bug: 111939693
Change-Id: Id0bccb87a87ff1be188def61e697319381f725e1
2019-01-04 14:30:26 -08:00
Hyunyoung Song
eeb5c337fa
Merge "Refresh icon cache when icon shape path has changed Bug: 120505990" into ub-launcher3-master
2019-01-04 22:25:38 +00:00
Hyunyoung Song
ed9e01d443
Merge "Fix BubbleTextView visibility" into ub-launcher3-master
2019-01-04 22:12:56 +00:00
Jorim Jaggi
37a089d716
SyncRtTransactionApplier -> SyncRtTransactionApplierCompat
...
Bug: 118118435
Change-Id: I37bba45db79890f5d7ae6c1d1d63422a89230b35
2019-01-04 12:22:13 -08:00
Dave Mankoff
5b3bf3b814
Track when plugins are disabled due to crashes.
...
Bug: 120901833
Test: atest SystemUITests
Change-Id: I243d79290a5162371dd46abd0115f73deda62b3e
(cherry picked from commit 727813f87b )
2019-01-04 12:22:13 -08:00
Winson Chung
5045f44cb1
Updating shared lib for context wrapper.
...
Change-Id: Ie468a23c177028ad4d1b4b90f177a29e5e72d960
2019-01-04 12:22:11 -08:00
Hyunyoung Song
a23738540e
Fix BubbleTextView visibility
...
Change-Id: I176d7c8b77f6c2d929217c3f9b4dbc3e942e48fc
2019-01-04 12:01:32 -08:00
Hyunyoung Song
c55a350da8
Refresh icon cache when icon shape path has changed
...
Bug: 120505990
$ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect
$ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect
$ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop
$ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop
Change-Id: I06663b9727f7434aae737d39977f1e6cf09bffbf
2019-01-04 11:57:52 -08:00
TreeHugger Robot
224fe1170e
Merge "Keep the current page pointing to the running task when applying loadPlan" into ub-launcher3-master
2019-01-04 19:52:15 +00:00
Sunny Goyal
43798deadb
Keep the current page pointing to the running task when applying loadPlan
...
Change-Id: I178f4fb6b75eea9e8d47fa9700798a34117537a6
2019-01-04 11:38:40 -08:00
Jon Miranda
e018711aac
Add spring to shelf for home <-> overview <-> all apps state transitions.
...
Added new SpringObjectAnimator class that wraps an ObjectAnimator so the
Object can be controlled via the Animator or via a SpringAnimation. It extends
ValueAnimator so that it remains compatible with AnimatorPlaybackController.
Code is behind feature flag toggle QUICKSTEP_SPRINGS.
Bug: 111698021
Change-Id: I1b20179ede37e89a6a6bb2a45d407cc74c99ac4e
2019-01-04 11:12:53 -08:00
Sunny Goyal
1c8db791c8
Disable task stabilizer
...
Change-Id: Ia5075ce31118f2ad629ff1fca7ceacfbe369dc8d
2019-01-04 09:19:51 -08:00
Hyunyoung Song
e5f39898a9
Merge "Do not animate icon if work profile is disabled Bug: 119884907" into ub-launcher3-master
2019-01-04 01:58:03 +00:00
Hyunyoung Song
ef468d80d8
Do not animate icon if work profile is disabled
...
Bug: 119884907
Change-Id: I14977581dcb42b5fb2fe21f628a4d91945fdd614
2019-01-03 17:23:43 -08:00
TreeHugger Robot
c288c68f6e
Merge "System apps must target API 28 or higher" into ub-launcher3-master
2019-01-04 01:11:44 +00:00
TreeHugger Robot
e0c927a50b
Merge "Migrating some runnables to lambda operations" into ub-launcher3-master
2019-01-04 00:30:34 +00:00
TreeHugger Robot
5115de8415
Merge "Do not hold synchronization locks if tracing is not enabled" into ub-launcher3-master
2019-01-04 00:27:03 +00:00
TreeHugger Robot
4225924086
Merge "Keeping task list stable across multiple task switches" into ub-launcher3-master
2019-01-04 00:07:44 +00:00
Sunny Goyal
849d7e6c41
Keeping task list stable across multiple task switches
...
Change-Id: I3b334a8c8fb13ad54bc19e782cae016fe3c78ff6
2019-01-03 15:50:05 -08:00
TreeHugger Robot
9b0a75b742
Merge "Fix issues with recents with floating nav bar" into ub-launcher3-master
2019-01-03 23:39:44 +00:00
Sunny Goyal
2f979d2639
Fixing task cache was incorrectly set when partial list was requested
...
Change-Id: Ic3ef49930e38b6a66a2871baada122f81865644f
2019-01-03 15:15:58 -08:00
Tony
afd8392b21
Fix issues with recents with floating nav bar
...
- Set padding based on insets (same as noraml nav) rather than
available height (more than normal nav)
- Fill whole screen for quick switch
Bug: 111699315
Change-Id: Ia1392cc0b1ed3600635dbce76d8b945f0337d7cf
2019-01-03 17:15:12 -06:00
Hyunyoung Song
ddcecfa634
System apps must target API 28 or higher
...
Bug: 120997004
Change-Id: I998a443a4327c47cbab8e4bc4843be1693f05d8d
2019-01-03 12:57:33 -08:00
Sunny Goyal
161a214ede
Adding support for backing up favorites table
...
Favorites table is copied as a separate table name during the first grid migration.
On subsequent migrations this backup table is used if it exists, otherwise new
backup is created. The backup table is also removed if there is any insert or
delete operation on the db (outside of the migration operation itself).
Bug: 111850268
Bug: 121048571
Change-Id: I6f02f4a355c369ee99d89430971be258f7516f6e
2019-01-03 10:25:44 -08:00
TreeHugger Robot
efb8b83666
Merge "Fixing use of new API available only on API 24" into ub-launcher3-master
2019-01-02 21:44:26 +00:00
Tony Wickham
47a343e27f
Merge "Scale corner radius when swiping down on a task" into ub-launcher3-master
2019-01-02 21:28:15 +00:00
Sunny Goyal
6d55f66e13
Fixing use of new API available only on API 24
...
Change-Id: Iaf29d46925c45eeda485f882c1f59841fc3cfcea
2019-01-02 12:14:03 -08:00
TreeHugger Robot
8e9342f40b
Merge "Set colorPrimaryDark to the value assigned in P release" into ub-launcher3-master
2019-01-02 19:36:27 +00:00
Hyunyoung Song
211b2fe3b0
Set colorPrimaryDark to the value assigned in P release
...
previous value: google_grey_200
Bug: 117532945
Change-Id: Ia1d0a36920e6eff2d7022521123983c947804b91
2019-01-02 11:24:05 -08:00
Chilun Huang
aa8ed1f37d
Merge "Remove unused string" into ub-launcher3-master
2019-01-02 05:18:56 +00:00
Tony
c2a137630a
Scale corner radius when swiping down on a task
...
Now the corner radius matches the window when the task fills the screen.
Change-Id: Ic149f39053ac1e4cfa1304d4dfd3ed0688b92410
2018-12-27 20:25:01 -08:00
Sunny Goyal
9dbdd72498
Migrating some runnables to lambda operations
...
Change-Id: Ied7b6ca14594c72bc671127baf4f84fdcdb35b93
2018-12-27 13:29:34 -08:00
Sunny Goyal
b2061daa56
Remove widgets which have invalid size in DB
...
Bug: 120638555
Change-Id: I23746af44e4390da7b09869e181919e7eac26e58
2018-12-27 12:57:05 -08:00
TreeHugger Robot
bf588b0a8c
Merge "Removing dummy activity added for preview development" into ub-launcher3-master
2018-12-27 18:54:38 +00:00
Bill Yi
6d622b7c96
Import translations. DO NOT MERGE
...
Change-Id: I6213e19ec4099e89ab27cc0d114e301d2785f9fd
Auto-generated-cl: translation import
2018-12-27 09:55:53 -08:00
Sunny Goyal
89cbeb14b1
Do not hold synchronization locks if tracing is not enabled
...
Change-Id: Ia17e2269d088da472dce2e248fc9f85877be5d77
2018-12-27 09:49:18 -08:00
Sunny Goyal
3219c4f3c8
Removing dummy activity added for preview development
...
Bug: 121414492
Change-Id: I8ae4643f871af259dab04a5b37acfb49d59d6261
2018-12-27 08:16:10 -08:00
TreeHugger Robot
3446fb65c4
Merge "Cleanup strings for iconoverride" into ub-launcher3-master
2018-12-27 06:30:39 +00:00
Hyunyoung Song
339a311d99
Cleanup strings for iconoverride
...
Bug: 120736782
Change-Id: I9745fe999cec3c4e1f442decb482ed916d0b871a
2018-12-26 20:59:57 -08:00
Chilun
3cd5c8bd2f
Remove unused string
...
String "app_name" is not used anywhere, remove it.
Bug: 121362965
Test: Manual
Change-Id: Ib534ee4da78a7be33cec99f70a8593e9cb5a854c
2018-12-24 04:02:12 +00:00
Tony Wickham
79e70c3a82
Merge changes Ia9df40ae,Ieeaa5b66 into ub-launcher3-master
...
* changes:
Move params for ClipAnimationHelper#applyTransform into TransformParams
TaskView has fullscreen progress instead of boolean
2018-12-22 00:15:09 +00:00
Tony Wickham
f5c3cddd05
Merge "When undoing a removal, always return to the page it came from" into ub-launcher3-master
2018-12-22 00:14:42 +00:00
Tony Wickham
c87388c00d
Move params for ClipAnimationHelper#applyTransform into TransformParams
...
This will help keep the code clean when we add more params, e.g. for
live tiles and for the scrolling gesture.
Bug: 111699315
Change-Id: Ia9df40ae85fe29911b957bd9b06b8c8a31f3be39
2018-12-22 00:04:29 +00:00