OSDN Git Service

android-x86/packages-apps-Launcher3.git
6 years agoRemove old apk in the priv-app dir nougat-x86 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5
Chih-Wei Huang [Mon, 12 Dec 2016 14:09:38 +0000 (22:09 +0800)]
Remove old apk in the priv-app dir

Launcher3 was changed to a non-privileged app.
The old apk must be removed.

7 years agoFixing text search where a word starting with lower case was
Sunny Goyal [Wed, 19 Oct 2016 06:53:43 +0000 (07:53 +0100)]
Fixing text search where a word starting with lower case was
not being matched

Bug: 32249413
Change-Id: I0f5e24052759a734fe0df3bd3d0bf2e7ef7f2713

7 years agoMissing call in write to parcel
Sunny Goyal [Tue, 18 Oct 2016 07:50:56 +0000 (08:50 +0100)]
Missing call in write to parcel

Bug: 17924700
Change-Id: Ie48757fc53674979b8e92f96b5281f965e2ef3b4

7 years agoRemoving the logic around closeSystemDialog on ACTION_CLOSE_SYSTEM_DIALOGS
Sunny Goyal [Mon, 17 Oct 2016 23:16:53 +0000 (00:16 +0100)]
Removing the logic around closeSystemDialog on ACTION_CLOSE_SYSTEM_DIALOGS
Launcher does not use any panels which need closing & system sends an
onActivityResult(RESULT_CANCELLED), we do  not need special handling for
waitingForResult

Bug: 32127718
Change-Id: Iff5161444bc909442f6acbe52cb3fb5a2d9ae4da

7 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 13 Oct 2016 23:56:31 +0000 (16:56 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Add feature flag to disable light status bar" into ub-launcher3-calgary-polish
Tony Wickham [Thu, 13 Oct 2016 00:41:57 +0000 (00:41 +0000)]
Merge "Add feature flag to disable light status bar" into ub-launcher3-calgary-polish

7 years agoAdd feature flag to disable light status bar
Tony Wickham [Wed, 12 Oct 2016 21:55:46 +0000 (14:55 -0700)]
Add feature flag to disable light status bar

Bug: 32085545
Change-Id: I4860145b00893c20f7e37817e9659ccd90409966

7 years agoMerge "Use Launcher.getLauncher(Context) instead of type-casting." into ub-launcher3...
Tony Wickham [Wed, 12 Oct 2016 21:22:05 +0000 (21:22 +0000)]
Merge "Use Launcher.getLauncher(Context) instead of type-casting." into ub-launcher3-calgary-polish

7 years agoAnnouncing the final action when the drag-drop completes
Sunny Goyal [Tue, 11 Oct 2016 17:54:39 +0000 (10:54 -0700)]
Announcing the final action when the drag-drop completes

Bug:31926812
Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6

7 years agoMerge "Updating the folder cell dimensions to be closer to a square" into ub-launcher...
Sunny Goyal [Mon, 10 Oct 2016 20:37:51 +0000 (20:37 +0000)]
Merge "Updating the folder cell dimensions to be closer to a square" into ub-launcher3-calgary-polish

7 years agoMerge "Set correct accessibility delegate for the overview mode. b/32004538" into...
Hyunyoung Song [Fri, 7 Oct 2016 21:48:19 +0000 (21:48 +0000)]
Merge "Set correct accessibility delegate for the overview mode. b/32004538" into ub-launcher3-calgary-polish

7 years agoSet correct accessibility delegate for the overview mode.
Hyunyoung Song [Fri, 7 Oct 2016 21:19:30 +0000 (14:19 -0700)]
Set correct accessibility delegate for the overview mode.
b/32004538

Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791

7 years agoUpdating the folder cell dimensions to be closer to a square
Sunny Goyal [Fri, 7 Oct 2016 20:36:15 +0000 (13:36 -0700)]
Updating the folder cell dimensions to be closer to a square

Bug: 31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e

7 years agoUse Launcher.getLauncher(Context) instead of type-casting.
Tony [Fri, 7 Oct 2016 19:50:01 +0000 (12:50 -0700)]
Use Launcher.getLauncher(Context) instead of type-casting.

Bug: 32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43

7 years agoMerge "Using add/replace instead of update when updating an entry." into ub-launcher3...
Sunny Goyal [Fri, 7 Oct 2016 18:04:15 +0000 (18:04 +0000)]
Merge "Using add/replace instead of update when updating an entry." into ub-launcher3-calgary-polish

7 years agoUsing add/replace instead of update when updating an entry.
Sunny Goyal [Fri, 7 Oct 2016 16:46:49 +0000 (09:46 -0700)]
Using add/replace instead of update when updating an entry.

Update operation was not including version and updateTime columns
leading to a update operation getting called wheneven launcher loads.

Bug: 32004297
Change-Id: I5f1793633ce3bb72d5641a82502b3ba8b9cdff7d

7 years agoBye bye swipe down search
Hyunyoung Song [Thu, 6 Oct 2016 19:37:45 +0000 (12:37 -0700)]
Bye bye swipe down search
b/31935141

Change-Id: I4ab6741baa4681358a8a234860179d2de4290fd7

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: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: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 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 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:27:07 +0000 (01:27 +0000)]
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish

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

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

