OSDN Git Service

android-x86/packages-apps-Launcher3.git
7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 6 Oct 2016 08:59:32 +0000 (01:59 -0700)]
Import translations. DO NOT MERGE

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

7 years agoAdd user event logging for tap on search b/31772967
Hyunyoung Song [Wed, 5 Oct 2016 18:27:37 +0000 (18:27 +0000)]
Add user event logging for tap on search b/31772967
am: d8fcffb8fe

Change-Id: I67e36fb3167a40c24957b4ec3bb7ed08d9966e62

7 years agoMerge "Fixing creash when binding QSB" into ub-launcher3-master
Sunny Goyal [Tue, 4 Oct 2016 20:58:44 +0000 (20:58 +0000)]
Merge "Fixing creash when binding QSB" into ub-launcher3-master

7 years agoFixing creash when binding QSB
Sunny Goyal [Tue, 4 Oct 2016 20:50:45 +0000 (13:50 -0700)]
Fixing creash when binding QSB

Change-Id: I0db112e3dc60cb59db10fde3d9088c11a09fae8c

7 years agoUpdate pre-drag lifecycle for apps with shortcuts.
Tony Wickham [Wed, 28 Sep 2016 19:49:25 +0000 (12:49 -0700)]
Update pre-drag lifecycle for apps with shortcuts.

- First of all, deferred drag has been renamed to pre-drag
  to avoid confusion with the existing deferred end drag.
- For normal drags, the cycle is still startDrag -->
  onDragStart --> onDrop --> onDropComplete --> onDragEnd.
- Pre-drags have two additional callbacks: onPreDragStart
  and onPreDragEnd. onPreDragStart is called between
  startDrag and onDragStart, and onPreDragEnd is called
  at the same time as onDragStart or onDragEnd.
- If the pre-drag has not transitioned to a full drag before
  onDragEnd, onDragStart and onDropComplete are skipped
  (onDrop is still called to allow the DragView to animate).

Change-Id: Icd7a8f75d5fcc159f9a52758c22ab6eae3edb9e2

7 years agoMerge "Moving the widget auto-advance logic to AppWidgetHostView instead of handling...
Sunny Goyal [Mon, 3 Oct 2016 21:35:39 +0000 (21:35 +0000)]
Merge "Moving the widget auto-advance logic to AppWidgetHostView instead of handling it in launcher" into ub-launcher3-master

7 years agoMerge "Exposing custom actions using keyboard shortcut" into ub-launcher3-master
Sunny Goyal [Mon, 3 Oct 2016 21:12:20 +0000 (21:12 +0000)]
Merge "Exposing custom actions using keyboard shortcut" into ub-launcher3-master

7 years agoAdd user event logging for tap on search
Hyunyoung Song [Mon, 3 Oct 2016 21:01:25 +0000 (14:01 -0700)]
Add user event logging for tap on search
b/31772967

Change-Id: I71ececb8195d46405623a8ae2a99d001088d9181

7 years agoMerge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3...
Hyunyoung Song [Fri, 30 Sep 2016 23:29:33 +0000 (23:29 +0000)]
Merge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3-calgary-polish
am: 70a421e224

Change-Id: I137233073999cf59871545c54b63f8bd889fdf8e

7 years agoConsume ACTION_UP when fling is detected on top of icon
Hyunyoung Song [Fri, 30 Sep 2016 23:29:32 +0000 (23:29 +0000)]
Consume ACTION_UP when fling is detected on top of icon
am: 035a516e18

Change-Id: I0eb8f0c83e1a1611d8bb3b9309d69b8df7c7a19d

7 years agoMerge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3...
Hyunyoung Song [Fri, 30 Sep 2016 23:21:04 +0000 (23:21 +0000)]
Merge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3-calgary-polish

7 years agoConsume ACTION_UP when fling is detected on top of icon
Hyunyoung Song [Fri, 30 Sep 2016 23:13:55 +0000 (16:13 -0700)]
Consume ACTION_UP when fling is detected on top of icon

Bug: Adam found out that when you swipe down fast on an icon, you can
launch search AND launch an app. Only one should trigger and not both.

Change-Id: I66b9df26d8bb355f011d057dafd45f90f59b82ae

7 years agoMerge "Agressively change the color of the the all apps background during pull up...
Hyunyoung Song [Fri, 30 Sep 2016 20:57:21 +0000 (20:57 +0000)]
Merge "Agressively change the color of the the all apps background during pull up b/30502942" into ub-launcher3-calgary-polish
am: 37ecabc88e

