OSDN Git Service

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

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

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

8 years agoFix build; broken import due to bad merge
Adam Cohen [Sat, 13 Feb 2016 20:53:30 +0000 (12:53 -0800)]
Fix build; broken import due to bad merge

Change-Id: I751962d59a75002c2c6b142387d9a69982c8b73b

8 years agoRefactor FolderIcon to separate the preview effect into it's own class
Adam Cohen [Sat, 16 Jan 2016 00:47:43 +0000 (16:47 -0800)]
Refactor FolderIcon to separate the preview effect into it's own class

-> Created com.android.launcher3.folder package to house most folder-related files
   (aside from the FolderInfo) which is more related to the model than the UI.

Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade

8 years agoMerge "Clears the widget resize frame when a directional key is pressed." into ub...
Tony Wickham [Fri, 12 Feb 2016 22:16:32 +0000 (22:16 +0000)]
Merge "Clears the widget resize frame when a directional key is pressed." into ub-launcher3-burnaby-polish
am: 187b8f547d

* commit '187b8f547d2112e8d0384cf1c2077beb969dfec6':
  Clears the widget resize frame when a directional key is pressed.

8 years agoMerge "Clears the widget resize frame when a directional key is pressed." into ub...
Tony Wickham [Fri, 12 Feb 2016 22:07:26 +0000 (22:07 +0000)]
Merge "Clears the widget resize frame when a directional key is pressed." into ub-launcher3-burnaby-polish

8 years agoClears the widget resize frame when a directional key is pressed.
Tony Wickham [Thu, 11 Feb 2016 00:18:15 +0000 (16:18 -0800)]
Clears the widget resize frame when a directional key is pressed.

Also gives focus to the corresponding widget host view in this case.

Bug: 27130066
Change-Id: I0a564aa7c509450cd1b9cf259c0a009c68ce3e3b

8 years agoFixing crash during rotation
Sunny Goyal [Thu, 11 Feb 2016 22:58:20 +0000 (22:58 +0000)]
Fixing crash during rotation
am: bb702584fa

* commit 'bb702584fa551fab8cffbb0ae5459d9efd16ce2a':
  Fixing crash during rotation

8 years agoBuild fix
Sunny Goyal [Thu, 11 Feb 2016 22:29:20 +0000 (14:29 -0800)]
Build fix

Change-Id: Ic828f62fbd1990d81983cad995b918bba020a3b1

8 years agoMerge "Making some view properties exported. These will be visible in hierarchy viewe...
Sunny Goyal [Thu, 11 Feb 2016 22:08:45 +0000 (22:08 +0000)]
Merge "Making some view properties exported. These will be visible in hierarchy viewer" into ub-launcher3-calgary

8 years agoMerge "Separating out Launcher3 resources from Wallpaper resources" into ub-launcher3...
Sunny Goyal [Thu, 11 Feb 2016 22:08:05 +0000 (22:08 +0000)]
Merge "Separating out Launcher3 resources from Wallpaper resources" into ub-launcher3-calgary

8 years agoMerge "Define launcher_log.proto used for user event logging" into ub-launcher3-calgary
Hyunyoung Song [Thu, 11 Feb 2016 22:04:47 +0000 (22:04 +0000)]
Merge "Define launcher_log.proto used for user event logging" into ub-launcher3-calgary

8 years agoDefine launcher_log.proto used for user event logging
Hyunyoung Song [Thu, 11 Feb 2016 22:03:48 +0000 (14:03 -0800)]
Define launcher_log.proto used for user event logging

b/26494415

Change-Id: I117f290bec3c2b4cbdb43dae03adafbc9cb35a00

8 years agoFixing crash during rotation
Sunny Goyal [Thu, 11 Feb 2016 18:07:36 +0000 (10:07 -0800)]
Fixing crash during rotation

> Different views with same IDs were saving state
> Fixing scroll getting reset on rotation

Change-Id: Iae42419b83ee5ffa1bb43959f0931c8dfb761f32

8 years agoTemporarily disabling custom search controller
Sunny Goyal [Thu, 11 Feb 2016 17:28:40 +0000 (09:28 -0800)]
Temporarily disabling custom search controller

Change-Id: I7920425a63e64cd619349895e8e7e1c8448305f5

8 years agoMerge "Change widget host view background when giving focus to child." into ub-launch...
Tony Wickham [Wed, 10 Feb 2016 23:36:42 +0000 (23:36 +0000)]
Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish
am: 4df1653331