7 years agoFixing two critical bugs in all apps transition controller
Hyunyoung Song [Wed, 21 Sep 2016 05:50:06 +0000 (22:50 -0700)]
Fixing two critical bugs in all apps transition controller

bug#1: if long press from page indicator region, you can pull up all apps
even though the workspace is in overview state.

bug#2: all apps should not intercept touch not only in overview mode
but also in any modal state.

Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f

7 years agoStop jumping to workspace from hotseat on quick drop.
Tony Wickham [Tue, 13 Sep 2016 01:09:33 +0000 (18:09 -0700)]
Stop jumping to workspace from hotseat on quick drop.

Regression occurred in ag/1315317.

In that change, Launcher#enterSpringLoadedDragMode() was moved from
the end of startDrag() to the end of onDragStart(). This changed the
sequence of events from:

beginDragShared() --> DragController#startDrag() --> onDragStart -->
dropTarget.onDragOver() --> Launcher#enterSpringLoadedDragMode()

to:

beginDragShared() --> DragController#startDrag() --> onDragStart -->
Launcher#enterSpringLoadedDragMode() --> onDragOver()

Basically, the key difference is that onDragOver() is called after
enterSpringLoadedDragMode(). This matters, because onDragOver()
returns early if Workspace#transitionStateShouldAllowDrop() returns
false, which it does during the spring loaded transition. This meant
that onDragOver() didn't update the layout to be Hotseat, and thus
the current workspace page was used as default, since that is what
was set in onDragEnter(). To fix it, I've copied the logic in
onDragOver() that checks to see if the drag is over the hotseat first
to a new method that onDragEnter() now calls as well.

Bug: 31245181
Change-Id: Ie758921b25fc96516a09c32bdc9706da941522df

7 years agoMerge "Fix ExtendedEditText not handling touch correctly b/31555902" into ub-launcher...
Hyunyoung Song [Tue, 20 Sep 2016 21:10:34 +0000 (21:10 +0000)]
Merge "Fix ExtendedEditText not handling touch correctly b/31555902" into ub-launcher3-calgary-polish

7 years agoMerge "When shortcuts close, only set text visible if not in hotseat." into ub-launch...
Tony Wickham [Tue, 20 Sep 2016 20:49:37 +0000 (20:49 +0000)]
Merge "When shortcuts close, only set text visible if not in hotseat." into ub-launcher3-calgary-polish

7 years agoFix ExtendedEditText not handling touch correctly
Hyunyoung Song [Tue, 20 Sep 2016 19:37:41 +0000 (12:37 -0700)]
Fix ExtendedEditText not handling touch correctly
b/31555902

Change-Id: Ife23cf6af29ac47315aee4abc0ffe2dbcde352f9

7 years agoCreated include filters for jacoco
Shankhoneer Chakrovarty [Thu, 15 Sep 2016 01:30:05 +0000 (18:30 -0700)]
Created include filters for jacoco

