OSDN Git Service

android-x86/packages-apps-Launcher3.git
8 years agoRemoving dependency on LauncherCallbacks for getting the search bounds
Sunny Goyal [Thu, 17 Mar 2016 18:57:24 +0000 (11:57 -0700)]
Removing dependency on LauncherCallbacks for getting the search bounds

> Instead of handling insets in BaseContainerView, directly applying
  them to margins, as that scpace can't be used for scroll handling
> Appliying the top and bottom padding in xml
> The left & right padding is defied in xml which is reused for scroll
  handling

Bug: 27108154
Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9

8 years agoMerge "Creating database without localized collators on NYC and above" into ub-launch...
Sunny Goyal [Thu, 17 Mar 2016 18:40:33 +0000 (18:40 +0000)]
Merge "Creating database without localized collators on NYC and above" into ub-launcher3-calgary

8 years agoCreating database without localized collators on NYC and above
Sunny Goyal [Tue, 15 Mar 2016 22:30:11 +0000 (15:30 -0700)]
Creating database without localized collators on NYC and above

Android automatically creates and maintains a metaData table to
store the current device locale. This is used when fetching
sorted results. Since Laucher does not require string based
sorting on its tables, we can avoid unnecessary IO by disabling
this feature

Bug: 24608776
Change-Id: I8bbf5ca3abd505be95a85cfc99dd0438966575e9

8 years agoDon't listen for the pinch gesture if the workspace is locked.
Tony Wickham [Wed, 16 Mar 2016 20:53:50 +0000 (13:53 -0700)]
Don't listen for the pinch gesture if the workspace is locked.

Bug: 27639653
Change-Id: I1f3b324a4b95cc5deaa2513dcbf4ed5a158a4866

8 years agoRemove scrim on highlighted spring-loaded panel.
Tony Wickham [Thu, 18 Feb 2016 22:37:07 +0000 (14:37 -0800)]
Remove scrim on highlighted spring-loaded panel.

Bug: 27135377
Change-Id: I470955ed082a45ae7dc5f8fdd1f3decb2b573dbc

8 years agoAdding UI tests for various bind widget flows
Sunny Goyal [Thu, 10 Mar 2016 13:34:30 +0000 (05:34 -0800)]
Adding UI tests for various bind widget flows

Change-Id: I634302051886baee6b6424f69bc95db860b4823e

8 years agoMerge "Closing folder in onSaveInstanceState" into ub-launcher3-calgary
Sunny Goyal [Tue, 15 Mar 2016 16:52:06 +0000 (16:52 +0000)]
Merge "Closing folder in onSaveInstanceState" into ub-launcher3-calgary

8 years agoClosing folder in onSaveInstanceState
Sunny Goyal [Mon, 14 Mar 2016 21:08:12 +0000 (14:08 -0700)]
Closing folder in onSaveInstanceState

folderInfo.isOpened is part of static model, where is the open folder
state is part of the UI. This resets the static model, when the
UI is about to be reset
This also causes the folders to get closed when launcher gets hidden

Partial revert of: Ie1318b82b497957b99603b11ec338dd50d51b962

Bug: 275962912490049627624924
Change-Id: I30c2bb99a19fdd95a1b997d07066f80be812e2c0

8 years agoFix issue with all apps icons not being aligned
Adam Cohen [Tue, 15 Mar 2016 02:47:00 +0000 (19:47 -0700)]
Fix issue with all apps icons not being aligned

-> The new versions of LayoutManagers in the latest support lib
   has begun to respect certain layout params (where before they
   were ignoreed). match_parent is now treated as "match column",
   which is what we want here.

issue 27581978

Change-Id: If1efed15b5a93c873ff141e3c658922819c143fb

8 years ago[DO NOT MERGE] Fix widget tray clipping due to wrong padding
Hyunyoung Song [Mon, 14 Mar 2016 18:10:12 +0000 (18:10 +0000)]
[DO NOT MERGE] Fix widget tray clipping due to wrong padding
am: f4c0f7d250  -s ours

* commit 'f4c0f7d2505833fac1f5dad173282d8c73cbff5d':
  [DO NOT MERGE] Fix widget tray clipping due to wrong padding

8 years ago[DO NOT MERGE] Fix widget tray clipping due to wrong padding
Hyunyoung Song [Mon, 14 Mar 2016 18:00:07 +0000 (11:00 -0700)]
[DO NOT MERGE] Fix widget tray clipping due to wrong padding

