Commit Graph

9706 Commits

Author SHA1 Message Date
Sunny Goyal 2fb2f0bcfc Making the provider column names public
Change-Id: Idc85e34aceaaed5a1abb693a8a04d06f9c70b4b4
2015-06-22 13:57:43 -07:00
Sunny Goyal 9c9f20905c Merge "Using material style overscroll effect for workspace and folders" into ub-launcher3-burnaby 2015-06-22 18:31:51 +00:00
Hyunyoung Song 5796b03f6d Add workspace scrim animation to the state transition to reduce jankiness.
b/20956087

Note: Will work on creating a separate view for the scrim animation rather
than the drag layer on a separate CL.

Change-Id: Idaced5c6867abe3ed9afa984c885023676b3a141
2015-06-19 18:03:35 -07:00
Sunny Goyal 4d113a5ff4 Using material style overscroll effect for workspace and folders
Bug: 21335369
Change-Id: I53cc6edfa87334b9326f1dedd90c3e2222beade5
2015-06-19 19:53:34 +00:00
Sunny Goyal e91a14c698 Merge "Cancelling launcher reload on mcc change" into ub-launcher3-burnaby 2015-06-18 22:09:50 +00:00
Hyunyoung Song c44de1adcf Merge "Revert resource name to what platform ui automator test defines. b/21923650" into ub-launcher3-burnaby 2015-06-18 22:07:09 +00:00
Hyunyoung Song 60331a9be7 Revert resource name to what platform ui automator test defines.
b/21923650

Change-Id: I26a9405ac0567f856a43d83886df4ece938c11a7
2015-06-18 15:05:56 -07:00
Winson Chung 7b933a5ef7 resolved conflicts for merge of 78564d4e to ub-launcher3-burnaby
Change-Id: I9e302b223dff1f238d720026e20b64315b61b293
2015-06-18 21:27:30 +00:00
Winson Chung d3800208aa Merge "Moving predicted apps callbacks to use ComponentKey." into ub-launcher3-burnaby 2015-06-18 21:10:41 +00:00
Winson Chung 78564d4e2d Updating ComponentKey for compatibility with build.
Change-Id: I293177c0eff8c162c2d21bfc2aebf83926c62690
2015-06-18 21:05:55 +00:00
Sunny Goyal 2003c75ac4 Cancelling launcher reload on mcc change
Bug: 21022833
Change-Id: Iccd477e7b1638d162e1a500cdb7a52b8d359c657
2015-06-18 14:04:00 -07:00
Sunny Goyal 230eade4a3 Converting folder name to string before applying it to folder info
> getText() returns Spannable which can contain text styling

Change-Id: Iacdf9da47b54b5cd290a355152383d75bf3e6836
2015-06-18 12:51:53 -07:00
Winson Chung 6b1c73f50a Moving predicted apps callbacks to use ComponentKey.
Bug: 21270185

Change-Id: If2d9dd77235e7a96de96a1a5441a589ef8a72a7f
2015-06-18 12:39:24 -07:00
Hyunyoung Song 3ea5cd4311 Merge "Remove DEBUG flag inside WidgetsListAdapter" into ub-launcher3-burnaby 2015-06-18 18:33:19 +00:00
Hyunyoung Song 289ec3af9a Remove DEBUG flag inside WidgetsListAdapter
Change-Id: I7e5b3162f2b3768caff7ff79fd75567a793a1f45
2015-06-17 23:08:05 -07:00
Hyunyoung Song c1d53ef81c Merge "Widgets model should respect AppFilter." into ub-launcher3-burnaby 2015-06-18 04:29:52 +00:00
Hyunyoung Song eaf291b9fe Widgets model should respect AppFilter.
> This pattern is already used in AllAppsList
> mBgWidgetsModel variable cleanup inside LauncherModel.

b/21739736

