OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agoEnsure we still build the hw layers when pulling up all apps.
Winson [Fri, 22 Jul 2016 20:38:31 +0000 (13:38 -0700)]
Ensure we still build the hw layers when pulling up all apps.

Bug: 30310330
Change-Id: I0d9f2fe01230bdb333c098b5515fc196ac2da2dc

8 years agoLong press on the caret should start search on all apps container
Hyunyoung Song [Fri, 22 Jul 2016 21:22:49 +0000 (14:22 -0700)]
Long press on the caret should start search on all apps container

Change-Id: I87e6b8a9b43bf8a84bcf4d39302bc5c6f6a5f3fd

8 years agoUpdating the search hint to contain the icon as a span object.
Sunny Goyal [Thu, 21 Jul 2016 17:42:30 +0000 (10:42 -0700)]
Updating the search hint to contain the icon as a span object.

This makes the icon part of the hint text, and removes any need for
custom focus event handling.
Also the icon will now appear at the start of the text  based on the
direction of the text and not the direction of the layout

Change-Id: I06c5cf99492d75b1005c69ec7c521cde0fdab010

8 years agoMerge "Increasing the size of the drag icon when a shortcut is dragged" into ub-launc...
Sunny Goyal [Fri, 22 Jul 2016 17:47:50 +0000 (17:47 +0000)]
Merge "Increasing the size of the drag icon when a shortcut is dragged" into ub-launcher3-calgary

8 years agoMerge "Animate discovery bounce for all apps pull up interaction b/30221381" into...
Hyunyoung Song [Fri, 22 Jul 2016 00:33:12 +0000 (00:33 +0000)]
Merge "Animate discovery bounce for all apps pull up interaction b/30221381" into ub-launcher3-calgary

8 years agoAnimate discovery bounce for all apps pull up interaction
Hyunyoung Song [Fri, 22 Jul 2016 00:32:43 +0000 (17:32 -0700)]
Animate discovery bounce for all apps pull up interaction
b/30221381

> Will not support landscape case. If the user knows how to enable
rotation, it's very unlikely they don't know how to bring up apps drawer
> If unlocked using finger unlock immediately after screen is turned
off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast

Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c

8 years agoMerge "Fix deep shortcuts RTL issues." into ub-launcher3-calgary
Tony Wickham [Thu, 21 Jul 2016 22:26:56 +0000 (22:26 +0000)]
Merge "Fix deep shortcuts RTL issues." into ub-launcher3-calgary

8 years agoIncreasing the size of the drag icon when a shortcut is dragged
Sunny Goyal [Wed, 20 Jul 2016 21:55:26 +0000 (14:55 -0700)]
Increasing the size of the drag icon when a shortcut is dragged

Change-Id: I7d768657300d3229e05d1eb18aec3720a9098ffc

8 years agoFix deep shortcuts RTL issues.
Tony Wickham [Wed, 20 Jul 2016 18:39:58 +0000 (11:39 -0700)]
Fix deep shortcuts RTL issues.

- Container was shifted off screen.
- Touch down x coordinate was incorrect, causing the deferred
  drag to start immediately upon moving the original icon.

Bug: 30075428
Change-Id: I148b6f4f7945ecbcf67b52ba26a2af0065d8f538

8 years agoFix NPE on clicking the all apps caret.
Hyunyoung Song [Thu, 21 Jul 2016 19:47:28 +0000 (12:47 -0700)]
Fix NPE on clicking the all apps caret.

Change-Id: I2623e7470ffe711bce375699b9579803ded6c02f

8 years agoMerge "Optimizing open shortcuts container lookep" into ub-launcher3-calgary
Sunny Goyal [Thu, 21 Jul 2016 18:57:21 +0000 (18:57 +0000)]
Merge "Optimizing open shortcuts container lookep" into ub-launcher3-calgary

8 years agoAdd user event log for deep shortcuts and all apps opening interaction.
Hyunyoung Song [Thu, 21 Jul 2016 18:48:37 +0000 (11:48 -0700)]
Add user event log for deep shortcuts and all apps opening interaction.
b/30114798

Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823

