OSDN Git Service

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

7 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

7 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

7 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

7 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 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

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