Commit Graph

49925 Commits

Author SHA1 Message Date
Adam Cohen 8f73d7032e am c3d4553d: (-s ours) [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
* commit 'c3d4553d462521bc77b719109ea8cf5b5812d471':
  [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
2015-05-22 23:26:45 +00:00
Adam Cohen c3d4553d46 [DO NOT MERGE] Use custom slide-up animation on LMP MR1 instead of system default
issue 21402755

Change-Id: I87ddef08e7b3134c791f769fc279e62d520cd18c
2015-05-22 16:19:42 -07:00
Sunny Goyal ab75e98365 am d0ad0711: Merge "Decrease elevation for the reveal view." into ub-launcher3-burnaby
* commit 'd0ad0711db96603006aa2a7052bce8976a38ee1d':
  Decrease elevation for the reveal view.
2015-05-22 22:35:58 +00:00
Sunny Goyal d0ad0711db Merge "Decrease elevation for the reveal view." into ub-launcher3-burnaby 2015-05-22 22:26:41 +00:00
Sunny Goyal af80285acc Decrease elevation for the reveal view.
> During the end of allApps animation, the shadow suddenly changes from 15dp to 0

Change-Id: I93bcf1220396b2bda3efea7febc2195ef556938b
2015-05-22 15:26:26 -07:00
Hyunyoung Song d306bbe6c2 am 8f10dc21: Merge "Fix widget tray crash on screen rotation introduced by ag/694693" into ub-launcher3-burnaby
* commit '8f10dc21a08b486a07f4805adcce71b2d77d968c':
  Fix widget tray crash on screen rotation introduced by ag/694693
2015-05-22 21:57:30 +00:00
Hyunyoung Song 8f10dc21a0 Merge "Fix widget tray crash on screen rotation introduced by ag/694693" into ub-launcher3-burnaby 2015-05-22 21:51:57 +00:00
Hyunyoung Song 9110d485fa Fix widget tray crash on screen rotation introduced by
ag/694693

b/21402209

Change-Id: Idae97fca971d90f5fbba658411491147cb023c8d
2015-05-22 14:49:23 -07:00
Winson Chung db32044824 am 5f4e0fdd: Moving all apps code into sub package.
* commit '5f4e0fdd2e4edeb9211e2dcd1c99497f175731f8':
  Moving all apps code into sub package.
2015-05-22 20:49:28 +00:00
Winson Chung 5f4e0fdd2e Moving all apps code into sub package.
- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code

Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
2015-05-22 12:21:40 -07:00
Sunny Goyal 04d22ef79a am c6205603: Creating landscape and portrait device profiles at app initialization
* commit 'c6205603efe1f2987caf96504c87d720a25b5a94':
  Creating landscape and portrait device profiles at app initialization
2015-05-22 16:57:27 +00:00
Sunny Goyal c6205603ef Creating landscape and portrait device profiles at app initialization
Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
2015-05-22 08:46:41 -07:00
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
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