Commit Graph

11350 Commits

Author SHA1 Message Date
Tony Wickham 086dc48b68 Add distance threshold for dragged items before accepted by targets.
am: 855b1b5

* commit '855b1b5fff5f6f03a641b3b6973780a24fd9641e':
  Add distance threshold for dragged items before accepted by targets.

Change-Id: I99830fd378138599c8e8091ac21d0780e04de424
2016-03-29 21:11:50 +00:00
Tony Wickham 855b1b5fff Add distance threshold for dragged items before accepted by targets.
With the new spring-loaded workspace, items are often very close to
button drop targets (e.g. App Info) at the start of a drag. This
threshold makes it less likely to accidentally drop on a target.

Bug: 24099531
Change-Id: I4912ceeb0b63958816177c7bde073e825176d987
2016-03-29 12:41:14 -07:00
Tony Wickham 9ab0a2a99c Merge "Invalidate scrim throughout animation from overlay to workspace." into ub-launcher3-calgary
am: 1f5d3cc

* commit '1f5d3ccc253ab0e4b2abb911a83e7f4d33b6869f':
  Invalidate scrim throughout animation from overlay to workspace.
2016-03-29 00:10:18 +00:00
Tony Wickham 1f5d3ccc25 Merge "Invalidate scrim throughout animation from overlay to workspace." into ub-launcher3-calgary 2016-03-29 00:02:45 +00:00
Adam Cohen 230affa4f7 Remove default app suggestions from LauncherExtension
am: 11b644d

* commit '11b644d6e1661e5365f47772b1e6741719f73506':
  Remove default app suggestions from LauncherExtension
2016-03-28 23:57:49 +00:00
Adam Cohen 11b644d6e1 Remove default app suggestions from LauncherExtension
Change-Id: I7c3a1465aaa54ad3b988975810f29ce89e650ec1
2016-03-28 16:43:33 -07:00
Tony Wickham 3f6c0ee7f5 Invalidate scrim throughout animation from overlay to workspace.
Bug: 27135377
Change-Id: I19e947ac271063beaa6c5d11906631d0afcbb781
2016-03-28 16:43:20 -07:00
Adam Cohen a29bb82d0c Fix alignment issue with suggested apps in all apps
am: 1ad3ef3

* commit '1ad3ef3e81688a92dcfe2b2d39631af6d50baf5c':
  Fix alignment issue with suggested apps in all apps
2016-03-28 23:14:29 +00:00
Dmitry Kalita a50985a2e9 Merge "Fix restoring of layer type" into ub-launcher3-calgary
am: a0088a5

* commit 'a0088a51063f422ec31d1f095c3fcccdd0f2c15a':
  Fix restoring of layer type
2016-03-28 23:14:29 +00:00
Adam Cohen 1ad3ef3e81 Fix alignment issue with suggested apps in all apps
-> New RecyclerView handles wrap_content differently
-> Add mock set of suggested apps to the LauncherExtension

issue: 27581978
Change-Id: Id080e212e0425515fa66e821d116b95284bb3526
2016-03-28 15:51:25 -07:00
Sunny Goyal a0088a5106 Merge "Fix restoring of layer type" into ub-launcher3-calgary 2016-03-28 22:50:06 +00:00
Dmitry Kalita 814ed9ab77 Fix restoring of layer type
Change-Id: I1233b846247b270644325c0ad0229a23bfb29040
Signed-off-by: Dmitry Kalita <rusmonster@gmail.com>
2016-03-28 15:48:36 -07:00
Annie Chin b5652fd7eb Merge "Introduce IconProvider." into ub-launcher3-calgary
am: d2877b9

* commit 'd2877b9bdbfd558be7e8e396ef61ffda5534836b':
  Introduce IconProvider.
2016-03-28 21:40:32 +00:00
Annie Chin d2877b9bdb Merge "Introduce IconProvider." into ub-launcher3-calgary 2016-03-28 21:26:46 +00:00
Annie Chin 17f85951a5 Introduce IconProvider.
Bug: 27506625

-Move managing of SystemState to IconProvider

Change-Id: I3417f0b7d0664c2255c7cc2a88f6c65822b5fb98
2016-03-28 14:07:22 -07:00
Sunny Goyal 650f70c851 Merge "Defining separate layouts for horizontal and vertical drop target bars instead of chaning the layouts in DeviceProfile" into ub-launcher3-calgary
am: e4eaa0e

* commit 'e4eaa0e98320978f12126d5b492141df2f692a90':
  Defining separate layouts for horizontal and vertical drop target bars instead of chaning the layouts in DeviceProfile