Change-Id: I03a05064ce3c3e5effb09055af9f4d4de2811c95
2015-06-17 21:12:44 -07:00
Geoff Mendal 170ca1ccd8 Import translations. DO NOT MERGE
Change-Id: I8c0c8c4e5f5e09c5852d31429c8f668d4229cc37
Auto-generated-cl: translation import
2015-06-17 20:18:23 -07:00
Sunny Goyal 27f03251ea Merge "Deleting empty folders based on DB state" into ub-launcher3-burnaby 2015-06-18 03:06:30 +00:00
Sunny Goyal dad45a7026 Removing obsolete strings
Change-Id: I447d5fe819fbec64c4e873ed40dabd4f76bebb4a
2015-06-17 18:24:52 -07:00
Jun Mukai e9819e6d5d Add null-check for workspace/hotseat.
I assumed that they are non-null, but reportedly it was wrong.
This method can be invoked before the views are fully initialized.
Also hotseat can be null as far as I see setupViews(), therefore
null-check and 'importance stored' flag check should be done
separately.

Bug: 21779078
Change-Id: I3f17226f887c38adf2b1fb7ee2a016e00ffc0eb4
2015-06-17 11:26:54 -07:00
Sunny Goyal 4919827990 Revert "Removing onInitialize method and creating searchManager in getView"
This reverts commit 6530017bb8.

Change-Id: I8ecfd21ec854cfe1774f16d2d50c7a0e45dd6865
2015-06-17 16:09:07 +00:00
Sunny Goyal 6530017bb8 Removing onInitialize method and creating searchManager in getView
Change-Id: I3e2620a7839dfd5e6ecb76f24b384eb50e820a94
2015-06-16 18:43:58 -07:00
Winson Chung 01d4053436 Renaming id to prevent collision.
Bug: 21878123
Change-Id: If4313d217967310ede7ed3fe11bdbe49311e1a4f
2015-06-17 00:45:04 +00:00
Sunny Goyal 92060267c4 Making UserHandleCompat constructor public
Change-Id: Ied4c62964e608d543f0bcf3b232c0df7b57bdf5d
2015-06-16 16:57:35 -07:00
Sunny Goyal 07973bf253 Merge "Fixing nullpointer when creating new DB" into ub-launcher3-burnaby 2015-06-16 23:03:15 +00:00
Sunny Goyal d730f9d74f Making resultHandler protected to make it accessible from a subClass
Change-Id: Id11118b9f8b9782c44847ac82a03ea36bcb43963
2015-06-16 15:45:49 -07:00
Sunny Goyal b4cbea4ad4 Fixing nullpointer when creating new DB
LauncherProvider is not ready until the DBHelper is created
Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85
2015-06-16 15:18:41 -07:00
Sunny Goyal 5183285847 Using component key for app search results
Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
2015-06-16 11:41:38 -07:00
Winson Chung b42120300e Merge "Refactored section names to only draw when there is space." into ub-launcher3-burnaby 2015-06-16 18:24:24 +00:00
Hyunyoung Song ed717bcd61 Merge "Fix last bit of WidgetTray jank issue b/21133230" into ub-launcher3-burnaby 2015-06-16 18:08:14 +00:00
Hyunyoung Song e98f4a4d6d Fix last bit of WidgetTray jank issue
b/21133230

Change-Id: Ic198b8d21be1b0f3465cd4efc30a240e3ec4304a
2015-06-16 10:45:24 -07:00
Sunny Goyal 383c507c47 Removing ContentObserver in launcher
> Using callback insted of using a content observer
> Setting the listener in LauncherAppState to prevent resource leak

Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
2015-06-16 10:31:43 -07:00
Winson Chung fbc5b18626 Refactored section names to only draw when there is space.
- This CL removes all space for section names in both phones
  and tablets.  And when there are no section names, the layout
  will automatically fully merge the sections.

