Commit Graph

9863 Commits

Author SHA1 Message Date
Sunny Goyal 2426fa6fee am 2805e639: Animating workspace active background change
* commit '2805e639cdea6ae0051155611d122ed27556e658':
  Animating workspace active background change
2015-05-21 23:50:47 +00:00
Sunny Goyal 2805e639cd Animating workspace active background change
> Removing workspace_overscroll_drawable_padding which is always 0

Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
2015-05-21 16:26:15 -07:00
Sunny Goyal 43c0411a63 am 0a45b58e: Merge "Enabling setWallpaper button only if the image was loaded successfully" into ub-launcher3-burnaby
* commit '0a45b58e107b25af41a99d16fc10277ea90f07c0':
  Enabling setWallpaper button only if the image was loaded successfully
2015-05-21 23:24:25 +00:00
Adam Cohen 2e79b77e19 am 2e6da153: Refactoring DeviceProfile
* commit '2e6da1539bc7286336b3c24d96ab76434939ce4d':
  Refactoring DeviceProfile
2015-05-21 23:24:24 +00:00
Sunny Goyal 0a45b58e10 Merge "Enabling setWallpaper button only if the image was loaded successfully" into ub-launcher3-burnaby 2015-05-21 23:19:24 +00:00
Adam Cohen 2e6da1539b Refactoring DeviceProfile
-> Pulling out the parts of device profile which can (and need to be)
   initialized and accessed without access to an Activity context,
   ie. the invariant bits.
-> The invariant bits are stored in InvariantDeviceProfile which is
   initialized statically from LauncherAppState.
-> The DeviceProfile contains the Activity context-dependent bits,
   and we will create one of these for each Activity instance, and
   this instance is accessed through the Launcher activity.
-> It's possible that we can continue to refactor this such that
   all appropriate dimensions can be computed without an Activity
   context (by only specifying orientation). This would be an
   extension of this CL and allow us to know exactly how launcher
   will look in both orientations from any context.

Sets the stage for some improvements around b/19514688

Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
2015-05-21 16:16:40 -07:00
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
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
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
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