8 years agoMerge changes I09bce218,Id5716a34 into ub-launcher3-calgary
Winson Chung [Thu, 21 Jul 2016 16:58:41 +0000 (16:58 +0000)]
Merge changes I09bce218,Id5716a34 into ub-launcher3-calgary

* changes:
  Matching hotseat to spec.
  Fixing issue with shadow drawing over search bar.

8 years agoOptimizing open shortcuts container lookep
Sunny Goyal [Thu, 21 Jul 2016 00:42:05 +0000 (17:42 -0700)]
Optimizing open shortcuts container lookep

findviewById does a DFS, inseat only looking at the first level children

Change-Id: Idc028a56648ca026c6022425e3a6e7453fa91986

8 years agoChange shortcut background to #FFFFFF, as per spec.
Tony Wickham [Thu, 21 Jul 2016 00:40:06 +0000 (17:40 -0700)]
Change shortcut background to #FFFFFF, as per spec.

Bug: 28980830
Change-Id: Ie05ce97267cdeaebeb48691a948c61961d2a39d2

8 years agoMerge "Add drag handle to shortcuts." into ub-launcher3-calgary
Tony Wickham [Thu, 21 Jul 2016 00:38:35 +0000 (00:38 +0000)]
Merge "Add drag handle to shortcuts." into ub-launcher3-calgary

8 years agoMerge "Centered all apps search text" into ub-launcher3-calgary
Hyunyoung Song [Thu, 21 Jul 2016 00:35:05 +0000 (00:35 +0000)]
Merge "Centered all apps search text" into ub-launcher3-calgary

8 years agoAdd drag handle to shortcuts.
Tony Wickham [Wed, 20 Jul 2016 22:21:04 +0000 (15:21 -0700)]
Add drag handle to shortcuts.

Also use short text if long text is ellipsized.

Bug: 30212144
Bug: 28980830
Change-Id: I213766bca0561d284d1da883ca37b0a42d886129

8 years agoMatching hotseat to spec.
Winson [Thu, 21 Jul 2016 00:21:55 +0000 (17:21 -0700)]
Matching hotseat to spec.

- Fixing regression in hottest folder background getting clipped
- Ensuring that the padding is correctly applied in vertical bar layout
  to match workspace

Bug: 30021487
Change-Id: I09bce21829867f4bd4e50646e565959421e4984c

8 years agoFixing issue with shadow drawing over search bar.
Winson [Wed, 20 Jul 2016 19:55:49 +0000 (12:55 -0700)]
Fixing issue with shadow drawing over search bar.

- Adding notion of clip-against view for click shadow alignment.

Bug: 30255227
Change-Id: Id5716a3484051a55690025d61f709e3d96cbe024

8 years agoMerge "Fixing missing user check when updating shortcuts for an app" into ub-launcher...
Sunny Goyal [Wed, 20 Jul 2016 22:13:58 +0000 (22:13 +0000)]
Merge "Fixing missing user check when updating shortcuts for an app" into ub-launcher3-calgary

8 years agoFixing small regressions from layout tweaks
Winson [Wed, 20 Jul 2016 21:25:07 +0000 (14:25 -0700)]
Fixing small regressions from layout tweaks

- Ensure that the caret is the right height
- Ensure that the workspace page spacing matches the workspace padding,
  but just offscreen

Bug: 30021487
Change-Id: Iaf4b33db0f6456b74986638fb6b6af78fc6e1859

8 years agoFixing missing user check when updating shortcuts for an app
Sunny Goyal [Wed, 20 Jul 2016 19:35:16 +0000 (12:35 -0700)]
Fixing missing user check when updating shortcuts for an app

Change-Id: I889c555d3402fd71098af29b78eb6d959a071080

8 years agoCaret background protection
Peter Schiller [Wed, 20 Jul 2016 20:58:41 +0000 (13:58 -0700)]
Caret background protection

Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39

