Commit Graph
15313 Commits
Author SHA1 Message Date
Tony Wickham fa2c33f9a3 Stop setting original icon visible when dragging app with shortcuts.
am: c714c0148b

Change-Id: If5c0e4adbcd388f56e2bbb1994b1d72001a6a6d2
2016-07-28 18:52:04 +00:00
Tony Wickham c714c0148b Stop setting original icon visible when dragging app with shortcuts.
- This was leaving a "ghost" icon behind, which looked really weird.
- We still need to make it visible for All Apps, or else you can get
  in a state where the icon is gone from all apps indefinitely.

Bug: 30465972
Change-Id: I79eacf2dfdb0cd267732ae63ef69a9bb193933a5
2016-07-28 11:35:55 -07:00
Tony Wickham e3b04f006c Merge \"Check package name and user handle in onShortcutsChanged().\" into ub-launcher3-calgary
am: 64035e9ee6

Change-Id: Id435b3b7970c056efa39dc62a5288dc07319269c
2016-07-28 17:26:59 +00:00
Tony Wickham 6ed8c29d7b Check package name and user handle in onShortcutsChanged().
am: 672d07f3f0

Change-Id: I35ac8a10cc08ab9907078d1e9d58807112e54d21
2016-07-28 17:26:58 +00:00
Tony Wickham 64035e9ee6 Merge "Check package name and user handle in onShortcutsChanged()." into ub-launcher3-calgary 2016-07-28 17:18:07 +00:00
Tony Wickham 672d07f3f0 Check package name and user handle in onShortcutsChanged().
Otherwise shortcuts with the same id would be updated,
even if they were in different packages.

Bug: 28980830

Change-Id: Ideefe3aaac83af38c03a38d821bac192ae55fe67
2016-07-28 17:17:51 +00:00
Sunny Goyal b5b9ad68b7 Fading in the first screen, when launcher loads for the first time
Bug: 29007436
Bug: 27705838
Change-Id: I95891d0bad19a67985b689bb96d6068dcd85004a
2016-07-28 10:13:30 -07:00
Sunny Goyal 1fc3d4d901 Launcher shortcuts animations update.
am: a2454ad2d8

Change-Id: I674a7dd4a037ca7a7ee2e51493c096344edaf5ce
2016-07-28 00:46:03 +00:00
Tony Wickham 0fe0fa8e70 Merge \"Cleanup deferred drag when closing deep shortcuts container.\" into ub-launcher3-calgary
am: 71538da6e2

Change-Id: I683a03e3c72dd3d541ec7d6ee5c14105815cba91
2016-07-28 00:46:03 +00:00
Tony Wickham 4c17d3ffec Cleanup deferred drag when closing deep shortcuts container.
am: b9da46275b

Change-Id: I4f8c11fe12f4daf1c9fb446a936413b769b5de8e
2016-07-28 00:46:02 +00:00
Adam Cohen 75b3394ba4 Merge \"Fade QSB with the workspace as the overlay enters\" into ub-launcher3-calgary
am: e117f53f36

Change-Id: Iadb3f61dd99e67504f0a54a7210cc4010fb9d159
2016-07-28 00:46:02 +00:00
Adam Cohen 5087202399 Fade QSB with the workspace as the overlay enters
am: 2a82afd6f6

Change-Id: Idd9d9f0e4aeec394281d1044b4313cbd52acb6c1
2016-07-28 00:46:02 +00:00
Hyunyoung Song f0c9dea7ba Merge \"Remove two redundant layout pass in AllAppsTransitionController.\" into ub-launcher3-calgary
am: d7380e210e

Change-Id: I51d95bf4f4844e3aa85cd49edbc004828aa6465d
2016-07-28 00:46:01 +00:00
Hyunyoung Song b723ddad4c Remove two redundant layout pass in AllAppsTransitionController.
am: dd60ce41b3

Change-Id: Id43927d38cf9e93b88387e97664ad02770c68460
2016-07-28 00:46:01 +00:00
Sunny Goyal a2454ad2d8 Launcher shortcuts animations update.
> The shortcut container closes with an animation
> When opening/closing the animation only the icon scales
and not the title and drag handle
> When dragging the icon, it starts from the original icon position and
moves under the user finger. The container grows to follow the drag view.

