Commit Graph

49925 Commits

Author SHA1 Message Date
Sunny Goyal dad45a7026 Removing obsolete strings
Change-Id: I447d5fe819fbec64c4e873ed40dabd4f76bebb4a
2015-06-17 18:24:52 -07:00
Jun Mukai 546bd3a8a4 am e9819e6d: Add null-check for workspace/hotseat.
* commit 'e9819e6d5df372323582cf9ae7567062ffc6fca8':
  Add null-check for workspace/hotseat.
2015-06-17 19:38:04 +00: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 5b4805a323 am 49198279: Revert "Removing onInitialize method and creating searchManager in getView"
* commit '4919827990b16ae22595d0b7cb123a875961d9be':
  Revert "Removing onInitialize method and creating searchManager in getView"
2015-06-17 16:21:22 +00: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 26851f42fc am 6530017b: Removing onInitialize method and creating searchManager in getView
* commit '6530017bb88179aeb1e3f131738da8f0d7592f36':
  Removing onInitialize method and creating searchManager in getView
2015-06-17 02:02:35 +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 a844a41e0c am 01d40534: Renaming id to prevent collision.
* commit '01d4053436a6a771b36b527a4f0ff49bbf468632':
  Renaming id to prevent collision.
2015-06-17 00:50:35 +00:00
Winson Chung 01d4053436 Renaming id to prevent collision.
Bug: 21878123
Change-Id: If4313d217967310ede7ed3fe11bdbe49311e1a4f
2015-06-17 00:45:04 +00:00
Sunny Goyal 24f6d08d86 am 92060267: Making UserHandleCompat constructor public
* commit '92060267c4bf924be220cb69082df35e6217ddf2':
  Making UserHandleCompat constructor public
2015-06-17 00:07:02 +00:00
Sunny Goyal 92060267c4 Making UserHandleCompat constructor public
Change-Id: Ied4c62964e608d543f0bcf3b232c0df7b57bdf5d
2015-06-16 16:57:35 -07:00
Sunny Goyal d780c396ff am 07973bf2: Merge "Fixing nullpointer when creating new DB" into ub-launcher3-burnaby
* commit '07973bf2534c496c0febc93c7ef2a3bd6b33d6dd':
  Fixing nullpointer when creating new DB
2015-06-16 23:12:19 +00: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 3c22e76182 am d730f9d7: Making resultHandler protected to make it accessible from a subClass
* commit 'd730f9d74f87b90616e0f0a9c7b6a4c78976f41a':
  Making resultHandler protected to make it accessible from a subClass
2015-06-16 22:58:59 +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 e67c34cabd am 51832858: Using component key for app search results
* commit '5183285847816cee9d0db6a8a7ab1a5929163e4e':
  Using component key for app search results
2015-06-16 20:44:07 +00:00
Sunny Goyal 5183285847 Using component key for app search results
Change-Id: Idc610cde340331892a5fabfa8bf952d136675f81
2015-06-16 11:41:38 -07:00
Winson Chung 06a7a1b7f7 am b4212030: Merge "Refactored section names to only draw when there is space." into ub-launcher3-burnaby
* commit 'b42120300ec622804af2de9c29ce849f96e4de23':
  Refactored section names to only draw when there is space.
2015-06-16 18:31:41 +00: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 977b91b2b9 am ed717bcd: Merge "Fix last bit of WidgetTray jank issue b/21133230" into ub-launcher3-burnaby
* commit 'ed717bcd611628ff961e0e9a7e7e11015fca4a33':
  Fix last bit of WidgetTray jank issue b/21133230
2015-06-16 18:13:20 +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
Sunny Goyal 8ee86387f5 am 383c507c: Removing ContentObserver in launcher
* commit '383c507c47a5abf3258fc04220f37c366f983a97':
  Removing ContentObserver in launcher
2015-06-16 17:50:00 +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 c8384cd73b am c332934e: Merge "Refactoring all apps search to support external search bar." into ub-launcher3-burnaby
* commit 'c332934e27527107c7f9c50ba6b7af93979b8126':
  Refactoring all apps search to support external search bar.
2015-06-15 22:54:32 +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 4d3de0a435 am 0fc56db0: Merge "Work profile badge alignment b/21336417" into ub-launcher3-burnaby
* commit '0fc56db04fa7dde3150b02862d6a3ab3374d89bc':
  Work profile badge alignment b/21336417
2015-06-15 20:12:33 +00: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 80444bfb55 am be9c52ff: Merge "Remove inifinite recursion from PagedView" into ub-launcher3-burnaby
* commit 'be9c52fff17760dc83fd156bb0730a645e836aeb':
  Remove inifinite recursion from PagedView
2015-06-15 18:26:19 +00:00
Rahul Chaturvedi e01a3a9780 am e863fed1: Read rotation setting correctly from the wallpaper picker.
* commit 'e863fed1400d00fab11a61c5b4b989d86ca55386':
  Read rotation setting correctly from the wallpaper picker.
2015-06-15 18:26:18 +00: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 7b914baa5d am 931a2ce8: Merge "Fixing regression in fast scroller animation." into ub-launcher3-burnaby
* commit '931a2ce85aec5011298cf7f305f5823c13c0f578':
  Fixing regression in fast scroller animation.
2015-06-13 01:20:51 +00: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 210252705e am 0d95bf1a: Merge "Fixing issue with click shadow not being drawn correctly." into ub-launcher3-burnaby
* commit '0d95bf1a0c035f2ef9681a7c9a3d46aca74f3c11':
  Fixing issue with click shadow not being drawn correctly.
2015-06-12 20:12:34 +00: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 99669de0c6 am 51cd50d7: Merge "Using content provider to update launcher settings" into ub-launcher3-burnaby
* commit '51cd50d7f1649f4bdea42483503810735555868e':
  Using content provider to update launcher settings
2015-06-12 19:40:07 +00:00
Winson Chung a84f2669c1 am 2cc170d2: Merge "Fixing proguard stripping animation method." into ub-launcher3-burnaby
* commit '2cc170d2115acf3c8d1f84d6e0727d5bb854fc80':
  Fixing proguard stripping animation method.
2015-06-12 19:40:06 +00:00
Sunny Goyal 4608add3ca am 3d2e49d7: Merge "Removing developer options check for app info target" into ub-launcher3-burnaby
* commit '3d2e49d7b9dd63d875e8ac13e58895ad20a91a7a':
  Removing developer options check for app info target
2015-06-12 19:40:05 +00: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