Commit Graph

78507 Commits

Author SHA1 Message Date
Sunny Goyal 8abbd29ca3 Enabling setWallpaper button only if the image was loaded successfully
Bug: 20187333
Change-Id: I1b738a06499d20facbc4bccb1e6247086a45b686
2015-05-21 16:14:08 -07:00
Hyunyoung Song e18999b47c am a9d012c6: Merge "Introduce scrollbar in widget tray" into ub-launcher3-burnaby
* commit 'a9d012c6e67b644498e07c63f36617c1b8915e02':
  Introduce scrollbar in widget tray
2015-05-21 23:06:10 +00:00
Hyunyoung Song a9d012c6e6 Merge "Introduce scrollbar in widget tray" into ub-launcher3-burnaby 2015-05-21 23:00:18 +00:00
Winson Chung 2934076bb5 am 370afe8a: Merge "Tweaking method name." into ub-launcher3-burnaby
* commit '370afe8a04d1d13b03b5dda53a4f542bde016690':
  Tweaking method name.
2015-05-21 22:51:58 +00:00
Winson Chung f0df7b4690 am 4fabf1dd: Merge "Fixing crash in previous CL." into ub-launcher3-burnaby
* commit '4fabf1dd41a28135b40d4a33c78a080f86161e36':
  Fixing crash in previous CL.
2015-05-21 22:51:57 +00:00
Winson Chung 370afe8a04 Merge "Tweaking method name." into ub-launcher3-burnaby 2015-05-21 22:46:07 +00:00
Winson Chung 7eb9925491 Tweaking method name.
Change-Id: I2f4f9dc58c8148059914a106526995e80a82376f
2015-05-21 15:45:24 -07:00
Winson Chung 4fabf1dd41 Merge "Fixing crash in previous CL." into ub-launcher3-burnaby 2015-05-21 22:43:45 +00:00
Sunny Goyal fb9f8d06d9 am c57bb9b1: Merge "Icons are not updated to TYPE_APPLICATION during restore" into ub-launcher3-burnaby
* commit 'c57bb9b113aff1315ea4e871f09e94406cfe56e8':
  Icons are not updated to TYPE_APPLICATION during restore
2015-05-21 22:32:41 +00:00
Hyunyoung Song dd721f8633 Introduce scrollbar in widget tray
b/21270754

Change-Id: I82dd87193f0ed5822f8cd75ef0c785057f949015
2015-05-21 15:31:42 -07:00
Sunny Goyal c57bb9b113 Merge "Icons are not updated to TYPE_APPLICATION during restore" into ub-launcher3-burnaby 2015-05-21 22:26:27 +00:00
Winson Chung db0b572862 Fixing crash in previous CL.
- Shouldn't be referencing mApps before it is set.
2015-05-21 14:39:54 -07:00
Sunny Goyal 55bd9ee7fe am aa78b3de: Merge "Preventing overdraw. Drawing background directly at the window, instead of the rootview." into ub-launcher3-burnaby
* commit 'aa78b3dea3427ca65d0c0a316a72f769feecdac1':
  Preventing overdraw. Drawing background directly at the window, instead of the rootview.
2015-05-21 20:37:05 +00:00
Winson Chung 30adf17f87 am 3abcd5ba: Cleaning up some app model code.
* commit '3abcd5ba1ba0fe4d8061309dd073e36c64b05963':
  Cleaning up some app model code.
2015-05-21 20:37:05 +00:00
Sunny Goyal db610c5bf3 am 324d7835: Merge "Breaking icon update task so that it doesn\'t block worker thread" into ub-launcher3-burnaby
* commit '324d78358c88d30eac587f4e1d679f9b5bf8d2f3':
  Breaking icon update task so that it doesn't block worker thread
2015-05-21 20:37:04 +00:00
Sunny Goyal aa78b3dea3 Merge "Preventing overdraw. Drawing background directly at the window, instead of the rootview." into ub-launcher3-burnaby 2015-05-21 20:34:28 +00:00
Sunny Goyal 5c97f51fd9 Icons are not updated to TYPE_APPLICATION during restore
> Use low res only for app shortcuts
> Running icon migration after restore
> Running icon migration again for all users
> Deduping shortcuts added from widget tray