* commit '4df165333131483e1d6b6c156d345a4aeef9806c':
  Change widget host view background when giving focus to child.

8 years agoMerge "Change widget host view background when giving focus to child." into ub-launch...
Tony Wickham [Wed, 10 Feb 2016 23:35:11 +0000 (23:35 +0000)]
Merge "Change widget host view background when giving focus to child." into ub-launcher3-burnaby-polish

8 years agoChange widget host view background when giving focus to child.
Tony Wickham [Wed, 10 Feb 2016 20:15:41 +0000 (12:15 -0800)]
Change widget host view background when giving focus to child.

Before, the FocusIndicatorView stayed on the widget host unless the
widget had its own focus change listener, which caused a couple of
problems, namely  (1) it was hard to know where the focus was from
a user's standpoint, and (2) the focus indicator could get stuck on
the screen if you entered a widget and then long-pressed workspace.
Now, the focus indicator goes away and instead the widget is framed
with a white border to indicate that the focus is inside it. The
frame goes away when pressing ESC or when touching the screen.

Bug: 26744224

Change-Id: I14025576fd7a9f901b4d969b878af0bebad79a70

8 years agoSeparating out Launcher3 resources from Wallpaper resources
Sunny Goyal [Tue, 9 Feb 2016 23:22:42 +0000 (15:22 -0800)]
Separating out Launcher3 resources from Wallpaper resources

Change-Id: I7e33c83df8b16e8552fe588cadbcf3bf7881cb95

8 years agoresolve merge conflicts of 3826bab27e to ub-launcher3-calgary.
Sunny Goyal [Wed, 10 Feb 2016 20:26:23 +0000 (12:26 -0800)]
resolve merge conflicts of 3826bab27e to ub-launcher3-calgary.

Change-Id: I14ff2d67de4ba97628bdf651602724f9f4989173

8 years agoMerge "Merging search bar with all apps" into ub-launcher3-burnaby-polish
Sunny Goyal [Wed, 10 Feb 2016 19:18:12 +0000 (19:18 +0000)]
Merge "Merging search bar with all apps" into ub-launcher3-burnaby-polish

8 years agoMaking some view properties exported.
Sunny Goyal [Tue, 9 Feb 2016 19:28:52 +0000 (11:28 -0800)]
Making some view properties exported.
These will be visible in hierarchy viewer

Change-Id: I940724a7f61d67b8502d77be203a94875bc92668

8 years agoWidgetsModel clone method should be called in worker thread
Hyunyoung Song [Tue, 9 Feb 2016 02:21:55 +0000 (02:21 +0000)]
WidgetsModel clone method should be called in worker thread
am: f97083245c

* commit 'f97083245c440e0c09e2485094157bb8389cdd95':
  WidgetsModel clone method should be called in worker thread

8 years agoWidgetsModel clone method should be called in worker thread
Hyunyoung Song [Mon, 8 Feb 2016 19:31:33 +0000 (11:31 -0800)]
WidgetsModel clone method should be called in worker thread

b/24582368

Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
(cherry picked from commit 747a5bc486a7c8335fc4a481cab1567369570c24)

8 years agoMerge "WidgetsModel clone method should be called in worker thread" into ub-launcher3...
Hyunyoung Song [Tue, 9 Feb 2016 02:19:43 +0000 (02:19 +0000)]
Merge "WidgetsModel clone method should be called in worker thread" into ub-launcher3-calgary

8 years agoWidgetsModel clone method should be called in worker thread
Hyunyoung Song [Mon, 8 Feb 2016 19:31:33 +0000 (11:31 -0800)]
WidgetsModel clone method should be called in worker thread

b/24582368

Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461

8 years agoMerging search bar with all apps
Sunny Goyal [Fri, 29 Jan 2016 21:14:14 +0000 (13:14 -0800)]
Merging search bar with all apps

Change-Id: I78577124cd3c05d52669c3e52b0294d6eb1d194d

8 years agoMerge "Tweak spring-loaded workspace." into ub-launcher3-calgary
Tony Wickham [Mon, 8 Feb 2016 19:55:26 +0000 (19:55 +0000)]
Merge "Tweak spring-loaded workspace." into ub-launcher3-calgary

8 years agoTweak spring-loaded workspace.
Tony Wickham [Mon, 8 Feb 2016 19:37:04 +0000 (11:37 -0800)]
Tweak spring-loaded workspace.