2016-03-28 19:42:42 +00:00
Sunny Goyal e4eaa0e983 Merge "Defining separate layouts for horizontal and vertical drop target bars instead of chaning the layouts in DeviceProfile" into ub-launcher3-calgary 2016-03-28 19:30:35 +00:00
Tony Wickham 5e72ba3b7d Merge "Added copywrite comments to pinch-related classes." into ub-launcher3-calgary
am: 676e29c

* commit '676e29ce5d4bb2a38aca704db2855f2d73e09cc5':
  Added copywrite comments to pinch-related classes.
2016-03-25 15:51:32 +00:00
Sunny Goyal d5fe2f520f Preventing unnecessary object creations
am: ed268c2

* commit 'ed268c2c89c94098942ba04fd4cb90310743614a':
  Preventing unnecessary object creations
2016-03-25 15:51:32 +00:00
Tony Wickham 676e29ce5d Merge "Added copywrite comments to pinch-related classes." into ub-launcher3-calgary 2016-03-25 15:46:20 +00:00
Sunny Goyal f37a21412a Defining separate layouts for horizontal and vertical drop target bars
instead of chaning the layouts in DeviceProfile

Bug: 27721989
Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
2016-03-24 17:29:23 -07:00
Sunny Goyal ed268c2c89 Preventing unnecessary object creations
> Only creating the animator when required
> Canceling a previously running animation when starting a new one
> Directly setting LinearInterpolator instead of using null

Change-Id: I4f5f25f26dfed9b5c78665af4e74dd565b4cd805
2016-03-24 15:31:13 -07:00
Sunny Goyal 49aed203df Fixing debug log
am: 17763cb

* commit '17763cb1d2060fb95873a8920196720c862f0e14':
  Fixing debug log
2016-03-24 21:02:10 +00:00
Sunny Goyal a1bf4b1638 Merge "Embedding the icon pixel size in the cache DB version. This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes" into ub-launcher3-calgary
am: 225071b

* commit '225071b627bfff5f67c7fd4b0840373e696834e6':
  Embedding the icon pixel size in the cache DB version. This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes
2016-03-24 21:02:09 +00:00
Sunny Goyal 17763cb1d2 Fixing debug log
Change-Id: I85c1f7707a3ea9cae2701aa781b74d758602f643
2016-03-24 13:58:35 -07:00
Sunny Goyal 225071b627 Merge "Embedding the icon pixel size in the cache DB version. This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes" into ub-launcher3-calgary 2016-03-24 20:40:21 +00:00
Sunny Goyal 0c2fc74b45 Merge "Instead of reloading the launcher, updating items dynamically when Quiet mode changes" into ub-launcher3-calgary
am: 07a2f13

* commit '07a2f134717c93802a2b10e551182b7f72660272':
  Instead of reloading the launcher, updating items dynamically when Quiet mode changes
2016-03-24 19:25:32 +00:00
Sunny Goyal 07a2f13471 Merge "Instead of reloading the launcher, updating items dynamically when Quiet mode changes" into ub-launcher3-calgary 2016-03-24 19:20:14 +00:00
Sunny Goyal da891c1a22 Instead of reloading the launcher, updating items dynamically when
Quiet mode changes

Bug: 27632028,27763316
Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
2016-03-24 12:19:29 -07:00
Sunny Goyal ad3b2979a2 Setting stable layout flags on the launcher, so that the instets do not change for launcher when going in/out of another app
am: 784f9c3

* commit '784f9c39962721511f19bd3ef929abd7e91fa411':
  Setting stable layout flags on the launcher, so that the instets do not change for launcher when going in/out of another app
2016-03-24 00:12:17 +00:00
Sunny Goyal 784f9c3996 Setting stable layout flags on the launcher, so that the instets do not
change for launcher when going in/out of another app

Bug: 27600678
Change-Id: Ic873faba99c539025769d911bc7b0a4fed629cd7
2016-03-23 16:56:54 -07:00
Sunny Goyal 856c4b4780 Merge "Fixing wrong preference file name in LauncherFiles" into ub-launcher3-calgary
am: abb584c

* commit 'abb584cee164cfc1863af13e8c896cf436014616':
  Fixing wrong preference file name in LauncherFiles
2016-03-23 23:21:39 +00:00
Sunny Goyal abb584cee1 Merge "Fixing wrong preference file name in LauncherFiles" into ub-launcher3-calgary 2016-03-23 23:17:23 +00:00
Tony Wickham ed5ebae694 Add FeatureFlags.LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW
am: 9c43182