8 years agoMerge "Adding support for dynamically adding shadows to the icon" into ub-launcher3...
Sunny Goyal [Wed, 20 Jul 2016 19:15:09 +0000 (19:15 +0000)]
Merge "Adding support for dynamically adding shadows to the icon" into ub-launcher3-calgary

8 years agoMerge "Using the same clip animation for wallpaper button as using for app icons...
Sunny Goyal [Wed, 20 Jul 2016 19:01:50 +0000 (19:01 +0000)]
Merge "Using the same clip animation for wallpaper button as using for app icons" into ub-launcher3-calgary

8 years agoMerge "Protecting QSB scroll while transition animation is running." into ub-launcher...
Sunny Goyal [Wed, 20 Jul 2016 18:59:20 +0000 (18:59 +0000)]
Merge "Protecting QSB scroll while transition animation is running." into ub-launcher3-calgary

8 years agoUsing the same clip animation for wallpaper button as using for app icons
Sunny Goyal [Wed, 20 Jul 2016 18:43:06 +0000 (11:43 -0700)]
Using the same clip animation for wallpaper button as using for app icons

Bug: 30222414
Change-Id: I12ea7be255abe572c29102b6e93c4d2cdfce0aff

8 years agoMerge "Initial changes to tweak layout." into ub-launcher3-calgary
Winson Chung [Wed, 20 Jul 2016 18:51:22 +0000 (18:51 +0000)]
Merge "Initial changes to tweak layout." into ub-launcher3-calgary

8 years agoAdding support for dynamically adding shadows to the icon
Sunny Goyal [Tue, 19 Jul 2016 21:19:53 +0000 (14:19 -0700)]
Adding support for dynamically adding shadows to the icon

Change-Id: I94d98750aea1faef8879e25990aa5c41a4894708

8 years agoProtecting QSB scroll while transition animation is running.
Sunny Goyal [Wed, 20 Jul 2016 18:18:25 +0000 (11:18 -0700)]
Protecting QSB scroll while transition animation is running.

During transition animation the qorkspace scroll changes while the actual
workspace UI is mostly stable. This causes the QSB to animate while the
pages are not changing.
Bug: 30229069

Change-Id: I66ec41276c0e26164d20da6a5e0e251975390428

8 years agoInitial changes to tweak layout.
Winson [Tue, 19 Jul 2016 00:18:02 +0000 (17:18 -0700)]
Initial changes to tweak layout.

- Adding DeviceProfile callback for when the launcher layout changes due
  to insets.  This is necessary since there are now different layouts
  depending on which side the navigation bar is on
- Consolidating hotseat and other layout into the device profile
  launcher layout logic
- Making the all apps icons match the workspace icon height
- Tweaking caret drawable to draw to the bounds specified to simplify
  layout in each orientation
- Fixing minor issue with page indicator shifting in landscape
- Centering overview buttons to the workspace page

Bug: 30021487
Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13

8 years agoMerge "Fixing accessibility description for apps search box" into ub-launcher3-calgary
Sunny Goyal [Wed, 20 Jul 2016 01:49:15 +0000 (01:49 +0000)]
Merge "Fixing accessibility description for apps search box" into ub-launcher3-calgary

8 years agoMerge "Centered typing in search field" into ub-launcher3-calgary
Peter Schiller [Wed, 20 Jul 2016 00:31:23 +0000 (00:31 +0000)]
Merge "Centered typing in search field" into ub-launcher3-calgary

8 years agoCentered typing in search field
Peter Schiller [Tue, 19 Jul 2016 23:01:32 +0000 (16:01 -0700)]
Centered typing in search field

Change-Id: Iae46722195d0d06ff88da52df4fa48ca7b157512

8 years agoUpdate shortcut animations.
Tony Wickham [Sat, 16 Jul 2016 00:23:07 +0000 (17:23 -0700)]
Update shortcut animations.

- Open animation: shortcuts reveal using modified circular reveal
  (so that it reveals in the pill shape instead of a circle);
  slight translation away from the original icon; scale icon and text.
- Hover animation: scale the shortcut pill and translate others away.

