OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoAdding stateful caret drawable
Peter Schiller [Wed, 13 Jul 2016 21:04:13 +0000 (14:04 -0700)]
Adding stateful caret drawable

Change-Id: Iba30da09f882297f789c405f932fef10617bba89

8 years agoMerge "Preventing unnecessary layouts on search focus change" into ub-launcher3-calgary
Peter Schiller [Thu, 14 Jul 2016 23:40:39 +0000 (23:40 +0000)]
Merge "Preventing unnecessary layouts on search focus change" into ub-launcher3-calgary

8 years agoPreventing unnecessary layouts on search focus change
Sunny Goyal [Wed, 13 Jul 2016 21:24:18 +0000 (14:24 -0700)]
Preventing unnecessary layouts on search focus change

Instead of expanding the edittext, using a separate textview
which is shown/hidden as the hint text

Change-Id: Ib4cedeaed9291f972be2ee407c06f4944c983e27

8 years agoFixing some comments
Sunny Goyal [Thu, 14 Jul 2016 22:30:24 +0000 (15:30 -0700)]
Fixing some comments

Change-Id: I9e6eaaf9ee145e2f37dfb97a3259509a72cd73af

8 years agoMerge "Adding a view to indicate space blocked by QSB when QSB is hidden" into ub...
Sunny Goyal [Thu, 14 Jul 2016 22:17:30 +0000 (22:17 +0000)]
Merge "Adding a view to indicate space blocked by QSB when QSB is hidden" into ub-launcher3-calgary

8 years agoMerge "Format fixes on AllAppsTransitionController and VerticalPullDetector" into...
Hyunyoung Song [Thu, 14 Jul 2016 22:12:48 +0000 (22:12 +0000)]
Merge "Format fixes on AllAppsTransitionController and VerticalPullDetector" into ub-launcher3-calgary

8 years agoAdding a view to indicate space blocked by QSB when QSB is hidden
Sunny Goyal [Thu, 14 Jul 2016 19:34:33 +0000 (12:34 -0700)]
Adding a view to indicate space blocked by QSB when QSB is hidden

Change-Id: Ifc6b1f2a7312e7919582887ea67bfe900668b70f

8 years agoFormat fixes on AllAppsTransitionController and VerticalPullDetector
Hyunyoung Song [Thu, 14 Jul 2016 22:09:11 +0000 (15:09 -0700)]
Format fixes on AllAppsTransitionController and VerticalPullDetector

Change-Id: Id1570284da7b69a4d768fe41980ca0522433b6c2

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Thu, 14 Jul 2016 14:31:52 +0000 (14:31 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 14 Jul 2016 03:33:01 +0000 (20:33 -0700)]
Import translations. DO NOT MERGE

Change-Id: I78d77deeed7278ec10507d588a6a979d845b02aa
Auto-generated-cl: translation import

8 years agoMerge "Fixing Virtual nodes getting wrong screen bounds, when dragging in spring...
Sunny Goyal [Thu, 14 Jul 2016 03:31:09 +0000 (03:31 +0000)]
Merge "Fixing Virtual nodes getting wrong screen bounds, when dragging in spring loaded mode" into ub-launcher3-calgary

8 years agoMerge "Use the shortcut's long label in the container, if it is available." into...
Tony Wickham [Thu, 14 Jul 2016 01:10:55 +0000 (01:10 +0000)]
Merge "Use the shortcut's long label in the container, if it is available." into ub-launcher3-calgary

8 years agoMerge "Remove hotseat flicker and all apps GPU overdraw" into ub-launcher3-calgary
Hyunyoung Song [Thu, 14 Jul 2016 00:49:47 +0000 (00:49 +0000)]
Merge "Remove hotseat flicker and all apps GPU overdraw" into ub-launcher3-calgary

