OSDN Git Service

android-x86/packages-apps-Launcher3.git
7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Thu, 4 Aug 2016 09:25:09 +0000 (09:25 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoMerge "Change interpolation logic to all apps transitioning on fling b/30486958"...
Hyunyoung Song [Wed, 3 Aug 2016 22:28:30 +0000 (22:28 +0000)]
Merge "Change interpolation logic to all apps transitioning on fling b/30486958" into ub-launcher3-calgary

7 years agoChange interpolation logic to all apps transitioning on fling
Hyunyoung Song [Wed, 3 Aug 2016 22:14:43 +0000 (15:14 -0700)]
Change interpolation logic to all apps transitioning on fling
b/30486958

Cleaning up/refactoring this CL will be done in polish branch.

Change-Id: Ib51633a1e1cb79f58b505f835053ef238ae1bdec

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 3 Aug 2016 21:22:25 +0000 (14:22 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Disabling accessibility focus on all children when shortcuts is open" into...
Sunny Goyal [Wed, 3 Aug 2016 20:19:41 +0000 (20:19 +0000)]
Merge "Disabling accessibility focus on all children when shortcuts is open" into ub-launcher3-calgary

7 years agoMerge "Start shortcuts close animation where open left off." into ub-launcher3-calgary
Tony Wickham [Wed, 3 Aug 2016 20:09:44 +0000 (20:09 +0000)]
Merge "Start shortcuts close animation where open left off." into ub-launcher3-calgary

7 years agoMerge "Align shortcut text with view start." into ub-launcher3-calgary
Tony Wickham [Wed, 3 Aug 2016 19:27:53 +0000 (19:27 +0000)]
Merge "Align shortcut text with view start." into ub-launcher3-calgary

7 years agoAlign shortcut text with view start.
Tony Wickham [Wed, 3 Aug 2016 17:43:50 +0000 (10:43 -0700)]
Align shortcut text with view start.

Bug: 30401505
Change-Id: Iffaa0a01f2c2983a085d8c9d4be36fc063ae2004

7 years agoMerge "Fix disco bounce crash b/30413641" into ub-launcher3-calgary
Hyunyoung Song [Wed, 3 Aug 2016 17:42:48 +0000 (17:42 +0000)]
Merge "Fix disco bounce crash b/30413641" into ub-launcher3-calgary

7 years agoFix disco bounce crash
Hyunyoung Song [Wed, 3 Aug 2016 17:40:18 +0000 (10:40 -0700)]
Fix disco bounce crash
b/30413641

Change-Id: Icb2f3f11024daa78c3f59cab8c773091b9481feb

7 years agoDisabling accessibility focus on all children when shortcuts is open
Sunny Goyal [Wed, 3 Aug 2016 17:31:11 +0000 (10:31 -0700)]
Disabling accessibility focus on all children when shortcuts is open

Bug: 30611791
Change-Id: Ibb1dec13b62add3799c215fea98e87e3fa89638d

7 years agoSimpler caret
Peter Schiller [Sat, 30 Jul 2016 00:05:30 +0000 (17:05 -0700)]
Simpler caret

Bug: 30527159
Change-Id: I674de149e613c7adb567a13a288baa9877d36112

7 years agoUpdating content description for the shortcuts menu and announcing
Sunny Goyal [Tue, 2 Aug 2016 23:15:37 +0000 (16:15 -0700)]
Updating content description for the shortcuts menu and announcing
it when the container is opened

Bug: 30587453
Change-Id: I6f2d3ba05593f3e2a1a8f05c66a0f80e76932c38

7 years agoMerge "Update shortcuts font to match spec." into ub-launcher3-calgary
Tony Wickham [Tue, 2 Aug 2016 21:27:50 +0000 (21:27 +0000)]
Merge "Update shortcuts font to match spec." into ub-launcher3-calgary

7 years agoMerge "Add container velocity for all apps to be used by the caret" into ub-launcher3...
Hyunyoung Song [Tue, 2 Aug 2016 20:36:17 +0000 (20:36 +0000)]
Merge "Add container velocity for all apps to be used by the caret" into ub-launcher3-calgary

7 years agoAdd container velocity for all apps to be used by the caret
Hyunyoung Song [Tue, 2 Aug 2016 20:31:22 +0000 (13:31 -0700)]
Add container velocity for all apps to be used by the caret

Change-Id: I03479d53eb7203ab4a0515e2bf68b917dfb81f23

7 years agoMerge "Adding workaround to jump in wallpaper offsets." into ub-launcher3-calgary
Winson Chung [Tue, 2 Aug 2016 20:01:31 +0000 (20:01 +0000)]
Merge "Adding workaround to jump in wallpaper offsets." into ub-launcher3-calgary

7 years agoAdding workaround to jump in wallpaper offsets.
Winson [Tue, 2 Aug 2016 19:03:34 +0000 (12:03 -0700)]
Adding workaround to jump in wallpaper offsets.

- Just skip the animation if we are animating to the same wallpaper
  offset (which is the case when we are adding from all apps)

Bug: 28587903
Change-Id: Ib7b1828c1b099a665d68c22cb33ee62693f33f35

7 years agoUpdate shortcuts font to match spec.
Tony Wickham [Tue, 2 Aug 2016 18:53:07 +0000 (11:53 -0700)]
Update shortcuts font to match spec.

Bug: 30594316
Change-Id: I9de1068a502e9f441f2609d114595b7513f20cad

7 years agoMerge "Always cancel forwarding on ACTION_UP or ACTION_CANCEL." into ub-launcher3...
Tony Wickham [Tue, 2 Aug 2016 18:10:00 +0000 (18:10 +0000)]
Merge "Always cancel forwarding on ACTION_UP or ACTION_CANCEL." into ub-launcher3-calgary

7 years agoStart shortcuts close animation where open left off.
Tony Wickham [Fri, 29 Jul 2016 18:22:21 +0000 (11:22 -0700)]
Start shortcuts close animation where open left off.

- Before we always started the close animation at 0 instead of
  the previous open progress, which looked janky.
- Shortened the animations' durations and start delays to
  account for the fact that the open animation was only
  partially finished when the close animation started.

Bug: 30465231
Change-Id: I958ee5f4543dbf1185f3d0229c55fc1b51929655

7 years agoMerge "Handling IllegalStateException which can be thrown by the system when the...
Sunny Goyal [Tue, 2 Aug 2016 17:04:44 +0000 (17:04 +0000)]
Merge "Handling IllegalStateException which can be thrown by the system when the user is locked" into ub-launcher3-calgary

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Tue, 2 Aug 2016 09:53:38 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 2 Aug 2016 01:26:24 +0000 (18:26 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add logging for shortcuts opening." into ub-launcher3-calgary
Tony Wickham [Tue, 2 Aug 2016 00:56:57 +0000 (00:56 +0000)]
Merge "Add logging for shortcuts opening." into ub-launcher3-calgary

7 years agoAdd logging for shortcuts opening.
Tony Wickham [Mon, 1 Aug 2016 23:42:19 +0000 (16:42 -0700)]
Add logging for shortcuts opening.

- Log as long press with child type DEEPSHORTCUTS container
- Parent type can be one of WORKSPACE, HOTSEAT, FOLDER,
  ALLAPPS, PREDICTION, or SEARCHRESULT.

Bug: 30537079
Change-Id: Ie62e4889ee06c845f959ca998781787a7fdaf00e

7 years agoHandling IllegalStateException which can be thrown by the system when the user is...
Sunny Goyal [Mon, 1 Aug 2016 22:45:49 +0000 (15:45 -0700)]
Handling IllegalStateException which can be thrown by the system when the user is locked

Bug: 30411561
Change-Id: I0d7fc0aaecba01b1aaac95b98654f6e3ee090ce8

7 years agoMerge "Adding quiet mode support for shortcuts" into ub-launcher3-calgary
Sunny Goyal [Mon, 1 Aug 2016 22:04:11 +0000 (22:04 +0000)]
Merge "Adding quiet mode support for shortcuts" into ub-launcher3-calgary

7 years agoAlways cancel forwarding on ACTION_UP or ACTION_CANCEL.
Tony Wickham [Mon, 1 Aug 2016 20:06:40 +0000 (13:06 -0700)]
Always cancel forwarding on ACTION_UP or ACTION_CANCEL.

Bug: 30563284
Change-Id: I6285eda6d9f7a775f8ae896baebc420a0cf84e21

7 years agoMerge "Build fix: Updating SDK for tests" into ub-launcher3-calgary
Sunny Goyal [Mon, 1 Aug 2016 17:09:02 +0000 (17:09 +0000)]
Merge "Build fix: Updating SDK for tests" into ub-launcher3-calgary

7 years agoBuild fix: Updating SDK for tests
Sunny Goyal [Fri, 29 Jul 2016 23:53:47 +0000 (16:53 -0700)]
Build fix: Updating SDK for tests

Change-Id: I1377dce808335f65eb0799b7053c84853f57980a

7 years agoMerge "Set shortcuts arrow pivot to side connected to container." into ub-launcher3...
Tony Wickham [Sat, 30 Jul 2016 00:04:14 +0000 (00:04 +0000)]
Merge "Set shortcuts arrow pivot to side connected to container." into ub-launcher3-calgary

7 years agoSet shortcuts arrow pivot to side connected to container.
Tony Wickham [Fri, 29 Jul 2016 23:34:17 +0000 (16:34 -0700)]
Set shortcuts arrow pivot to side connected to container.

Bug: 30508528
Change-Id: Iddc733d79b680010785d21b347d151bc23bffc23

7 years agoMerge "Badging shortcuts with app icons" into ub-launcher3-calgary
Sunny Goyal [Fri, 29 Jul 2016 23:14:51 +0000 (23:14 +0000)]
Merge "Badging shortcuts with app icons" into ub-launcher3-calgary

7 years agoFilter shortcuts down to 4 if there are more.
Tony Wickham [Wed, 27 Jul 2016 19:32:32 +0000 (12:32 -0700)]
Filter shortcuts down to 4 if there are more.

- We take the first 4 in sorted order, except we remove up to 2
  static shortcuts to make room for dynamic ones if they exist.
- Added ShortcutFilterTest with testSortAndFilterShortcuts().
  This asserts that the filtered list is sorted and has the
  expected number of static and dynamic shortcuts based on
  inputs with various amounts of each.

Bug: 28980830
Change-Id: I832b6b21144f17c74bb8b90a840d6620e99911b8

7 years agoAdding quiet mode support for shortcuts
Sunny Goyal [Thu, 28 Jul 2016 19:11:54 +0000 (12:11 -0700)]
Adding quiet mode support for shortcuts

> LauncherApps returns empty list when the user is locked. Not relying on
LauncherApps in this case
> When the user is locked, removing all dynamic shortcuts
> Loading shortcuts from DB when the user is locked
> Verifying the shortcuts again when the user is available

Bug: 30411561
Change-Id: Ib6eb372c5b009cadb86a8f6e781f3f3cbf787ceb

7 years agoBadging shortcuts with app icons
Sunny Goyal [Thu, 28 Jul 2016 00:32:34 +0000 (17:32 -0700)]
Badging shortcuts with app icons

Change-Id: I3fa005ece20a54b31f823acb28c384ecdf1eafb1

7 years agoMerge "Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGE...
Hyunyoung Song [Fri, 29 Jul 2016 21:32:48 +0000 (21:32 +0000)]
Merge "Cancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS b/29645452" into ub-launcher3-calgary

7 years agoCancel exit spring loaded runnable when launcher state is set to APPS or WIDGETS
Hyunyoung Song [Fri, 29 Jul 2016 20:03:54 +0000 (13:03 -0700)]
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

7 years agoMerge changes I33da0d7f,I36c31609 into ub-launcher3-calgary
Winson Chung [Fri, 29 Jul 2016 05:49:20 +0000 (05:49 +0000)]
Merge changes I33da0d7f,I36c31609 into ub-launcher3-calgary

* changes:
  Working around incorrect wallpaper offsets being calculated in RTL.
  Fixing RTL wallpaper scrolling.

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 04:12:28 +0000 (04:12 +0000)]
Import translations. DO NOT MERGE
am: 3c654c199e  -s ours

Change-Id: I509897896e4a9930da187f4f2270050063073d46

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Fri, 29 Jul 2016 04:04:30 +0000 (04:04 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 01:52:23 +0000 (18:52 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I356f01214564a37fd27810a4bbd51a433ef5514d

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 29 Jul 2016 01:29:11 +0000 (18:29 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I1ddbf2a7fc380ae4cc7a4273370d47fae1122b07

7 years agoMerge "Prevent opening shortcuts container if one is already open." into ub-launcher3...
Tony Wickham [Fri, 29 Jul 2016 01:14:22 +0000 (01:14 +0000)]
Merge "Prevent opening shortcuts container if one is already open." into ub-launcher3-calgary

7 years agoUpdate fast scroll shadow to match other shadows
Peter Schiller [Thu, 28 Jul 2016 23:58:06 +0000 (16:58 -0700)]
Update fast scroll shadow to match other shadows

Change-Id: Ia19f64b8c3b5a09a11909f2792e3c0956a0dc1cd

7 years agoWorking around incorrect wallpaper offsets being calculated in RTL.
Winson [Thu, 28 Jul 2016 19:24:55 +0000 (12:24 -0700)]
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

7 years agoFixing RTL wallpaper scrolling.
Winson [Thu, 28 Jul 2016 19:24:55 +0000 (12:24 -0700)]
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

7 years agoMerge "Responsive caret drawable" into ub-launcher3-calgary
Peter Schiller [Thu, 28 Jul 2016 21:18:37 +0000 (21:18 +0000)]
Merge "Responsive caret drawable" into ub-launcher3-calgary

7 years agoResponsive caret drawable
Hyunyoung Song [Wed, 27 Jul 2016 19:48:09 +0000 (12:48 -0700)]
Responsive caret drawable

Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239

7 years agoOnly add shortcuts to the deep shortcut map if they are dynamic/manifest.
Tony Wickham [Thu, 28 Jul 2016 19:31:28 +0000 (12:31 -0700)]
Only add shortcuts to the deep shortcut map if they are dynamic/manifest.

Bug: 30475465
Change-Id: I93aff6330b86a3bfa3e6b5741ab759d835618f0b

7 years agoMerge "Showing the shortcuts in the disabled state and removing ti from the menu...
Sunny Goyal [Thu, 28 Jul 2016 19:23:28 +0000 (19:23 +0000)]
Merge "Showing the shortcuts in the disabled state and removing ti from the menu when its disabled" into ub-launcher3-calgary

7 years agoShowing the shortcuts in the disabled state and removing ti from the menu
Sunny Goyal [Thu, 28 Jul 2016 17:07:32 +0000 (10:07 -0700)]
Showing the shortcuts in the disabled state and removing ti from the menu
when its disabled

Bug: 30315906
Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c

7 years agoMerge "Fading in the first screen, when launcher loads for the first time" into ub...
Sunny Goyal [Thu, 28 Jul 2016 19:13:17 +0000 (19:13 +0000)]
Merge "Fading in the first screen, when launcher loads for the first time" into ub-launcher3-calgary

7 years agoStop setting original icon visible when dragging app with shortcuts.
Tony Wickham [Thu, 28 Jul 2016 18:27:03 +0000 (11:27 -0700)]
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

7 years agoMerge "Check package name and user handle in onShortcutsChanged()." into ub-launcher3...
Tony Wickham [Thu, 28 Jul 2016 17:18:07 +0000 (17:18 +0000)]
Merge "Check package name and user handle in onShortcutsChanged()." into ub-launcher3-calgary

7 years agoCheck package name and user handle in onShortcutsChanged().
Tony Wickham [Thu, 28 Jul 2016 01:22:41 +0000 (18:22 -0700)]
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

7 years agoFading in the first screen, when launcher loads for the first time
Sunny Goyal [Sat, 2 Apr 2016 18:23:39 +0000 (11:23 -0700)]
Fading in the first screen, when launcher loads for the first time

Bug: 29007436
Bug: 27705838
Change-Id: I95891d0bad19a67985b689bb96d6068dcd85004a

7 years agoLauncher shortcuts animations update.
Sunny Goyal [Fri, 22 Jul 2016 17:50:11 +0000 (10:50 -0700)]
Launcher shortcuts animations update.

> The shortcut container closes with an animation
> When opening/closing the animation only the icon scales
and not the title and drag handle
> When dragging the icon, it starts from the original icon position and
moves under the user finger. The container grows to follow the drag view.

Bug: 28980830
Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664

7 years agoMerge "Cleanup deferred drag when closing deep shortcuts container." into ub-launcher...
Tony Wickham [Thu, 28 Jul 2016 00:29:45 +0000 (00:29 +0000)]
Merge "Cleanup deferred drag when closing deep shortcuts container." into ub-launcher3-calgary

7 years agoMerge "Fade QSB with the workspace as the overlay enters" into ub-launcher3-calgary
Sunny Goyal [Thu, 28 Jul 2016 00:23:04 +0000 (00:23 +0000)]
Merge "Fade QSB with the workspace as the overlay enters" into ub-launcher3-calgary

7 years agoPrevent opening shortcuts container if one is already open.
Tony Wickham [Thu, 28 Jul 2016 00:10:01 +0000 (17:10 -0700)]
Prevent opening shortcuts container if one is already open.

Bug: 30245433
Change-Id: Id50f9e4b9ff40e1d1124caee537a07a594d6a790

7 years agoMerge "Remove two redundant layout pass in AllAppsTransitionController." into ub...
Hyunyoung Song [Thu, 28 Jul 2016 00:09:12 +0000 (00:09 +0000)]
Merge "Remove two redundant layout pass in AllAppsTransitionController." into ub-launcher3-calgary

7 years agoRemove two redundant layout pass in AllAppsTransitionController.
Hyunyoung Song [Thu, 28 Jul 2016 00:08:38 +0000 (17:08 -0700)]
Remove two redundant layout pass in AllAppsTransitionController.

Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad

7 years agoFade QSB with the workspace as the overlay enters
Adam Cohen [Wed, 27 Jul 2016 23:56:37 +0000 (16:56 -0700)]
Fade QSB with the workspace as the overlay enters

Change-Id: Iadab9d9f051a85f6772a5d54d38534fcf1b029d7

7 years agoCleanup deferred drag when closing deep shortcuts container.
Tony Wickham [Wed, 27 Jul 2016 23:09:01 +0000 (16:09 -0700)]
Cleanup deferred drag when closing deep shortcuts container.

This fixes those states where a drag view dangles on the screen
forever until launcher restarts. For instance, long press
Settings and press home before letting go.

Bug: 30291280

Change-Id: Ib8c403a02a17f35ba170c21f78f41bdc3b48d096

7 years agoClearing search query after clearing input text.
Winson [Wed, 27 Jul 2016 20:50:05 +0000 (13:50 -0700)]
Clearing search query after clearing input text.

Bug: 30435142
Change-Id: I3f00e1339aba46f4ab3cd092e59a94b506179dcf

7 years agoMerge "Change default animation duration for all apps open and close." into ub-launch...
Hyunyoung Song [Wed, 27 Jul 2016 18:55:29 +0000 (18:55 +0000)]
Merge "Change default animation duration for all apps open and close." into ub-launcher3-calgary

7 years agoChange default animation duration for all apps open and close.
Hyunyoung Song [Wed, 27 Jul 2016 18:54:02 +0000 (11:54 -0700)]
Change default animation duration for all apps open and close.

> Also set different interpolator for all apps opening clicking the caret

Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941

7 years agoMerge "Updating the label for shortcuts aciton" into ub-launcher3-calgary
Sunny Goyal [Wed, 27 Jul 2016 18:19:05 +0000 (18:19 +0000)]
Merge "Updating the label for shortcuts aciton" into ub-launcher3-calgary

7 years agoUpdating the label for shortcuts aciton
Sunny Goyal [Wed, 27 Jul 2016 18:16:46 +0000 (11:16 -0700)]
Updating the label for shortcuts aciton

Bug: 30374655
Change-Id: I92d269aca8b9361356b1b2241b24fc9e17ad1074

7 years agoMerge "AllAppsTransitionController always use LauncherStateTransitionAnimation b...
Hyunyoung Song [Wed, 27 Jul 2016 18:03:52 +0000 (18:03 +0000)]
Merge "AllAppsTransitionController always use LauncherStateTransitionAnimation b/30375760" into ub-launcher3-calgary

7 years agoAllAppsTransitionController always use LauncherStateTransitionAnimation
Hyunyoung Song [Wed, 27 Jul 2016 17:55:51 +0000 (10:55 -0700)]
AllAppsTransitionController always use LauncherStateTransitionAnimation
b/30375760

Change-Id: Iee2f8060e4d272d276ddd5d40b4bc6053e8c7778

7 years agoMerge "Match updated redlines for shortcuts." into ub-launcher3-calgary
Sunny Goyal [Wed, 27 Jul 2016 03:05:47 +0000 (03:05 +0000)]
Merge "Match updated redlines for shortcuts." into ub-launcher3-calgary

7 years agoMerge "Moved hide keyboard to its own method" into ub-launcher3-calgary
Peter Schiller [Wed, 27 Jul 2016 02:31:46 +0000 (02:31 +0000)]
Merge "Moved hide keyboard to its own method" into ub-launcher3-calgary

7 years agoMatch updated redlines for shortcuts.
Tony [Tue, 26 Jul 2016 00:17:11 +0000 (17:17 -0700)]
Match updated redlines for shortcuts.

- Align shortcut icons with original icon.
- Drag handle is lighter and smaller.
- Shortcut pills are slightly wider to accommodate long text.

Bug: 28980830
Change-Id: I8e9709e3cbdb9df86a805a4b63a696975c61df5a

7 years agoMoved hide keyboard to its own method
Peter Schiller [Wed, 27 Jul 2016 00:34:05 +0000 (17:34 -0700)]
Moved hide keyboard to its own method

Change-Id: I3f5877965a2b8f92d48e2fecef54f400b6e455d2

7 years agoMerge "Remove DisallowIntercept runnable from ShortcutsContainerListener." into ub...
Tony Wickham [Wed, 27 Jul 2016 00:16:56 +0000 (00:16 +0000)]
Merge "Remove DisallowIntercept runnable from ShortcutsContainerListener." into ub-launcher3-calgary

7 years agoAdd arrow view to deep shortcuts container.
Tony [Fri, 22 Jul 2016 19:46:51 +0000 (12:46 -0700)]
Add arrow view to deep shortcuts container.

- We create a trangular path, which we use as the view's
  outline (for the shadow) and as its PathShape background.
- We scale up the arrow as the container opens.

Bug: 28980830
Change-Id: I71e566552f063dfdb69067bb7e3cee659988f934

7 years agoRemove DisallowIntercept runnable from ShortcutsContainerListener.
Tony Wickham [Tue, 26 Jul 2016 23:20:25 +0000 (16:20 -0700)]
Remove DisallowIntercept runnable from ShortcutsContainerListener.

This was copied from ForwardingListener, which was used to prevent
scrollable parents from intercepting swipe gestures. We only use
long press, so we don't want to do this.

Bug: 30230790
Change-Id: Icbb692c1b46ad8287af2942baa452f3578fee679

7 years agoMerge "Remove hover-to-launch gesture for shortcuts." into ub-launcher3-calgary
Tony Wickham [Tue, 26 Jul 2016 23:11:08 +0000 (23:11 +0000)]
Merge "Remove hover-to-launch gesture for shortcuts." into ub-launcher3-calgary

7 years agoRemove hover-to-launch gesture for shortcuts.
Tony Wickham [Tue, 26 Jul 2016 22:13:38 +0000 (15:13 -0700)]
Remove hover-to-launch gesture for shortcuts.

- You can no longer long press and drag over shortcuts before
  lifting to launch them.
- Dragging in any direction past a threshold enters spring-loaded mode.

Bug: 28980830
Change-Id: I36bfc379cc983017456a3ef0314faa1ac9691c36

7 years agoMerge "Removing shadow and badging from the icon which is shown in the menu These...
Sunny Goyal [Tue, 26 Jul 2016 22:15:09 +0000 (22:15 +0000)]
Merge "Removing shadow and badging from the icon which is shown in the menu These are added as soon as the icon is added to the workspace" into ub-launcher3-calgary

7 years agoRemoving shadow and badging from the icon which is shown in the menu
Sunny Goyal [Wed, 20 Jul 2016 22:42:44 +0000 (15:42 -0700)]
Removing shadow and badging from the icon which is shown in the menu
These are added as soon as the icon is added to the workspace

Bug: 28980830
Change-Id: I725d2ee8994324f09d9ecf7bbbb0090a7ceb5769

7 years agoMerge "Adding TransformingTouchDelegate to allow transforming touch events before...
Sunny Goyal [Tue, 26 Jul 2016 17:55:58 +0000 (17:55 +0000)]
Merge "Adding TransformingTouchDelegate to allow transforming touch events before sending to the delegate." into ub-launcher3-calgary

7 years agoMerge "Fixing regression where the source icon becomes visible while dragging" into...
Sunny Goyal [Tue, 26 Jul 2016 17:20:25 +0000 (17:20 +0000)]
Merge "Fixing regression where the source icon becomes visible while dragging" into ub-launcher3-calgary

7 years agoMerge "Ensure that we update the preview layout rule when not animating." into ub...
Winson Chung [Tue, 26 Jul 2016 16:47:50 +0000 (16:47 +0000)]
Merge "Ensure that we update the preview layout rule when not animating." into ub-launcher3-calgary

7 years agoMerge "Added custom actions for showing the shortcuts menu and adding a quick action...
Sunny Goyal [Tue, 26 Jul 2016 00:39:51 +0000 (00:39 +0000)]
Merge "Added custom actions for showing the shortcuts menu and adding a quick action on the home screen" into ub-launcher3-calgary

7 years agoAdded custom actions for showing the shortcuts menu and adding a quick action
Sunny Goyal [Mon, 25 Jul 2016 20:54:32 +0000 (13:54 -0700)]
Added custom actions for showing the shortcuts menu and adding a quick action
on the home screen

Bug: 30374655
Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2

7 years agoAdjusting the text shadows
Sunny Goyal [Tue, 26 Jul 2016 00:08:38 +0000 (17:08 -0700)]
Adjusting the text shadows

Bug: 30192204
Change-Id: I4a12246521c41146b801f326a3d37e88aa49b727

7 years agoEnsure that we update the preview layout rule when not animating.
Winson [Mon, 25 Jul 2016 23:49:15 +0000 (16:49 -0700)]
Ensure that we update the preview layout rule when not animating.

Bug: 28166173
Change-Id: Ibf0245f2dd667216ccabb23a1b279b1801d60cac

7 years agoFixing regression where the source icon becomes visible while dragging
Sunny Goyal [Mon, 25 Jul 2016 21:13:04 +0000 (14:13 -0700)]
Fixing regression where the source icon becomes visible while dragging

Bug: 30291280
Change-Id: I5687e00371315a318e8ff93dd3de4c5f437a6971

7 years agoMerge "Refresh the all apps container search result when apps are installed" into...
Hyunyoung Song [Mon, 25 Jul 2016 21:28:22 +0000 (21:28 +0000)]
Merge "Refresh the all apps container search result when apps are installed" into ub-launcher3-calgary

7 years agoRefresh the all apps container search result when apps are installed
Hyunyoung Song [Mon, 25 Jul 2016 21:24:08 +0000 (14:24 -0700)]
Refresh the all apps container search result when apps are installed

b/30102209

> After user comes back from the play store after installing
the app that didn't exist when searched, the app will now be
shown in the filtered search result list.

Change-Id: Ia5fe501596127a7401928e5db2d6f425ad753701

7 years agoFixing missed events during motion interaction
Sunny Goyal [Mon, 25 Jul 2016 20:32:24 +0000 (13:32 -0700)]
Fixing missed events during motion interaction

> Only ignoring touch events during the start of the motion events
> Handling action_cancel

Bug: 30291280
Change-Id: I4aa791b30c65ebaff90bb2f232d77de62ab6a033

7 years agoMerge "Ensure we still build the hw layers when pulling up all apps." into ub-launche...
Winson Chung [Mon, 25 Jul 2016 18:32:06 +0000 (18:32 +0000)]
Merge "Ensure we still build the hw layers when pulling up all apps." into ub-launcher3-calgary

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Mon, 25 Jul 2016 16:45:37 +0000 (16:45 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoMerge "Updating the search hint to contain the icon as a span object." into ub-launch...
Sunny Goyal [Mon, 25 Jul 2016 16:39:23 +0000 (16:39 +0000)]
Merge "Updating the search hint to contain the icon as a span object." into ub-launcher3-calgary

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 25 Jul 2016 15:58:38 +0000 (08:58 -0700)]
Import translations. DO NOT MERGE

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

7 years agoFixing regression in folder positioning.
Winson [Fri, 22 Jul 2016 23:35:37 +0000 (16:35 -0700)]
Fixing regression in folder positioning.

- When we had the search bar, the workspace padding always
  accounted for the search bar (and therefor drop target bar) height
  when the folder opened.  Now that there is no padding on the top, we
  should offset the bar whenever possible to ensure that the drop target
  bar is visible.

Bug: 30110595
Change-Id: Ia9a8581981c777f2507b6bd880994a3dcfd52c39