b/27380335
padding was set wrong when the widget view hierarchy was
being refactored in this CL: ag/870011

Change-Id: I003634acded2bbe204098c0e6fefff13d154b5d6
(cherry picked from commit 58e61ac216adbc3e4e211a428692dbeb54e78b45)

8 years agoMerge "Fix widget tray clipping due to wrong padding" into ub-launcher3-calgary
Hyunyoung Song [Mon, 14 Mar 2016 18:02:47 +0000 (18:02 +0000)]
Merge "Fix widget tray clipping due to wrong padding" into ub-launcher3-calgary

8 years agoFix widget tray clipping due to wrong padding
Hyunyoung Song [Mon, 14 Mar 2016 18:00:07 +0000 (11:00 -0700)]
Fix widget tray clipping due to wrong padding

b/27380335
padding was set wrong when the widget view hierarchy was
being refactored in this CL: ag/870011

Change-Id: I003634acded2bbe204098c0e6fefff13d154b5d6

8 years agoFixing black lowres icons
Sunny Goyal [Fri, 11 Mar 2016 03:52:43 +0000 (19:52 -0800)]
Fixing black lowres icons

Bug: 27598858
Change-Id: Ib7c9b1e3abe54b94741e154bc8327d06f83e439c

8 years agoMerge "Changing the widget loading strategy" into ub-launcher3-calgary
Sunny Goyal [Thu, 10 Mar 2016 04:22:37 +0000 (04:22 +0000)]
Merge "Changing the widget loading strategy" into ub-launcher3-calgary

8 years agoChanging the widget loading strategy
Sunny Goyal [Fri, 4 Mar 2016 00:58:55 +0000 (16:58 -0800)]
Changing the widget loading strategy

Widget is loaded only when the user enters the overview mode and we keep
the list updated as long as the user is in the overview mode. Once the user
leaves the overview mode, we stop responding to widget updates

Bug: 26077457
Change-Id: I9e4904b8f1300bfe0d77e2bc5f59aa6963fad8d1

8 years agoAdd getUserEventLogger to LauncherCallbacks
Hyunyoung Song [Wed, 9 Mar 2016 00:55:47 +0000 (16:55 -0800)]
Add getUserEventLogger to LauncherCallbacks
b/26494415

Change-Id: I8abaaf1269c12435a523e31bf769991018ea5c02

8 years agoFix the broken build
Hyunyoung Song [Mon, 7 Mar 2016 18:07:35 +0000 (10:07 -0800)]
Fix the broken build

Change-Id: I2750cde454a6604f33b910ac8b31fd07bba567bb

8 years agoPinch to zoom out into overview mode.
Tony Wickham [Wed, 24 Feb 2016 19:07:00 +0000 (11:07 -0800)]
Pinch to zoom out into overview mode.

There are 3 classes coordinating the gesture: PinchToOverviewListener,
PinchThresholdManager, and PinchAnimationManager.
- PTOL listens for the pinch gesture on DragLayer.
- When a pinch is detected, the PTOL keeps track of the interpolated
  progress and passes it along to both the PTM and PAM.
- The PTM uses the progress to determine whether a new threshold has
  been passed, and tells the PAM to animate it if so.
- The PAM uses the progress to animate things like workspace scale
  throughout the pinch.
- If the pinch ends early, the PTOL uses the last passed threshold to
  determine whether to animate to workspace or overview, and tells
  PAM to perform the animation at the same velocity as the pinch.

Bug: 24414635
Change-Id: I9e53706c705f8b2982409bf7c223d8d0e9618bf0

8 years agoAdding back LAUNCHER3_ICON_NORMALIZATION feature flag to fix dependency breakage
Sunny Goyal [Fri, 4 Mar 2016 22:47:10 +0000 (14:47 -0800)]
Adding back LAUNCHER3_ICON_NORMALIZATION feature flag to fix dependency breakage

Change-Id: I65376fde1d6681c00cdf2226a94bd9872b00cc6f

8 years agoTrim down the logging class
Hyunyoung Song [Fri, 4 Mar 2016 20:16:57 +0000 (20:16 +0000)]
Trim down the logging class
am: 3650019856

* commit '3650019856ad9bd44ad8ecb591917f7f2520e8d6':
  Trim down the logging class

8 years agoTrim down the logging class
Hyunyoung Song [Fri, 4 Mar 2016 20:00:25 +0000 (12:00 -0800)]
Trim down the logging class