8 years agoRemove hotseat flicker and all apps GPU overdraw
Hyunyoung Song [Thu, 14 Jul 2016 00:46:31 +0000 (17:46 -0700)]
Remove hotseat flicker and all apps GPU overdraw

> Short story: elevation + transparency caused both flicker and overdraw

b/29641308
b/29648104

Change-Id: I621ccd888fa4c7e9292336dac1371246115cd3bb

8 years agoUse the shortcut's long label in the container, if it is available.
Tony Wickham [Thu, 14 Jul 2016 00:46:26 +0000 (17:46 -0700)]
Use the shortcut's long label in the container, if it is available.

Bug: 28980830
Change-Id: Iefea0a7ee4be5bf45af14ce47abdd597f4137f92

8 years agoMerge "Moving the QSB out of the cell layout to the Drag layer" into ub-launcher3...
Sunny Goyal [Thu, 14 Jul 2016 00:41:41 +0000 (00:41 +0000)]
Merge "Moving the QSB out of the cell layout to the Drag layer" into ub-launcher3-calgary

8 years agoFixing Virtual nodes getting wrong screen bounds, when dragging in spring
Sunny Goyal [Wed, 13 Jul 2016 23:44:34 +0000 (16:44 -0700)]
Fixing Virtual nodes getting wrong screen bounds, when dragging in spring
loaded mode

Bug: 29582251
Change-Id: I614d387a9b12d812ebb84c7739e8d9ae1bc057b2

8 years agoAddress comments on original shortcuts UI CL (ag/1061538).
Tony Wickham [Thu, 30 Jun 2016 23:21:34 +0000 (16:21 -0700)]
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

8 years agoMerge "Close the shortcuts container in various places." into ub-launcher3-calgary
Tony Wickham [Wed, 13 Jul 2016 19:47:13 +0000 (19:47 +0000)]
Merge "Close the shortcuts container in various places." into ub-launcher3-calgary

8 years agoMoving the QSB out of the cell layout to the Drag layer
Sunny Goyal [Tue, 12 Jul 2016 00:30:03 +0000 (17:30 -0700)]
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

8 years agoClose the shortcuts container in various places.
Tony Wickham [Fri, 1 Jul 2016 18:44:34 +0000 (11:44 -0700)]
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

8 years agoAdd status to DeepShortcutManager api calls.
Tony Wickham [Fri, 1 Jul 2016 22:44:13 +0000 (15:44 -0700)]
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

8 years agoUpdating the content description of disabled icons
Sunny Goyal [Wed, 13 Jul 2016 17:46:07 +0000 (10:46 -0700)]
Updating the content description of disabled icons

Bug: 27644457
Change-Id: I03aec29e0ea6017b51dcd7567967a067e478cefd

8 years agoMerge "Adding logic to pull in workspace data from another Launcher3 based provider...
Sunny Goyal [Wed, 13 Jul 2016 16:02:18 +0000 (16:02 +0000)]
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

8 years agoMerge "Fixing issue with content description not being updated." into ub-launcher3...
Winson Chung [Wed, 13 Jul 2016 01:08:32 +0000 (01:08 +0000)]
Merge "Fixing issue with content description not being updated." into ub-launcher3-calgary

8 years agoFixed header elevation shadow on rotate
Peter Schiller [Tue, 12 Jul 2016 19:45:10 +0000 (12:45 -0700)]
Fixed header elevation shadow on rotate

Change-Id: I1a4b55cf9af67d93e56d84378036c0061b6e8104

8 years agoEnsuring that fast scrolling to predictions scrolls list to the top
Winson [Tue, 12 Jul 2016 21:10:50 +0000 (14:10 -0700)]
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

8 years agoMerge "Cleaning up scrollbar logic to properly calculate stable extents." into ub...
Winson Chung [Wed, 13 Jul 2016 01:04:39 +0000 (01:04 +0000)]
Merge "Cleaning up scrollbar logic to properly calculate stable extents." into ub-launcher3-calgary

