Commit Graph

9764 Commits

Author SHA1 Message Date
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
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 e89cf793ab Merge "Tying accessibility drag lifecycle to that of dragController" into ub-launcher3-burnaby 2015-06-11 18:43:27 +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 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 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 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 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 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 be68dcebbb Merge "Fixing preloaded widget not getting used for animation" into ub-launcher3-burnaby 2015-06-08 22:32:49 +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 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 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 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 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 26c2842f07 Merge "Preventing overdraw in custom content screen" into ub-launcher3-burnaby 2015-06-04 23:47:35 +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
Rahul Chaturvedi 799aa04f2f Use a broadcast receiver instead of a settings observer.
Settings observer doesn't work if a setting is modified in another
process, hence we instead register a receiver which listens for a signal
from the settings process that the rotation preference has changed.

Change-Id: I570e3c67bb64a32347e84ca00a8ac31d9010eac3
2015-06-04 19:17:23 -04:00
Sunny Goyal 091f0ffd92 Updating widget list when iconCache updates
> Fixing bug where items were not getting removed from the memcache
> Fixing bug where package entries were not getting removing because
of component mismatch.

Bug: 21612532
Change-Id: Ie56f3272f7fb7e1a37c5ff9bfa523d814edc1a02
2015-06-04 15:21:23 -07:00
Sunny Goyal a56eab41fb Merge "Adding back icon size dimen" into ub-launcher3-burnaby 2015-06-04 19:37:51 +00:00
Sunny Goyal a5be3ccb53 Adding back icon size dimen
Bug: 21638256
Change-Id: I522a8e59e63e4a49a087e4fb3aac102595ea6818
2015-06-04 19:37:01 +00:00
Hyunyoung Song 7b3bdcd6bb Merge "Consistent scrolling experience for All apps and widget tray" into ub-launcher3-burnaby 2015-06-04 18:39:44 +00:00
Hyunyoung Song ec84728b27 Consistent scrolling experience for All apps and widget tray
b/21375339

Change-Id: I8362b3ca94b7c4e75932d42cd09a989e0e3919c0
2015-06-04 11:37:46 -07:00
Sunny Goyal 53d7ee4285 Fixing different bitmap sizes in different orientations
> Using a single bitmap icon size
> Picking up appropriate density for satisfy the required icon size
> Fixing some icon size assumptions during icon animations

Bug: 19514688
Change-Id: Ia7a1d0d2c03a9d39ccc241fa4ae3eb8a0f374585
2015-06-03 19:07:44 -07:00
Winson Chung f4fe7fc544 Merge "Fixing issue with hotseat being on the wrong side of the screen in RTL." into ub-launcher3-burnaby 2015-06-03 19:03:13 +00:00
Winson Chung f8c6f885f0 Fixing issue with hotseat being on the wrong side of the screen in RTL.
Bug: 21499466

Change-Id: I566cd89dfb855f89f4e68bf56e48bf99204b11ab
2015-06-03 11:42:15 -07:00
Mady Mellor 5dd1487da6 Merge "Stylus support: handling drag n drop for widgets" into ub-launcher3-burnaby 2015-06-03 16:46:43 +00:00
Mady Mellor 19b1bad239 Merge "Stylus support: creating and setting listeners for stylus button press" into ub-launcher3-burnaby 2015-06-03 16:26:35 +00:00
Winson Chung ca51aaad67 Merge "Adding context for app launches." into ub-launcher3-burnaby 2015-06-02 23:59:43 +00:00