Go to for report: https://cnsviewer.corp.google.com/ear/cns/on-d/home/android-test/kharon/shankh/world/test_logs/ub-launcher3-calgary/0/CodeCoverage/inv_5368912399306607305/coverage_8663315225010526892.ear/index.html
go to https://x20web.corp.google.com/users/sh/shankh/coverage/index.html for source code level code coverage statistics

Bug: 29882934

Change-Id: I397537f45ac4611e8a97d4656d0e7d2b694688fc

7 years agoMerge "Only reset search field when back key is hit if there is no query." into ub...
Jonathan Miranda [Mon, 19 Sep 2016 23:08:42 +0000 (23:08 +0000)]
Merge "Only reset search field when back key is hit if there is no query." into ub-launcher3-calgary-polish

7 years agoMerge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary...
Jonathan Miranda [Mon, 19 Sep 2016 23:04:11 +0000 (23:04 +0000)]
Merge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary-polish

7 years agoUses a TransformingTouchDelegate to extend touch target for widgets list.
Jon Miranda [Mon, 19 Sep 2016 21:43:54 +0000 (21:43 +0000)]
Uses a TransformingTouchDelegate to extend touch target for widgets list.
am: 0ef81fdc22

Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa

7 years agoUses a TransformingTouchDelegate to extend touch target for widgets list.
Jon Miranda [Fri, 16 Sep 2016 19:38:09 +0000 (12:38 -0700)]
Uses a TransformingTouchDelegate to extend touch target for widgets list.

The widget row contents were being clipped, which made it seem like
the horizontal scroll was broken.

Bug: 30023607
Change-Id: I00b0c334bbb0faf166d4cd168392cc494ed732e0

7 years agoAdd context to widget dimensions for accessibility.
Jon Miranda [Mon, 19 Sep 2016 18:25:39 +0000 (11:25 -0700)]
Add context to widget dimensions for accessibility.

Bug: 19085860
Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0

7 years agoMerge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 19 Sep 2016 16:33:40 +0000 (16:33 +0000)]
Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish

7 years agoOnly reset search field when back key is hit if there is no query.
Jon Miranda [Mon, 19 Sep 2016 16:31:56 +0000 (09:31 -0700)]
Only reset search field when back key is hit if there is no query.

Bug: 31432372
Change-Id: I93c7ee661597f934402f464c4f0182a8fad38d39

7 years agoMerge "Fixing issue where overview->normal workspace mode cannot be done by tapping...
Hyunyoung Song [Fri, 16 Sep 2016 19:34:39 +0000 (19:34 +0000)]
Merge "Fixing issue where overview->normal workspace mode cannot be done by tapping b/31458165" into ub-launcher3-calgary-polish

7 years agoUpdating the paddings in folder cell
Sunny Goyal [Wed, 14 Sep 2016 18:26:21 +0000 (11:26 -0700)]
Updating the paddings in folder cell

> Updating overall padding for the cell and adding drawable padding
> Ensuring that the folder cell is always rendered properly based
  on available vertical space

Bug: 30605958
Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085

7 years agoFixing issue where overview->normal workspace mode cannot be done by tapping
Hyunyoung Song [Fri, 16 Sep 2016 19:03:27 +0000 (12:03 -0700)]
Fixing issue where overview->normal workspace mode cannot be done by tapping
b/31458165

Because workspaceInModalState makes the VerticalFlingDetector
to consume the touch input, click is not detected in Overview mode.

Placed pulldown to search behind a feature flag.

Change-Id: I31ab69f57944a18e6b264c4f2ed2d0c1175cd940

7 years agoMerge "Don't close all apps when touching deep shortcuts container." into ub-launcher...
Tony Wickham [Fri, 16 Sep 2016 18:47:48 +0000 (18:47 +0000)]
Merge "Don't close all apps when touching deep shortcuts container." into ub-launcher3-calgary-polish

7 years agoMerge "Fixed NumberFormatException when trying to display vector drawable." into...
Jonathan Miranda [Fri, 16 Sep 2016 17:47:27 +0000 (17:47 +0000)]
Merge "Fixed NumberFormatException when trying to display vector drawable." into ub-launcher3-calgary-polish