b/26494415

Change-Id: I9035f515e4eb54af8f8ad2f29ab294d2ac9760e8

8 years agoDefine generic logging class
Hyunyoung Song [Fri, 4 Mar 2016 19:16:49 +0000 (19:16 +0000)]
Define generic logging class
am: a9c69ce09c

* commit 'a9c69ce09c164c8ad0191e05318460d0955825a7':
  Define generic logging class

8 years agoDefine generic logging class
Hyunyoung Song [Fri, 4 Mar 2016 19:02:40 +0000 (11:02 -0800)]
Define generic logging class

b/26494415

Change-Id: I5fbf54eb5986eb49a62ba51d41aab43e00a9ca12

8 years ago[DO NOT MERGE] Upload proto file to burnaby-polish
Hyunyoung Song [Fri, 4 Mar 2016 18:36:37 +0000 (18:36 +0000)]
[DO NOT MERGE] Upload proto file to burnaby-polish
am: c619edbc72  -s ours

* commit 'c619edbc72e7ad2a77ab25d7a42258bc988c0b4b':
  [DO NOT MERGE] Upload proto file to burnaby-polish

8 years ago[DO NOT MERGE] Upload proto file to burnaby-polish
Hyunyoung Song [Fri, 4 Mar 2016 18:27:09 +0000 (10:27 -0800)]
[DO NOT MERGE] Upload proto file to burnaby-polish

b/26494415
- needed for ag/879262 getLogger function parameter
- prediction to start parsing proto instead of the bundle

Change-Id: I002ceb5faad0f2272ae5676b891f20826dbfcf3f

8 years agoresolve merge conflicts of 2494c3f168 to ub-launcher3-calgary
Sunny Goyal [Thu, 3 Mar 2016 21:52:22 +0000 (13:52 -0800)]
resolve merge conflicts of 2494c3f168 to ub-launcher3-calgary

Change-Id: I807016057da9b867ebb2c8f3ee2027a3a2688d30

8 years agoFixing mismatch comment in flags
Sunny Goyal [Thu, 3 Mar 2016 21:38:58 +0000 (13:38 -0800)]
Fixing mismatch comment in flags

Change-Id: Ie86e2ebd4f40653fb127a239b57361164ef31b07

8 years agoUsing a negative flag for icon notmalization
Sunny Goyal [Thu, 3 Mar 2016 21:19:24 +0000 (13:19 -0800)]
Using a negative flag for icon notmalization

Change-Id: Iaa94aea730d2b5cc3f15f3578f240127ca0eef63

8 years agoMoving createMarketSearchIntent to search controller to allow it to be customizable
Sunny Goyal [Thu, 3 Mar 2016 19:35:59 +0000 (11:35 -0800)]
Moving createMarketSearchIntent to search controller to allow it to be customizable

Change-Id: I3a05abf7c0357a2f92c8a3fa2dc223f9eacc221e

8 years agoStarting market search whenever the search key is pressed
Sunny Goyal [Thu, 3 Mar 2016 18:46:34 +0000 (18:46 +0000)]
Starting market search whenever the search key is pressed
am: 9e3fee1427

* commit '9e3fee1427c0baa38564e20a9f351d1a87c25761':
  Starting market search whenever the search key is pressed

8 years agoStarting market search whenever the search key is pressed
Sunny Goyal [Wed, 2 Mar 2016 19:32:18 +0000 (11:32 -0800)]
Starting market search whenever the search key is pressed

Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef
(cherry picked from commit 992a5f566e7f1b1fc8bd766f1fd00bee7ea2a634)

8 years agoSwitch all folder preview rendering to be programmatic (ie. no assets)
Adam Cohen [Thu, 25 Feb 2016 03:19:06 +0000 (19:19 -0800)]
Switch all folder preview rendering to be programmatic (ie. no assets)

-> Refactored the preview background rendering to be much more self-contained.
   This cleans up a lot of code in the CellLayout, and keeps the logic in the
   right place.
-> We switch to software rendering for performance and compatibility reasons.
-> Removed all assets.
-> FolderIcon accept animation includes animation of the clipped region.
-> 1:1 hand-off of drawing of the FolderIcon background between the FolderIcon
   and the CellLayout. Unfortunately, CellLayout rendering is still required
   to work around clipping issues (due to use of software layer). We also
   need this to support folder creation feedback.

