Commit Graph

78507 Commits

Author SHA1 Message Date
Hyunyoung Song 06ca7568c6 Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS
b/29645452

By cancelling the runnable, we are enabling transition:
state1 -> state3 instead of state1-> state2-> state3.
Transition state1->state3 is a viable transition that is
supported by our model.

        Launcher           Workspace
--------------------------------------------
state1  APPS_SPRING_LOADED SPRING_LOADED
state2  WORKSPACE          NORMAL
state3  APPS               NORMAL_HIDDEN


Change-Id: If27905567efe439324494e0091a4b42fcbf01448
2016-07-29 13:03:54 -07:00
Bill Yi bbaa5b3436 Import translations. DO NOT MERGE am: d730a04ef7 -s ours am: db360b65d4 -s ours
am: 957c65fe13  -s ours

Change-Id: I771471e5f08471ff6c6a3f5c9c34d6d1428acd16
2016-07-29 17:29:44 +00:00
Bill Yi 957c65fe13 Import translations. DO NOT MERGE am: d730a04ef7 -s ours
am: db360b65d4  -s ours

Change-Id: I4211b1db174ac9a182fb68af2f91674ee99c15ee
2016-07-29 17:23:13 +00:00
Bill Yi db360b65d4 Import translations. DO NOT MERGE
am: d730a04ef7  -s ours

Change-Id: Ic16c6ff60b7404889a1e24b951044f0711b7a49d
2016-07-29 17:18:12 +00:00
Bill Yi d730a04ef7 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I454f58c981daea2585946c1d6f009289957270b7
2016-07-29 08:51:24 -07:00
Winson 3d00028c63 Merge changes I33da0d7f,I36c31609 into ub-launcher3-calgary
am: c42087e5c0

Change-Id: Ic169d18dab27357283b16dd1d705821052874b38
2016-07-29 05:56:08 +00:00
Winson 907da97059 Working around incorrect wallpaper offsets being calculated in RTL.
am: c7d2e83c15

Change-Id: I6477d7e7ed8686c8ccc5deab06621dc6496351e1
2016-07-29 05:56:06 +00:00
Winson 37fbc6dbf9 Fixing RTL wallpaper scrolling.
am: d96fa13369

Change-Id: Iad37d794d8d22ec178888e20fb97b117b3de22b8
2016-07-29 05:56:04 +00:00
Winson Chung c42087e5c0 Merge changes I33da0d7f,I36c31609 into ub-launcher3-calgary
* changes:
  Working around incorrect wallpaper offsets being calculated in RTL.
  Fixing RTL wallpaper scrolling.
2016-07-29 05:49:20 +00:00
Bill Yi d9cc08d505 Import translations. DO NOT MERGE am: 3c654c199e -s ours
am: fdaa46fb50  -s ours

Change-Id: Ie03014fa0180bbfc1636b7362dc040c72e41828a
2016-07-29 04:15:28 +00:00
Bill Yi fdaa46fb50 Import translations. DO NOT MERGE
am: 3c654c199e  -s ours

Change-Id: I509897896e4a9930da187f4f2270050063073d46
2016-07-29 04:12:28 +00:00
Bill Yi b734dcdd9d Merge \"Import translations. DO NOT MERGE\" into ub-launcher3-calgary
am: bf6e01ced5  -s ours

Change-Id: I00e17922016c5ff66d433948e4e294fc530e5121
2016-07-29 04:12:28 +00:00
Bill Yi 9f9c05e7a8 Import translations. DO NOT MERGE
am: 6c5025a9f5  -s ours

Change-Id: Icc53bd9754405e04fb6e639afae16c3ea805738c
2016-07-29 04:12:28 +00:00
TreeHugger Robot bf6e01ced5 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-07-29 04:04:30 +00:00
TreeHugger Robot 8577a17791 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-07-29 04:04:11 +00:00
Bill Yi a21401ad9e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30413963
Change-Id: Ia648babe5145a5d82113993a4bc408e4e0b8c23f
2016-07-28 18:58:07 -07:00
Bill Yi 6c5025a9f5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I356f01214564a37fd27810a4bbd51a433ef5514d
2016-07-28 18:52:23 -07:00
Tony Wickham 864e1f926b Merge \"Prevent opening shortcuts container if one is already open.\" into ub-launcher3-calgary
am: 6257bc327b

Change-Id: I770e0fcd8b7c82776137467a1419a559defbd58f
2016-07-29 01:33:48 +00:00
Tony Wickham d5f5433f55 Prevent opening shortcuts container if one is already open.
am: 8141d63ed1

Change-Id: I0263738c17b069edc7295f67f1f5b00e1bfeae0d
2016-07-29 01:33:48 +00:00
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