7 years agoMerge "Set contentDescription on caret" into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 15 Sep 2016 23:31:37 +0000 (23:31 +0000)]
Merge "Set contentDescription on caret" into ub-launcher3-calgary-polish

7 years agoSet contentDescription on caret
Hyunyoung Song [Thu, 15 Sep 2016 23:19:14 +0000 (16:19 -0700)]
Set contentDescription on caret

Change-Id: I1f66b96b3f94649d85857b0107144bb4070ef448

7 years agoFixed NumberFormatException when trying to display vector drawable.
Jon Miranda [Thu, 15 Sep 2016 22:07:44 +0000 (15:07 -0700)]
Fixed NumberFormatException when trying to display vector drawable.

Found while debugging on Lollipop.

Change-Id: Idb098d3a8f7f1fa608fd8a32225cdefa41ba47a7

7 years agoUse ContextCompat.getColor to support API levels below 23.
Jon Miranda [Thu, 15 Sep 2016 22:05:12 +0000 (15:05 -0700)]
Use ContextCompat.getColor to support API levels below 23.

Found while debugging on Lollipop.

Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931

7 years agoAdding support for extending the touch target in the touchDelegate
Sunny Goyal [Thu, 15 Sep 2016 21:33:10 +0000 (21:33 +0000)]
Adding support for extending the touch target in the touchDelegate
am: 1cc48e1d0c

Change-Id: I29ce4b52a2b687f73b2db4ddb633210e905aad69

7 years agoAdding support for extending the touch target in the touchDelegate
Sunny Goyal [Thu, 15 Sep 2016 19:32:28 +0000 (12:32 -0700)]
Adding support for extending the touch target in the touchDelegate

Bug: 31458312
Change-Id: Ic819bdede2776ff63ec17053cc1326415edc1ca0

7 years agoFix bug where page indicator animation repeats itself.
Jon Miranda [Thu, 15 Sep 2016 19:31:28 +0000 (12:31 -0700)]
Fix bug where page indicator animation repeats itself.

Bug: 31501865
Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c

7 years agoPull down should start search.
Hyunyoung Song [Thu, 15 Sep 2016 17:48:25 +0000 (10:48 -0700)]
Pull down should start search.
b/31458165

Change-Id: If4821e3d89a05a00551af6a5209ebc1693a1389b

7 years agoSimplifying the startSearch call in launcher callbacks
Sunny Goyal [Tue, 13 Sep 2016 21:19:29 +0000 (14:19 -0700)]
Simplifying the startSearch call in launcher callbacks

Change-Id: I722e110903cced237f05667c4d711468d7cd3daa

7 years agoAdding support for multiwindow drag and drop
Sunny Goyal [Mon, 12 Sep 2016 21:36:30 +0000 (14:36 -0700)]
Adding support for multiwindow drag and drop

Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a

7 years agoMerge "Using DragObject for folder drop instead of maintaining states when drag start...
Sunny Goyal [Mon, 12 Sep 2016 20:21:04 +0000 (20:21 +0000)]
Merge "Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder" into ub-launcher3-calgary-polish

7 years agoMerge "Fixing double system state call in iconCache" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 12 Sep 2016 18:10:29 +0000 (18:10 +0000)]
Merge "Fixing double system state call in iconCache" into ub-launcher3-calgary-polish

7 years agoMerge "Adding support for searching word segments when camelcase is used in the title...
Sunny Goyal [Mon, 12 Sep 2016 18:09:48 +0000 (18:09 +0000)]
Merge "Adding support for searching word segments when camelcase is used in the title" into ub-launcher3-calgary-polish

7 years agoFixing double system state call in iconCache
Sunny Goyal [Sun, 11 Sep 2016 21:48:39 +0000 (14:48 -0700)]
Fixing double system state call in iconCache

Change-Id: I6d43c8054c18e199f4343662f92631f0808c773e

