Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal 272910d69b Merge \"Fixing Virtual nodes getting wrong screen bounds, when dragging in spring loaded mode\" into ub-launcher3-calgary
am: c3dcc77b8e

Change-Id: I2f5cc6392bedb176a8f549b3b42183587f5d6e41
2016-07-14 03:43:32 +00:00
Bill Yi 28ea09bc8d Import translations. DO NOT MERGE
Change-Id: Idc9fd91a39bdaa1298896f4d1808b305ac4a943f
Auto-generated-cl: translation import
2016-07-13 20:33:43 -07:00
Bill Yi 705a4e3ebb Import translations. DO NOT MERGE
Change-Id: I78d77deeed7278ec10507d588a6a979d845b02aa
Auto-generated-cl: translation import
2016-07-13 20:33:01 -07:00
Sunny Goyal c3dcc77b8e Merge "Fixing Virtual nodes getting wrong screen bounds, when dragging in spring loaded mode" into ub-launcher3-calgary 2016-07-14 03:31:09 +00:00
Tony Wickham d3d2533580 Merge \"Use the shortcut\'s long label in the container, if it is available.\" into ub-launcher3-calgary
am: 50f251bfc8

Change-Id: I788e97bcef428dd776fbf6a734274626a24c1c6a
2016-07-14 01:22:45 +00:00
Tony Wickham 50f251bfc8 Merge "Use the shortcut's long label in the container, if it is available." into ub-launcher3-calgary 2016-07-14 01:10:56 +00:00
Hyunyoung Song 49fdc03227 Merge \"Remove hotseat flicker and all apps GPU overdraw\" into ub-launcher3-calgary
am: dc2fd8b2da

Change-Id: I7756bae003b343ab7d59526c2453f1326395e060
2016-07-14 00:52:42 +00:00
Sunny Goyal 3483c7a5ec Merge \"Moving the QSB out of the cell layout to the Drag layer\" into ub-launcher3-calgary
am: fcb81b978d

Change-Id: I22e84674b1dc4b9f5b96d9710cb11eba20592790
2016-07-14 00:50:01 +00:00
Hyunyoung Song dc2fd8b2da Merge "Remove hotseat flicker and all apps GPU overdraw" into ub-launcher3-calgary 2016-07-14 00:49:48 +00:00
Hyunyoung Song ad140515b8 Remove hotseat flicker and all apps GPU overdraw
> Short story: elevation + transparency caused both flicker and overdraw

b/29641308
b/29648104

Change-Id: I621ccd888fa4c7e9292336dac1371246115cd3bb
2016-07-13 17:46:31 -07:00
Tony Wickham db19730e87 Use the shortcut's long label in the container, if it is available.
Bug: 28980830
Change-Id: Iefea0a7ee4be5bf45af14ce47abdd597f4137f92
2016-07-13 17:46:26 -07:00
Sunny Goyal fcb81b978d Merge "Moving the QSB out of the cell layout to the Drag layer" into ub-launcher3-calgary 2016-07-14 00:41:42 +00:00
Sunny Goyal 10ad1b9761 Fixing Virtual nodes getting wrong screen bounds, when dragging in spring
loaded mode

Bug: 29582251
Change-Id: I614d387a9b12d812ebb84c7739e8d9ae1bc057b2
2016-07-13 16:45:22 -07:00
Tony Wickham ffa7cfa9fc Address comments on original shortcuts UI CL (ag/1061538).
am: 7b8f1eaba1

Change-Id: I44ec3026857f8f14f42cc6d498d73c54a4c06bf6
2016-07-13 21:59:12 +00:00
Tony Wickham 7b8f1eaba1 Address comments on original shortcuts UI CL (ag/1061538).
- Only add shortcut touch listener to APPLICATION item types, not SHORTCUT.
- Load shortcuts on LauncherModel worker thread instead of using AsyncTask.
- Avoid a couple of unnecessary object allocations.

Change-Id: I31b911b91df71335542545602fe137e270c745d7
2016-07-13 14:47:58 -07:00
Tony Wickham 504fb6f3d5 Merge \"Close the shortcuts container in various places.\" into ub-launcher3-calgary
am: c7163ebd03

Change-Id: I2df7ed450b8aefa51cc90434486a82fc590fc899
2016-07-13 19:56:36 +00:00
Tony Wickham c364caafce Add status to DeepShortcutManager api calls.
am: d82a39da1c

