Commit Graph

49925 Commits

Author SHA1 Message Date
Baligh Uddin 0f260324a9 am 839ab5f2: (-s ours) Import translations. DO NOT MERGE
* commit '839ab5f2596444fb0a2b1b1f23a7b2598ba90ba7':
  Import translations. DO NOT MERGE
2014-04-24 14:41:12 +00:00
Baligh Uddin 48da3c60dc am 6ecd8e88: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-nova
* commit '6ecd8e883f6b25f5f1b7799fa6c75551e5788d61':
  Import translations. DO NOT MERGE
2014-04-24 14:40:56 +00:00
Baligh Uddin 22663e0f03 Merge "Import translations. DO NOT MERGE" into ub-now-master 2014-04-24 14:38:37 +00:00
Baligh Uddin 6ecd8e883f Merge "Import translations. DO NOT MERGE" into ub-now-nova 2014-04-24 14:38:26 +00:00
Jason Monk ed05f09aa1 Fix accessibility announce on apps page
Stops the workspace from announcing incorrectly while the apps
page is open, also makes the apps announce which page on opening.

Bug: 13006306
Change-Id: I723011fc55c24b66604a24b16c17bac4f5653f84
2014-04-24 10:13:05 -04:00
Jeff Sharkey c4ff5eb751 am 1813e018: am bc0a4064: Avoid wrapping cling titles on small screens.
* commit '1813e018b0ec272cf54c4744a84570594f415147':
  Avoid wrapping cling titles on small screens.
2014-04-24 01:26:35 +00:00
Jeff Sharkey 1813e018b0 am bc0a4064: Avoid wrapping cling titles on small screens.
* commit 'bc0a40647bedd5f80512dc553b8e3bdab1ccb705':
  Avoid wrapping cling titles on small screens.
2014-04-24 01:07:42 +00:00
Baligh Uddin 13b96f83e0 Import translations. DO NOT MERGE
Change-Id: I4c91fa67d3ea6c6831d685d6457cab78537aa0c1
Auto-generated-cl: translation import
2014-04-23 15:01:56 -07:00
Baligh Uddin 839ab5f259 Import translations. DO NOT MERGE
Change-Id: I2d1404bc97cd63a57141af439d494d0e1dd748c6
Auto-generated-cl: translation import
2014-04-23 15:01:32 -07:00
Baligh Uddin 10dcb001e9 Import translations. DO NOT MERGE
Change-Id: I12d455101bf7f8713b3ac896982b468df440e7c5
Auto-generated-cl: translation import
2014-04-23 15:01:06 -07:00
Jeff Sharkey bc0a40647b Avoid wrapping cling titles on small screens.
Only allow font size bump on large-screen English devices.

Bug: 13340779
Change-Id: I21e10bd21b30803386fdb62b87b0fbdf8efd6731
2014-04-23 14:45:25 -07:00
Jason Monk fab793c214 am 490d6941: Merge "Fix long press after already moving off icon" into ub-now-nova
* commit '490d6941fa6b835409c7f8d4561fa4c3c9652cbe':
  Fix long press after already moving off icon
2014-04-23 18:58:40 +00:00
Jason Monk 490d6941fa Merge "Fix long press after already moving off icon" into ub-now-nova 2014-04-23 18:55:48 +00:00
Adam Cohen 4267ad9ae1 am 16f64554: Merge "Second try removing orphaned items from the database" into ub-now-nova
* commit '16f645542a527c3b39e7e365c379d7a66f47e4ea':
  Second try removing orphaned items from the database
2014-04-23 18:24:58 +00:00
Adam Cohen 16f645542a Merge "Second try removing orphaned items from the database" into ub-now-nova 2014-04-23 18:21:15 +00:00
Jason Monk 2c1a5346ed am 050eaf2a: Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova
* commit '050eaf2a87e5d78eb7500c2d84129f7a2fffa750':
  Add synchronization to DeferredBindRunnables
2014-04-23 16:41:07 +00:00
Jason Monk 050eaf2a87 Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova 2014-04-23 16:39:12 +00:00
Baligh Uddin c4d66cf035 Import translations. DO NOT MERGE
Change-Id: I4aecd9a7109c59e394c9cc7b5e3c57ba36d2533f
Auto-generated-cl: translation import
2014-04-22 18:16:05 -07:00
Adam Cohen f9c14de995 Second try removing orphaned items from the database
-> Delete items contained directly on the desktop whose screens
   no longer exist (do not remove items contained in hotseat or
   folders, except as described below)
-> Delete items contained by folder ids which are no longer present
   (ie. orphaned as their parent folder no long exists)