Bug: 20945600
Change-Id: I3bb47545fdd9832510069026fbae8966d2311cc1
2015-05-21 13:34:07 -07:00
Winson Chung 3abcd5ba1b Cleaning up some app model code.
- Preventing extra sorting when adding/updating apps
- Preventing extra logic when filtering apps
- Fixing overlapping prediction bar when all predictions are removed
- Fixing crash when retrieving section names for AppInfos whose titles
  have been updated, but updateApps has not yet been called.

Change-Id: I1da468b0fd5c5cc404b6a5e6146a268fefeca267
2015-05-21 20:33:01 +00:00
Sunny Goyal 324d78358c Merge "Breaking icon update task so that it doesn't block worker thread" into ub-launcher3-burnaby 2015-05-21 20:31:37 +00:00
Hyunyoung Song 8e56074844 am edc9c056: Merge "Load PackageItemInfo in background thread to prevent ANR" into ub-launcher3-burnaby
* commit 'edc9c0564454ed38dd3006c9ae4b82a449f447a4':
  Load PackageItemInfo in background thread to prevent ANR
2015-05-21 20:30:53 +00:00
Sunny Goyal d860cf2af9 am 6d65ab9e: Merge "Using color filter when animating the drop target instead to TransitionDrawable" into ub-launcher3-burnaby
* commit '6d65ab9e55c46138282adcd6b39e2b25521bade2':
  Using color filter when animating the drop target instead to TransitionDrawable
2015-05-21 20:30:52 +00:00
Hyunyoung Song edc9c05644 Merge "Load PackageItemInfo in background thread to prevent ANR" into ub-launcher3-burnaby 2015-05-21 20:25:16 +00:00
Sunny Goyal 6d65ab9e55 Merge "Using color filter when animating the drop target instead to TransitionDrawable" into ub-launcher3-burnaby 2015-05-21 20:23:58 +00:00
Hyunyoung Song 2bd3d7d1cb Load PackageItemInfo in background thread to prevent ANR
- Decoupled widget model from widget view, and placed the
creation to LauncherModel.
- As a result packagemanager operation, iconcache retrieval is all done inside
LauncherModel on background thread
b/21311085
b/21325319

Change-Id: I294698527db58b89f3da558090a367530c058776
2015-05-21 13:04:53 -07:00
Sunny Goyal e12b1a3525 am a508e4f8: Do not trim folder title
* commit 'a508e4f804c2bddf9e2cdfa3d0bd4a8202ff2151':
  Do not trim folder title
2015-05-21 19:37:23 +00:00
Sunny Goyal 4a6c6f3105 Preventing overdraw. Drawing background directly at the window, instead of
the rootview.

Change-Id: Ie974752e739d9acd1fbd765809c671f82f462644
2015-05-21 12:29:14 -07:00
bohu c2d723b7c6 am 9c6b0003: am 32cbb6ef: am d140e9bf: Enable Launcher3 as default Home app
* commit '9c6b0003241b1a51d69b1681034d2abad48736e2':
  Enable Launcher3 as default Home app
2015-05-21 19:25:14 +00:00
bohu 9c6b000324 am 32cbb6ef: am d140e9bf: Enable Launcher3 as default Home app
* commit '32cbb6efe29137ce2fbc127f9e83a096e5a14364':
  Enable Launcher3 as default Home app
2015-05-21 18:48:45 +00:00
Sunny Goyal 3a644ed1ce Using color filter when animating the drop target instead to TransitionDrawable
> No more flickering when crossfading between two bitmaps in small duration
> Allows us to control the color directly without depending on the assets

Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
2015-05-21 10:30:46 -07:00
bohu 32cbb6efe2 am d140e9bf: Enable Launcher3 as default Home app
* commit 'd140e9bfdfe34799915a6b8e16a1dfcf4bbd0ef3':
  Enable Launcher3 as default Home app
2015-05-21 17:09:15 +00:00
Geoff Mendal 94d2004cd9 Import translations. DO NOT MERGE
Change-Id: I7eafdbdd5744e5aea3b22bfe668e27dea2fa22dd
Auto-generated-cl: translation import
2015-05-21 09:36:21 -07:00
Sunny Goyal a508e4f804 Do not trim folder title
Bug: 21297281
Change-Id: I633780f8207aabc8362f016e6b5a6e720cee1b86
2015-05-21 09:33:57 -07:00
Sunny Goyal 75b0f552ae Breaking icon update task so that it doesn't block worker thread
Bug: 20945600
Change-Id: Iaf516577898b51ad6e8a813d7f018ecad969c100
2015-05-21 09:18:27 -07:00
bohu d140e9bfdf Enable Launcher3 as default Home app
The default Home app launcher2 is deprecated and cannot launch Nexus 6
or any other high resolution devices in emulator. This CL enables launcher3
as the default Home app, since it can handle Nexus 6 and is well maintained.