Bug: 20222023
Change-Id: Ic7c751d86f095e5cbd690bfd4f94bb5b00ff8ae4
2015-06-16 00:55:02 +00:00
Winson Chung c332934e27 Merge "Refactoring all apps search to support external search bar." into ub-launcher3-burnaby 2015-06-15 22:43:55 +00:00
Winson Chung ef7f874a88 Refactoring all apps search to support external search bar.
- Adding support for an external search bar that can be used
  to search a container view.  This adds a new interface
  AllAppsSearchController which manages the external search
  bar.  Each controller will have its own search implementation
  which means that we no longer need a common AppSearchManager
  interface.
- Removing elevation controller as we no longer have a builtin
  search bar in all apps
- Refactoring container view insets so that they behave
  the same in all containers.
- Refactoring apps view to ensure that we only update the number
  of columns with the available width
- Cleaning up LauncherCallbacks interface

Bug: 20127840
Bug: 21494973

Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
2015-06-15 14:22:47 -07:00
Hyunyoung Song 0fc56db04f Merge "Work profile badge alignment b/21336417" into ub-launcher3-burnaby 2015-06-15 20:04:07 +00:00
Hyunyoung Song 41e3369d5f Work profile badge alignment
b/21336417

Change-Id: Icd54320fa0d0976cac0ae66d180cc2c99ddd0c1c
2015-06-15 12:26:54 -07:00
Adam Cohen be9c52fff1 Merge "Remove inifinite recursion from PagedView" into ub-launcher3-burnaby 2015-06-15 18:21:20 +00:00
Adam Cohen 5b139a5ca7 Remove inifinite recursion from PagedView
-> thanks adamp@

Change-Id: I36836357f5f194ac69530475b124595174c8b636
2015-06-15 11:16:18 -07:00
Rahul Chaturvedi e863fed140 Read rotation setting correctly from the wallpaper picker.
If reading the rotation setting without the multi-process flag, the
WallpaperPickerActivity usually picks up a cached value. Specifying the
multi-process flag during the read fixes this and the wallpaper picker
always has the correct rotation setting.

Change-Id: Ic3639f8cd694674e92c8940b753c6bc30486076d
2015-06-15 14:09:42 -04:00
Winson Chung 931a2ce85a Merge "Fixing regression in fast scroller animation." into ub-launcher3-burnaby 2015-06-13 01:14:34 +00:00
Winson Chung 4b9f979147 Fixing regression in fast scroller animation.
- Fast scroller was not fading out since we were missing the getter
  for the fast scroller alpha (so the initial alpha to animate from
  was wrong).

Change-Id: I2fd13eee3deb084ba37cf4a849e2378f23758391
2015-06-12 18:02:52 -07:00
Winson Chung 0d95bf1a0c Merge "Fixing issue with click shadow not being drawn correctly." into ub-launcher3-burnaby 2015-06-12 20:00:47 +00:00
Winson Chung 4eda8048c1 Fixing issue with click shadow not being drawn correctly.
- It was due to the view parent (prediction bar) which has
  its own translation.
2015-06-12 12:55:22 -07:00
Sunny Goyal b1622cc30f Deleting empty folders based on DB state
> Previously folders were getting deleted based on in-memory
loader state. If for some reason, an item failed to load, we would
delete the folder from DB as well.

Bug: 21354058
Change-Id: I5318ee8a99afa9cafd93ed2b9ef0e155f502a41b
2015-06-12 12:38:16 -07:00
Sunny Goyal 51cd50d7f1 Merge "Using content provider to update launcher settings" into ub-launcher3-burnaby 2015-06-12 19:36:22 +00:00
Winson Chung 2cc170d211 Merge "Fixing proguard stripping animation method." into ub-launcher3-burnaby 2015-06-12 19:34:11 +00:00
Sunny Goyal 3d2e49d7b9 Merge "Removing developer options check for app info target" into ub-launcher3-burnaby 2015-06-12 19:28:35 +00:00
Sunny Goyal d7da55fc32 Removing developer options check for app info target
Bug: 21626561
Change-Id: Ic65155ca5b1e5268ccdf2b20295a5067d5d3fa5d
2015-06-12 12:26:30 -07:00