Bug: 28980830
Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664
2016-07-27 17:37:23 -07:00
Tony Wickham 71538da6e2 Merge "Cleanup deferred drag when closing deep shortcuts container." into ub-launcher3-calgary 2016-07-28 00:29:45 +00:00
Sunny Goyal e117f53f36 Merge "Fade QSB with the workspace as the overlay enters" into ub-launcher3-calgary 2016-07-28 00:23:04 +00:00
Tony Wickham 8141d63ed1 Prevent opening shortcuts container if one is already open.
Bug: 30245433
Change-Id: Id50f9e4b9ff40e1d1124caee537a07a594d6a790
2016-07-27 17:10:01 -07:00
Hyunyoung Song d7380e210e Merge "Remove two redundant layout pass in AllAppsTransitionController." into ub-launcher3-calgary 2016-07-28 00:09:12 +00:00
Hyunyoung Song dd60ce41b3 Remove two redundant layout pass in AllAppsTransitionController.
Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad
2016-07-27 17:08:38 -07:00
Adam Cohen 2a82afd6f6 Fade QSB with the workspace as the overlay enters
Change-Id: Iadab9d9f051a85f6772a5d54d38534fcf1b029d7
2016-07-27 17:00:20 -07:00
Tony Wickham b9da46275b Cleanup deferred drag when closing deep shortcuts container.
This fixes those states where a drag view dangles on the screen
forever until launcher restarts. For instance, long press
Settings and press home before letting go.

Bug: 30291280

Change-Id: Ib8c403a02a17f35ba170c21f78f41bdc3b48d096
2016-07-27 23:44:53 +00:00
Winson 5fabaf7bac Clearing search query after clearing input text.
am: a81f580fb7

Change-Id: I422ca04433352efdd3ee19308885385598d628db
2016-07-27 21:36:07 +00:00
Winson a81f580fb7 Clearing search query after clearing input text.
Bug: 30435142
Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf
2016-07-27 13:50:05 -07:00
Hyunyoung Song 6443cbb2bc Merge \"Change default animation duration for all apps open and close.\" into ub-launcher3-calgary
am: 8fcdee05bb

Change-Id: I82511566a1ea3880846735fbadb952a044a69848
2016-07-27 19:01:25 +00:00
Hyunyoung Song bf0ddc787f Change default animation duration for all apps open and close.
am: e3876e8dd0

Change-Id: Ie3438d095210735709580ed098f0821c852d7717
2016-07-27 19:01:24 +00:00
Hyunyoung Song 8fcdee05bb Merge "Change default animation duration for all apps open and close." into ub-launcher3-calgary 2016-07-27 18:55:29 +00:00
Hyunyoung Song e3876e8dd0 Change default animation duration for all apps open and close.
> Also set different interpolator for all apps opening clicking the caret

Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941
2016-07-27 11:54:02 -07:00
Sunny Goyal 9def8d3a73 Merge \"Updating the label for shortcuts aciton\" into ub-launcher3-calgary
am: 16c6d3abe4

Change-Id: Idda7b26aef5c133a51e234f2135fbd6cd4e5c828
2016-07-27 18:22:23 +00:00
Sunny Goyal 05c2340cd8 Updating the label for shortcuts aciton
am: 3cdf466e2b

Change-Id: I5fd9f57e4c02c0e62bc9782adefe260cb03add88
2016-07-27 18:22:22 +00:00
Hyunyoung Song daf31a01fb Merge \"AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760\" into ub-launcher3-calgary
am: 0dc7e91d5c

Change-Id: I9b7589885fa94097a0875d938b004efdd44cc358
2016-07-27 18:19:52 +00:00
Hyunyoung Song 0ad6aa826d AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760
am: 9dcf0a3ef7