Change-Id: I760461b392430860e6b3b08beeafec05b5fbf69d
2016-07-13 19:56:36 +00:00
Tony Wickham c7163ebd03 Merge "Close the shortcuts container in various places." into ub-launcher3-calgary 2016-07-13 19:47:13 +00:00
Sunny Goyal 6178f13e2d Moving the QSB out of the cell layout to the Drag layer
This allows better edge matching for the QSB. The QSB position
is kept synchronized with the page scroll and all-apps transition.
But its not visible in spring loaded and overview mode

Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
2016-07-13 12:37:08 -07:00
Tony Wickham 49c8d29fdd Close the shortcuts container in various places.
- Mostly everywhere folders are closed
- Implements DragListener so we can close the container when dragging
  the original icon or shortcuts from the container. We actually just
  hide the container in onDragStart() and really remove it in
  onDragEnd(). This avoids interfering with touch events and thus
  allows us to remove the hack of explicitly setting the DragLayer's
  controller when dragging shortcuts (since it will do it on intercept).

Bug: 30080537

Change-Id: Iccc2afba2a990a613bc588d57c4d8c1b7c65224b
2016-07-13 12:35:04 -07:00
Tony Wickham d82a39da1c Add status to DeepShortcutManager api calls.
This way we can handle SecurityExceptions differently. For instance,
if a SecurityException causes us to fail to get details for pinned
shortcuts, we keep the pinned shortcuts in the database so that they
will be loaded next time launcher has the correct permissions.

Change-Id: I1102fce612ade10ad7f577b44a99c8cf087d5ccd
2016-07-13 12:02:33 -07:00
Sunny Goyal d73999b78c Updating the content description of disabled icons
am: f420438a0b

Change-Id: I988cd7877507d86ee5ce9413dcda5ad976efe376
2016-07-13 18:05:21 +00:00
Sunny Goyal f420438a0b Updating the content description of disabled icons
Bug: 27644457
Change-Id: I03aec29e0ea6017b51dcd7567967a067e478cefd
2016-07-13 10:46:34 -07:00
Sunny Goyal 89b65e9fc9 Merge \"Adding logic to pull in workspace data from another Launcher3 based provider. This allows OEMs to keep the user\'s homescreen intact while changing the default home app package.\" into ub-launcher3-calgary
am: ba162aa7d2

Change-Id: Icbab193b33c1a3cff6a7b72948efe8cbdbb695ef
2016-07-13 16:13:13 +00:00
Sunny Goyal ba162aa7d2 Merge "Adding logic to pull in workspace data from another Launcher3 based provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package." into ub-launcher3-calgary 2016-07-13 16:02:18 +00:00
Winson 57cb15befb Merge \"Fixing issue with content description not being updated.\" into ub-launcher3-calgary
am: c6e5fdb7ac

Change-Id: I3101ee52939047bb1452ee50454330c90b09ce98
2016-07-13 01:25:49 +00:00
Peter Schiller 6b8699abb9 Fixed header elevation shadow on rotate
am: 2e22b5d2de

Change-Id: I6d01f4cf649ec5e365f2e5a1a13bf88a1ce4f1ee
2016-07-13 01:25:49 +00:00
Winson b872af8222 Ensuring that fast scrolling to predictions scrolls list to the top
am: e8eaa9c94c

Change-Id: I3053883f811da6c3c0e690cb81006f067107934a
2016-07-13 01:25:49 +00:00
Winson d6f9bb435c Merge \"Cleaning up scrollbar logic to properly calculate stable extents.\" into ub-launcher3-calgary
am: b029e9fd66

Change-Id: Ife413a3aa3d0c194c7b409c69d87c1fcd7e8969e
2016-07-13 01:25:48 +00:00
Hyunyoung Song ddc65a1bf1 Merge \"all apps should pull down when there isn\'t scrollable thumb b/30059445\" into ub-launcher3-calgary
am: 4dd8501a25

Change-Id: I7093d858aeea0610d0c29c7cdb378215b3dc7fb6
2016-07-13 01:25:47 +00:00
Winson Chung c6e5fdb7ac Merge "Fixing issue with content description not being updated." into ub-launcher3-calgary 2016-07-13 01:08:32 +00:00
Peter Schiller 2e22b5d2de Fixed header elevation shadow on rotate
Change-Id: I1a4b55cf9af67d93e56d84378036c0061b6e8104
2016-07-13 01:06:09 +00:00
Winson e8eaa9c94c Ensuring that fast scrolling to predictions scrolls list to the top
- Fixes a long standing issue with fast-scrolling to the predicted apps
  not quite scrolling the list to the top of the screen.