- No page indicators in spring-loaded mode
- Don’t move workspace up as high
- Scale workspace at 90% instead of 80% on phones
- Increase speed of workspace -> spring-loaded -> workspace
- Widgets were being scaled down twice when dragging from widget picker
- Don't scale up icons when dragging (scaling other stuff down is enough)
- Make scrim less dark and panels more transparent
- Thin white border around page instead of highlight when hovering

Change-Id: I963e91c20d4c0340480d165e0f3b8064783c0cb2

8 years agoAdd more debugging info when Launcher deletes widget from homescreen. b/26219491
Hyunyoung Song [Thu, 4 Feb 2016 01:25:11 +0000 (01:25 +0000)]
Add more debugging info when Launcher deletes widget from homescreen. b/26219491
am: a27d7a5a19

* commit 'a27d7a5a194846a3c98fa69495e627db2343f6db':
  Add more debugging info when Launcher deletes widget from homescreen. b/26219491

8 years agoAdd more debugging info when Launcher deletes widget from homescreen.
Hyunyoung Song [Wed, 3 Feb 2016 23:28:47 +0000 (15:28 -0800)]
Add more debugging info when Launcher deletes widget from homescreen.
b/26219491

Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5
(cherry picked from commit 70264a971797116dcb16e18551d5c35bb011ed0f)

8 years agoAdd more debugging info when Launcher deletes widget from homescreen.
Hyunyoung Song [Wed, 3 Feb 2016 23:28:47 +0000 (15:28 -0800)]
Add more debugging info when Launcher deletes widget from homescreen.
b/26219491

Change-Id: I5899cafa8d78e5e64a4ec1495ebf62ebc55ea8f5

8 years agoresolve merge conflicts of 0e04980310 to ub-launcher3-calgary.
Sunny Goyal [Wed, 3 Feb 2016 19:41:36 +0000 (11:41 -0800)]
resolve merge conflicts of 0e04980310 to ub-launcher3-calgary.

Change-Id: Ic4526dfc388590aa0288936d827f19060922529f

8 years agoMerge "Updating folder UI when icons are normalized > Increasing padding > Making...
Sunny Goyal [Wed, 3 Feb 2016 19:32:02 +0000 (19:32 +0000)]
Merge "Updating folder UI when icons are normalized   > Increasing padding   > Making the folder label bold and lighter color" into ub-launcher3-burnaby-polish

8 years agoMerge "Fixing Search drop target bar stays visible, until the first time an item...
Sunny Goyal [Mon, 1 Feb 2016 23:25:24 +0000 (23:25 +0000)]
Merge "Fixing Search drop target bar stays visible, until the first time an item is picked up" into ub-launcher3-burnaby-polish
am: 2113c9d664  -s ours

* commit '2113c9d6643a4934ed22da675cf445e464f898c2':
  Fixing Search drop target bar stays visible, until the first time an item is picked up

8 years agoMerge "Fixing Search drop target bar stays visible, until the first time an item...
Sunny Goyal [Mon, 1 Feb 2016 23:08:25 +0000 (23:08 +0000)]
Merge "Fixing Search drop target bar stays visible, until the first time an item is picked up" into ub-launcher3-burnaby-polish

8 years agoresolve merge conflicts of b9759d399b to ub-launcher3-calgary.
Tony Wickham [Mon, 1 Feb 2016 22:51:35 +0000 (14:51 -0800)]
resolve merge conflicts of b9759d399b to ub-launcher3-calgary.

Change-Id: I66230c15e5eaeef316d4e2f14b85c6ff1b6e977d

8 years agoMerge "Add extra space for the search bar." into ub-launcher3-burnaby-polish
Tony Wickham [Mon, 1 Feb 2016 22:29:55 +0000 (22:29 +0000)]
Merge "Add extra space for the search bar." into ub-launcher3-burnaby-polish

8 years agoAdd extra space for the search bar.
Tony Wickham [Mon, 1 Feb 2016 22:15:20 +0000 (14:15 -0800)]
Add extra space for the search bar.

Also fixed a broken test.

Change-Id: I1c270e69617528ea30f0e26a2101673e9b9fa63c

8 years agoUpdating folder UI when icons are normalized
Sunny Goyal [Sat, 30 Jan 2016 02:45:18 +0000 (18:45 -0800)]
Updating folder UI when icons are normalized
  > Increasing padding
  > Making the folder label bold and lighter color

