Commit Graph

49925 Commits

Author SHA1 Message Date
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
Dan Willemsen f9afd3b6cb Merge "Replace custom rules with BUILD_PREBUILT"
am: 5892520

* commit '58925207ee0e8fc4a4ebd37743678362188908c1':
  Replace custom rules with BUILD_PREBUILT
2016-03-23 20:48:34 +00:00
Dan Willemsen 58925207ee Merge "Replace custom rules with BUILD_PREBUILT" 2016-03-23 19:12:36 +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
Dan Willemsen 830e8eb400 Replace custom rules with BUILD_PREBUILT
Change-Id: I78d10b2237cbc25a44d5b6c230030b3782499af5
2016-03-22 21:26:28 -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
Sunny Goyal b46b150410 Merge "Deleting the unrestored widget id synchronously" into ub-launcher3-calgary 2016-03-19 15:50:18 +00:00
Sunny Goyal bb021d711b Merge "Fixing broken instrumentation tests when run from command line" into ub-launcher3-calgary
am: f305520

* commit 'f30552080842452e181113bcd333d66b56403e92':
  Fixing broken instrumentation tests when run from command line
2016-03-19 00:54:57 +00:00
Sunny Goyal f305520808 Merge "Fixing broken instrumentation tests when run from command line" into ub-launcher3-calgary 2016-03-19 00:52:41 +00:00
Sunny Goyal 7eab3cc374 Fixing broken instrumentation tests when run from command line
Change-Id: I923cdbaaaf18c9b765d1e70122b92cd2c1621e06
2016-03-18 17:48:53 -07:00
Adam Cohen 82fa92011b Center folders slightly less aggressively than before
-> Some slight changes in spacing showed that we were centering
   folders a bit too eagerly
-> Once there is less than a ~4x delta between the spacing on the left
   vs. the right of the folder, center it.

issue 27671587

Change-Id: Ic2861ab375d9b9e4cf0eeb28b683073246f35c97
2016-03-18 17:42:48 -07:00
Sunny Goyal 7f11e64ed4 Fixing model being updated on UI thread
am: 3bbbabc

* commit '3bbbabc54ac73a4451b0a862a3faac6426b1b7b4':
  Fixing model being updated on UI thread
2016-03-18 23:57:29 +00:00
Sunny Goyal 047317735c Deleting the unrestored widget id synchronously
> We are making the DB call (IO) on the UI thread which is costlier than
the AppWidgetHost call.
> The process can get killed after the broadcast receiver returns, which
can prevent these ids from getting deleted.

Change-Id: I47746cf03d0eae573b6baa25cde9e573fd1f1a60
2016-03-18 16:29:08 -07:00
Sunny Goyal 3bbbabc54a Fixing model being updated on UI thread
> When package gets unavailable or suspended, the disabled flag was getting
updated on the UI thread. This could lead to inconsistent model if launcher
activity didn't exist.
> Fixing: When unsuspending one work profile apps, all work profile apps get
unsuspended

Bug: 27673573,27673373,27403236
Change-Id: I7fde3f79c36204e73ca66ccf8431fa0f0cce3d08
2016-03-18 15:13:28 -07:00
Sunny Goyal 946e6f04b4 Merge "Removing dependency on LauncherCallbacks for getting the search bounds" into ub-launcher3-calgary
am: b8f00da

* commit 'b8f00da8deec7f65002830261042da0140cbead0':
  Removing dependency on LauncherCallbacks for getting the search bounds
2016-03-18 20:26:10 +00:00
Sunny Goyal b8f00da8de Merge "Removing dependency on LauncherCallbacks for getting the search bounds" into ub-launcher3-calgary 2016-03-18 20:19:34 +00:00
Sunny Goyal f5158fdd22 Creating WidgetCellItem to wrap LauncherAppWidgetProviderInfo and resolveInfo In PackageItemInfo,, using the user of the first item in the sub-list
am: 4ddc401

* commit '4ddc40130aa0460924364eab3557088421eebe0c':
  Creating WidgetCellItem to wrap LauncherAppWidgetProviderInfo and resolveInfo In PackageItemInfo,, using the user of the first item in the sub-list
2016-03-18 18:45:37 +00:00
Sunny Goyal 4ddc40130a Creating WidgetCellItem to wrap LauncherAppWidgetProviderInfo and resolveInfo
In PackageItemInfo,, using the user of the first item in the sub-list

Bug: 27585511
Change-Id: I8243f0e5c831af65661ae815489e53e9fcade837
2016-03-18 11:06:01 -07:00
Sunny Goyal 6f866095c0 Removing dependency on wallpaper size settings from launcher
> Moving wallpaper desired width calculation to xml

Bug: 14470153
Change-Id: I8803af158861507a40e5d55e9aa6d515be47eefa
2016-03-17 17:04:37 -07:00
Tony Wickham 1743ac4691 Added copywrite comments to pinch-related classes.
Maybe we should write a script that checks that this is present in
all our files? I didn't do a thorough check, but wouldn't be surprised
if others were missing.

Change-Id: I4777ff618f952b9b11fde60ebc8d897cf6449032
2016-03-17 19:17:34 +00:00
Sunny Goyal 05c8c57fa7 Removing dependency on LauncherCallbacks for getting the search bounds
> Instead of handling insets in BaseContainerView, directly applying
  them to margins, as that scpace can't be used for scroll handling
> Appliying the top and bottom padding in xml
> The left & right padding is defied in xml which is reused for scroll
  handling

Bug: 27108154
Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9
2016-03-17 11:57:39 -07:00
Sunny Goyal ed95bdf463 Merge "Creating database without localized collators on NYC and above" into ub-launcher3-calgary
am: 1bc8fc3

* commit '1bc8fc3de2113b7be9df304309a42276d642a8c4':
  Creating database without localized collators on NYC and above
2016-03-17 18:45:47 +00:00