Commit Graph
47938 Commits
Author SHA1 Message Date
Bill Yi 3c654c199e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I1ddbf2a7fc380ae4cc7a4273370d47fae1122b07
2016-07-28 18:29:11 -07:00
Tony Wickham 6257bc327b Merge "Prevent opening shortcuts container if one is already open." into ub-launcher3-calgary 2016-07-29 01:14:22 +00:00
Peter Schiller f8e1af6b0a Update fast scroll shadow to match other shadows
am: 62d7023639

Change-Id: I605425b5335b7586ad3e047548b48d0669829e21
2016-07-29 00:49:55 +00:00
Peter Schiller 62d7023639 Update fast scroll shadow to match other shadows
Change-Id: Ia19f64b8c3b5a09a11909f2792e3c0956a0dc1cd
2016-07-28 16:58:06 -07:00
Winson c7d2e83c15 Working around incorrect wallpaper offsets being calculated in RTL.
- When launcher starts up, onCreate() triggers the launcher model loader
  to start, which calls bindScreens() to add the workspace pages.  
  However, layout does not happen until the device is unlocked, which 
  means that even though the default screen index and children are there
  the page scrolls are calculated incorrectly, and even in RTL, the 
  page scroll for the 0th screen is zero (it should be at the right
  most edge of the workspace).  This CL works around this by deferring 
  until the first layout after bindScreens() to unlock the wallpaper
  offset from its default bounds.  The workaround is only applied when 
  the launcher activity is first created.

Bug: 28795125
Change-Id: I33da0d7f934f5337d26e69f068f579a32897a837
2016-07-28 16:21:20 -07:00
Winson d96fa13369 Fixing RTL wallpaper scrolling.
- Ensure that we map the scroll offsets to the full wallpaper offset 
  range
- Default to either edge of the wallpaper (depending on RTL) to match
  the default system wallpaper behavior (ag/1265418)

Bug: 28795125
Bug: 29398681
Change-Id: I36c316095057912d2dda0beb43bd1e6aaeac3fdc
2016-07-28 16:05:47 -07:00
Hyunyoung Song 8c89b21891 Merge \"Responsive caret drawable\" into ub-launcher3-calgary
am: 7da6d00c2e

Change-Id: Ie19a222ada005fdfeb30c1cd3740c90358e4ba82
2016-07-28 21:24:01 +00:00
Hyunyoung Song a5677d03ec Responsive caret drawable
am: 7ccc4625e3

Change-Id: I455ba4700aceb09b06f71ededf196f15abee6831
2016-07-28 21:24:01 +00:00
Peter Schiller 7da6d00c2e Merge "Responsive caret drawable" into ub-launcher3-calgary 2016-07-28 21:18:37 +00:00
Hyunyoung Song 7ccc4625e3 Responsive caret drawable
Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239
2016-07-28 13:06:21 -07:00
Tony Wickham efe50c881e Only add shortcuts to the deep shortcut map if they are dynamic/manifest.
am: ca258b36be

Change-Id: Ib93bedbe81fa2cd515c18e5f575dad66c4c6a609
2016-07-28 20:03:09 +00:00
Sunny Goyal 52facfef5c Merge \"Showing the shortcuts in the disabled state and removing ti from the menu when its disabled\" into ub-launcher3-calgary
am: 55f5bd730c

Change-Id: I94d2deab5f6d0ba40965185d4132cb41ab340069
2016-07-28 19:32:08 +00:00
Sunny Goyal 330dbb4f28 Showing the shortcuts in the disabled state and removing ti from the menu when its disabled
am: 70a7c9b700

Change-Id: I081687401817e617d02b2be5abd8492493b1404f
2016-07-28 19:32:08 +00:00
Sunny Goyal 36ace79326 Merge \"Fading in the first screen, when launcher loads for the first time\" into ub-launcher3-calgary
am: e34dd33156

Change-Id: Ib1e7f37e300c67c093fe9870cdc67b91dee0e00d
2016-07-28 19:32:07 +00:00
Sunny Goyal d1d75971db Fading in the first screen, when launcher loads for the first time
am: b5b9ad68b7

Change-Id: I482f291347ff891f674002f0db7241a88abc6c0c
2016-07-28 19:32:07 +00:00
Tony Wickham ca258b36be Only add shortcuts to the deep shortcut map if they are dynamic/manifest.
Bug: 30475465
Change-Id: I93aff6330b86a3bfa3e6b5741ab759d835618f0b
2016-07-28 12:31:28 -07:00
Sunny Goyal 55f5bd730c Merge "Showing the shortcuts in the disabled state and removing ti from the menu when its disabled" into ub-launcher3-calgary 2016-07-28 19:23:29 +00:00
Sunny Goyal 70a7c9b700 Showing the shortcuts in the disabled state and removing ti from the menu
when its disabled

Bug: 30315906
Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c
2016-07-28 12:22:51 -07:00
Sunny Goyal e34dd33156 Merge "Fading in the first screen, when launcher loads for the first time" into ub-launcher3-calgary 2016-07-28 19:13:17 +00:00
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