Change-Id: I2f47cc970ce00677cb1c83c0f0a2d13b6f16a33e
2014-04-22 16:11:40 -07:00
Jeff Sharkey 5c24bc6d1a am 27b4e0f7: am 5aeef581: Add support for partner customization.
* commit '27b4e0f7d6f6f2bfacc4e2fcc66472540122939d':
  Add support for partner customization.
2014-04-22 21:04:56 +00:00
Jeff Sharkey 27b4e0f7d6 am 5aeef581: Add support for partner customization.
* commit '5aeef58131e1c330d1d9c1dfcacf2e6eea6ced4b':
  Add support for partner customization.
2014-04-22 21:02:11 +00:00
Sameer Padala a3211b9185 am be3e410b: Fix source code so it compiles on google3
* commit 'be3e410b7a62fa64ffda825b824862eb9d0c98c5':
  Fix source code so it compiles on google3
2014-04-22 20:50:57 +00:00
Jeff Sharkey 5aeef58131 Add support for partner customization.
Traditionally Launcher workspace customization is offered through
overlays at build time, but we don't have access to partner-specific
customization at build time.  To solve this, this adds a new
"partner-folder" tag which points at an XML resource provided by
an external package.

The external package XML can't depend on the binary XML attributes
defined by Launcher3, so we switch to using manual string-based
attribute lookups.  Partners can also provide extra wallpapers.

When a folder only results in a single item, promote that item into
the folder location instead of deleting completely.

Bug: 13340779
Change-Id: Ide558288bef4113565f288b700d8245055c0fee9
2014-04-22 12:28:51 -07:00
Adam Cohen 7082b508c7 am a8171169: am 76ac344c: Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly
* commit 'a8171169ff18efc9e0bf5b865dbd35cee06d3fae':
  Allow the old launcher content URI to be overrided
2014-04-22 14:35:32 +00:00
Jason Monk a0a7a7440e Add synchronization to DeferredBindRunnables
Seems that on occasion the list is being iterated on while being
modified.  To fix this added synchronization to all modifications
to the list as well as iterating on a copy of the list to cut
down on time holding the lock.

Bug: 12885709
Change-Id: I4287bdedbeb8e438b49c1f79b44819a752c28a69
2014-04-22 10:33:33 -04:00
Jason Monk 02dd7aea3d Fix long press after already moving off icon
When an icon is in the Hotseat and a user drags off from the icon,
but continues holding down, the icon gets a long press triggered
by the CheckLongPressHelper.

To fix this a check has been added on move events to see if the
point has moved outside the view and to cancel the long press
check callback if it has.

Bug: 13569451
Change-Id: Id175cdc220d70b5e9f8e492ed5a3cc7c3f11db10
2014-04-22 10:27:01 -04:00
Sameer Padala be3e410b7a Fix source code so it compiles on google3
This is a follow up to cr/65191596 which checked for String + array warnings.

Change-Id: Id70eaa32b63b838b03be21d632c7470039b6423f
2014-04-21 19:37:17 -07:00
Adam Cohen a8171169ff am 76ac344c: Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly
* commit '76ac344cb61a74267c04249c9e9feec41a82c504':
  Allow the old launcher content URI to be overrided
2014-04-18 21:32:23 +00:00
Adam Cohen 76ac344cb6 Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly 2014-04-17 00:53:52 +00:00
Chris Wren 8f97daa93e am 04b0d036: (-s ours) am d83ebf92: (-s ours) DO NOT MERGE disable launcher restore for 3.4 launch.
* commit '04b0d0368892f226337adae6e82677cb2b6c64ee':
  DO NOT MERGE disable launcher restore for 3.4 launch.
2014-04-16 18:51:45 +00:00
Chris Wren 04b0d03688 am d83ebf92: (-s ours) DO NOT MERGE disable launcher restore for 3.4 launch.
* commit 'd83ebf9270e90d9306ad4eaf6837dea91ca3b172':
  DO NOT MERGE disable launcher restore for 3.4 launch.
2014-04-16 18:48:25 +00:00
Chris Wren d83ebf9270 DO NOT MERGE disable launcher restore for 3.4 launch.
Change-Id: I8e439df25cad2cb9cf92cf1faef22906420e22cb
2014-04-16 14:10:10 -04:00
Chris Wren ec46e503b0 am b358f813: additional debug logs to track welcome back behavior.
* commit 'b358f813c93ac0d6c4f31058947efd16b188cd1e':
  additional debug logs to track welcome back behavior.
2014-04-16 17:45:09 +00:00
Chris Wren b358f813c9 additional debug logs to track welcome back behavior.
Bug: 13568891
Change-Id: I359202ce59b3444e46331485ea22f542ae908e36
2014-04-16 13:37:00 -04:00
Mathew Inwood b7851b5c46 am ad9c776b: am 85900298: Take account of bounds set on drag drawables.
* commit 'ad9c776bc1cae8af3db2bdf895a2f65ca9837d96':
  Take account of bounds set on drag drawables.