7 years agoAdding support for searching word segments when camelcase is used in the title
Sunny Goyal [Fri, 9 Sep 2016 03:31:38 +0000 (20:31 -0700)]
Adding support for searching word segments when camelcase is used in the title

Bug: 30880421
Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9

7 years agoUsing DragObject for folder drop instead of maintaining states when
Sunny Goyal [Fri, 9 Sep 2016 19:42:10 +0000 (12:42 -0700)]
Using DragObject for folder drop instead of maintaining states when
drag starts from inside a folder

Change-Id: I073b59c194d0bd483d579bbcb638b116b09590a0

7 years agoMerge "Preventing a shortcut which requires permissions from being added to homescree...
Sunny Goyal [Sat, 10 Sep 2016 00:04:51 +0000 (00:04 +0000)]
Merge "Preventing a shortcut which requires permissions from being added to homescreen" into ub-launcher3-calgary-polish

7 years agoMerge "Show IME when search query != null after rotation" into ub-launcher3-calgary...
Hyunyoung Song [Fri, 9 Sep 2016 22:13:33 +0000 (22:13 +0000)]
Merge "Show IME when search query != null after rotation" into ub-launcher3-calgary-polish

7 years agoShow IME when search query != null after rotation
Hyunyoung Song [Fri, 9 Sep 2016 22:02:20 +0000 (15:02 -0700)]
Show IME when search query != null after rotation

Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e

7 years agoMerge "Fix deferred shortcut container removal." into ub-launcher3-calgary-polish
TreeHugger Robot [Fri, 9 Sep 2016 00:02:39 +0000 (00:02 +0000)]
Merge "Fix deferred shortcut container removal." into ub-launcher3-calgary-polish

7 years agoMerge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish
TreeHugger Robot [Fri, 9 Sep 2016 00:02:35 +0000 (00:02 +0000)]
Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish

7 years agoDon't show app info for ITEM_TYPE_SHORTCUT.
Tony Wickham [Thu, 8 Sep 2016 22:00:24 +0000 (15:00 -0700)]
Don't show app info for ITEM_TYPE_SHORTCUT.

Bug: 30440566
Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8

7 years agoPreventing a shortcut which requires permissions from being added to
Sunny Goyal [Thu, 8 Sep 2016 21:32:06 +0000 (14:32 -0700)]
Preventing a shortcut which requires permissions from being added to
homescreen

A shortcut can be added by any app as INSTALL_SHORTCUT is a normal
level permission. But the intent is actually launched by the launcher
app which can have other permission as well.

> When adding a shortcut from the broadcast, verify that the intent does
not require any permission
> When adding a shortcut using the two-step drop process, verify that
the source app also has the permission to create such a shortcut

Bug: 30778130
Change-Id: I710a490d69019dc25709db5a97020c20d9325007

7 years agoMerge "Launcher restore state fixes:" into ub-launcher3-calgary-polish
Sunny Goyal [Thu, 8 Sep 2016 21:30:45 +0000 (21:30 +0000)]
Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polish

7 years agoDon't close all apps when touching deep shortcuts container.
Tony Wickham [Thu, 8 Sep 2016 21:20:48 +0000 (14:20 -0700)]
Don't close all apps when touching deep shortcuts container.

Bug: 31373894
Change-Id: Ica1d0c2318e8f5d3e45196174c9b495a1c2515cd

7 years agoFix deferred shortcut container removal.
Tony Wickham [Thu, 8 Sep 2016 20:58:35 +0000 (13:58 -0700)]
Fix deferred shortcut container removal.

- Previously, the drag listener listener was removed from the
  container as soon as it started animating closed, which got
  rid of its opportunity to complete the deferred removal.
- The deferred removal now calls close(), which does further
  cleanup including updating the app icon's text visibility.

Bug: 31248681
Change-Id: I18e545e7e19e50b7d47e23a5beb8f254ba1a4ccf

7 years agoMerge "Updating the assets for the all-apps search background." into ub-launcher3...
Sunny Goyal [Thu, 8 Sep 2016 20:16:48 +0000 (20:16 +0000)]
Merge "Updating the assets for the all-apps search background." into ub-launcher3-calgary-polish