Change-Id: Ib86d711c27cd03f366cdd35222d1f63f4a542f06

8 years agoFixing Search drop target bar stays visible, until the first time
Sunny Goyal [Sat, 30 Jan 2016 02:38:34 +0000 (18:38 -0800)]
Fixing Search drop target bar stays visible, until the first time
an item is picked up

Change-Id: I48ac697147ffe7a1f8802ed00de4fa4006a1878e

8 years agoresolve merge conflicts of b171e5675b to ub-launcher3-calgary.
Sunny Goyal [Fri, 29 Jan 2016 22:30:08 +0000 (14:30 -0800)]
resolve merge conflicts of b171e5675b to ub-launcher3-calgary.

Change-Id: I329c7518d8c3f0f43e96c6446d5b53a6f4439211

8 years agoAdding a method to throttle backup manager calls
Sunny Goyal [Fri, 22 Jan 2016 00:41:54 +0000 (16:41 -0800)]
Adding a method to throttle backup manager calls
Notifying backup manager when a boolean preference changes

Bug: 22885775
Change-Id: I105013af1841f6cd87472f558fa490670ed1ba24

8 years agoMerge "Fixing Test builds" into ub-launcher3-burnaby-polish
Sunny Goyal [Fri, 29 Jan 2016 21:21:57 +0000 (21:21 +0000)]
Merge "Fixing Test builds" into ub-launcher3-burnaby-polish
am: f7f8cf5743

* commit 'f7f8cf5743810a614079ff7d4202dd0c9cd969ed':
  Fixing Test builds

8 years agoMerge "Fixing Test builds" into ub-launcher3-burnaby-polish
Sunny Goyal [Fri, 29 Jan 2016 21:18:02 +0000 (21:18 +0000)]
Merge "Fixing Test builds" into ub-launcher3-burnaby-polish

8 years agoresolve merge conflicts of 6362683acb to ub-launcher3-calgary.
Sunny Goyal [Thu, 28 Jan 2016 00:55:50 +0000 (16:55 -0800)]
resolve merge conflicts of 6362683acb to ub-launcher3-calgary.

Change-Id: Id48bf33912bf927121356a08b8501ee0070bfdc7

8 years agoMerge "Removing unnecessary new object creation in dispatchDraw" into ub-launcher3...
Sunny Goyal [Thu, 28 Jan 2016 00:30:06 +0000 (00:30 +0000)]
Merge "Removing unnecessary new object creation in dispatchDraw" into ub-launcher3-burnaby-polish

8 years agoFixing Test builds
Sunny Goyal [Fri, 22 Jan 2016 23:19:06 +0000 (15:19 -0800)]
Fixing Test builds

Change-Id: I8524ebc124270feb2e6e69e17ba0e0c6301bce18

8 years agoPreventing a Runtime widget crash from crashing the Launcher
Sunny Goyal [Tue, 26 Jan 2016 20:02:13 +0000 (20:02 +0000)]
Preventing a Runtime widget crash from crashing the Launcher
am: 3fc648d3b7

* commit '3fc648d3b792f63d3b99509300a602d23c842433':
  Preventing a Runtime widget crash from crashing the Launcher

8 years agoPreventing a Runtime widget crash from crashing the Launcher
Sunny Goyal [Tue, 26 Jan 2016 01:28:37 +0000 (17:28 -0800)]
Preventing a Runtime widget crash from crashing the Launcher

Bug: 26750103
Change-Id: I31f120bb0c4d64b903b3dd5dae0ae46f95bcdf59

8 years agoMerge "Respond to managed profile availabilty Intents." into ub-launcher3-calgary
Rubin Xu [Mon, 25 Jan 2016 21:53:46 +0000 (21:53 +0000)]
Merge "Respond to managed profile availabilty Intents." into ub-launcher3-calgary

8 years agoRespond to managed profile availabilty Intents.
Kenny Guy [Fri, 22 Jan 2016 17:48:29 +0000 (17:48 +0000)]
Respond to managed profile availabilty Intents.

Grey out applications when managed profile is
not available.

Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489

8 years agoMerge "Grey out suspended applications." into ub-launcher3-calgary
Rubin Xu [Mon, 25 Jan 2016 17:53:06 +0000 (17:53 +0000)]
Merge "Grey out suspended applications." into ub-launcher3-calgary

8 years agoGrey out suspended applications.
Kenny Guy [Thu, 21 Jan 2016 19:50:02 +0000 (19:50 +0000)]
Grey out suspended applications.