Change-Id: I9bd651924636488451e000d805eda3113e334932

7 years agoAgressively change the color of the the all apps background during pull up b/30502942
Hyunyoung Song [Fri, 30 Sep 2016 20:57:20 +0000 (20:57 +0000)]
Agressively change the color of the the all apps background during pull up b/30502942
am: 81a56f9acc

Change-Id: I0f3bd04b2bb69dbeb2f4578c74fdbfa5b34c0e8b

7 years agoMerge "Agressively change the color of the the all apps background during pull up...
Hyunyoung Song [Fri, 30 Sep 2016 20:53:21 +0000 (20:53 +0000)]
Merge "Agressively change the color of the the all apps background during pull up b/30502942" into ub-launcher3-calgary-polish

7 years agoAgressively change the color of the the all apps background during pull up
Hyunyoung Song [Fri, 30 Sep 2016 19:57:16 +0000 (12:57 -0700)]
Agressively change the color of the the all apps background during pull up
b/30502942

Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a

7 years agoRemoving some TODOs with proper system API
Sunny Goyal [Fri, 30 Sep 2016 19:18:25 +0000 (12:18 -0700)]
Removing some TODOs with proper system API

Change-Id: I0d0e667cd6af8a7b9dbf3d0fd417f009ae402519

7 years agoMoving the widget auto-advance logic to AppWidgetHostView instead of
Sunny Goyal [Mon, 26 Sep 2016 04:23:25 +0000 (21:23 -0700)]
Moving the widget auto-advance logic to AppWidgetHostView instead of
handling it in launcher

This fixes the bug where launcher ignores auto-advance property changes
during app update or widget remote views update as well as simplifies
widget management

On potential downside of this refactoring is that the auto advance will
keep running even when all-apps or widgets tray is open. We could
eventually use onVisibilityAggregated to handle visibility changes,
but currenly the workspace visibility is not being updated properly
in these cases