Change-Id: Iaba545fec218f79e40e0f72de5236ddadfabaa14
2015-05-21 08:20:38 -07:00
Geoff Mendal 2f5d6cce4a Import translations. DO NOT MERGE
Change-Id: I6e3ff588ad463119725aa9c8ba2763b43ea9ccc0
Auto-generated-cl: translation import
2015-05-21 05:37:02 -07:00
Winson Chung ee8df9de69 am c393b076: Fixing issue where the prediction bar apps are not focused.
* commit 'c393b0765df8d2d34b3b996b71700a705b7d0106':
  Fixing issue where the prediction bar apps are not focused.
2015-05-21 00:49:06 +00:00
Winson Chung c393b0765d Fixing issue where the prediction bar apps are not focused.
- Also fixes issue where all apps is not accessible by keyboard
  when there are no other apps in the hotseat.

Bug: 21334471
2015-05-21 00:37:50 +00:00
Sunny Goyal 78f585bae6 am db092a33: Merge "Setting drawable to droptarget in the code to avoid multiple drawable inflation" into ub-launcher3-burnaby
* commit 'db092a331ceb9b6cc72fd9b1a593cd77068bb66a':
  Setting drawable to droptarget in the code to avoid multiple drawable inflation
2015-05-20 23:59:32 +00:00
Sunny Goyal db092a331c Merge "Setting drawable to droptarget in the code to avoid multiple drawable inflation" into ub-launcher3-burnaby 2015-05-20 23:51:35 +00:00
Sunny Goyal e0cab303b8 Setting drawable to droptarget in the code to avoid multiple drawable inflation
Change-Id: Ib713b3051e2707d46a4ee0090aed2db1d2e641b9
2015-05-20 16:41:08 -07:00
Winson Chung bafdf3654b am 3e4d5f20: Merge "Reducing delay in applying widget previews loaded in the background." into ub-launcher3-burnaby
* commit '3e4d5f20ba9128fcbe77b220380129be773887b3':
  Reducing delay in applying widget previews loaded in the background.
2015-05-20 23:15:06 +00:00
Winson Chung 3e4d5f20ba Merge "Reducing delay in applying widget previews loaded in the background." into ub-launcher3-burnaby 2015-05-20 23:08:19 +00:00
Sunny Goyal 54fc954cd6 am 20812e96: Merge "Removing some unused functionalities" into ub-launcher3-burnaby
* commit '20812e96402900d3ac0e007b5b63faaf1b06e5f9':
  Removing some unused functionalities
2015-05-20 22:45:43 +00:00
Sunny Goyal 44d705e780 am 2280e278: Merge "Avoiding blocking worker thread when adding icons to DB" into ub-launcher3-burnaby
* commit '2280e27842671d21fa29b6d7bd22b5912704471d':
  Avoiding blocking worker thread when adding icons to DB
2015-05-20 22:45:42 +00:00
Sunny Goyal 20812e9640 Merge "Removing some unused functionalities" into ub-launcher3-burnaby 2015-05-20 22:35:49 +00:00
Sunny Goyal 2280e27842 Merge "Avoiding blocking worker thread when adding icons to DB" into ub-launcher3-burnaby 2015-05-20 22:34:42 +00:00
Sunny Goyal fba993e999 am 99d950fb: Removing unnecessary linear layout
* commit '99d950fb4dfb5cb9edaae572579fc25b2aca726f':
  Removing unnecessary linear layout
2015-05-20 22:18:10 +00:00
Sunny Goyal 99d950fb4d Removing unnecessary linear layout
Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
2015-05-20 14:43:18 -07:00
Hyunyoung Song f84fad702e am c88ae71f: Merge "UX widget cell color issue" into ub-launcher3-burnaby
* commit 'c88ae71f66bf8b4f75290e21c5375dbf63a070f0':
  UX widget cell color issue
2015-05-20 21:21:19 +00:00
Sunny Goyal c58116784a am a1fbd84b: Fixing unnecessary padding added to pages in overview mode
* commit 'a1fbd84b791474a9e86b67caeaf27b8429afba73':
  Fixing unnecessary padding added to pages in overview mode
2015-05-20 21:21:18 +00:00