* commit '9c43182ff1d095b1bbaacedefe6e0f4c2deb17e3':
  Add FeatureFlags.LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW
2016-03-23 18:10:36 +00:00
Sunny Goyal 8a6edce064 Fixing wrong preference file name in LauncherFiles
Bug: 27778623
Change-Id: I28aa6698d3caa1fc11b2e8df0733143865f9b408
2016-03-23 10:47:15 -07:00
Tony Wickham 9c43182ff1 Add FeatureFlags.LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW
Bug: 27796974
Change-Id: Icda33fb62783cc3f7b510d627d1eeb9cf29bd2d3
2016-03-23 10:42:02 -07:00
Sunny Goyal 2ae7736d09 Embedding the icon pixel size in the cache DB version.
This causes the cache to get reset when the icon size changes,
for eg, in case of display scale changes

Bug: 27701193
Change-Id: Ib11144757a93cb50fb233d855902c0b2c15afbed
2016-03-22 14:34:16 -07:00
Sunny Goyal 85fbf7624f Adding support for result callback when starting uninstall-application activity
am: d5bd67d

* commit 'd5bd67dfa9ee5fda2384a75231b7a68ceb8e9bd5':
  Adding support for result callback when starting uninstall-application activity
2016-03-22 21:17:47 +00:00
Sunny Goyal d5bd67dfa9 Adding support for result callback when starting uninstall-application activity
Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
2016-03-22 13:57:58 -07:00
Adam Cohen 06780e754a Account for disparity btw folder preview size and drawable size
am: d3cc05a

* commit 'd3cc05a3a8c573986d08ee293a4bb8b4534d06b2':
  Account for disparity btw folder preview size and drawable size
2016-03-21 22:28:24 +00:00
Adam Cohen d3cc05a3a8 Account for disparity btw folder preview size and drawable size
-> When there is disparity between the cached icon size and the available space
   in the preview, the folder preview could appear not as intended (either
   overly crammed, or overly spacious)

issue 27701193

Change-Id: I9f97012ba569d1419b1e3f661cd26761b2a36285
2016-03-21 15:12:15 -07:00
Adam Cohen 79b764f666 Invalidate folder drawing paramaters when top padding changes
am: aa2542a

* commit 'aa2542a461072a57058ce45946ff6f5552ecce8a':
  Invalidate folder drawing paramaters when top padding changes
2016-03-21 21:26:09 +00:00
Adam Cohen aa2542a461 Invalidate folder drawing paramaters when top padding changes
-> This fixes issues when moving folders between the workspace
   and hotseat (which have different top paddings)

Change-Id: Iac5a4575a403ce8eadd1d3195f02ab10fe5dac23
2016-03-21 14:08:54 -07:00
Sunny Goyal c175c6b615 Removing some unused imports
am: 470f900

* commit '470f900fce017dc015851bfe3e591be5feedf6cc':
  Removing some unused imports
2016-03-21 20:10:03 +00:00
Sunny Goyal 470f900fce Removing some unused imports
Change-Id: I83962e467e3357db536a3e5a4a5c3071cc1268ab
2016-03-21 13:02:29 -07:00
Adam Cohen 18b97932f2 Merge "Center folders slightly less aggressively than before" into ub-launcher3-calgary
am: f710664

* commit 'f7106648dbe5994cd9a38826b4a0b3910df5ed4d':
  Center folders slightly less aggressively than before
2016-03-21 19:04:00 +00:00
Tony Wickham f7106648db Merge "Center folders slightly less aggressively than before" into ub-launcher3-calgary 2016-03-21 18:57:45 +00:00
Sunny Goyal 0cab75203c Merge "Removing dependency on wallpaper size settings from launcher" into ub-launcher3-calgary
am: ef0ac88

* commit 'ef0ac88e0b1ea3601308d5ee7afc1c6d99365e5c':
  Removing dependency on wallpaper size settings from launcher
2016-03-21 18:41:34 +00:00
Sunny Goyal ef0ac88e0b Merge "Removing dependency on wallpaper size settings from launcher" into ub-launcher3-calgary 2016-03-21 18:32:41 +00:00
Sunny Goyal 8602f94c61 Merge "Deleting the unrestored widget id synchronously" into ub-launcher3-calgary
am: b46b150

* commit 'b46b150410fc2711ff1b5d8d16f78e2b89d4f776':
  Deleting the unrestored widget id synchronously
2016-03-19 15:53:58 +00:00