8 years agoFixing issue with content description not being updated.
Winson [Wed, 13 Jul 2016 01:02:37 +0000 (18:02 -0700)]
Fixing issue with content description not being updated.

Bug: 30064868
Change-Id: I09a0576c3618c253c25a5e755081833816887698

8 years agoMerge "all apps should pull down when there isn't scrollable thumb b/30059445" into...
Hyunyoung Song [Wed, 13 Jul 2016 00:36:17 +0000 (00:36 +0000)]
Merge "all apps should pull down when there isn't scrollable thumb b/30059445" into ub-launcher3-calgary

8 years agoall apps should pull down when there isn't scrollable thumb
Hyunyoung Song [Wed, 13 Jul 2016 00:10:38 +0000 (17:10 -0700)]
all apps should pull down when there isn't scrollable thumb
b/30059445

Change-Id: I4d28b9718746398b078e329cb5a92d5991bc0102

8 years agoMerge "Reset scroll position when all apps is reset" into ub-launcher3-calgary
Peter Schiller [Tue, 12 Jul 2016 22:39:33 +0000 (22:39 +0000)]
Merge "Reset scroll position when all apps is reset" into ub-launcher3-calgary

8 years agoFix all apps becoming clipped when screen is rotated with all apps opened.
Hyunyoung Song [Tue, 12 Jul 2016 18:14:41 +0000 (11:14 -0700)]
Fix all apps becoming clipped when screen is rotated with all apps opened.
b/30040068

Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244

8 years agoReset scroll position when all apps is reset
Peter Schiller [Tue, 12 Jul 2016 22:34:14 +0000 (15:34 -0700)]
Reset scroll position when all apps is reset

Change-Id: If0d4aa0f488e3198a17c7649e7ef9bc8a78a0cbc

8 years agoCleaning up scrollbar logic to properly calculate stable extents.
Winson [Tue, 12 Jul 2016 01:59:18 +0000 (18:59 -0700)]
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

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Tue, 12 Jul 2016 16:12:50 +0000 (16:12 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 12 Jul 2016 07:00:19 +0000 (00:00 -0700)]
Import translations. DO NOT MERGE

Change-Id: I07f86a6dbb45fbc38e9f8617a23ae42f6a12db66
Auto-generated-cl: translation import

8 years agoMerge "Defining the list of predefined device profiles in xml. This allows the profil...
Sunny Goyal [Mon, 11 Jul 2016 21:16:33 +0000 (21:16 +0000)]
Merge "Defining the list of predefined device profiles in xml. This allows the profiles to be easily customized by derivatives." into ub-launcher3-calgary

8 years agoMerge "Consolidate all the dividers to provide same look and feel" into ub-launcher3...
Peter Schiller [Mon, 11 Jul 2016 19:53:57 +0000 (19:53 +0000)]
Merge "Consolidate all the dividers to provide same look and feel" into ub-launcher3-calgary

8 years agoMerge "Adding support for non-zero left insets" into ub-launcher3-calgary
Sunny Goyal [Sat, 9 Jul 2016 23:25:44 +0000 (23:25 +0000)]
Merge "Adding support for non-zero left insets" into ub-launcher3-calgary

8 years agoAdding logic to pull in workspace data from another Launcher3 based
Sunny Goyal [Fri, 8 Jul 2016 15:32:44 +0000 (08:32 -0700)]
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

8 years agoBuild fix.
Sunny Goyal [Sat, 9 Jul 2016 22:42:36 +0000 (15:42 -0700)]
Build fix.

Missed some traces of key-value backup

Change-Id: Ifda94aa27aa53625bfb7ca173c6750c1b2433669

8 years agoMerge "Updating page indicator content description to indicate click target for apps...
Sunny Goyal [Sat, 9 Jul 2016 21:48:20 +0000 (21:48 +0000)]
Merge "Updating page indicator content description to indicate click target for apps list" into ub-launcher3-calgary