2014-04-16 16:31:48 +00:00
Mathew Inwood ad9c776bc1 am 85900298: Take account of bounds set on drag drawables.
* commit '859002985e0e5d73f54c942f2024607431db60fc':
  Take account of bounds set on drag drawables.
2014-04-16 16:30:01 +00:00
Mathew Inwood 859002985e Take account of bounds set on drag drawables.
If bounds are set on a compound drawable in a textview, drawing it into a
bitmap set to the intrinsic size of the drawable results in it being scaled
down in the top corner. Scaling it down again into the grid icon size then
gives a tiny icon.

Use the drawable bounds if any are set, otherwise use the intrinsic size.

Bug: 14103508
Change-Id: Idadd7bb891dc33d092eb9ceb3025b9a5d9e1bfd8
2014-04-16 14:17:39 +01:00
Adrian Roos beb1cf7408 am 65d60e21: Fix skia crash in widget preview loading
* commit '65d60e21ec22e3bf03ba39f7a0be24df2cc914a2':
  Fix skia crash in widget preview loading
2014-04-16 12:29:29 +00:00
Adrian Roos 65d60e21ec Fix skia crash in widget preview loading
This fix works making sure all drawables are mutated before drawing
them in the background. Mutation has to be executed on the main
thread because that operation is not thread safe.

Bug: 12525890
Change-Id: Id7bdf9cf48d3e7b7f31938bdea4a3bf1632cf337
2014-04-16 14:16:14 +02:00
Chris Wren 466d1c9647 am b6ecd781: am 1a1fdf41: turn off LauncherAppState.DEBUG
* commit 'b6ecd7815970fd2080b1856259d25f6a0ab7f48f':
  turn off LauncherAppState.DEBUG
2014-04-15 19:10:11 +00:00
Chris Wren b6ecd78159 am 1a1fdf41: turn off LauncherAppState.DEBUG
* commit '1a1fdf4185637610b37953e901605c55ef8ba0a6':
  turn off LauncherAppState.DEBUG
2014-04-15 19:08:45 +00:00
Chris Wren 1a1fdf4185 turn off LauncherAppState.DEBUG
Change-Id: Ia6d54235c353c27c8716d7fd9270a7f2ee7bc93f
2014-04-15 13:57:15 -04:00
Winson Chung cbdca25c07 am f2a791a7: am babb53ef: Adding external path for drag/drops.
* commit 'f2a791a798ce24d81f3410c83873087690db4ffd':
  Adding external path for drag/drops.
2014-04-15 10:51:39 +00:00
Winson Chung f2a791a798 am babb53ef: Adding external path for drag/drops.
* commit 'babb53ef8fd0fcba32fcc8fc213663f0f27b8f5e':
  Adding external path for drag/drops.
2014-04-15 10:50:19 +00:00
Winson Chung babb53ef8f Adding external path for drag/drops.
Change-Id: I3b315c4d14cadb9210f15d3c3e0b9545f4591be4
2014-04-14 18:44:21 -07:00
Mathew Inwood 4210ce7016 am 72f0eab8: am b90860a9: Expose workspace.moveToDefaultScreen.
* commit '72f0eab89d36610e736dc63979b570da55c19337':
  Expose workspace.moveToDefaultScreen.
2014-04-14 16:17:36 +00:00
Mathew Inwood 72f0eab89d am b90860a9: Expose workspace.moveToDefaultScreen.
* commit 'b90860a99630bbd24f90cc205d8990187b0ed12e':
  Expose workspace.moveToDefaultScreen.
2014-04-14 16:15:19 +00:00
Mathew Inwood b90860a996 Expose workspace.moveToDefaultScreen.
This is to allow derived launcher classes to move the workspace to the
default screen when a drag is started, in case the current screen is not
capable of acting as a drop target.

Bug: 13962574
Change-Id: I8a6e94ce08be825c344beb708d244d2def5f319f
2014-04-11 17:22:56 +01:00
Adam Cohen d0343b8a1c am d08da56f: am 8ac896b8: Merge "Fix serious data loss issue for folders and hotseat items" into ub-now-mister-ugly
* commit 'd08da56f0a4b56d16836fb85c2764e57ecdfcc20':
  Fix serious data loss issue for folders and hotseat items
2014-04-11 01:20:43 +00:00
Adam Cohen d08da56f0a am 8ac896b8: Merge "Fix serious data loss issue for folders and hotseat items" into ub-now-mister-ugly
* commit '8ac896b8c84066c109c2c4b97805f36270636121':
  Fix serious data loss issue for folders and hotseat items
2014-04-11 01:18:25 +00:00