Change-Id: Ib8f7fa6359dfedff8145f38dd50ba03849ca0d51

8 years agoStarting market search whenever the search key is pressed
Sunny Goyal [Wed, 2 Mar 2016 19:32:18 +0000 (11:32 -0800)]
Starting market search whenever the search key is pressed

Bug: 27365428
Change-Id: I508cb35cd1aaab1eac6cf60014fa6f80592365ef

8 years agoMerge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby...
Hyunyoung Song [Tue, 1 Mar 2016 19:59:45 +0000 (19:59 +0000)]
Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish
am: 5cc55a143a

* commit '5cc55a143a2ed35d6f2ac1fe57a4e8b3e26d47a0':
  Prevent work profile widget DnD crash b/26079469

8 years agoMerge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby...
Hyunyoung Song [Tue, 1 Mar 2016 19:58:44 +0000 (19:58 +0000)]
Merge "Prevent work profile widget DnD crash b/26079469" into ub-launcher3-burnaby-polish

8 years agoPrevent work profile widget DnD crash
Hyunyoung Song [Tue, 1 Mar 2016 19:57:44 +0000 (11:57 -0800)]
Prevent work profile widget DnD crash
b/26079469

Change-Id: I3d49ac498bbaaef8ca8a3051f5ab4b35ef771410

8 years agoMerge "Fixing homescreen getting blank when returning from the overlay" into ub-launc...
Sunny Goyal [Tue, 1 Mar 2016 01:07:38 +0000 (01:07 +0000)]
Merge "Fixing homescreen getting blank when returning from the overlay" into ub-launcher3-calgary

8 years agoFixing scrollTo getting called even though the gesture was handled by an overlay
Sunny Goyal [Mon, 29 Feb 2016 23:15:03 +0000 (15:15 -0800)]
Fixing scrollTo getting called even though the gesture was handled by an overlay

Change-Id: Ia46c4ef3db8a3ae4fa615625b7b983d7e461c797

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 13:34:05 +0000 (13:34 +0000)]
Import translations. DO NOT MERGE
am: 645bdb373a  -s ours

* commit '645bdb373a8f8449bb9b2d45556fd6babc4d16a3':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 13:25:50 +0000 (05:25 -0800)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 29 Feb 2016 13:24:53 +0000 (05:24 -0800)]
Import translations. DO NOT MERGE

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

8 years agoChaning the \'title\' attribute format to string to be consistent with support libraries
Sunny Goyal [Fri, 26 Feb 2016 22:48:54 +0000 (22:48 +0000)]
Chaning the \'title\' attribute format to string to be consistent with support libraries
am: eba87b1770

* commit 'eba87b1770937f44998aff5fc4b34a12b30c6440':
  Chaning the 'title' attribute format to string to be consistent with support libraries

8 years agoMerge "Chaning shadow algorithm to reuse bitmap instead of creating a new bitmap...
Sunny Goyal [Fri, 26 Feb 2016 19:28:34 +0000 (19:28 +0000)]
Merge "Chaning shadow algorithm to reuse bitmap instead of creating a new bitmap on every tap" into ub-launcher3-calgary

8 years agoDisabling system drag driver in NYC
Sunny Goyal [Fri, 26 Feb 2016 17:52:21 +0000 (09:52 -0800)]
Disabling system drag driver in NYC

Change-Id: Ia7374f04c2aeb9cf8eb5bcf330da56bbc3f47ef2

8 years agoChaning the 'title' attribute format to string to be consistent
Sunny Goyal [Fri, 26 Feb 2016 17:44:27 +0000 (09:44 -0800)]
Chaning the 'title' attribute format to string to be consistent
with support libraries

Change-Id: I58f687f9ab5d6c0e42bebd4f0f75e1efc696b9fe

8 years agoChaning shadow algorithm to reuse bitmap instead of creating
Sunny Goyal [Tue, 23 Feb 2016 00:10:44 +0000 (16:10 -0800)]
Chaning shadow algorithm to reuse bitmap instead of creating
a new bitmap on every tap

Bug: 27239742
Change-Id: I8e4259b79b1048e5fa82e7a1c8934ec7c52995be

8 years agoFixing homescreen getting blank when returning from the overlay
Sunny Goyal [Fri, 12 Feb 2016 22:24:21 +0000 (14:24 -0800)]
Fixing homescreen getting blank when returning from the overlay