8 years agoMerge "Removing Key-Value pair backup logic as Launcher now uses full-data backup...
Sunny Goyal [Sat, 9 Jul 2016 21:48:07 +0000 (21:48 +0000)]
Merge "Removing Key-Value pair backup logic as Launcher now uses full-data backup" into ub-launcher3-calgary

8 years agoConsolidate all the dividers to provide same look and feel
Peter Schiller [Thu, 7 Jul 2016 21:47:05 +0000 (14:47 -0700)]
Consolidate all the dividers to provide same look and feel

Bug: 30017936
Change-Id: I072cb116dba1df555a63f3f67b730f7f9c3a235a

8 years agoMerge "Updating the allow rotation settings text" into ub-launcher3-calgary
Sunny Goyal [Fri, 8 Jul 2016 21:03:32 +0000 (21:03 +0000)]
Merge "Updating the allow rotation settings text" into ub-launcher3-calgary

8 years agoMerge "Updating alignment of search input" into ub-launcher3-calgary
Peter Schiller [Fri, 8 Jul 2016 20:54:34 +0000 (20:54 +0000)]
Merge "Updating alignment of search input" into ub-launcher3-calgary

8 years agoUpdating the allow rotation settings text
Sunny Goyal [Fri, 8 Jul 2016 20:41:02 +0000 (13:41 -0700)]
Updating the allow rotation settings text

Bug: 28704055
Change-Id: I7d4780f0d90b9c98b6c5126417538cf1b014c65b

8 years agoMerge "Simplified search focus logic" into ub-launcher3-calgary
Peter Schiller [Fri, 8 Jul 2016 17:21:54 +0000 (17:21 +0000)]
Merge "Simplified search focus logic" into ub-launcher3-calgary

8 years agoSimplified search focus logic
Peter Schiller [Fri, 8 Jul 2016 17:15:12 +0000 (10:15 -0700)]
Simplified search focus logic

Change-Id: I3f47e73c4a3d34f10e947fda2c7cae09211cc26d

8 years agoUpdating page indicator content description to indicate click target
Sunny Goyal [Fri, 8 Jul 2016 15:47:07 +0000 (08:47 -0700)]
Updating page indicator content description to indicate click target
for apps list

Bug: 29777235
Change-Id: Ia3dc20db7ec06455429389de5752b9bcfff15555

8 years agoUpdating alignment of search input
Peter Schiller [Fri, 8 Jul 2016 01:52:21 +0000 (18:52 -0700)]
Updating alignment of search input

Bug: 30017936
Change-Id: I2f68711762872bc100b41b2b4768d33e2c0cd902

8 years agoDefining the list of predefined device profiles in xml.
Sunny Goyal [Thu, 7 Jul 2016 23:43:58 +0000 (16:43 -0700)]
Defining the list of predefined device profiles in xml.
This allows the profiles to be easily customized by derivatives.

Change-Id: Iaec2b7a0eda34581c8e48b7dc44817013632dabe

8 years agoAdding support for non-zero left insets
Sunny Goyal [Wed, 6 Jul 2016 16:47:56 +0000 (09:47 -0700)]
Adding support for non-zero left insets

Bug: 29613069
Change-Id: Ifdf9bcce7ecdedc510f3be8a4dc10eb8da7c4bf1

8 years agoDo not remove onLayoutChangeListener on hotseat inside AllAppsTransitionController
Hyunyoung Song [Thu, 7 Jul 2016 22:57:42 +0000 (15:57 -0700)]
Do not remove onLayoutChangeListener on hotseat inside AllAppsTransitionController

Change-Id: I883660906b5bf59035f0382e6a448c6992a58a0c

8 years agoChanging isExternalDragWidget to isDragWidget as workspace goes to
Sunny Goyal [Thu, 7 Jul 2016 22:24:44 +0000 (15:24 -0700)]
Changing isExternalDragWidget to isDragWidget as workspace goes to
modal state even when dragging from workspace