Grey out application shortcuts and all apps entries
for packages that are suspended.

Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d

8 years agoRemoving unnecessary new object creation in dispatchDraw
Sunny Goyal [Sat, 23 Jan 2016 22:40:35 +0000 (14:40 -0800)]
Removing unnecessary new object creation in dispatchDraw

dispatchDraw was calling getVisiblePages which in turn calls
getDescendantCoordRelativeToParent and created multiple new abjects

Change-Id: I401fec076183979d30dfdbbdc02a57bd79f3886d

8 years agoFix broken tests.
Tony Wickham [Fri, 22 Jan 2016 23:03:30 +0000 (23:03 +0000)]
Fix broken tests.
am: a5cfbe8075

* commit 'a5cfbe807503bf4c2d5853f700191fef34fb3713':
  Fix broken tests.

8 years agoFix broken tests.
Tony Wickham [Fri, 22 Jan 2016 22:28:55 +0000 (14:28 -0800)]
Fix broken tests.

- Missing a comma in one of the focus logic test matrices
- Disable QuickAddwidgetTest, because it isn't that useful and is
  flaky by nature.

Change-Id: Ia85fa578ea563ca525419b68ffcf90cfef8f86d0

8 years agoAdding support for migrating the grid between any two valid screens sizes.
Sunny Goyal [Mon, 11 Jan 2016 20:25:10 +0000 (12:25 -0800)]
Adding support for migrating the grid between any two valid screens sizes.

The grid is migrated in steps where each step consists of at max one column change and at max one row change.
Adding some unit tests for GridMigrationLogic

Bug: 25958224
Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0

8 years agoresolve merge conflicts of b56090af35 to ub-launcher3-master.
Sunny Goyal [Tue, 19 Jan 2016 21:00:08 +0000 (13:00 -0800)]
resolve merge conflicts of b56090af35 to ub-launcher3-

Change-Id: I2ef9a25b70815efe37109004517a7c3077ffa22e

8 years agoMerge "Removing some obsolete files" into ub-launcher3-burnaby-polish
Sunny Goyal [Tue, 19 Jan 2016 20:54:00 +0000 (20:54 +0000)]
Merge "Removing some obsolete files" into ub-launcher3-burnaby-polish

8 years agoRemovign \'final\' modifiers from FeatureFlags so that then can be overridden
Sunny Goyal [Tue, 19 Jan 2016 19:41:00 +0000 (19:41 +0000)]
Removign \'final\' modifiers from FeatureFlags so that then can be overridden
am: c7a49f0574

* commit 'c7a49f05743f377d2299e4ecbc2e396e7afe87c3':
  Removign 'final' modifiers from FeatureFlags so that then can be overridden

8 years agoRemoving some obsolete files
Sunny Goyal [Thu, 7 Jan 2016 20:17:38 +0000 (12:17 -0800)]
Removing some obsolete files

Change-Id: I45cc23afcecb67163da99a9b81ace0021f723c9b

8 years agoRemovign 'final' modifiers from FeatureFlags so that then can be overridden
Sunny Goyal [Tue, 19 Jan 2016 18:35:52 +0000 (10:35 -0800)]
Removign 'final' modifiers from FeatureFlags so that then can be overridden

Change-Id: I07265eaeed883301787eb0ffd838f516d7c63d26

8 years agoMerge "Disabling icon normalization" into ub-launcher3-burnaby-polish
Sunny Goyal [Wed, 13 Jan 2016 18:38:58 +0000 (18:38 +0000)]
Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish
am: d42903b4f0

* commit 'd42903b4f093a6915c4001b1f1b46140b4fdcb35':
  Disabling icon normalization

8 years agoMerge "Disabling icon normalization" into ub-launcher3-burnaby-polish
Sunny Goyal [Wed, 13 Jan 2016 18:04:19 +0000 (18:04 +0000)]
Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish

8 years agoDisabling icon normalization
Sunny Goyal [Wed, 13 Jan 2016 17:48:17 +0000 (09:48 -0800)]
Disabling icon normalization

Bug: 26537769
Change-Id: Ia1d7127a7c01fe98127e34440d1c003b669eaf75

8 years agoMerge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnab...
Sunny Goyal [Tue, 12 Jan 2016 22:39:23 +0000 (22:39 +0000)]
Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish
am: 5255c87c6f

* commit '5255c87c6f215010aeeb690eed4eae28177b0a93':
  Fixing icon badging being done on scaled bitmap size