Change-Id: Ie11b92cd59c90e71b9b58eeede742ef0c5b28380

8 years agoMerge "Adding overlay interaction support" into ub-launcher3-calgary
Sunny Goyal [Fri, 26 Feb 2016 03:57:11 +0000 (03:57 +0000)]
Merge "Adding overlay interaction support" into ub-launcher3-calgary

8 years agoFixing broken testQsbTallHeight for some devices
Sunny Goyal [Thu, 25 Feb 2016 22:50:53 +0000 (14:50 -0800)]
Fixing broken testQsbTallHeight for some devices

Change-Id: I0f4f11847602f4767051543ff648c5c32a82961a

8 years agoMerge "Removign optimations in onDestroy" into ub-launcher3-calgary
Sunny Goyal [Thu, 25 Feb 2016 18:01:36 +0000 (18:01 +0000)]
Merge "Removign optimations in onDestroy" into ub-launcher3-calgary

8 years agoAdding overlay interaction support
Sunny Goyal [Thu, 25 Feb 2016 17:19:38 +0000 (09:19 -0800)]
Adding overlay interaction support

> Sending unboundX to the overlay which is the total untranslated X and not just deltaX from last frame
> Handling overlay callback and translating workspace accordingly

Change-Id: I3bd8d9efac738e9ce131758f0e5ff1b9c1d6a8fc

8 years agoresolve merge conflicts of 078d4de90b to ub-launcher3-calgary
Sunny Goyal [Thu, 25 Feb 2016 17:21:44 +0000 (09:21 -0800)]
resolve merge conflicts of 078d4de90b to ub-launcher3-calgary

Change-Id: Iec05a686848a03fa76a893d33fa4c465f00e8a71

8 years agoMerge "Defining the base state of the Launcher theme, in case the platform has differ...
Sunny Goyal [Thu, 25 Feb 2016 17:12:03 +0000 (17:12 +0000)]
Merge "Defining the base state of the Launcher theme, in case the platform has different defaults" into ub-launcher3-burnaby-polish

8 years agoMerge "Preventing crash when there is not enough width to show the pending text"...
Sunny Goyal [Thu, 25 Feb 2016 04:15:32 +0000 (04:15 +0000)]
Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish
am: ed2ce76bfe

* commit 'ed2ce76bfeda7cee2dc0fa124825ac603f2761ea':
  Preventing crash when there is not enough width to show the pending text

8 years agoMerge "Preserving the homescreen rotation setting on a tablet, when the display is...
Sunny Goyal [Thu, 25 Feb 2016 04:15:14 +0000 (04:15 +0000)]
Merge "Preserving the homescreen rotation setting on a tablet, when the display is scaled" into ub-launcher3-calgary

8 years agoMerge "Preventing crash when there is not enough width to show the pending text"...
Sunny Goyal [Thu, 25 Feb 2016 04:14:06 +0000 (04:14 +0000)]
Merge "Preventing crash when there is not enough width to show the pending text" into ub-launcher3-burnaby-polish

8 years agoCleaning up folder icon drawing
Adam Cohen [Sun, 14 Feb 2016 00:06:05 +0000 (16:06 -0800)]
Cleaning up folder icon drawing

-> Tracking individual drawing parms for each item
-> This enables animation of the preview items as the preview changes

Change-Id: I1b8f650cb28dc09cfb921bbdc93f2a3db61178fd

8 years agoMerge "Cleaning up the overlay interface" into ub-launcher3-calgary
Sunny Goyal [Thu, 25 Feb 2016 00:19:40 +0000 (00:19 +0000)]
Merge "Cleaning up the overlay interface" into ub-launcher3-calgary

8 years agoMerge "Revert "Disabling som attributes so that dependencies can use compat libraries...
Sunny Goyal [Thu, 25 Feb 2016 00:13:15 +0000 (00:13 +0000)]
Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish
am: 81131edc8e

* commit '81131edc8ed9c1d866d98bef3f08bbd9eb4d47fc':
  Revert "Disabling som attributes so that dependencies can use compat libraries"

8 years agoMerge "Revert "Disabling som attributes so that dependencies can use compat libraries...
Sunny Goyal [Thu, 25 Feb 2016 00:04:25 +0000 (00:04 +0000)]
Merge "Revert "Disabling som attributes so that dependencies can use compat libraries"" into ub-launcher3-burnaby-polish

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 24 Feb 2016 13:32:30 +0000 (05:32 -0800)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Change preloading coefficient for widgets tray to improve jankness on low...
Hyunyoung Song [Wed, 24 Feb 2016 02:39:40 +0000 (02:39 +0000)]
Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish
am: 2cb92eb2bb

