Commit Graph

49925 Commits

Author SHA1 Message Date
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
Hyunyoung Song 9e6344212a Make WidgetsRecyclerView not crash on MNC support lib
Change-Id: Ia7bee39752ad0c0b58e74df4507caaf7a3cd8c29
2015-06-08 18:17:13 -07:00
Sunny Goyal 81529d3ace am 208aba2d: Merge "Removing LauncherApplication to enable us to easily catch LauncherAppState errors" into ub-launcher3-burnaby
* commit '208aba2dfd13afefc65afe66d8f9cf233a017365':
  Removing LauncherApplication to enable us to easily catch LauncherAppState errors
2015-06-08 23:13:58 +00:00
Sunny Goyal 208aba2dfd Merge "Removing LauncherApplication to enable us to easily catch LauncherAppState errors" into ub-launcher3-burnaby 2015-06-08 23:05:31 +00:00
Sunny Goyal 9801333715 am be68dceb: Merge "Fixing preloaded widget not getting used for animation" into ub-launcher3-burnaby
* commit 'be68dcebbbe56a5063922068334565d07be6d936':
  Fixing preloaded widget not getting used for animation
2015-06-08 22:41:26 +00:00
Sunny Goyal be68dcebbb Merge "Fixing preloaded widget not getting used for animation" into ub-launcher3-burnaby 2015-06-08 22:32:49 +00:00
Geoff Mendal 306f5050f6 Import translations. DO NOT MERGE
Change-Id: Ibf2e676dc9311c0e36425fc9a587c2a8e4db2ea9
Auto-generated-cl: translation import
2015-06-08 07:33:31 -07:00
Geoff Mendal ce105a2247 Import translations. DO NOT MERGE
Change-Id: I56c2e136068f70f35dd0be5f882a5013294432f8
Auto-generated-cl: translation import
2015-06-08 05:15:50 -07:00
Sunny Goyal 8cf61969e8 am 0441c438: Merge "Fixing touch feedback clipped on SetWallpaper button" into ub-launcher3-burnaby
* commit '0441c4381bcc45f94a674da61e842ae19ea086b2':
  Fixing touch feedback clipped on SetWallpaper button
2015-06-08 00:25:15 +00:00
Sunny Goyal 0441c4381b Merge "Fixing touch feedback clipped on SetWallpaper button" into ub-launcher3-burnaby 2015-06-08 00:19:30 +00:00
Hyunyoung Song dea8f2ecfc am 90429e11: Merge "Improve AyncTask throughput inside WidgetPreviewLoader" into ub-launcher3-burnaby
* commit '90429e11e75f5756d250f1156cac7cc6479f90a1':
  Improve AyncTask throughput inside WidgetPreviewLoader
2015-06-05 21:23:59 +00:00
Hyunyoung Song 90429e11e7 Merge "Improve AyncTask throughput inside WidgetPreviewLoader" into ub-launcher3-burnaby 2015-06-05 21:14:32 +00:00
Sunny Goyal c1f174a244 Fixing touch feedback clipped on SetWallpaper button
Bug: 19534312
Change-Id: I97dfd92c560caaf83e525f7e94286a7a77d2ba0b
2015-06-05 13:44:44 -07:00
Hyunyoung Song f00d02b254 Improve AyncTask throughput inside WidgetPreviewLoader
b/21133230
> Synchronized block was creating a bottleneck for the AsyncTasks.
> Remove calls that doesn't need to be synchronized outside synchronized block.
> Also removed setAlpha call as after the bottleneck was removed,
Inefficient alpha view usage alert started popping up in traceview.
Due to less jankness, removing the fadein animation doesn't have any
visible effect.

Link to lock congestion visualization:
https://x20web.corp.google.com/~hyunyoungs/no_crawl/traceview/traceview_lockcontention.html

Result: gfx-avg-jank delta = "-1"
Change-Id: If12817df0730f346cdba7e2f38f232eb9a4336c0
2015-06-05 13:30:19 -07:00
Sunny Goyal 9637364c44 Fixing crash in restore
> LauncherAppState cannot be initialized during restore, as it is not
called from a looper thread.

Bug: 21275736
Change-Id: Ifdb3f9913fa2ee63a7e1566d0c5cfc6f72b4f41e
2015-06-05 11:36:20 -07:00
Winson Chung aa91efbad0 am 6103501f: Merge "Ensuring that we use the screen width more optimally in AllApps." into ub-launcher3-burnaby
* commit '6103501fa6c70ca112ac867e18e5f82021bf4f7c':
  Ensuring that we use the screen width more optimally in AllApps.
