Commit Graph

78507 Commits

Author SHA1 Message Date
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
Sunny Goyal d7da55fc32 Removing developer options check for app info target
Bug: 21626561
Change-Id: Ic65155ca5b1e5268ccdf2b20295a5067d5d3fa5d
2015-06-12 12:26:30 -07:00
Winson Chung fd98e3e3fc Fixing proguard stripping animation method. 2015-06-12 12:20:34 -07:00
Sunny Goyal 7779d62308 Using content provider to update launcher settings
> Removing cross process preference file
> Removed broadcast listener management for settings changes
> Defining content provider method to get/set laucnehr preferences

Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
2015-06-12 11:16:20 -07:00
Sunny Goyal 046261464d am e89cf793: Merge "Tying accessibility drag lifecycle to that of dragController" into ub-launcher3-burnaby
* commit 'e89cf793ab22fcb8cea3ff94ca981659208446db':
  Tying accessibility drag lifecycle to that of dragController
2015-06-11 18:53:06 +00:00
Sunny Goyal e89cf793ab Merge "Tying accessibility drag lifecycle to that of dragController" into ub-launcher3-burnaby 2015-06-11 18:43:27 +00:00
Adam Cohen f798808fc3 am b2b02b9b: Fix a small UI nit with screen reordering
* commit 'b2b02b9bd2e0b0da7373125c06f6d67d9758d8fe':
  Fix a small UI nit with screen reordering
2015-06-11 18:33:47 +00:00
Adam Cohen b2b02b9bd2 Fix a small UI nit with screen reordering
-> When in overview mode, flinging the pages can leave the scroller
   running (invisibly) for much additional time, since the scroller
   fling bounds far exceed the alloawble scroll bounds (in order to
   achieve a hard wall type effect)
-> When this is happening, user couldn't pick up a page for reordering
-> Ended the scroller early in this case to avoid the problem

Change-Id: I8b6f140d9a87bb742e57625e90ca7d76a2158e28
2015-06-10 18:45:38 -07:00
Hyunyoung Song 626f26d68c am 2d0fc8dc: am 0c979d1f: Catch TransactionTooLargeException when loading widget provider list b/19904873
* commit '2d0fc8dccd49a630a1e4a18e6b6b773d7c7bde71':
  Catch TransactionTooLargeException when loading widget provider list b/19904873
2015-06-10 19:14:31 +00:00
Hyunyoung Song 2d0fc8dccd am 0c979d1f: Catch TransactionTooLargeException when loading widget provider list b/19904873
* commit '0c979d1f2fda45b9d098f9399e1079e6bc22c2b0':
  Catch TransactionTooLargeException when loading widget provider list b/19904873
2015-06-10 19:08:49 +00:00
Sunny Goyal dcfd86f8b8 am 553a8f6f: Merge "Fixing crash in restore" into ub-launcher3-burnaby
* commit '553a8f6f44bbf0289f957815d6a0323a620147a8':
  Fixing crash in restore
2015-06-10 18:47:07 +00:00
Sunny Goyal 553a8f6f44 Merge "Fixing crash in restore" into ub-launcher3-burnaby 2015-06-10 18:36:07 +00:00
Hyunyoung Song 0c979d1f2f Catch TransactionTooLargeException when loading widget provider list
b/19904873

Change-Id: Ic0d13ee7513731706bc0f9fde8502acba0899cb3
Note: fix for almonte will be separate due to diff btw the branches..
(cherry picked from commit 3abd5488cc)
2015-06-09 19:06:29 +00:00
Sunny Goyal 4547802297 Tying accessibility drag lifecycle to that of dragController
Bug: 20865291
Change-Id: I1e0aceb20efcf4c32d76a656c499a1a4a5a32a65
2015-06-08 19:22:27 -07:00
Hyunyoung Song 5f17cddd0d am ece9f02d: Merge "Catch TransactionTooLargeException when loading widget provider list b/19904873" into ub-launcher3-burnaby
* commit 'ece9f02da50ca0f7613dd20a8849ff7c85c1b920':
  Catch TransactionTooLargeException when loading widget provider list b/19904873
2015-06-09 01:58:54 +00:00
Hyunyoung Song ece9f02da5 Merge "Catch TransactionTooLargeException when loading widget provider list b/19904873" into ub-launcher3-burnaby 2015-06-09 01:53:36 +00:00
Hyunyoung Song 3abd5488cc Catch TransactionTooLargeException when loading widget provider list
b/19904873

Change-Id: Ic0d13ee7513731706bc0f9fde8502acba0899cb3
Note: fix for almonte will be separate due to diff btw the branches..
2015-06-08 18:41:04 -07:00
Hyunyoung Song 96f2977ae6 am 31144251: Merge "Make WidgetsRecyclerView not crash on MNC support lib" into ub-launcher3-burnaby
* commit '3114425140152c2fd7e90ca4a000482d19f28e74':
  Make WidgetsRecyclerView not crash on MNC support lib
2015-06-09 01:28:31 +00:00
Hyunyoung Song 3114425140 Merge "Make WidgetsRecyclerView not crash on MNC support lib" into ub-launcher3-burnaby 2015-06-09 01:22:41 +00:00