Bug: 28980830
Bug: 30127368
Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f

8 years agoMerge "Implement ranking for shortcuts." into ub-launcher3-calgary
Tony Wickham [Tue, 19 Jul 2016 20:54:18 +0000 (20:54 +0000)]
Merge "Implement ranking for shortcuts." into ub-launcher3-calgary

8 years agoImplement ranking for shortcuts.
Tony Wickham [Thu, 14 Jul 2016 00:05:52 +0000 (17:05 -0700)]
Implement ranking for shortcuts.

- Manifest shortcuts are closest to the original icon, in rank order,
  followed by dynamic shortcuts in rank order.
- Also prevent pinned shortcuts from showing in container if they
  aren't also dynamic (only manifest and dynamic show in container).

Bug: 29822383
Bug: 29946657
Change-Id: I5cdb2ef3700daedca01987f64c245beb3f4aa5ee

8 years agoRemove caret in overview mode
Peter Schiller [Fri, 15 Jul 2016 18:57:54 +0000 (11:57 -0700)]
Remove caret in overview mode

Bug: 30162951
Change-Id: I71f585e4ae6dfba9dc1d18cd00e45d081cabd4b3

8 years agoCentered all apps search text
Peter Schiller [Tue, 19 Jul 2016 19:11:05 +0000 (12:11 -0700)]
Centered all apps search text

Change-Id: I21aaec56cd2202cea284880a28d9513435877368

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 19 Jul 2016 08:06:21 +0000 (01:06 -0700)]
Import translations. DO NOT MERGE

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

8 years agoSupport gray hotseat background in all apps transition
Hyunyoung Song [Mon, 18 Jul 2016 23:35:10 +0000 (16:35 -0700)]
Support gray hotseat background in all apps transition
b/30201515

Change-Id: Ie4b8442ac804b4df94e9673608129e6ffc0c3360

8 years agoAdding TransformingTouchDelegate to allow transforming touch events before
Sunny Goyal [Fri, 15 Jul 2016 19:57:18 +0000 (12:57 -0700)]
Adding TransformingTouchDelegate to allow transforming touch events before
sending to the delegate.

Change-Id: I1dfb727fe433bed05dd5ac3d0f779ede4ec1d292

8 years agoMerge "Fixing adjascent pages not visible when starting animation" into ub-launcher3...
Sunny Goyal [Fri, 15 Jul 2016 18:05:15 +0000 (18:05 +0000)]
Merge "Fixing adjascent pages not visible when starting animation" into ub-launcher3-calgary

8 years agoMerge "Fixing page indicator being drawn at wrong position" into ub-launcher3-calgary
Sunny Goyal [Fri, 15 Jul 2016 18:04:56 +0000 (18:04 +0000)]
Merge "Fixing page indicator being drawn at wrong position" into ub-launcher3-calgary

8 years agoFixing page indicator being drawn at wrong position
Sunny Goyal [Fri, 15 Jul 2016 16:45:22 +0000 (09:45 -0700)]
Fixing page indicator being drawn at wrong position

Bug: 29640885
Change-Id: I935e22174554447ddcb5e0a8eb6e2c78a3d5fdfb

8 years agoFixing adjascent pages not visible when starting animation
Sunny Goyal [Fri, 15 Jul 2016 15:35:27 +0000 (08:35 -0700)]
Fixing adjascent pages not visible when starting animation

Bug: 30125058
Change-Id: I99167b7c169479d06408f441e23b804077487975

8 years agoFixing accessibility description for apps search box
Sunny Goyal [Fri, 15 Jul 2016 15:10:21 +0000 (08:10 -0700)]
Fixing accessibility description for apps search box

Change-Id: I9c6c85eeec5e54dd29867c58ead7ce43acdc7cb1

8 years agoAccount for RTL with search animation
Peter Schiller [Fri, 15 Jul 2016 01:17:08 +0000 (18:17 -0700)]
Account for RTL with search animation

Change-Id: I869c285e7c0e7a3d14c1a897330d04b794390c76

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