Change-Id: If1e13e71dd362dbb7529d39ce8c650fa4de489c6
2016-07-27 18:19:52 +00:00
Sunny Goyal 16c6d3abe4 Merge "Updating the label for shortcuts aciton" into ub-launcher3-calgary 2016-07-27 18:19:06 +00:00
Sunny Goyal 3cdf466e2b Updating the label for shortcuts aciton
Bug: 30374655
Change-Id: I92d269aca8b9361356b1b2241b24fc9e17ad1074
2016-07-27 11:17:22 -07:00
Hyunyoung Song 0dc7e91d5c Merge "AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760" into ub-launcher3-calgary 2016-07-27 18:03:52 +00:00
Hyunyoung Song 9dcf0a3ef7 AllAppsTransitionController always use LauncherStateTransitionAnimation
b/30375760

Change-Id: Iee2f8060e4d272d276ddd5d40b4bc6053e8c7778
2016-07-27 10:55:51 -07:00
Tony e80aaf17f0 Merge \"Match updated redlines for shortcuts.\" into ub-launcher3-calgary
am: cdef9dd35d

Change-Id: Ia402be24bf751dcca961e417a4c6a30b7dd741f9
2016-07-27 03:14:33 +00:00
Tony 8e1b8091e6 Match updated redlines for shortcuts.
am: 780c926db5

Change-Id: I173a0f966fa536447dd3cbb91a90e28d8a668631
2016-07-27 03:14:32 +00:00
Sunny Goyal cdef9dd35d Merge "Match updated redlines for shortcuts." into ub-launcher3-calgary 2016-07-27 03:05:48 +00:00
Peter Schiller 092126adfc Merge \"Moved hide keyboard to its own method\" into ub-launcher3-calgary
am: 2ee96c86bc

Change-Id: I48d2ae8dd9d63656f6d8e7669e3b4ae2446190f5
2016-07-27 02:37:31 +00:00
Peter Schiller e7f584309c Moved hide keyboard to its own method
am: 35d96306ad

Change-Id: If4bc1f675f78faf22abb36bb09dcc5aa0a3b4f1a
2016-07-27 02:37:31 +00:00
Peter Schiller 2ee96c86bc Merge "Moved hide keyboard to its own method" into ub-launcher3-calgary 2016-07-27 02:31:46 +00:00
Tony Wickham a435cf3eeb Merge \"Remove DisallowIntercept runnable from ShortcutsContainerListener.\" into ub-launcher3-calgary
am: 10717bfcae

Change-Id: Iec4123238fd6a82f789857ac1e0c44545db1cfcd
2016-07-27 01:06:26 +00:00
Tony Wickham c298e3293e Remove DisallowIntercept runnable from ShortcutsContainerListener.
am: 47c5a49579

Change-Id: I47752c25e13b1bd0559e14a0f87c01cc270c360a
2016-07-27 01:06:25 +00:00
Tony b3982c9ccf Add arrow view to deep shortcuts container.
am: eec1f9a839

Change-Id: Idce7f266d48a50297eb8ca48b3858c06511cf976
2016-07-27 01:06:25 +00:00
Tony 780c926db5 Match updated redlines for shortcuts.
- Align shortcut icons with original icon.
- Drag handle is lighter and smaller.
- Shortcut pills are slightly wider to accommodate long text.

Bug: 28980830
Change-Id: I8e9709e3cbdb9df86a805a4b63a696975c61df5a
2016-07-26 17:54:02 -07:00
Peter Schiller 35d96306ad Moved hide keyboard to its own method
Change-Id: I3f5877965a2b8f92d48e2fecef54f400b6e455d2
2016-07-26 17:34:05 -07:00
Tony Wickham 10717bfcae Merge "Remove DisallowIntercept runnable from ShortcutsContainerListener." into ub-launcher3-calgary 2016-07-27 00:16:56 +00:00
Tony eec1f9a839 Add arrow view to deep shortcuts container.
- We create a trangular path, which we use as the view's
  outline (for the shadow) and as its PathShape background.
- We scale up the arrow as the container opens.

Bug: 28980830
Change-Id: I71e566552f063dfdb69067bb7e3cee659988f934
2016-07-26 17:10:05 -07:00
Tony Wickham 47c5a49579 Remove DisallowIntercept runnable from ShortcutsContainerListener.
This was copied from ForwardingListener, which was used to prevent
scrollable parents from intercepting swipe gestures. We only use
long press, so we don't want to do this.

Bug: 30230790
Change-Id: Icbb692c1b46ad8287af2942baa452f3578fee679
2016-07-26 16:54:31 -07:00