8 years agoMerge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnab...
Sunny Goyal [Tue, 12 Jan 2016 22:35:16 +0000 (22:35 +0000)]
Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish

8 years agoFixing custom content screen not aligned properly in landscape
Sunny Goyal [Tue, 12 Jan 2016 18:45:48 +0000 (18:45 +0000)]
Fixing custom content screen not aligned properly in landscape
am: ecdc24f6f6

* commit 'ecdc24f6f667319db56a16dd7d1efda16dfe662e':
  Fixing custom content screen not aligned properly in landscape

8 years agoFixing custom content screen not aligned properly in landscape
Sunny Goyal [Tue, 12 Jan 2016 18:35:32 +0000 (10:35 -0800)]
Fixing custom content screen not aligned properly in landscape

Bug: 26413100
Change-Id: I1a111c9d2b0dfdfbc3cbd566e5784a1ed2bb6719

8 years agoFixing icon badging being done on scaled bitmap size
Sunny Goyal [Fri, 8 Jan 2016 20:16:15 +0000 (12:16 -0800)]
Fixing icon badging being done on scaled bitmap size

Launcher already scales the bitmap during the icon creaiton. The
badging should be done based on the actual size

Bug: 26345646
Change-Id: I1b1f7ac736322ba10db9083d602eec221b99687a

8 years agoAccessibility delegate is already set in BubbleTextView constructor. Not need to...
Sunny Goyal [Thu, 7 Jan 2016 21:54:24 +0000 (21:54 +0000)]
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
am: e70fb6f8ef

* commit 'e70fb6f8ef03561b7875b872d0efa4ae2a5926af':
  Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again

8 years agoAccessibility delegate is already set in BubbleTextView constructor. Not need to...
Sunny Goyal [Thu, 7 Jan 2016 21:50:08 +0000 (13:50 -0800)]
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again

Bug: 25948877
Change-Id: I1d301a6169404a78881fa29da6d6bdf2fec8f146

8 years agoMerge "Extending the grid migration logic to handle density changes" into ub-launcher...
Sunny Goyal [Thu, 7 Jan 2016 19:38:32 +0000 (19:38 +0000)]
Merge "Extending the grid migration logic to handle density changes" into ub-launcher3-master

8 years agoRemoving lib proto util
Sunny Goyal [Wed, 6 Jan 2016 23:41:38 +0000 (23:41 +0000)]
Removing lib proto util
am: 5e9ef1344d

* commit '5e9ef1344d2d24061c86cb9dae0cfcd59d551279':
  Removing lib proto util

8 years agoRemoving lib proto util
Sunny Goyal [Wed, 6 Jan 2016 23:30:53 +0000 (15:30 -0800)]
Removing lib proto util

Change-Id: Iebe6341a60a5e62bde97b5cca68f8abb93b04d36

8 years agoFixing syntax error
Sunny Goyal [Wed, 6 Jan 2016 23:12:17 +0000 (23:12 +0000)]
Fixing syntax error
am: f82e547359

* commit 'f82e5473593ea8ce20f664dd639376f546619997':
  Fixing syntax error

8 years agoFixing syntax error
Sunny Goyal [Wed, 6 Jan 2016 23:09:22 +0000 (15:09 -0800)]
Fixing syntax error

Change-Id: I8fbcd34d891b1d020436e9aa430fd26372910a63

8 years ago[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415...
Hyunyoung Song [Wed, 6 Jan 2016 23:06:30 +0000 (23:06 +0000)]
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415" am: 8363faf9a8  -s ours
am: e85138f662  -s ours

* commit 'e85138f6627a77928a96f5d6b3c544a737e87876':
  [DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"

8 years ago[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
Hyunyoung Song [Wed, 6 Jan 2016 23:04:46 +0000 (23:04 +0000)]
[DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"
am: 8363faf9a8  -s ours

* commit '8363faf9a885933aca2ced9bb1c6f9aa4a43c9f7':
  [DO NOT MERGE] Revert "Fix broken make target launcher_protoutil_lib Bug:26406415"

8 years agoMerge "Adding support for negative x and y in layout xml. Fixing default configuratio...
Sunny Goyal [Wed, 6 Jan 2016 22:53:59 +0000 (22:53 +0000)]
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish
am: f7a263c437

* commit 'f7a263c4370d1e45bb53653de2ef0fb70061ecd5':
  Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes.