Commit Graph

78507 Commits

Author SHA1 Message Date
Ed Tam 427d3736e0 Fix RecyclerView resource path am: 43d0156 am: 3655a7d am: e97fdeed19 am: 89bdef0ae2
am: 4beb206647

Change-Id: I853ae708628f5e5fcb1b7a5ba1ddceaeb4f7f8f2
2016-11-24 01:59:10 +00:00
Dan Willemsen 8fd6a3d8e2 Merge "Replace custom rules with BUILD_PREBUILT" am: 5892520 am: f9afd3b6cb -s ours am: 2ba318792f
am: 594cf7c4f9

Change-Id: I9abe9a9c0c5cca6bd625222f81b2c02aef576ec7
2016-11-24 01:58:58 +00:00
Ed Tam e30d79650b Merge "Fix RecyclerView resource path am: 43d0156 am: a6fb1e6" into nyc-mr1-dev-plus-aosp am: 529970a1d6
am: 55fac8f48d

Change-Id: Iaab1f1a421c014f27c81951d0bc37ca9857615e5
2016-11-24 01:56:49 +00:00
Ed Tam 8d8c77bc21 Fix RecyclerView resource path am: 43d0156 am: a6fb1e6 am: 06e2c9a3be
am: 409f22f726

Change-Id: I01f4231f7fc49c06e0c30482c1ca58eaf5d5db67
2016-11-24 01:56:39 +00:00
Ed Tam 4beb206647 Fix RecyclerView resource path am: 43d0156 am: 3655a7d am: e97fdeed19
am: 89bdef0ae2

Change-Id: Ib31f15a28de0dc64f60023743b0663d658aff835
2016-11-24 01:56:28 +00:00
Dan Willemsen 594cf7c4f9 Merge "Replace custom rules with BUILD_PREBUILT" am: 5892520 am: f9afd3b6cb -s ours
am: 2ba318792f

Change-Id: Ia26bc77da7181bf0a9b3a7706a5a3cf1f174458d
2016-11-24 01:56:18 +00:00
Ed Tam 55fac8f48d Merge "Fix RecyclerView resource path am: 43d0156 am: a6fb1e6" into nyc-mr1-dev-plus-aosp
am: 529970a1d6

Change-Id: I6d8637fa42267ff46aef801e1749fc375b9bf324
2016-11-24 01:54:43 +00:00
Ed Tam 409f22f726 Fix RecyclerView resource path am: 43d0156 am: a6fb1e6
am: 06e2c9a3be

Change-Id: I374b5445f21ea0d73671e01119a90eb3077141f9
2016-11-24 01:54:41 +00:00
Ed Tam 89bdef0ae2 Fix RecyclerView resource path am: 43d0156 am: 3655a7d
am: e97fdeed19

Change-Id: I6bb3d021c987036464e6c204ac243d25c169522c
2016-11-24 01:54:29 +00:00
Dan Willemsen 2ba318792f Merge "Replace custom rules with BUILD_PREBUILT" am: 5892520
am: f9afd3b6cb  -s ours

Change-Id: I20226ef2c2bc51fb1334547db1ba813a84ac8c63
2016-11-24 01:54:17 +00:00
Dmitry Kalita 927b6a420f Merge "Fix restoring of layer type" am: 0b28b42 am: 8ce0be3353 -s ours am: 64ac4368c6
am: 8267b10955

Change-Id: Ic0084a6a2694b220867f26e18c1294f7b720e703
2016-11-24 01:49:59 +00:00
Dmitry Kalita 8267b10955 Merge "Fix restoring of layer type" am: 0b28b42 am: 8ce0be3353 -s ours
am: 64ac4368c6

Change-Id: I3f38aef2a8976a7c0578b61b625f7ca3cba4d022
2016-11-24 01:47:17 +00:00
Dmitry Kalita 64ac4368c6 Merge "Fix restoring of layer type" am: 0b28b42
am: 8ce0be3353  -s ours

Change-Id: I447f0ee5bcf0c7b3db98a1b54cb4cfb061a7541f
2016-11-24 01:45:17 +00:00
Jon Miranda 7ae64ffbe1 Scale widgets in multi-window mode.
To keep this CL small and focused, I'm going to create
a separate CL that handles the scaling for the widget in
drag and drop mode.

Bug: 32176631
Change-Id: Id6557d070edb664aa1f4851de7abf494cf8a0677
2016-11-23 10:32:42 -08:00
Jon Miranda feba90fe80 Added logging for HOME_INTENT and BACK commands.
Document: go/false-longpress-overview

Change-Id: If6ba4996c861a44f4950b41acb4246e3a483d8f2
2016-11-21 17:01:24 -08:00
Hyunyoung Song 0860e41d50 Add logging for workspace rearrangement in overview mode
am: 0d4899026c

Change-Id: Ie6569ecafdd63981e167a910f852a8133697ae81
2016-11-21 19:48:08 +00:00
Sunny Goyal d423a8b868 Merge "Changing DeepShortcutManager to have a singleton contructor instead of getting it from LauncherAppState" into ub-launcher3-master 2016-11-21 17:07:05 +00:00
Sunny Goyal 0993a37838 Merge "Adding a utility class to enforce that icons are always flattened on the background thread." into ub-launcher3-master 2016-11-21 17:02:10 +00:00
Sunny Goyal dde4fd971e Changing DeepShortcutManager to have a singleton contructor instead
of getting it from LauncherAppState

This follows the design of other managers and makes it easier to access it
from other processes and non-ui thread.

Bug: 33032833
Change-Id: I8ad82ae5b6cc47bae885f9896985675c7dd0d5b8
2016-11-21 22:28:23 +05:30
Sunny Goyal c13403c612 Defining various modes for CellLayout: Workspace, Hotseat & Folder
> Moving the definition of modes to xml
> Defining attributes in xml

Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
2016-11-21 15:20:16 +05:30
Sunny Goyal aa8a871e33 Removing widgetGap and heightGap from cellLayout
This values are always set to 0

Change-Id: Ic317efdc65baa22e915f4766c60c67c116bb94a8
2016-11-20 15:26:26 +05:30
Sunny Goyal 32f3dda802 Adding a utility class to enforce that icons are always flattened on
the background thread.

Bug: 21325319
Change-Id: I4d0f02557cdbf70cfa86750ac047faf2917e39bf
2016-11-19 23:40:07 +05:30
Sunny Goyal db2fa049a6 Merge "Moving saving state transtion listener logic to individual views" into ub-launcher3-master 2016-11-18 01:17:51 +00:00
Sunny Goyal 0666592bea Merge "Fixing item check when user is enabled/disabled" into ub-launcher3-master 2016-11-17 22:41:35 +00:00
Hyunyoung Song 0d4899026c Add logging for workspace rearrangement in overview mode
b/32457561

Change-Id: Ic38fbd540616a74f26c19a09ab4247fe8f9174b4
2016-11-17 20:48:18 +00:00
Jonathan Miranda dd126a362a Merge "Add bottom padding to hotseat in multi-window mode." into ub-launcher3-master 2016-11-16 16:31:20 +00:00
Sunny Goyal 4f9611a87c Fixing item check when user is enabled/disabled
Bug: 32747950
Change-Id: I278cbd7626ee30be6b803d617cf05f8359e5d940
2016-11-15 17:27:53 -08:00
Hyunyoung Song 6f59cff0d6 Make Launcher3 privileged module am: 7810d4bfa9
am: fb9fe7c157

Change-Id: I8cc95fd91df275defcc90b222be9ac166f98618d
2016-11-16 00:18:08 +00:00
Hyunyoung Song fb9fe7c157 Make Launcher3 privileged module
am: 7810d4bfa9

Change-Id: Id58c4dab888e8a97ccab39b1934515e3f8bb0db0
2016-11-16 00:11:06 +00:00
Jon Miranda c1b08c5b7f Add bottom padding to hotseat in multi-window mode.
In multi-window mode, the navigation bar is black which makes the
hotseat's top padding -- and lack of symmetric botom padding --
super apparent. We add bottom padding to the hotseat so that the
hotseat icons remain visually centered.

Bug: 32176631
Change-Id: I3eebf5ab98898c8ee092bda6ec48c6afdcd353b9
2016-11-15 14:37:56 -08:00
Jonathan Miranda 0b80aca9c5 Merge "Hide workspace text in multi-window mode." into ub-launcher3-master 2016-11-15 20:17:42 +00:00
Tony Wickham 075b878842 Merge "Animate icons back to where they were picked up." into ub-launcher3-master 2016-11-15 19:53:32 +00:00
Jon Miranda 93e1f04fa9 Hide workspace text in multi-window mode.
* Vertically centers workspace icons.
* New iconDisplay value so shortcut text is not overriden.

Bug: 32176631

Change-Id: I86753bab5b24aafc417e0f77d8c471fc4c0dc7f0
2016-11-15 11:19:03 -08:00
Sunny Goyal f8d5370a9f Merge "Catching TransactionTooLargeException when binding widget." into ub-launcher3-master 2016-11-15 19:07:32 +00:00
Jonathan Miranda 5202aa7504 Merge "Using dimension defined for all apps search bar height." into ub-launcher3-master 2016-11-15 18:52:16 +00:00
Tony Wickham 078e688d30 Merge "Add ShortcutsLaunchTest and ShortcutsToHomeTest." into ub-launcher3-master 2016-11-15 18:03:07 +00:00
Sunny Goyal db36437931 Moving saving state transtion listener logic to individual views
Change-Id: If5402b6961d7d6be0c50778f27a8746ed6f1bbfb
2016-11-14 17:43:31 -08:00
Sunny Goyal b79692b26f Merge "Moving the setContentView at the end of onCreate" into ub-launcher3-master 2016-11-15 00:53:29 +00:00
Tony Wickham f38d8593bd Add ShortcutsLaunchTest and ShortcutsToHomeTest.
- ShortcutsLaunchTest verifies that launching shortcut
  from the deep shortcuts container works.
- ShortcutsToHomeTest verifies that shortcuts can be
  dragged from the deep shortcuts container.

Change-Id: I6919b69d4ea1c9e0f13a8f236266745c12ef0715
2016-11-14 15:29:10 -08:00
Tony Wickham 05b20b0712 Fix drag and drop test by moving a bit if there are shortcuts.
Change-Id: Icd023f5d095610b6d1aadbf455d068ce7d700768
2016-11-14 14:14:19 -08:00
Hyunyoung Song 7810d4bfa9 Make Launcher3 privileged module
Make privileged module to enable Launcher to render search widget
without granting permission to gmscore.

Change-Id: I920233ced18325ecc8db70e9227993913a2d9762
(cherry picked from commit 3fa9954cf1)
2016-11-14 20:00:16 +00:00
Hyunyoung Song 14b64340ab Merge "Change support lib res path" into ub-launcher3-master 2016-11-14 19:00:35 +00:00
Hyunyoung Song 3fa9954cf1 Make Launcher3 privileged module
Make privileged module to enable Launcher to render search widget
without granting permission to gmscore.

Change-Id: I920233ced18325ecc8db70e9227993913a2d9762
2016-11-14 18:59:23 +00:00
Hyunyoung Song 426d089290 Change support lib res path
b/32869945

> warning message will be gone after $ tapas Launcher3 && make

Change-Id: I1780704e206c3cbb458ab76de623eef502b28b8c
2016-11-14 10:46:08 -08:00
Jon Miranda 145435ef6e Using dimension defined for all apps search bar height.
In portrait multi-window mode, hotseat cell height is
too small. Found that there was already a resource for
all_apps_search_bar_height so using that instead.

Change-Id: I56647eb55a7808e93bdcbb3334b1513f6ac23d7c
2016-11-11 14:35:20 -08:00
Sunny Goyal 0bbd5548ac Moving the setContentView at the end of onCreate
In multi-window mode, when the activity is resized, the window might
exist even before onCreate, which could call onAttachToWindow while
they are being inflated. Many Views in Launcher assume
onAttachToWindow to be called after onCreate has completed.

Bug: 32745705
Change-Id: Id6ee68826c4f3cc579880540812fd8ed834f8267
2016-11-11 13:43:13 -08:00
Jonathan Miranda 47a96054d9 Merge "Refactor edge of screen detection code." into ub-launcher3-master 2016-11-11 19:45:25 +00:00
Sunny Goyal 015bee7a6a Merge "Removing dependency on LauncherActivityInfoCompatV16" into ub-launcher3-master 2016-11-11 19:33:25 +00:00
Tony Wickham 6b910a235d Keep disabled FastBitmapDrawables disabled while fast scrolling.
Previously, they were animating to be colored because they were
set to have a FAST_SCROLL_UNLHIGHLIGHTED state. Now they retain
their disabled color when changing fast scroll states.

Specfically, we remove the DISABLED state and instead make it a
property of the FastBitmapDrawable.

Bug: 32642959
Change-Id: I6cb2da134a550c267eebfc756eff8c91a33f028c
2016-11-11 10:59:17 -08:00
Sunny Goyal f4a0d1886f Merge "Enabling async inflation for AppWidgets" into ub-launcher3-master 2016-11-10 19:50:24 +00:00