Bug: 29900481
Change-Id: I60ce6073b1c06ed19c75a341f9b73f6a147be889

8 years agoUpdating gradle SDK version
Sunny Goyal [Thu, 7 Jul 2016 22:01:26 +0000 (15:01 -0700)]
Updating gradle SDK version

Change-Id: Ib65ed223e998fddd59f2284ed1ab64c794fff096

8 years agoMerge "Calling start/stop listening in onStart/onStop" into ub-launcher3-calgary
Sunny Goyal [Thu, 7 Jul 2016 16:50:26 +0000 (16:50 +0000)]
Merge "Calling start/stop listening in onStart/onStop" into ub-launcher3-calgary

8 years agoMerge "Fixing accessibility drag and drop Since the page's accessibility flag is...
Sunny Goyal [Thu, 7 Jul 2016 07:34:38 +0000 (07:34 +0000)]
Merge "Fixing accessibility drag and drop Since the page's accessibility flag is updated when entering drag mode, it does not need to be updated on state change" into ub-launcher3-calgary

8 years agoMerge "Set the all apps nav bar to black. b/29998559" into ub-launcher3-calgary
Hyunyoung Song [Wed, 6 Jul 2016 23:22:36 +0000 (23:22 +0000)]
Merge "Set the all apps nav bar to black. b/29998559" into ub-launcher3-calgary

8 years agoSet the all apps nav bar to black.
Hyunyoung Song [Wed, 6 Jul 2016 22:10:14 +0000 (15:10 -0700)]
Set the all apps nav bar to black.
b/29998559

Change-Id: Iba66b390f78fdf25b7eaf912012aabaf7df56476

8 years agoSecond workspace page icons should not show up when all apps is shown in landscape.
Hyunyoung Song [Wed, 6 Jul 2016 22:03:59 +0000 (15:03 -0700)]
Second workspace page icons should not show up when all apps is shown in landscape.

b/29931405

> Also some method names to setTranslation -> setTranslationAndAlpha to
match its implementation.

Change-Id: Icb6ec5df8a267a9024803c70a694ea9b76e5e34d

8 years agoFixing accessibility drag and drop
Sunny Goyal [Wed, 22 Jun 2016 23:29:24 +0000 (16:29 -0700)]
Fixing accessibility drag and drop
Since the page's accessibility flag is updated when entering
drag mode, it does not need to be updated on state change