Change-Id: Ie7331fec1877f43ad23e634d37571d8f3ef51e59

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
Bill Yi [Thu, 29 Sep 2016 07:39:42 +0000 (07:39 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am: f7f41bd4fa  -s ours

Change-Id: Ia9a560e703630cc152ea32c667b49b37a7caee5b

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 29 Sep 2016 07:39:42 +0000 (07:39 +0000)]
Import translations. DO NOT MERGE
am: 2b7b76c018  -s ours

Change-Id: I834461c358294cc7c6e04cc53b0c04804af799be

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
TreeHugger Robot [Thu, 29 Sep 2016 07:31:07 +0000 (07:31 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-master
TreeHugger Robot [Thu, 29 Sep 2016 07:30:45 +0000 (07:30 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 29 Sep 2016 04:51:45 +0000 (21:51 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 29 Sep 2016 04:50:56 +0000 (21:50 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
Tony Wickham [Thu, 29 Sep 2016 01:36:19 +0000 (01:36 +0000)]
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
am: f0fc3c4674

Change-Id: I965c225ab3ab0062c2176af933e019e77011a745

7 years agoSome minor fixes for extracted status bar.
Tony Wickham [Thu, 29 Sep 2016 01:36:18 +0000 (01:36 +0000)]
Some minor fixes for extracted status bar.
am: 345bff3ce6

Change-Id: I3a9e57fb93124b1d462b0fb8173419b887e85a84

7 years agoMerge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
Tony Wickham [Thu, 29 Sep 2016 01:27:07 +0000 (01:27 +0000)]
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish

7 years agoMerge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 23:53:42 +0000 (23:53 +0000)]
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
am: d5e1ca2d05

Change-Id: I576f05f943df3b9aaf5e318d9d8afe7f54591a61

7 years agoDecrease drop target left and right padding.
Tony Wickham [Wed, 28 Sep 2016 23:53:41 +0000 (23:53 +0000)]
Decrease drop target left and right padding.
am: e0dab19c71

Change-Id: If9c1fcaa99fb9e41eefa61895752f1a7558c29bf

7 years agoSome minor fixes for extracted status bar.
Tony Wickham [Wed, 28 Sep 2016 22:34:51 +0000 (15:34 -0700)]
Some minor fixes for extracted status bar.

- setLightStatusBar() is now updateStatusBar(), with a forceLight
  parameter. We set the status bar to be light if forceLight or
  shouldBeLightStatusBar() (based on wallpaper).
- Force status bar to be light if all apps is open.
- Default to dark status bar, not light (light == dark icons)

Bug: 29452834
Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5

7 years agoMerge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 23:47:07 +0000 (23:47 +0000)]
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish

7 years agoDecrease drop target left and right padding.
Tony Wickham [Wed, 28 Sep 2016 23:22:36 +0000 (16:22 -0700)]
Decrease drop target left and right padding.

Otherwise it looks like we are aggressively truncating the
text even though there is plenty of room to show it.

Bug: 31790418
Change-Id: Ia1cdc232f05815732d4cb95b954e935724a200fd

7 years agoMerge "Fixing the newIntent logic to check the state before it has been reset." into...
Sunny Goyal [Wed, 28 Sep 2016 23:01:38 +0000 (23:01 +0000)]
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish
am: 7bb7ead9f7

Change-Id: Ic98c407acb2d0816ea18e2930e137eaa32d6a1e6

7 years agoFixing the newIntent logic to check the state before it has been reset.
Sunny Goyal [Wed, 28 Sep 2016 23:01:38 +0000 (23:01 +0000)]
Fixing the newIntent logic to check the state before it has been reset.
am: 85313735fa

Change-Id: I3a43a49c467a750adb031df4c3b880d453116739

7 years agoMerge "Fixing the newIntent logic to check the state before it has been reset." into...
Sunny Goyal [Wed, 28 Sep 2016 22:57:56 +0000 (22:57 +0000)]
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish

7 years agoresolve merge conflicts of 9311387 to ub-launcher3-master
Tony Wickham [Wed, 28 Sep 2016 21:40:28 +0000 (14:40 -0700)]
resolve merge conflicts of 9311387 to ub-launcher3-master

Change-Id: I449cd2c91c2906f04ebf844eab2d02befaeb2f4d

7 years agoEnable light status bar when top of wallpaper is light.
Tony Wickham [Wed, 14 Sep 2016 23:46:32 +0000 (16:46 -0700)]
Enable light status bar when top of wallpaper is light.

(Light status bar = dark icons)

Bug: 29452834
Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6

7 years agoFixing the newIntent logic to check the state before it has been reset.
Sunny Goyal [Wed, 28 Sep 2016 19:00:07 +0000 (12:00 -0700)]
Fixing the newIntent logic to check the state before it has been reset.

When home button is pressed, we reset all active state (close all-apps,
folder, shortcuts menu). But we do not go to the default screen if the
active state was non-zero (any of the containers were open).

Change-Id: Ia9a06729d65767124471c5b793323a55d822210a

7 years agoMerge "Cleaning up restore instance state logic" into ub-launcher3-master
Sunny Goyal [Wed, 28 Sep 2016 19:10:26 +0000 (19:10 +0000)]
Merge "Cleaning up restore instance state logic" into ub-launcher3-master

7 years agoCleaning up restore instance state logic
Sunny Goyal [Tue, 27 Sep 2016 21:38:58 +0000 (14:38 -0700)]
Cleaning up restore instance state logic

Restore instance state is only used for first binding. But in case of restore,
the binding happens synchronously, so there is not need to store the bundle
in a global variable

Change-Id: Ibc496bcd7c0d171056b8afc69f2c4d9a1270d40c

7 years agoAdd user event logging for action on search box b/31772967
Hyunyoung Song [Wed, 28 Sep 2016 02:54:19 +0000 (02:54 +0000)]
Add user event logging for action on search box b/31772967
am: ffad962092

Change-Id: Ifb7364bc68bd4021e85241c793b223514e214f42

7 years agoAdd user event logging for action on search box
Hyunyoung Song [Wed, 28 Sep 2016 01:07:00 +0000 (18:07 -0700)]
Add user event logging for action on search box
b/31772967

Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383

7 years agoMerge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary...
Sunny Goyal [Tue, 27 Sep 2016 17:11:10 +0000 (17:11 +0000)]
Merge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary-polish
am: 1b7e9bc063

Change-Id: I22f83a9850f63a1a2bb00becd7fd1ce2610a2ab9

7 years agoRemoving reflection from AlphabeticIndexCompat
Sunny Goyal [Tue, 27 Sep 2016 17:11:10 +0000 (17:11 +0000)]
Removing reflection from AlphabeticIndexCompat
am: 70fea7877d

Change-Id: I9e07b178e6911079e8575397167cc0e30aaa4aeb

7 years agoMerge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary...
Sunny Goyal [Tue, 27 Sep 2016 17:03:34 +0000 (17:03 +0000)]
Merge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary-polish

7 years agoRemoving reflection from AlphabeticIndexCompat
Sunny Goyal [Mon, 26 Sep 2016 23:46:38 +0000 (16:46 -0700)]
Removing reflection from AlphabeticIndexCompat

Bug: 31596662
Change-Id: I23da4a9747daa3cee6cec961fc590d18bf05791a

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
Bill Yi [Tue, 27 Sep 2016 03:25:19 +0000 (03:25 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am: ef6c04633c  -s ours

Change-Id: I64c1545e8fcc4fd1b88f1d31f045a151cc9e0704

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 27 Sep 2016 03:25:18 +0000 (03:25 +0000)]
Import translations. DO NOT MERGE
am: eeb712f111  -s ours

Change-Id: Idc91e3b0e07c511aa6ddb15afe910a8d64421e23

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
TreeHugger Robot [Tue, 27 Sep 2016 03:11:06 +0000 (03:11 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-master
TreeHugger Robot [Tue, 27 Sep 2016 03:10:36 +0000 (03:10 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master

7 years agoMerge "Ignore long clicks triggered from the edge of screen." into ub-launcher3-master
Jonathan Miranda [Tue, 27 Sep 2016 02:43:53 +0000 (02:43 +0000)]
Merge "Ignore long clicks triggered from the edge of screen." into ub-launcher3-master

7 years agoRestore AllAppsContainerView UI to match spec.
Jon Miranda [Mon, 26 Sep 2016 21:01:56 +0000 (14:01 -0700)]
Restore AllAppsContainerView UI to match spec.

Did some refactoring with Sunny's help.

Change-Id: Ie4c90c316f1e381829836e11c83eaaedfed4d621

7 years agoIgnore long clicks triggered from the edge of screen.
Jon Miranda [Fri, 23 Sep 2016 15:54:40 +0000 (08:54 -0700)]
Ignore long clicks triggered from the edge of screen.

Bug: 31572404
Change-Id: Ie531941669549ce84b92302b95be94555ee0bb73

7 years agoDon't attempt to add item back to folder when deferring drag.
Tony [Mon, 26 Sep 2016 20:59:51 +0000 (20:59 +0000)]
Don't attempt to add item back to folder when deferring drag.
am: 1cf412ca91

Change-Id: Ic8bf5568b9811558bf20fac721b17dfa80803e8a

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 26 Sep 2016 14:23:20 +0000 (07:23 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 26 Sep 2016 14:22:30 +0000 (07:22 -0700)]
Import translations. DO NOT MERGE

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

7 years agoresolve merge conflicts of 6e74e89 to ub-launcher3-master
Tony [Sat, 24 Sep 2016 02:42:53 +0000 (19:42 -0700)]
resolve merge conflicts of 6e74e89 to ub-launcher3-master

Change-Id: I34e449ca3a91ee06e1983ac3a83cb7ca53567a91

7 years agoDon't attempt to add item back to folder when deferring drag.
Tony [Sat, 24 Sep 2016 01:58:37 +0000 (18:58 -0700)]
Don't attempt to add item back to folder when deferring drag.

Since the item hasn't yet been removed until the deferred drag
starts, adding it again will throw an exception (the view
already has a parent).

Bug: 30769920
Change-Id: Icb95aaa64e6e3c5dc105bbf3e54460b529d02033

7 years agoRefactor shortcuts drag and drop.
Tony Wickham [Mon, 19 Sep 2016 21:06:31 +0000 (14:06 -0700)]
Refactor shortcuts drag and drop.

- Instead of creating our own drag view within the container, and
  handling logic to determine when to start a real drag, we start
  the drag immediately and just defer onDragStart().
- To determine when the deferred drag should start, we add a
  DeferDragCondition to DragOptions. The default DeferDragCondition
  never defers a drag, but is overridden for apps with shortcuts
  to defer until the icon is dragged a given distance.
- Because the drag is handled in DragController, including checking
  when to start the deferred drag, DeepShortcutsContainer no longer
  needs to handle touch events and ShortcutsContainerListener has
  been removed.

This change has several immediate benefits:
- The code is much cleaner, because it allows touch handling to be
  done by the DragController through the normal drag flow, without
  recreating logic in ShortcutsContainerListener/DeepShortcutContainer.
- The janky second haptic feedback has been removed (now it vibrates
  when you long press, like everywhere else, but not again when the
  shortcuts close after dragging a distance).
- Drops are animated, instead of just popping the icon back into place.

Bug: 30769920
Bug: 30465972
Bug: 31533078
Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db

7 years agoMerge "Move handling touch logic from AllAppsContainerView to BaseContainerView....
Jonathan Miranda [Fri, 23 Sep 2016 23:44:30 +0000 (23:44 +0000)]
Merge "Move handling touch logic from AllAppsContainerView to BaseContainerView." into ub-launcher3-master

7 years agoMerge "Resize only one widget at a time" into ub-launcher3-master
Sunny Goyal [Fri, 23 Sep 2016 23:23:03 +0000 (23:23 +0000)]
Merge "Resize only one widget at a time" into ub-launcher3-master

7 years agoResize only one widget at a time
Sunny Goyal [Fri, 23 Sep 2016 18:01:10 +0000 (11:01 -0700)]
Resize only one widget at a time

> Removing logic to have multiple widgets in resize mode
> Making ResizeFrame a touch controller, so that it fits well with
other touch interaction in drag layer
> Chaning the method names in touch controller, so that it do not
overlaps with the default View methods

Change-Id: I85d4dbdfc82d078781adbce137dfaaea59c9c83d

7 years agoExposing custom actions using keyboard shortcut
Sunny Goyal [Wed, 21 Sep 2016 22:57:55 +0000 (15:57 -0700)]
Exposing custom actions using keyboard shortcut

Keyboard shortcuts:
  ctrl+A => Open all apps
  ctrl+S => shows deep shortcuts
  ctrl+O => shows custom actions popup

This also removes the direct delete/uninstall key shortcuts, making
actidental icon removal less likely

Bug: 24065447
Change-Id: Iae63370c0f33620628567cffd4df024064d4d02e

7 years agoRemoving center vertical from folder gravity.
Sunny Goyal [Fri, 23 Sep 2016 17:42:56 +0000 (17:42 +0000)]
Removing center vertical from folder gravity.
am: 00341907b7

Change-Id: I436d3577f03dc4178a72e52bd49853c417c3d314

7 years agoRemoving center vertical from folder gravity.
Sunny Goyal [Fri, 23 Sep 2016 17:19:39 +0000 (10:19 -0700)]
Removing center vertical from folder gravity.

Using center vertical alogn with a fixed height, overrides
the custom drawable padding and divides the available space
proportionally between padding and drawable padding

Change-Id: I4523543ab3007ef40eac69d878d2afbca13b483a

7 years agoMove handling touch logic from AllAppsContainerView to BaseContainerView.
Jon Miranda [Thu, 22 Sep 2016 23:50:17 +0000 (16:50 -0700)]
Move handling touch logic from AllAppsContainerView to BaseContainerView.

Now both AllAppsContainerView and WidgetsContainerView will be
dismissed when the background is clicked.

Bug: 27130340
Change-Id: Ie8446e4b8908742ddc8a227fe71ea56ec11c2457

7 years agoMerge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calga...
Tony Wickham [Fri, 23 Sep 2016 00:37:14 +0000 (00:37 +0000)]
Merge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calgary-polish
am: c980735560

Change-Id: Ief6ebc05301a56cf56a72acc433f9ee4a2e60fb3

7 years agoStop jumping to workspace from hotseat on quick drop.
Tony Wickham [Fri, 23 Sep 2016 00:37:12 +0000 (00:37 +0000)]
Stop jumping to workspace from hotseat on quick drop.
am: dbf08b4aee

Change-Id: Id1a4c65f14810dcf3e6534796d797603070c5d68

7 years agoMerge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launch...
Tony Wickham [Fri, 23 Sep 2016 00:35:14 +0000 (00:35 +0000)]
Merge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launcher3-calgary-polish
am: 39ce3d119b

Change-Id: I04ac79eaf01c0257633e06c64f572a68ab21df87

7 years agoRemove shortcuts that no longer exist or are no longer pinned.
Tony Wickham [Fri, 23 Sep 2016 00:35:13 +0000 (00:35 +0000)]
Remove shortcuts that no longer exist or are no longer pinned.
am: 7695e603bf

Change-Id: I525c3342a7559f1cd831cbd4f56c2acd8b6875b9

7 years agoMerge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calga...
Tony Wickham [Fri, 23 Sep 2016 00:34:53 +0000 (00:34 +0000)]
Merge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calgary-polish

7 years agoMerge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launch...
Tony Wickham [Fri, 23 Sep 2016 00:32:21 +0000 (00:32 +0000)]
Merge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launcher3-calgary-polish

7 years agoRemove shortcuts that no longer exist or are no longer pinned.
Tony Wickham [Fri, 5 Aug 2016 19:44:51 +0000 (12:44 -0700)]
Remove shortcuts that no longer exist or are no longer pinned.

(This change is in the onShortcutsChanged() callback.)

- Remove all workspace icons that correspond to shortcuts that
  are now unpinned
- Remove all workspace icons that have the same package and
  user handle as passed in onShortcutsChanged(), if they aren't
  included in the list of shortcuts that is also passed.

These cases will happen for static and dynamic shortcuts,
respectively, when an app's data is cleared.

Bug: 30316501
Change-Id: I50db6567cb318d087012ab5d8208e765b81c6f99

7 years agoMove shortcut fade interpolator outside of loop.
Tony Wickham [Thu, 22 Sep 2016 21:09:19 +0000 (21:09 +0000)]
Move shortcut fade interpolator outside of loop.
am: e5a00c6172

Change-Id: I7b2c15b04a7656b136f5d6f0c54f13030c5b9563

7 years agoMerge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish
Tony Wickham [Thu, 22 Sep 2016 20:08:42 +0000 (20:08 +0000)]
Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish
am: 4d917a9793

Change-Id: I3e6d8d1e8e74c31bffb166f72d3e3e87f017ffea

7 years agoFade deep shorcuts in and out.
Tony Wickham [Thu, 22 Sep 2016 20:08:40 +0000 (20:08 +0000)]
Fade deep shorcuts in and out.
am: b318c0e396

Change-Id: Ib31d1878822ec42ad8fdfcfd78636ea4b2472cae

7 years agoMove shortcut fade interpolator outside of loop.
Tony Wickham [Thu, 22 Sep 2016 20:01:46 +0000 (13:01 -0700)]
Move shortcut fade interpolator outside of loop.

Change-Id: I64806897afcd1062dfbaefd6dca07f024f7346af

7 years agoMerge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish
Tony Wickham [Thu, 22 Sep 2016 19:55:52 +0000 (19:55 +0000)]
Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish

7 years agoFade deep shorcuts in and out.
Tony Wickham [Tue, 20 Sep 2016 23:15:13 +0000 (16:15 -0700)]
Fade deep shorcuts in and out.

Animate open:
- Stagger-fade shortcuts as they open
- Become fully opaque before fully open, at which point the
  arrow animates in (scale). This way there is no overlap of
  a translucent shortcut over an opaque arrow.

Animate close:
- Stagger-fade shortcuts as they close
- Delay fade until arrow animation is finished, to ensure
  there is no overlapping of translucent and opaque.

This is much less visually jarring when quickly dragging
and dropping apps with shortcuts.

Bug: 31533078
Change-Id: I8673ee64e92414c718233ea89b70362187e53696

7 years agoMerge "Move TransformingTouchDelegate logic to BaseContainerView." into ub-launcher3...
Jonathan Miranda [Thu, 22 Sep 2016 19:22:50 +0000 (19:22 +0000)]
Merge "Move TransformingTouchDelegate logic to BaseContainerView." into ub-launcher3-master

7 years agoMerge "Fixing two critical bugs in all apps transition controller" into ub-launcher3...
Hyunyoung Song [Thu, 22 Sep 2016 18:24:23 +0000 (18:24 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary am: b7d16b7e5c
am: f4502973cc

Change-Id: I5ff208db9d23b5348aa88015650c962278aaf49b

7 years agoMerge "Fixing two critical bugs in all apps transition controller" into ub-launcher3...
Hyunyoung Song [Thu, 22 Sep 2016 18:21:53 +0000 (18:21 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary
am: b7d16b7e5c

Change-Id: I95a6bfc2247eb98d5c3758589989bcaf2657e072

7 years agoFixing two critical bugs in all apps transition controller am: 0a9c092c89
Hyunyoung Song [Thu, 22 Sep 2016 18:20:54 +0000 (18:20 +0000)]
Fixing two critical bugs in all apps transition controller am: 0a9c092c89
am: ea045e7532

Change-Id: I64a1d4620427d4c7d9dcb67a27dc07fb1f5aa03b

7 years agoFixing two critical bugs in all apps transition controller
Hyunyoung Song [Thu, 22 Sep 2016 18:17:25 +0000 (18:17 +0000)]
Fixing two critical bugs in all apps transition controller
am: 0a9c092c89

Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7

7 years agoMove TransformingTouchDelegate logic to BaseContainerView.
Jon Miranda [Wed, 21 Sep 2016 21:27:41 +0000 (14:27 -0700)]
Move TransformingTouchDelegate logic to BaseContainerView.

In ag/1460444 we used TransformingTouchDelegate to extend the
touch target for the widgets list. Now both WidgetsContainerView
and AllAppsContainerView will use the same TransformingTouchDelegate logic
to extend the touch target for their respective lists.

This is part of a larger refactor where in a follow up CL, we will
handle the logic for dismissing WCV and AACV when touching outside
of its content in BaseContainerView. (currently broken in WCV).

Change-Id: I7fddb456bba34a6533f8824da0481d308a8b715e

7 years agoMerge "Fixing two critical bugs in all apps transition controller" into ub-launcher3...
Hyunyoung Song [Thu, 22 Sep 2016 17:36:40 +0000 (17:36 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
Bill Yi [Thu, 22 Sep 2016 09:56:31 +0000 (09:56 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
am: abb607fc9b  -s ours

Change-Id: Ie324250d9e2f2fab6b2557e1122e9065f96067d1

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Sep 2016 09:56:30 +0000 (09:56 +0000)]
Import translations. DO NOT MERGE
am: 0fe66d46ae  -s ours

Change-Id: I1893eda4c98c2f8c1e88344b026ea94819654b47

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
TreeHugger Robot [Thu, 22 Sep 2016 09:53:25 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-master
TreeHugger Robot [Thu, 22 Sep 2016 09:52:46 +0000 (09:52 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Sep 2016 07:18:16 +0000 (00:18 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 22 Sep 2016 07:17:47 +0000 (00:17 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Make IME less sticky when launching a new app b/31382106" into ub-launcher3...
Hyunyoung Song [Thu, 22 Sep 2016 00:30:50 +0000 (00:30 +0000)]
Merge "Make IME less sticky when launching a new app b/31382106" into ub-launcher3-calgary-polish
am: 1c8c3c1f05

Change-Id: Icbb7207443592d97922cfeeab384e83ee0b8e019

7 years agoMake IME less sticky when launching a new app b/31382106
Hyunyoung Song [Thu, 22 Sep 2016 00:30:49 +0000 (00:30 +0000)]
Make IME less sticky when launching a new app b/31382106
am: 7e83ab90ae

Change-Id: I1f3fac72ce6ba14ea0c116f71f398ff2727469af

7 years agoMerge "Make IME less sticky when launching a new app b/31382106" into ub-launcher3...
Hyunyoung Song [Thu, 22 Sep 2016 00:10:55 +0000 (00:10 +0000)]
Merge "Make IME less sticky when launching a new app b/31382106" into ub-launcher3-calgary-polish

7 years agoMake IME less sticky when launching a new app
Hyunyoung Song [Thu, 22 Sep 2016 00:03:56 +0000 (17:03 -0700)]
Make IME less sticky when launching a new app
b/31382106

Change-Id: Iee60a2f7e6a70858623e80d4b8b68154d1941210

7 years agoMerge "Created include filters for jacoco" into ub-launcher3-calgary am: d6925a9f70
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:55:58 +0000 (19:55 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary am: d6925a9f70
am: 98c7c2fc80

Change-Id: Iff4f4e0648251fbc3823c0d3bf079ee2824f0e56

7 years agoCreated include filters for jacoco am: 687c345f9e
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:55:50 +0000 (19:55 +0000)]
Created include filters for jacoco am: 687c345f9e
am: 62f55c0d1a

Change-Id: Ie6d60eb3bc8623e3fdd607a41f26fc8f43f61242

7 years agoMerge "Created include filters for jacoco" into ub-launcher3-calgary
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:53:20 +0000 (19:53 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary
am: d6925a9f70

Change-Id: I163101ef0a64eb38e47597db49b644290d5bb3c3

7 years agoCreated include filters for jacoco
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:53:20 +0000 (19:53 +0000)]
Created include filters for jacoco
am: 687c345f9e

Change-Id: Iba826f45c2a0c0d5952090d2f454f18c7534403d