2015-06-05 18:17:40 +00:00
Winson Chung 6103501fa6 Merge "Ensuring that we use the screen width more optimally in AllApps." into ub-launcher3-burnaby 2015-06-05 18:09:35 +00:00
Winson Chung 4b929685e3 am 7501adf4: Ensure that we use the system long press duration when dragging from AllApps.
* commit '7501adf4b71bb17d0785a5939efbcac4b39125c3':
  Ensure that we use the system long press duration when dragging from AllApps.
2015-06-05 18:04:23 +00:00
Winson Chung 7501adf4b7 Ensure that we use the system long press duration when dragging from AllApps.
- Removing some old code out of LauncherAppState

Bug: 21559400
Change-Id: I3c586094efb7ad8a17d2169bc8aaccf6b0df40a2
2015-06-05 10:52:57 -07:00
Sunny Goyal 114d60facf am 8d8c73b5: Merge "Code cleanup" into ub-launcher3-burnaby
* commit '8d8c73b591bf58f93f8841938ad8ce92085f7105':
  Code cleanup
2015-06-05 17:52:02 +00:00
Sunny Goyal 103b9c71bf am 2e6e9b87: Merge "Updating assets" into ub-launcher3-burnaby
* commit '2e6e9b879591068864c4623f414e792707aa2aca':
  Updating assets
2015-06-05 17:52:01 +00:00
Sunny Goyal b2d57c9ada am 5eae46ce: Merge "Removing unused animation style" into ub-launcher3-burnaby
* commit '5eae46ce1581b40870fbbf71925f6ba82dd9798a':
  Removing unused animation style
2015-06-05 17:52:00 +00:00
Sunny Goyal 8d8c73b591 Merge "Code cleanup" into ub-launcher3-burnaby 2015-06-05 17:40:27 +00:00
Sunny Goyal 2e6e9b8795 Merge "Updating assets" into ub-launcher3-burnaby 2015-06-05 17:40:01 +00:00
Sunny Goyal 5eae46ce15 Merge "Removing unused animation style" into ub-launcher3-burnaby 2015-06-05 17:39:48 +00:00
Winson Chung 2c6e5ccbcd Ensuring that we use the screen width more optimally in AllApps.
- Fixing issue with prediction bar height being calculated incorrectly
- Fixing issue where the prediction bar divider was not drawn exactly
  between the bar and the first row of apps
- Removing padding to allow scrollbars to reach full height

Bug: 20222023
Bug: 21335377
Change-Id: I2c0614a36e2294d0d6184a6bff4847876ffe971e
2015-06-05 09:49:12 -07:00
Sunny Goyal 40b626b930 Updating assets
Bug: 21304080
Change-Id: I26cf435779b477f0961d8e0d56dd6b86b418a3be
2015-06-05 08:47:40 -07:00
Sunny Goyal 4f3e9383eb Code cleanup
> Removing obsolete logging
> Removing unused methods
> Removing resource leak warning due to non-static handler class in launcher

Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
2015-06-05 00:34:06 -07:00
Sunny Goyal 12e13e467e Removing LauncherApplication to enable us to easily catch LauncherAppState errors
Change-Id: I56e956067692e5b9c4719c5e08b8f558e6011a60
2015-06-04 21:20:08 -07:00
Sunny Goyal ef23111c0f am 26c2842f: Merge "Preventing overdraw in custom content screen" into ub-launcher3-burnaby
* commit '26c2842f07668385b8f4594848cf6e93502da4a3':
  Preventing overdraw in custom content screen
2015-06-04 23:58:12 +00:00
Sunny Goyal 26c2842f07 Merge "Preventing overdraw in custom content screen" into ub-launcher3-burnaby 2015-06-04 23:47:35 +00:00
Rahul Chaturvedi cc7dd0e33f am 799aa04f: Use a broadcast receiver instead of a settings observer.
* commit '799aa04f2f961742a2f99bc0dc5a19f6bbbe2f56':
  Use a broadcast receiver instead of a settings observer.
2015-06-04 23:33:45 +00:00
Sunny Goyal 0c9143d06b Preventing overdraw in custom content screen
> Assuming customcontent screen is opaque, setting scrim alpha to 0
when the screen is fully visible

Bug: 21584384
Change-Id: Ifa95a10d880532f59573090673e90a87c7edba9b
2015-06-04 16:31:21 -07:00