Bug: 29581071
Change-Id: I1a876b4e8530601cb9bf25d097ea37780b525610

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Jul 2016 00:13:04 +0000 (17:13 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0dff7ed5910b590b7adb416f2f28240f25a9d73f
Auto-generated-cl: translation import

8 years agoMerge "Remove relayouts b/29945805" into ub-launcher3-calgary
Hyunyoung Song [Mon, 4 Jul 2016 08:53:37 +0000 (08:53 +0000)]
Merge "Remove relayouts b/29945805" into ub-launcher3-calgary

8 years agoRemove relayouts
Hyunyoung Song [Sat, 2 Jul 2016 01:04:07 +0000 (18:04 -0700)]
Remove relayouts
b/29945805

> Workspace relayout occurs when window flag is set to
change the status bar. This should not cause AllAppsTransitionController
to be initialized.
> Setting/Unsetting background drawables on the hotseat
also causes unnecessary layout. Fix this issue.

Change-Id: I73a3bfd3eb4bc34cf6760ffbd9826e3fef867056

8 years agoAvoid unnecessary layout passes from insets callbacks if they haven't changed
Adam Cohen [Fri, 1 Jul 2016 23:55:30 +0000 (16:55 -0700)]
Avoid unnecessary layout passes from insets callbacks if they haven't changed

Change-Id: Ia7560bd466ff47103811a1a1795af5a5a25abb59

8 years agoMerge "Use reflection to call LauncherApps.startShortcut()." into ub-launcher3-calgary
Tony Wickham [Fri, 1 Jul 2016 22:03:12 +0000 (22:03 +0000)]
Merge "Use reflection to call LauncherApps.startShortcut()." into ub-launcher3-calgary

8 years agoUse reflection to call LauncherApps.startShortcut().
Tony Wickham [Fri, 1 Jul 2016 20:01:33 +0000 (13:01 -0700)]
Use reflection to call LauncherApps.startShortcut().

This is necessary because it now returns void instead of boolean, but
we don't yet have the latest SDK with this change to compile against.

Change-Id: Ie4ca718bbe828fd9addfaf003a74b35d32410891

8 years agoMerge "Delete all* references to launcher clings." into ub-launcher3-calgary
Andrew Sapperstein [Fri, 1 Jul 2016 18:03:09 +0000 (18:03 +0000)]
Merge "Delete all* references to launcher clings." into ub-launcher3-calgary

8 years agoDelete all* references to launcher clings.
Andrew Sapperstein [Fri, 1 Jul 2016 01:10:09 +0000 (18:10 -0700)]
Delete all* references to launcher clings.

Launcher clings are dead. Delete all the code and resources associated with
them.

* Did not delete the actual code the marks the cling as dismissed since it's
used in db upgrade and backup/restore paths. Figured we probably want to keep
that.

Change-Id: I28841b4a430187b62b239afeb64bee81a798e259
Fixes: 29461092

8 years agoMerge "Stop showing first run launcher cling." into ub-launcher3-calgary
Andrew Sapperstein [Fri, 1 Jul 2016 03:12:12 +0000 (03:12 +0000)]
Merge "Stop showing first run launcher cling." into ub-launcher3-calgary

8 years agoMerge "Use colorSecondary for darker bg color." into ub-launcher3-calgary
Andrew Sapperstein [Fri, 1 Jul 2016 03:11:20 +0000 (03:11 +0000)]
Merge "Use colorSecondary for darker bg color." into ub-launcher3-calgary

8 years agoMerge "Get rid of CATCH state in verticalpulldetector" into ub-launcher3-calgary
Hyunyoung Song [Fri, 1 Jul 2016 01:33:51 +0000 (01:33 +0000)]
Merge "Get rid of CATCH state in verticalpulldetector" into ub-launcher3-calgary

8 years agoUpdating all apps to match spec
Peter Schiller [Thu, 30 Jun 2016 20:52:36 +0000 (13:52 -0700)]
Updating all apps to match spec

Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c

8 years agoStop showing first run launcher cling.
Andrew Sapperstein [Fri, 1 Jul 2016 00:39:38 +0000 (17:39 -0700)]
Stop showing first run launcher cling.

Followup CL will delete the dead code.

Bug: 29461092
Change-Id: Iaf96184219b7b052b7a8d97f403afec236d28437

8 years agoGet rid of CATCH state in verticalpulldetector
Hyunyoung Song [Fri, 1 Jul 2016 00:22:26 +0000 (17:22 -0700)]
Get rid of CATCH state in verticalpulldetector

> There was a bug regarding mLastDisplacement not being cleared out, which
caused a jump of the all apps container.
> Also as a cleanup, got rid of the CATCH state.

Change-Id: Iae9af0be04cce15f2ba4e6734d1615f879921e5d

8 years agoMerge "Fix hotseat flicker b/29648104" into ub-launcher3-calgary
Hyunyoung Song [Fri, 1 Jul 2016 00:32:38 +0000 (00:32 +0000)]
Merge "Fix hotseat flicker b/29648104" into ub-launcher3-calgary

8 years agoMerge "Fix some issues with shortcut containers opened inside folders." into ub-launc...
Tony Wickham [Thu, 30 Jun 2016 23:35:02 +0000 (23:35 +0000)]
Merge "Fix some issues with shortcut containers opened inside folders." into ub-launcher3-calgary

8 years agoFix some issues with shortcut containers opened inside folders.
Tony Wickham [Thu, 30 Jun 2016 19:07:33 +0000 (12:07 -0700)]
Fix some issues with shortcut containers opened inside folders.

- Dragging a shortcut from a container inside a folder was buggy
  because the folder assumes that all drags are removing an item
  (so it marks the cell as unoccupied, etc.). So we just close
  the folder when dragging a shortcut.
- When the shortcuts container opened outside of a folder, touches
  on it were incercepted by DragLayer to close the folder. So we
  move the container intercept check first, and return false if the
  touch is over the container so it can handle the touch.

Change-Id: I8c5814513e99910b2930e05d9a62dfe0a0a60f3e

8 years agoFix hotseat flicker
Hyunyoung Song [Thu, 30 Jun 2016 18:53:44 +0000 (11:53 -0700)]
Fix hotseat flicker
b/29648104

Change-Id: I74eea09ab5c4d03c0df3b4a82c7636299edf4d32

8 years agoUse colorSecondary for darker bg color.
Andrew Sapperstein [Mon, 20 Jun 2016 19:48:22 +0000 (12:48 -0700)]
Use colorSecondary for darker bg color.

Used for widget headers and a few other places.

In order to support pre-API 25, an app-local version of colorSecondary
is created and used throughout the app. A new WidgetContainerTheme
sets colorSecondary to a canned value. On API 25+, colorSecondary
is set to the platform value.

Change-Id: Ie0dd66333052b7346eea5d82d1c88417c6a2cd00
Fixes: 28625102

8 years agoCall bindDeepShortcuts() from runBindSynchronousPage().
Tony Wickham [Thu, 30 Jun 2016 01:12:15 +0000 (18:12 -0700)]
Call bindDeepShortcuts() from runBindSynchronousPage().

Otherwise Launcher's copy of the deep shortcut map is cleared when Launcher
is re-created, such as on rotation, so the UI won't show shortcuts.

Change-Id: I3bb6a904762dc4661cc2b5da28485e4bf778c9e7

8 years agoCode cleanup/ Move OnLayoutChangedListener to class level.
Hyunyoung Song [Thu, 30 Jun 2016 04:25:33 +0000 (21:25 -0700)]
Code cleanup/ Move OnLayoutChangedListener to class level.

Change-Id: Ifd3c7b86f61648407c8c93da9ec6d038aa996c0a

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Thu, 30 Jun 2016 03:12:19 +0000 (03:12 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 30 Jun 2016 02:38:12 +0000 (19:38 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3c1ec437db67beb06a1106d595e11c854863a771
Auto-generated-cl: translation import

8 years agoLong-press on an app to reveal its shortcuts.
Tony Wickham [Fri, 29 Apr 2016 00:39:03 +0000 (17:39 -0700)]
Long-press on an app to reveal its shortcuts.

- Add ShortcutsContainerListener to icons on workspace, folders, and
  all apps. This handles long-press and forwards following touches to
  the DeepShortcutsContainer that is created.
- Drag over shortcut before lifting finger to launch it.
- Shortcuts are rendered in pill-shaped DeepShortcutViews,
  which are inside DeepShortcutContainer on DragLayer.
- The shortcut container orients above or below the icon, and left or
  right-aligns with it. Biases for above + left-align.
- Long press a DeepShortcutPill to drag and pin it to the workspace.

Bug: 28980830
Change-Id: I08658d13ae51fe53064644e8d8f7b42f150fdd7d

8 years agoMerge "Make very first pull up should always work" into ub-launcher3-calgary
Hyunyoung Song [Thu, 30 Jun 2016 00:41:36 +0000 (00:41 +0000)]
Merge "Make very first pull up should always work" into ub-launcher3-calgary

8 years agoMake very first pull up should always work
Hyunyoung Song [Wed, 29 Jun 2016 23:40:06 +0000 (16:40 -0700)]
Make very first pull up should always work

> Also delete unnecessary code.
> Fix a bug where the container doesn't snap to the top and bottom.

Change-Id: If820e9fae03d060e53ac028f8e8d827c90b354fc

8 years agoMerge "Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call...
Hyunyoung Song [Wed, 29 Jun 2016 21:34:16 +0000 (21:34 +0000)]
Merge "Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call" into ub-launcher3-calgary

8 years agoRemove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call
Hyunyoung Song [Wed, 29 Jun 2016 21:03:20 +0000 (14:03 -0700)]
Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility call

Change-Id: Idf360a3580eff2ef873e7e0c20eb5ee2355d9be7

8 years agoSetting unused shadow to null
Peter Schiller [Wed, 29 Jun 2016 20:23:24 +0000 (13:23 -0700)]
Setting unused shadow to null

Change-Id: I1122cd9b6b01c18b2393ad6eb2dbc50b0460f78b

8 years agoMerge "Adding shadow to fast scroll indicator" into ub-launcher3-calgary
Peter Schiller [Wed, 29 Jun 2016 20:09:54 +0000 (20:09 +0000)]
Merge "Adding shadow to fast scroll indicator" into ub-launcher3-calgary

8 years agoAdding shadow to fast scroll indicator
Peter Schiller [Wed, 29 Jun 2016 16:46:43 +0000 (09:46 -0700)]
Adding shadow to fast scroll indicator

Bug: 29761848
Change-Id: I9db7e73fb6b8c703be21a6c3f9e2a50253a48ec7

8 years agoMerge "Fixing alpha of workspace components being changed at too many places" into...
Sunny Goyal [Wed, 29 Jun 2016 01:20:00 +0000 (01:20 +0000)]
Merge "Fixing alpha of workspace components being changed at too many places" into ub-launcher3-calgary

8 years agoMerge "All apps icons should become clickable" into ub-launcher3-calgary
Hyunyoung Song [Tue, 28 Jun 2016 23:50:26 +0000 (23:50 +0000)]
Merge "All apps icons should become clickable" into ub-launcher3-calgary

8 years agoAll apps icons should become clickable
Hyunyoung Song [Tue, 28 Jun 2016 23:38:18 +0000 (16:38 -0700)]
All apps icons should become clickable

b/29761088
b/29610290

> Workspace transition state was not being properly set which
caused onClick to not allow apps to launch. Temporary solution:
do not call the onLauncherTransitionPrepare inside
AllAppsTransitionController.

> Fixing another important bug which doesn't properly set workspace
state to correct alpha value because hotseat background drawable
is null when home is triggered from settings app after wallpaper is
changed. The color extractor has not figured out how hotseat drawable
color should be set to immediately after wallpaper change.

Change-Id: I9f797dbda6c73c71816e5070ed4da37099b26a6d

8 years agoMerge "Bumping icon version to clear db to trigger loading from IconProvider." into...
Winson Chung [Tue, 28 Jun 2016 23:36:58 +0000 (23:36 +0000)]
Merge "Bumping icon version to clear db to trigger loading from IconProvider." into ub-launcher3-calgary

8 years agoBumping icon version to clear db to trigger loading from IconProvider.
Winson [Tue, 28 Jun 2016 22:37:30 +0000 (15:37 -0700)]
Bumping icon version to clear db to trigger loading from IconProvider.

Bug: 29401565
Change-Id: I168dc9b52a972c7858ff8859a6375df314914105

8 years agoFixed inset overscroll
Peter Schiller [Mon, 27 Jun 2016 23:36:33 +0000 (16:36 -0700)]
Fixed inset overscroll

Bug: 29334391
Change-Id: I621f4b78e2c7d80d024ba1f9bcd993ff8a35ed01