OSDN Git Service

android-x86/packages-apps-Launcher3.git
7 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 27 Jun 2016 16:00:57 +0000 (09:00 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Fri, 24 Jun 2016 05:49:19 +0000 (05:49 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

7 years agoMerge "Making some shortcut manager calls protected by MR1 version check" into ub...
Sunny Goyal [Thu, 23 Jun 2016 21:56:25 +0000 (21:56 +0000)]
Merge "Making some shortcut manager calls protected by MR1 version check" into ub-launcher3-calgary

7 years agoMaking some shortcut manager calls protected by MR1 version check
Sunny Goyal [Thu, 23 Jun 2016 21:17:24 +0000 (14:17 -0700)]
Making some shortcut manager calls protected by MR1 version check

Change-Id: Ifdfa95a58aa18a825c1838c61055928dbe0ea3be

7 years agoMerge "Removing unnecessary object creation and double loop during getDescendantCoord...
Sunny Goyal [Thu, 23 Jun 2016 21:29:20 +0000 (21:29 +0000)]
Merge "Removing unnecessary object creation and double loop during getDescendantCoordRelativeToAncestor" into ub-launcher3-calgary

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

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

7 years agoMerge "Add margin to all apps recycler container view b/29509347 > Last row inside...
Hyunyoung Song [Wed, 22 Jun 2016 21:57:22 +0000 (21:57 +0000)]
Merge "Add margin to all apps recycler container view b/29509347 > Last row inside recycler view was obstructed by nav bar making it difficult to interact with before." into ub-launcher3-calgary

7 years agoBuild fix
Sunny Goyal [Wed, 22 Jun 2016 21:37:34 +0000 (14:37 -0700)]
Build fix

Change-Id: Ieaf5c91b85c56a3e042bffaad0fdaba090a891cf

7 years agoMerge "Accessibility fixes and updates" into ub-launcher3-calgary
Sunny Goyal [Wed, 22 Jun 2016 21:34:06 +0000 (21:34 +0000)]
Merge "Accessibility fixes and updates" into ub-launcher3-calgary

7 years agoAccessibility fixes and updates
Sunny Goyal [Thu, 16 Jun 2016 19:29:03 +0000 (12:29 -0700)]
Accessibility fixes and updates

> Adding custom actions on the page indicator to go to overview mode
> Disabling custom actions on the first page
> Disabling 'move page left' on the second page

Change-Id: Ib8154f70cb3f93e663a881357c6c46c33253887f

7 years agoMerge "Updating some strings 'Tap & hold' > 'Touch & hold'" into ub-launcher3-calgary
Sunny Goyal [Wed, 22 Jun 2016 21:13:45 +0000 (21:13 +0000)]
Merge "Updating some strings 'Tap & hold' > 'Touch & hold'" into ub-launcher3-calgary

7 years agoMerge "Add support for launcher shortcuts." into ub-launcher3-calgary
Tony Wickham [Wed, 22 Jun 2016 20:35:30 +0000 (20:35 +0000)]
Merge "Add support for launcher shortcuts." into ub-launcher3-calgary

7 years agoUpdating some strings 'Tap & hold' > 'Touch & hold'
Sunny Goyal [Wed, 22 Jun 2016 19:03:53 +0000 (12:03 -0700)]
Updating some strings 'Tap & hold' > 'Touch & hold'

Bug: 29388170
Change-Id: Ida97ac8b49d0b365a5437ec4926d16c6486659eb

7 years agoMerge "Fixing potantial context leak code path" into ub-launcher3-calgary
Sunny Goyal [Wed, 22 Jun 2016 18:58:24 +0000 (18:58 +0000)]
Merge "Fixing potantial context leak code path" into ub-launcher3-calgary

7 years agoAdd margin to all apps recycler container view
Hyunyoung Song [Wed, 22 Jun 2016 17:59:07 +0000 (10:59 -0700)]
Add margin to all apps recycler container view
b/29509347
> Last row inside recycler view was obstructed by nav bar
making it difficult to interact with before.

Change-Id: I90f0f402e14230a1757f208f9b92800f10cdb38c

7 years agoMerge "Fix LauncherInstrumentationTestCase#openAllApps() method. b/29535532" into...
Hyunyoung Song [Wed, 22 Jun 2016 17:00:41 +0000 (17:00 +0000)]
Merge "Fix LauncherInstrumentationTestCase#openAllApps() method. b/29535532" into ub-launcher3-calgary

7 years agoFix LauncherInstrumentationTestCase#openAllApps() method.
Hyunyoung Song [Wed, 22 Jun 2016 16:59:40 +0000 (09:59 -0700)]
Fix LauncherInstrumentationTestCase#openAllApps() method.
b/29535532

Change-Id: Iebf20c2fe66ad244b04658b15ade21d579fb2c12

7 years agoFixing bug in GridSizeMigrationTask, where it was not accounting for
Sunny Goyal [Wed, 22 Jun 2016 16:50:21 +0000 (09:50 -0700)]
Fixing bug in GridSizeMigrationTask, where it was not accounting for
an extra space when there is no all-apps icon

Bug: 29569843
Change-Id: Ib768f0d069aed413bd8f4c2aa86ab1d3d657680e

7 years agoMerge "All apps pull up work b/28917826 b/29469966 b/29542376" into ub-launcher3...
Hyunyoung Song [Tue, 21 Jun 2016 23:55:53 +0000 (23:55 +0000)]
Merge "All apps pull up work b/28917826 b/29469966 b/29542376" into ub-launcher3-calgary

7 years agoAll apps pull up work
Hyunyoung Song [Tue, 21 Jun 2016 23:37:13 +0000 (16:37 -0700)]
All apps pull up work
b/28917826
b/29469966
b/29542376

- Move state transition to when the finger is lifted and not when
the view settles.
- Refactor the vertical pull detector to use bit operation to define
which direction scroll to allow.
- Fixed many issues regarding screen rotation
- Fixes issue where slowly sliding the all apps goes into overview mode
- Fixes issue where quick slide up leads to animation starting from middle

Change-Id: I2384a0fcc5550e17359a044ef506bcc66507da5f

7 years agoAdd support for launcher shortcuts.
Tony Wickham [Thu, 19 May 2016 18:19:39 +0000 (11:19 -0700)]
Add support for launcher shortcuts.

- This CL has no UI but provides the necessary backing for one.
- Adds new item type: ITEM_TYPE_DEEP_SHORTCUT, to distinguish from
  ITEM_TYPE_SHORTCUT. We can reconsider these names.
- Adds ShortcutCache, using LruCache for up to 30 dynamic shortcuts
  (pinned shortcuts are always cached in a HashMap).
- DeepShortcutManager queries for shortcuts and other things like
  pin them. In a future CL it will use the cache, but for now it
  simply makes an RPC for all queries.
- LauncherModel maintains counts for pinned shortcuts, pinning and
  unpinning when counts reach 1 or 0, respectively.
- LauncherModel maintains a map of components to lists of shortcut ids,
  which Launcher gets a copy of after it is changed in the background.
  This will allow us to know how many shortcuts an app has immediately,
  and query for details as the UI is animating.

Change-Id: Ic526f374dd10d72a261bae67f07f098fca8d8bca

7 years agoMaking LauncherActivityInstallInfo public to prevent access modification
Sunny Goyal [Tue, 21 Jun 2016 22:28:30 +0000 (15:28 -0700)]
Making LauncherActivityInstallInfo public to prevent access modification
by proguard

Bug: 29539169
Change-Id: I2fbe7672b6456dd60393093bf4a73e7336dbaca6

7 years agoMerge "Fix container horizontal padding" into ub-launcher3-calgary
Hyunyoung Song [Tue, 21 Jun 2016 18:29:57 +0000 (18:29 +0000)]
Merge "Fix container horizontal padding" into ub-launcher3-calgary

7 years agoFix container horizontal padding
Hyunyoung Song [Tue, 21 Jun 2016 18:21:39 +0000 (11:21 -0700)]
Fix container horizontal padding

Change-Id: I41b84db6d71df7f4e47098fa9ed7eda4465f18c3

7 years agoMerge "Maintaining separate alpha for x and y translations" into ub-launcher3-calgary
Sunny Goyal [Tue, 21 Jun 2016 17:46:56 +0000 (17:46 +0000)]
Merge "Maintaining separate alpha for x and y translations" into ub-launcher3-calgary

7 years agoAdding some tracing sections around launcher startup
Sunny Goyal [Mon, 20 Jun 2016 21:52:14 +0000 (14:52 -0700)]
Adding some tracing sections around launcher startup

Bug: 29007436
Change-Id: I53afd9130a2dc70a2223f1623e862faf44370f26

7 years agoFixing potantial context leak code path
Sunny Goyal [Mon, 20 Jun 2016 21:56:28 +0000 (14:56 -0700)]
Fixing potantial context leak code path

The javadoc in createUserEventDispatcher suggested that it can be used
as a singleton. But it was being constructed as an inner class which
would cause context leak when used as singleton

Change-Id: I706018d4ab26b506ac936fe1a7304d9b530b820c

7 years agoMerge "Fixing a crash on APPS->WORKSPACE transition when animation is automated witho...
Hyunyoung Song [Mon, 20 Jun 2016 21:20:31 +0000 (21:20 +0000)]
Merge "Fixing a crash on APPS->WORKSPACE transition when animation is automated without dragging. b/29424335" into ub-launcher3-calgary

7 years agoFixing a crash on APPS->WORKSPACE transition when animation is automated without...
Hyunyoung Song [Mon, 20 Jun 2016 20:54:42 +0000 (13:54 -0700)]
Fixing a crash on APPS->WORKSPACE transition when animation is automated without dragging.
b/29424335

Change-Id: I2b109423b5a4cfc94fcda75fdea936785373968f

7 years agoMerge "Update Launcher to use theme colors." into ub-launcher3-calgary
Andrew Sapperstein [Mon, 20 Jun 2016 19:38:54 +0000 (19:38 +0000)]
Merge "Update Launcher to use theme colors." into ub-launcher3-calgary

7 years agoUpdate Launcher to use theme colors.
Andrew Sapperstein [Sun, 19 Jun 2016 19:49:00 +0000 (12:49 -0700)]
Update Launcher to use theme colors.

Instead of using hard-coded variants of colors, use the theme color
that corresponds (colorAccent, colorPrimary, etc).

Updated:
- "Search for more apps" text
- App info drop target hover color
- PageIndicatorDots
- All apps & widget scroll bar & scroll popup colors
- All apps section text color
- widget picker background color

TODO:
- widget picker header color

BUG: 28625102
Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5

7 years agoMaintaining separate alpha for x and y translations
Sunny Goyal [Mon, 20 Jun 2016 17:53:52 +0000 (10:53 -0700)]
Maintaining separate alpha for x and y translations

Bug: 29504823
Change-Id: I6150fec43653c8da4c5841ddbd6c5de739f205b8

7 years agoFixing workspace transition state
Hyunyoung Song [Mon, 20 Jun 2016 16:59:28 +0000 (09:59 -0700)]
Fixing workspace transition state

Change-Id: I394d587aa84aefa174220380a6dfb25bad133fde

7 years agoMoving LauncherAccessibilityDelegate to Launcher to associate it with
Sunny Goyal [Fri, 17 Jun 2016 15:43:56 +0000 (08:43 -0700)]
Moving LauncherAccessibilityDelegate to Launcher to associate it with
activity lifecycle.

Change-Id: Ib815505677fa7ed74bdcfe7141b1d9bea5d7143a

7 years agoAdding a flag (enabled by default) to remove the all-apps button.
Sunny Goyal [Wed, 15 Jun 2016 22:42:29 +0000 (15:42 -0700)]
Adding a flag (enabled by default) to remove the all-apps button.

All apps can still be opened by clicking the caret.

Bug: 29398447
Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779

7 years agoMerge "Adding a DB update path to handle the QSB position change" into ub-launcher3...
Sunny Goyal [Thu, 16 Jun 2016 19:34:19 +0000 (19:34 +0000)]
Merge "Adding a DB update path to handle the QSB position change" into ub-launcher3-calgary

8 years agoUI fixes to All apps pull up work
Hyunyoung Song [Wed, 15 Jun 2016 23:45:48 +0000 (16:45 -0700)]
UI fixes to All apps pull up work

b/28917826
- nav bar change to light when top of the all apps container
passes y mid point of the status bar
- apps search edit box change when top of the all apps passes
the bottom of nav bar
- Restrict pull up to work only if the ACTION_DOWN event started
from the hotseat.
- Landscape: reverted old padding and margin. Only the interaction
is different.
- Tuning of the motion spec
- Animation duration respects fling speed more agressively.
- and many more small bugs...

Change-Id: Icde4093c41eeab8c9c6d9dc8b7d57adc3b171349

8 years agoFix the build.
Hyunyoung Song [Wed, 15 Jun 2016 20:25:01 +0000 (13:25 -0700)]
Fix the build.

Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84

8 years agoAdd caret shaped all app pull up handle to page indicator.
Hyunyoung Song [Wed, 15 Jun 2016 19:51:30 +0000 (12:51 -0700)]
Add caret shaped all app pull up handle to page indicator.
b/28917826

> PageIndicator is also added in landscape
> Touch delegate allows the active touch area to be 36dp

Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3

8 years agoRemoving unnecessary object creation and double loop during
Sunny Goyal [Wed, 15 Jun 2016 17:11:30 +0000 (10:11 -0700)]
Removing unnecessary object creation and double loop during
getDescendantCoordRelativeToAncestor

Change-Id: I034db2282a8aaf129336a425338c6a80d6a3a073

8 years agoAdding a DB update path to handle the QSB position change
Sunny Goyal [Fri, 10 Jun 2016 19:22:04 +0000 (12:22 -0700)]
Adding a DB update path to handle the QSB position change

> Renamed the id of 1st screen to 0 and making space for the QSB
by running the grid migration task.
> Added a feature flag to easily disable the QSB-in-workspace behavior

Change-Id: Ie3369f0d4433d916e9d6215d414770d4333f3e26

8 years agoMerge "Fixing bug in getDescendantCoordRelativeToParent where it was calculating...
Sunny Goyal [Wed, 15 Jun 2016 00:34:47 +0000 (00:34 +0000)]
Merge "Fixing bug in getDescendantCoordRelativeToParent where it was calculating the coordinates relative to the root's parent" into ub-launcher3-calgary

8 years agoFixing bug in getDescendantCoordRelativeToParent where it was
Sunny Goyal [Mon, 13 Jun 2016 23:36:59 +0000 (16:36 -0700)]
Fixing bug in getDescendantCoordRelativeToParent where it was
calculating the coordinates relative to the root's parent

The bug went unnoticed for so long, as its only used in DragLayer
which is positioned at 0,0 in its parent

Change-Id: I101cda1f1fa919c0faf9b23b1eeb05764bdf1a40

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 14 Jun 2016 06:57:41 +0000 (23:57 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Replacing overview panel icons with vector drawables" into ub-launcher3-calgary
Sunny Goyal [Mon, 13 Jun 2016 22:24:15 +0000 (22:24 +0000)]
Merge "Replacing overview panel icons with vector drawables" into ub-launcher3-calgary

8 years agoMerge "All apps container should not intercept touch during animation." into ub-launc...
Hyunyoung Song [Mon, 13 Jun 2016 19:40:35 +0000 (19:40 +0000)]
Merge "All apps container should not intercept touch during animation." into ub-launcher3-calgary

8 years agoAll apps container should not intercept touch during animation.
Hyunyoung Song [Mon, 13 Jun 2016 19:38:32 +0000 (12:38 -0700)]
All apps container should not intercept touch during animation.

b/28917826
> When all apps container is settling near either the bottom or top
end, touch event should not be intercepted.

Change-Id: I8aee6cea52e844c4615b92b15f8ef7247236a25b

8 years agoMerge "Making the security checks and policy changes only when launching custom short...
Sunny Goyal [Fri, 10 Jun 2016 20:49:15 +0000 (20:49 +0000)]
Merge "Making the security checks and policy changes only when launching custom shortcuts. This prevents launcher specific intents to unknowingly leak data." into ub-launcher3-calgary

8 years agoMaking the security checks and policy changes only when launching custom
Sunny Goyal [Tue, 31 May 2016 22:01:35 +0000 (15:01 -0700)]
Making the security checks and policy changes only when launching custom
shortcuts. This prevents launcher specific intents to unknowingly leak data.

Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc

8 years agoFixes to touch handling in all apps pull up work
Hyunyoung Song [Fri, 10 Jun 2016 19:00:02 +0000 (12:00 -0700)]
Fixes to touch handling in all apps pull up work

b/28917826
- Fast scroll bar works even when it's at the top of the recycler view
- Pull down only happens ONLY IF the thumb of the scroll bar is at top
- When container is touched during sliding down animation,
translation should not jump

Change-Id: Ic1d9a4aa77332cc0a7582556f893053003224dd3

8 years agoUnifying the workspace translation logic
Sunny Goyal [Thu, 9 Jun 2016 19:08:22 +0000 (12:08 -0700)]
Unifying the workspace translation logic

Change-Id: I82430734c222d43222763fc6edcadac33dc3e076

8 years agoMerge "Executing the DB migration during startup instead of restore." into ub-launche...
Sunny Goyal [Thu, 9 Jun 2016 17:02:36 +0000 (17:02 +0000)]
Merge "Executing the DB migration during startup instead of restore." into ub-launcher3-calgary

8 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 9 Jun 2016 07:27:53 +0000 (00:27 -0700)]
Import translations. DO NOT MERGE

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

8 years agoFixes to all apps pull up work
Hyunyoung Song [Wed, 8 Jun 2016 23:29:32 +0000 (16:29 -0700)]
Fixes to all apps pull up work

b/28917826

- 2+ workspace page also slides up
- pull up touch interaction doesn't trigger only when yslop > xslop
- animation duration should be set independently when all apps button is used.
- workspace state is correctly set (drag and drop from the trays work)
- after lock screen, hotseat is positioned correctly
- Remove initial jump when sliding up
- Improved tuning on sliding
- Alpha value set differently on backbround and content of all apps

Still not fixed:
- Landscape
- Search edit text box styling
- All apps scroll bar

Change-Id: I817094b0f1ada5052ee604539459f556a99cadf1

8 years agoExecuting the DB migration during startup instead of restore.
Sunny Goyal [Tue, 24 May 2016 18:30:14 +0000 (11:30 -0700)]
Executing the DB migration during startup instead of restore.

This allows proper execution of DB.onUpgrade task if the app updates
after the restore

Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540

8 years agoMerge "Updating the app search buton text" into ub-launcher3-calgary
Sunny Goyal [Wed, 8 Jun 2016 22:35:31 +0000 (22:35 +0000)]
Merge "Updating the app search buton text" into ub-launcher3-calgary

8 years agoMerge "Unifying focus indicator handling for workspace and all-apps" into ub-launcher...
Sunny Goyal [Wed, 8 Jun 2016 22:27:08 +0000 (22:27 +0000)]
Merge "Unifying focus indicator handling for workspace and all-apps" into ub-launcher3-calgary

8 years agoWhen the active page changes, simulate a scroll change.
Sunny Goyal [Mon, 6 Jun 2016 21:20:22 +0000 (14:20 -0700)]
When the active page changes, simulate a scroll change.
This prevents the animation progess from going out of sync of the
active page, when the active page changes before the total number of
pages change

Bug: 29113836
Change-Id: I2b12ea29d64dc98d773e6060de4b655d3f975b5a

8 years agoUnifying focus indicator handling for workspace and all-apps
Sunny Goyal [Tue, 10 May 2016 03:43:21 +0000 (20:43 -0700)]
Unifying focus indicator handling for workspace and all-apps

Adding an abstract FocusIndicatorHelper based on FocusIndicatorView
which draws the background instead of using a dummy view.

Change-Id: Id560195323d2ddad8fcd77ba675cf3f4fd4a94ab

8 years agoFixing crash on Lollipop
Sunny Goyal [Wed, 8 Jun 2016 19:00:02 +0000 (12:00 -0700)]
Fixing crash on Lollipop

Fragment.getContext is available from MNC onwards.
Using getActivity instead

Change-Id: I99ef98947879ff165895fc76facb438cd4b8b414

8 years agoMerge "Adding support for workspace state change listener" into ub-launcher3-calgary
Sunny Goyal [Wed, 8 Jun 2016 17:02:57 +0000 (17:02 +0000)]
Merge "Adding support for workspace state change listener" into ub-launcher3-calgary

8 years agoAdding support for workspace state change listener
Sunny Goyal [Tue, 7 Jun 2016 23:21:03 +0000 (16:21 -0700)]
Adding support for workspace state change listener

Change-Id: Id0a4bcf345ce928544f5d406f37252a00d1dc7af

8 years agoMerge "Fix NexusLauncher NPE" into ub-launcher3-calgary
Hyunyoung Song [Tue, 7 Jun 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Fix NexusLauncher NPE" into ub-launcher3-calgary

8 years agoFix NexusLauncher NPE
Hyunyoung Song [Tue, 7 Jun 2016 22:37:51 +0000 (15:37 -0700)]
Fix NexusLauncher NPE

Change-Id: Ieb1144487841d7ea4ae880bf8e6c2334a2145e7e

8 years agoMerge "Ensure that custom actions are available to all apps items" into ub-launcher3...
Adam Cohen [Tue, 7 Jun 2016 22:08:05 +0000 (22:08 +0000)]
Merge "Ensure that custom actions are available to all apps items" into ub-launcher3-calgary

8 years agoEnsure that custom actions are available to all apps items
Adam Cohen [Tue, 7 Jun 2016 21:30:10 +0000 (14:30 -0700)]
Ensure that custom actions are available to all apps items

-> When BubbleTextViews were being recycled, the RecyclerView was clearing the
   AccessibilityDelegate. Ensure that this is reset by the adapter when a
   BubbleTextView is reused.

issue 25948877

Change-Id: I95dd21bfdcd602a67925d1b8f06e6ca92d1d7203

8 years agoMerge "Fixing FileLogs tests" into ub-launcher3-calgary
Sunny Goyal [Tue, 7 Jun 2016 21:06:05 +0000 (21:06 +0000)]
Merge "Fixing FileLogs tests" into ub-launcher3-calgary

8 years agoFixing FileLogs tests
Sunny Goyal [Tue, 7 Jun 2016 20:53:20 +0000 (13:53 -0700)]
Fixing FileLogs tests

During tests, the logs directory is changed. But the active thread
was not getting stopped which was causing some logs to be written
to the old location corresponding to some previous test

Change-Id: I7b8587eae0eb68fa180e3992694cab3745922483

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Tue, 7 Jun 2016 20:47:52 +0000 (20:47 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Jun 2016 20:42:19 +0000 (13:42 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Jun 2016 20:22:47 +0000 (20:22 +0000)]
Import translations. DO NOT MERGE
am: 21c2d8f244  -s ours

* commit '21c2d8f244dae711b12339cc6e643cd34ef8dcd6':
  Import translations. DO NOT MERGE

Change-Id: Idcac20c106c76d9701b291972676610807a4a291

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Jun 2016 20:03:19 +0000 (13:03 -0700)]
Import translations. DO NOT MERGE

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

8 years agoUpdating the app search buton text
Sunny Goyal [Fri, 27 May 2016 19:31:17 +0000 (12:31 -0700)]
Updating the app search buton text

Bug: 28774501
Change-Id: I268a2d98f70d160c91ebd8fc796f3626ae67c159

8 years agoMerge "Allowing the first screen to expand to the screen edge" into ub-launcher3...
Sunny Goyal [Tue, 7 Jun 2016 17:10:33 +0000 (17:10 +0000)]
Merge "Allowing the first screen to expand to the screen edge" into ub-launcher3-calgary

8 years agoMerge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub...
Sunny Goyal [Tue, 7 Jun 2016 17:05:19 +0000 (17:05 +0000)]
Merge "Removing the SearchDropTarget bar as it no longer contains the QSB" into ub-launcher3-calgary

8 years agoMerge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary
TreeHugger Robot [Tue, 7 Jun 2016 04:18:24 +0000 (04:18 +0000)]
Merge "Guard all apps pull up work behind the flag" into ub-launcher3-calgary

8 years agoGuard all apps pull up work behind the flag
Hyunyoung Song [Tue, 7 Jun 2016 04:04:36 +0000 (21:04 -0700)]
Guard all apps pull up work behind the flag

b/28917826

Change-Id: Ic001d820bad777d90c6bdcd1a17b6961e38769be

8 years agoMerge "Import translations. DO NOT MERGE" into ub-launcher3-calgary
TreeHugger Robot [Tue, 7 Jun 2016 02:25:28 +0000 (02:25 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary

8 years agoAllowing the first screen to expand to the screen edge
Sunny Goyal [Wed, 1 Jun 2016 21:08:21 +0000 (14:08 -0700)]
Allowing the first screen to expand to the screen edge

This allows the QSB to extend all the way to the edge
Change-Id: I43c6e21e44fef7fffe6fb12b7afb95549b68679f

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 6 Jun 2016 23:27:25 +0000 (16:27 -0700)]
Import translations. DO NOT MERGE

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

8 years agoRemoving the SearchDropTarget bar as it no longer contains the QSB
Sunny Goyal [Thu, 26 May 2016 01:56:41 +0000 (18:56 -0700)]
Removing the SearchDropTarget bar as it no longer contains the QSB

> Renaming it to simply DropTargetBar
> Moving AppInfo to the top bar as well
> The workspace pages will extend to the top edge (minus some padding).
Since the QSB is no longer displayed on top of every page, there is
no reason to reserve the space.
> In spring-loaded mode, the workspace cell layout will scale enough
to make room for the drop target bar at the top

Change-Id: I2baf607310335dd576c9d9fcbb75ab708f47ac03

8 years agoMerge "Pull up all apps interaction First phase implementation: dragging and animatio...
Hyunyoung Song [Mon, 6 Jun 2016 21:20:45 +0000 (21:20 +0000)]
Merge "Pull up all apps interaction First phase implementation: dragging and animation interaction is implemented namely in two classes. ScrollGestureDetector and AllAppsTransitionController." into ub-launcher3-calgary

8 years agoPull up all apps interaction
Hyunyoung Song [Mon, 6 Jun 2016 21:19:02 +0000 (14:19 -0700)]
Pull up all apps interaction
First phase implementation: dragging and animation interaction is implemented
namely in two classes. ScrollGestureDetector and AllAppsTransitionController.

FeatureFlag.LAUNCHER#_ALL_APPS_PULL_UP will be true for only AOSP and
not in the extending builds. This way, we can safely iterate without
turning it on the shipped ready version.
b/28917826

Change-Id: I0501309c0121880ffe0555f82d6ac5a145581bb1

8 years agoFixing memory leak in QSB widget
Sunny Goyal [Fri, 3 Jun 2016 20:37:01 +0000 (13:37 -0700)]
Fixing memory leak in QSB widget

> Instead of recreating the whole fragment, only recreating the views
when reinflating
> Binding the fragment in xml instead of in code

This prevents duplicate fragment binding

Bug: 29120662
Change-Id: I25b942f64d68f25e1358f15d8a919daeebdcff9c

8 years agoReplacing overview panel icons with vector drawables
Sunny Goyal [Fri, 27 May 2016 17:37:38 +0000 (10:37 -0700)]
Replacing overview panel icons with vector drawables

Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a

8 years agoMerge "Animate size and position of page indicator when adding/removing page" into...
Tony Wickham [Thu, 2 Jun 2016 18:27:56 +0000 (18:27 +0000)]
Merge "Animate size and position of page indicator when adding/removing page" into ub-launcher3-calgary

8 years agoAnimate size and position of page indicator when adding/removing page
Tony Wickham [Tue, 31 May 2016 23:55:01 +0000 (16:55 -0700)]
Animate size and position of page indicator when adding/removing page

Change-Id: I85f37a4e0aeb8c3fd0bd8da3b90338d0333a84d5

8 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 1 Jun 2016 14:21:12 +0000 (07:21 -0700)]
Import translations. DO NOT MERGE

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

8 years agoOnly show workspace page indicator when scrolling or in spring-loaded mode.
Tony Wickham [Thu, 26 May 2016 20:00:02 +0000 (13:00 -0700)]
Only show workspace page indicator when scrolling or in spring-loaded mode.

- Stop showing indicator when resuming or ending transitions.
- In spring-loaded mode, prevent page indicator from auto-hiding.

Change-Id: I87070d2d8f46cf491e60380aed5540196f2fbba3

8 years agoDisabling stricty mode checks when launching an activity.
Sunny Goyal [Tue, 31 May 2016 17:44:03 +0000 (10:44 -0700)]
Disabling stricty mode checks when launching an activity.

The default strict mode policy in NYC cause death penalty when
when sharing file URI in intent. This causes launcher to crash
for users who have shortcuts of images and documents on their
homescreen.

Bug: 28853579
Change-Id: If84cd5ff732713aaff5d3164edf428c8b4233ea2

8 years agoMoving the QSB to the workspace grid.
Sunny Goyal [Thu, 26 May 2016 23:05:17 +0000 (16:05 -0700)]
Moving the QSB to the workspace grid.

The QSB will only be resent on the first screen of the workspace
covering the full width of the first row. If will not be movable.
The first screen of the workspace will not be movable.
The searchDropTargetBar no longer contains the QSB (it can be
renamed in aseparate cl).

Refactoring all QSB related logic by moving it to a custom view
inflated only using xml.
Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a

8 years agoMerge "Add feature flag for all apps pull up work." into ub-launcher3-calgary
Hyunyoung Song [Fri, 27 May 2016 19:15:15 +0000 (19:15 +0000)]
Merge "Add feature flag for all apps pull up work." into ub-launcher3-calgary

8 years agoFixing comments
Sunny Goyal [Fri, 27 May 2016 19:11:36 +0000 (12:11 -0700)]
Fixing comments

Change-Id: I412fef8e07d91548beb8a5431d6aa86611237f69

8 years agoAdd feature flag for all apps pull up work.
Hyunyoung Song [Fri, 27 May 2016 19:10:03 +0000 (12:10 -0700)]
Add feature flag for all apps pull up work.

b/28917826

Change-Id: I98b647694b1041ef4061dcd6297b63f11fddc7ea

8 years agoMerge "Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps...
Sunny Goyal [Fri, 27 May 2016 19:00:44 +0000 (19:00 +0000)]
Merge "Adding some UI tests > Launcher app from all-apps > Drag icon to all-apps and launch it > Add widget from widget tray" into ub-launcher3-calgary

8 years agoRefactoring out grid occupancy management in a separate class
Sunny Goyal [Sat, 2 Apr 2016 21:12:34 +0000 (14:12 -0700)]
Refactoring out grid occupancy management in a separate class

Change-Id: I37a830c0f2eb0a0dd4f5fc78fa29127cb18cb3c2

8 years agoMerge "Showing a permission dialog when a restored widget is not yet bound, and launc...
Sunny Goyal [Fri, 27 May 2016 00:44:56 +0000 (00:44 +0000)]
Merge "Showing a permission dialog when a restored widget is not yet bound, and launcher does not has the permission to bind the widget" into ub-launcher3-calgary

8 years agoShowing a permission dialog when a restored widget is not yet bound, and launcher
Sunny Goyal [Fri, 1 Apr 2016 19:04:16 +0000 (12:04 -0700)]
Showing a permission dialog when a restored widget is not yet bound, and launcher
does not has the permission to bind the widget

Change-Id: I51d32b9958f82671b928d559105129261fb8f268

8 years agoAdding some UI tests
Sunny Goyal [Thu, 19 May 2016 19:15:39 +0000 (12:15 -0700)]
Adding some UI tests
> Launcher app from all-apps
> Drag icon to all-apps and launch it
> Add widget from widget tray

Change-Id: I6bd6128a7b560a23a887d1fb40bfcda25b9b02e7

8 years agoMerge "Adding a loading view for widgets list" into ub-launcher3-calgary
Sunny Goyal [Thu, 26 May 2016 23:40:05 +0000 (23:40 +0000)]
Merge "Adding a loading view for widgets list" into ub-launcher3-calgary