* commit '2cb92eb2bbfbd6ae4331657d3446f3f771aabd4b':
  Change preloading coefficient for widgets tray to improve jankness on low performance devices.

8 years agoMerge "Change preloading coefficient for widgets tray to improve jankness on low...
Hyunyoung Song [Wed, 24 Feb 2016 02:28:59 +0000 (02:28 +0000)]
Merge "Change preloading coefficient for widgets tray to improve jankness on low performance devices." into ub-launcher3-burnaby-polish

8 years agoChange preloading coefficient for widgets tray to improve jankness
Hyunyoung Song [Wed, 24 Feb 2016 02:23:54 +0000 (18:23 -0800)]
Change preloading coefficient for widgets tray to improve jankness
on low performance devices.

Change-Id: I6dfe1161bf596792a7fc8b3c5160a4922e177834

8 years agoPreventing crash when there is not enough width to show the pending text
Sunny Goyal [Wed, 24 Feb 2016 00:43:23 +0000 (16:43 -0800)]
Preventing crash when there is not enough width to show the pending text

Bug: 26901856
Change-Id: I03c9631ce224cce76b2c896a5e6ce6b0ee741782

8 years agoRevert "Disabling som attributes so that dependencies can use compat libraries"
Sunny Goyal [Wed, 24 Feb 2016 00:27:08 +0000 (00:27 +0000)]
Revert "Disabling som attributes so that dependencies can use compat libraries"

This reverts commit e1bd986d77afc9426e320b7cce53993086f9d8ba.

Change-Id: I27490d0cb241b2e58ce45998f7f9e9bc8d84993c

8 years agoDefining the base state of the Launcher theme, in case the platform
Sunny Goyal [Wed, 24 Feb 2016 00:25:42 +0000 (16:25 -0800)]
Defining the base state of the Launcher theme, in case the platform
has different defaults

Bug: 27226038
Change-Id: Ic552e4c17551117236d018656fdf39b29fb06345

8 years agoPreserving the homescreen rotation setting on a tablet, when the display is scaled
Sunny Goyal [Tue, 23 Feb 2016 22:49:22 +0000 (14:49 -0800)]
Preserving the homescreen rotation setting on a tablet, when the display is scaled

Bug: 27040652
Change-Id: I07f5e02443379ac5b877f72d33cedf4f2feca926

8 years agoCleaning up the overlay interface
Sunny Goyal [Thu, 3 Dec 2015 23:31:25 +0000 (15:31 -0800)]
Cleaning up the overlay interface

Removing some unnecessary and unused methods

Bug: 25993953
Change-Id: I4d715cdee04eb7b0ebef673d885a4258c521ff1f

8 years agoManual revert due to conflict:
Hyunyoung Song [Tue, 23 Feb 2016 19:56:32 +0000 (19:56 +0000)]
Manual revert due to conflict:
am: d31dcbcc7c

* commit 'd31dcbcc7c7901959c65c4e635e59274a1d4c334':
  Manual revert due to conflict:

8 years agoManual revert due to conflict:
Hyunyoung Song [Tue, 23 Feb 2016 19:36:21 +0000 (11:36 -0800)]
Manual revert due to conflict:

Revert "Load label in bg thread to prevent ANR b/27238970"

This reverts commit b62fd0957607ae54c7bca7ce64eed288a11f0f2f.

Change-Id: Ia751e3414fb24a18bb8bb9ca09dcd93d0e4249f6

8 years agoDisabling som attributes so that dependencies can use compat libraries
Sunny Goyal [Tue, 23 Feb 2016 19:02:41 +0000 (19:02 +0000)]
Disabling som attributes so that dependencies can use compat libraries
am: e1bd986d77

* commit 'e1bd986d77afc9426e320b7cce53993086f9d8ba':
  Disabling som attributes so that dependencies can use compat libraries

8 years agoDisabling som attributes so that dependencies can use compat libraries
Sunny Goyal [Tue, 23 Feb 2016 18:42:29 +0000 (10:42 -0800)]
Disabling som attributes so that dependencies can use compat libraries

Bug: 27101533
Change-Id: I18de77cffbbb234f25fb85dfe0334ed7fe113a74

