Commit Graph

78507 Commits

Author SHA1 Message Date
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
Peter Schiller fc82540870 Merge \"Consolidate all the dividers to provide same look and feel\" into ub-launcher3-calgary
am: c9b6d84328

Change-Id: Ib216fb34f0019b0b73151f0dc5e50d188f0c0936
2016-07-11 20:05:03 +00:00
Peter Schiller c9b6d84328 Merge "Consolidate all the dividers to provide same look and feel" into ub-launcher3-calgary 2016-07-11 19:53:58 +00:00
Sunny Goyal 562b389180 Merge \"Adding support for non-zero left insets\" into ub-launcher3-calgary
am: b30562da1e

Change-Id: I9ed0cef9c91985cbb6bba9acd51f32f31d0136a5
2016-07-09 23:34:17 +00:00
Sunny Goyal b30562da1e Merge "Adding support for non-zero left insets" into ub-launcher3-calgary 2016-07-09 23:25:44 +00:00
Sunny Goyal a5c8a9eb66 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.

Bug: 28536314
Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
2016-07-09 16:19:26 -07:00
Sunny Goyal daa517c3fb Build fix.
am: f03bd4f547

Change-Id: Ic6ef93241a89d60d51288c34310abd0e31c3afdc
2016-07-09 22:54:09 +00:00
Sunny Goyal f03bd4f547 Build fix.
Missed some traces of key-value backup

Change-Id: Ifda94aa27aa53625bfb7ca173c6750c1b2433669
2016-07-09 15:43:07 -07:00
Sunny Goyal 159d585b7a Merge \"Updating page indicator content description to indicate click target for apps list\" into ub-launcher3-calgary
am: 8dd3ce65d8

Change-Id: Ief13694968b27f8a6b8810000c29645c65d76b59
2016-07-09 21:53:19 +00:00
Sunny Goyal ff2cddfba5 Merge \"Removing Key-Value pair backup logic as Launcher now uses full-data backup\" into ub-launcher3-calgary
am: 804420b2fd

Change-Id: Ied70fb6678c8090fada0e1cc7d84d6c7af51a09f
2016-07-09 21:53:19 +00:00
Sunny Goyal 8dd3ce65d8 Merge "Updating page indicator content description to indicate click target for apps list" into ub-launcher3-calgary 2016-07-09 21:48:20 +00:00
Sunny Goyal 804420b2fd Merge "Removing Key-Value pair backup logic as Launcher now uses full-data backup" into ub-launcher3-calgary 2016-07-09 21:48:08 +00:00
Peter Schiller c2a20ff0a8 Consolidate all the dividers to provide same look and feel
Bug: 30017936
Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a
2016-07-08 15:02:03 -07:00
Sunny Goyal 2dac1286a1 Merge \"Updating the allow rotation settings text\" into ub-launcher3-calgary
am: ab7a50ea1a

Change-Id: If56db6408c7a7073f0afb918b8070ac6c5744d69
2016-07-08 21:12:17 +00:00
Peter Schiller e4dc13c371 Merge \"Updating alignment of search input\" into ub-launcher3-calgary
am: 723657c584

Change-Id: I898380ab926a14a344ed88afa09e655a9312f559
2016-07-08 21:09:18 +00:00
Sunny Goyal ab7a50ea1a Merge "Updating the allow rotation settings text" into ub-launcher3-calgary 2016-07-08 21:03:32 +00:00
Peter Schiller 723657c584 Merge "Updating alignment of search input" into ub-launcher3-calgary 2016-07-08 20:54:34 +00:00
Sunny Goyal 4dceebe0cf Updating the allow rotation settings text
Bug: 28704055
Change-Id: I7d4780f0d90b9c98b6c5126417538cf1b014c65b
2016-07-08 13:41:37 -07:00
Peter Schiller 297c615033 Merge \"Simplified search focus logic\" into ub-launcher3-calgary
am: 31be842887

Change-Id: I9ef08f085ba37c91b57075e2c9fcab71f7b40761
2016-07-08 17:27:58 +00:00