- Fixes an issue where we don’t scroll exactly to the fast scroll 
  position due to rounding
- Also fixes a small issue where the thumb would not update when the 
  fast scroll popup was no longer showing, even while dragging.

Bug: 30023608

Change-Id: I6b5080c6aea521ff03dca24317f0405c02725061
2016-07-13 01:04:56 +00:00
Winson Chung b029e9fd66 Merge "Cleaning up scrollbar logic to properly calculate stable extents." into ub-launcher3-calgary 2016-07-13 01:04:39 +00:00
Winson b93f34a8be Fixing issue with content description not being updated.
Bug: 30064868
Change-Id: I09a0576c3618c253c25a5e755081833816887698
2016-07-12 18:02:37 -07:00
Hyunyoung Song 4dd8501a25 Merge "all apps should pull down when there isn't scrollable thumb b/30059445" into ub-launcher3-calgary 2016-07-13 00:36:17 +00:00
Hyunyoung Song cd4b3003ad all apps should pull down when there isn't scrollable thumb
b/30059445

Change-Id: I4d28b9718746398b078e329cb5a92d5991bc0102
2016-07-12 17:10:38 -07:00
Peter Schiller fe2ab0bd9e Merge \"Reset scroll position when all apps is reset\" into ub-launcher3-calgary
am: e22e607440

Change-Id: I87b2255711122bbea87f1cd32e2a17f1d69533af
2016-07-12 22:44:51 +00:00
Hyunyoung Song 7c2b149c64 Fix all apps becoming clipped when screen is rotated with all apps opened. b/30040068
am: ca7f30f7cf

Change-Id: If32354285be018e235a846661fe57449daacc398
2016-07-12 22:44:50 +00:00
Peter Schiller e22e607440 Merge "Reset scroll position when all apps is reset" into ub-launcher3-calgary 2016-07-12 22:39:33 +00:00
Hyunyoung Song ca7f30f7cf Fix all apps becoming clipped when screen is rotated with all apps opened.
b/30040068

Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244
2016-07-12 15:37:15 -07:00
Peter Schiller c529c98f11 Reset scroll position when all apps is reset
Change-Id: If0d4aa0f488e3198a17c7649e7ef9bc8a78a0cbc
2016-07-12 15:36:47 -07:00
Winson b655b88500 Cleaning up scrollbar logic to properly calculate stable extents.
- Removing old logic which assumed that views were the same size,
  especially now we can have variable dividers, etc.
- Simplifying old scroll position logic.
- Removing unnecessary prediction icon layout (same as normal icon)

Bug: 30023608
Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
2016-07-12 12:16:26 -07:00
Bill Yi aed75611e4 Merge \"Import translations. DO NOT MERGE\" into ub-launcher3-calgary
am: 7ed42af339  -s ours

Change-Id: Idba414b9d9e31f01c14c4284aa49b56b50899243
2016-07-12 16:19:57 +00:00
TreeHugger Robot cbde12222f Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2016-07-12 16:12:53 +00:00
TreeHugger Robot 7ed42af339 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-07-12 16:12:50 +00:00
Bill Yi 537708bd25 Import translations. DO NOT MERGE
Change-Id: I4865e6411a1f6a1166f21f6f529ca645696528b3
Auto-generated-cl: translation import
2016-07-12 00:00:47 -07:00
Bill Yi be66d1d32d Import translations. DO NOT MERGE
Change-Id: I07f86a6dbb45fbc38e9f8617a23ae42f6a12db66
Auto-generated-cl: translation import
2016-07-12 00:00:19 -07:00
Sunny Goyal f2ce92ddc4 Merge \"Defining the list of predefined device profiles in xml. This allows the profiles to be easily customized by derivatives.\" into ub-launcher3-calgary
am: 6f21ff341b

Change-Id: I58959d8e8b8b8e6e803beafbf23c82355b31af52
2016-07-11 21:22:17 +00:00
Sunny Goyal 6f21ff341b Merge "Defining the list of predefined device profiles in xml. This allows the profiles to be easily customized by derivatives." into ub-launcher3-calgary 2016-07-11 21:16:33 +00:00