8 years agoRevert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"
Sunny Goyal [Thu, 18 Feb 2016 22:09:23 +0000 (22:09 +0000)]
Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"

This reverts commit fc956e5a2a818c06ed3424e15b0aa20a3f604658.

Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93

8 years agoMerge "Chaning touch to tap" into ub-launcher3-calgary
Sunny Goyal [Tue, 23 Feb 2016 00:59:21 +0000 (00:59 +0000)]
Merge "Chaning touch to tap" into ub-launcher3-calgary

8 years agoLoad label in bg thread to prevent ANR b/27238970
Hyunyoung Song [Tue, 23 Feb 2016 00:54:07 +0000 (00:54 +0000)]
Load label in bg thread to prevent ANR b/27238970
am: b62fd09576

* commit 'b62fd0957607ae54c7bca7ce64eed288a11f0f2f':
  Load label in bg thread to prevent ANR b/27238970

8 years agoChaning touch to tap
Sunny Goyal [Tue, 23 Feb 2016 00:53:52 +0000 (16:53 -0800)]
Chaning touch to tap

Bug: 26880138
Change-Id: Ieedb37df75446d5a3c2878d16a1ba698e86c9ad2

8 years agoLoad label in bg thread to prevent ANR
Hyunyoung Song [Tue, 23 Feb 2016 00:36:15 +0000 (16:36 -0800)]
Load label in bg thread to prevent ANR
b/27238970

Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c
(cherry picked from commit 72a9953cf463e0e7a8d24903f1692828ffe5b017)

8 years agoLoad label in bg thread to prevent ANR
Hyunyoung Song [Tue, 23 Feb 2016 00:36:15 +0000 (16:36 -0800)]
Load label in bg thread to prevent ANR
b/27238970

Change-Id: Ic5d77df7d5276cee07861d59427a94fb19691d9c

8 years ago<UserEventLogging> Log app launches
Hyunyoung Song [Fri, 19 Feb 2016 20:14:47 +0000 (12:14 -0800)]
<UserEventLogging> Log app launches
b/26494415

1) Current Logger can capture taps from
- homescreen
- folder inside homescreen
- apps prediction
- all apps a-z
- tap from hotseat
2) Deprecate LauncherCallback methods that is no longer needed

Future CL.
3) Stats and Logger will be merged. Bundle used for Stats can be
replaced with LauncherLogProto
4) Logging anything else other than app launches

Change-Id: Id52eb615f66142017b5c490a220ce6654d325681

8 years agoresolve merge conflicts of a6194d3d92 to ub-launcher3-calgary
Sunny Goyal [Fri, 19 Feb 2016 19:12:14 +0000 (11:12 -0800)]
resolve merge conflicts of a6194d3d92 to ub-launcher3-calgary

Change-Id: I29b3c3bb2c070e34c78c62b8f9086e6f3c8bd277

8 years agoMerge "Deleting the WallpaperPicker code inside launcher. Instead linking it to the...
Sunny Goyal [Fri, 19 Feb 2016 18:08:51 +0000 (18:08 +0000)]
Merge "Deleting the WallpaperPicker code inside launcher. Instead linking it to the packages/apps/WallpaperPicker project" into ub-launcher3-calgary

8 years agoWrapping thw widgetList inside a layout, so that it has the same view structure as...
Sunny Goyal [Fri, 19 Feb 2016 17:34:09 +0000 (09:34 -0800)]
Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps

Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e

8 years agoRemoving LauncherCallbacks control over app search
Sunny Goyal [Thu, 18 Feb 2016 23:50:51 +0000 (23:50 +0000)]
Removing LauncherCallbacks control over app search
am: c42ac0a5a6

* commit 'c42ac0a5a6f0a4e41a9fc1b694f841204ae1989c':
  Removing LauncherCallbacks control over app search

8 years agoRemoving LauncherCallbacks control over app search
Sunny Goyal [Thu, 18 Feb 2016 23:31:55 +0000 (15:31 -0800)]
Removing LauncherCallbacks control over app search

Change-Id: Icb199607dea3f169055e44946272aa9f1e758d1d

8 years agoDeleting the WallpaperPicker code inside launcher.
Sunny Goyal [Thu, 18 Feb 2016 23:09:21 +0000 (15:09 -0800)]
Deleting the WallpaperPicker code inside launcher.
Instead linking it to the packages/apps/WallpaperPicker project

Change-Id: Ib6830b180a22c22afece01e0a4f6e94e89d6452b

