Commit Graph

78507 Commits

Author SHA1 Message Date
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
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 3282c8399c am 091f0ffd: Updating widget list when iconCache updates
* commit '091f0ffd929f7a0a9a6af7d202eae13c48c07daa':
  Updating widget list when iconCache updates
2015-06-04 22:30:03 +00: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 8e2b5a4d12 am a56eab41: Merge "Adding back icon size dimen" into ub-launcher3-burnaby
* commit 'a56eab41fbfe26b185cc8240d50d231d0db41837':
  Adding back icon size dimen
2015-06-04 19:43:34 +00: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 1dbe8781bc am 7b3bdcd6: Merge "Consistent scrolling experience for All apps and widget tray" into ub-launcher3-burnaby
* commit '7b3bdcd6bbed929ac9492230afe8bc650a936107':
  Consistent scrolling experience for All apps and widget tray
2015-06-04 18:47:42 +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 3dd300f749 am 53d7ee42: Fixing different bitmap sizes in different orientations
* commit '53d7ee4285842732517edcccbdcaa92dccb1e107':
  Fixing different bitmap sizes in different orientations
2015-06-04 17:28:53 +00: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 a48ff81891 am f4fe7fc5: Merge "Fixing issue with hotseat being on the wrong side of the screen in RTL." into ub-launcher3-burnaby
* commit 'f4fe7fc5449bbfcfa7e95c7f9040c81d833a1fdb':
  Fixing issue with hotseat being on the wrong side of the screen in RTL.
2015-06-03 19:14:46 +00: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
Geoff Mendal dfee21c589 Import translations. DO NOT MERGE
Change-Id: Ic60902ab9fada753b651f0e5969d136e712b4a05
Auto-generated-cl: translation import
2015-06-03 13:35:59 -05:00
Mady Mellor 98ddf40f27 am 5dd1487d: Merge "Stylus support: handling drag n drop for widgets" into ub-launcher3-burnaby
* commit '5dd1487da69062a0f40743d7a8df042440b85e9a':
  Stylus support: handling drag n drop for widgets
2015-06-03 16:57:22 +00: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 45a0557eb9 am 19b1bad2: Merge "Stylus support: creating and setting listeners for stylus button press" into ub-launcher3-burnaby
* commit '19b1bad23904a899bd9dc56bf9e2e827619164b1':
  Stylus support: creating and setting listeners for stylus button press
2015-06-03 16:33:07 +00:00