8 years agoresolve merge conflicts of 2953833bcb to ub-launcher3-calgary
Sunny Goyal [Thu, 18 Feb 2016 18:23:18 +0000 (10:23 -0800)]
resolve merge conflicts of 2953833bcb to ub-launcher3-calgary

Change-Id: Ia7fc406d1e287974e87979af9a4b1f5f1e4e23d9

8 years agoAdding a utility method to iterate over folder contents
Sunny Goyal [Thu, 18 Feb 2016 17:10:19 +0000 (09:10 -0800)]
Adding a utility method to iterate over folder contents

Change-Id: I9f17ade7dc06819587290387b811d828da57b2fb

8 years agoMerge "Revert "Temporarily disabling custom search controller"" into ub-launcher3...
Sunny Goyal [Thu, 18 Feb 2016 16:55:48 +0000 (16:55 +0000)]
Merge "Revert "Temporarily disabling custom search controller"" into ub-launcher3-calgary

8 years agoRevert "Temporarily disabling custom search controller"
Sunny Goyal [Thu, 18 Feb 2016 00:40:49 +0000 (00:40 +0000)]
Revert "Temporarily disabling custom search controller"

This reverts commit 954b7d36b96190b5b81e1784aaa5bb40057a8bca.

Change-Id: If304fa164e50f68aac168ede0f4bc0ff97659a8a

8 years agoReverting refactoring of Folder and FolderIcon to avoid dependencies breakage
Sunny Goyal [Wed, 17 Feb 2016 21:24:20 +0000 (13:24 -0800)]
Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage

Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869

8 years agoAdding back the style Theme to avoid breaking dependencies
Sunny Goyal [Wed, 17 Feb 2016 19:36:26 +0000 (11:36 -0800)]
Adding back the style Theme to avoid breaking dependencies

Change-Id: I4844173ce99cdb15242cca5f06e14c6210d9d877

8 years agoMerge "First pass at new FolderIcon visual treatment" into ub-launcher3-calgary
Adam Cohen [Wed, 17 Feb 2016 19:07:47 +0000 (19:07 +0000)]
Merge "First pass at new FolderIcon visual treatment" into ub-launcher3-calgary

8 years agoFirst pass at new FolderIcon visual treatment
Adam Cohen [Fri, 5 Feb 2016 22:47:50 +0000 (14:47 -0800)]
First pass at new FolderIcon visual treatment

-> Modeled as a set of items around a circle
-> Modulate the radius and icon size as number of items grow
-> Clip the icons by a circular clip aligned to the background drawable

Remaining issues
-> Probably want to move to a programmaticly drawn circle + shadow
-> Anti-aliasing of the clipped region will need more attention
-> Need to animate all items in the preview as it changes (this
   wasn't required before)

Change-Id: I678ec605f6c8a34e9d7e4aec4e9583e36a9ef394

8 years agoMerge "Setting content bounds in onMeasure as it uses measuredWidth, which might...
Sunny Goyal [Wed, 17 Feb 2016 02:03:05 +0000 (02:03 +0000)]
Merge "Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate" into ub-launcher3-burnaby-polish
am: 5df98da8fd

* commit '5df98da8fd2c1997bd6c09a4772f018730345090':
  Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate

8 years agoMerge "Setting content bounds in onMeasure as it uses measuredWidth, which might...
Sunny Goyal [Wed, 17 Feb 2016 01:43:08 +0000 (01:43 +0000)]
Merge "Setting content bounds in onMeasure as it uses measuredWidth, which might not be available during onCreate" into ub-launcher3-burnaby-polish

8 years agoSetting content bounds in onMeasure as it uses measuredWidth, which might
Sunny Goyal [Tue, 16 Feb 2016 22:56:33 +0000 (14:56 -0800)]
Setting content bounds in onMeasure as it uses measuredWidth, which might
not be available during onCreate

Also fixing the calculation of allApps column could, which was counting an
additional icon gap

Bug: 27173894
Change-Id: I8be8cccc76d7e7d945cf9383567a3026228b6c86

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 14:00:17 +0000 (14:00 +0000)]
Import translations. DO NOT MERGE
am: 5a2d603ac5  -s ours

* commit '5a2d603ac5fdb91e8a5fcee8376d626cd66c71d6':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 15 Feb 2016 13:47:04 +0000 (05:47 -0800)]
Import translations. DO NOT MERGE

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