Commit Graph
8131 Commits
Author SHA1 Message Date
Jason Monk 031d0ff4ad Merge "Fix accessibility announce on apps page" into ub-now-nova 2014-04-24 16:33:07 +00:00
Baligh Uddin 94904606f6 am 0f260324: (-s ours) am 839ab5f2: (-s ours) Import translations. DO NOT MERGE
* commit '0f260324a9cee5122d67096c1cd281979d21b712':
  Import translations. DO NOT MERGE
2014-04-24 14:43:17 +00:00
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 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 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
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 490d6941fa Merge "Fix long press after already moving off icon" into ub-now-nova 2014-04-23 18:55:48 +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 050eaf2a87 Merge "Add synchronization to DeferredBindRunnables" into ub-now-nova 2014-04-23 16:39:12 +00: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 27b4e0f7d6 am 5aeef581: Add support for partner customization.
* commit '5aeef58131e1c330d1d9c1dfcacf2e6eea6ced4b':
  Add support for partner customization.
2014-04-22 21:02:11 +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
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 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 b358f813c9 additional debug logs to track welcome back behavior.
Bug: 13568891
Change-Id: I359202ce59b3444e46331485ea22f542ae908e36
2014-04-16 13:37:00 -04: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 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 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 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 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 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
Adam Cohen 8ac896b8c8 Merge "Fix serious data loss issue for folders and hotseat items" into ub-now-mister-ugly 2014-04-11 01:14:56 +00:00
Adam Cohen a7946070dc Fix serious data loss issue for folders and hotseat items
Change-Id: I37a5b44c670c2a1f99eb97b77cfdbc78534fdf91

bug 13964735
2014-04-11 01:13:46 +00:00
Baligh Uddin 4b4c835bd9 am 6a641a56: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly
* commit '6a641a569987f5edd725cb2dea6a992751cfbfbe':
  Import translations. DO NOT MERGE
2014-04-10 15:58:27 +00:00
Baligh Uddin 6a641a5699 Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly 2014-04-10 15:54:06 +00:00
Baligh Uddin 8790927424 Merge "Import translations. DO NOT MERGE" into ub-now-nova 2014-04-10 15:54:03 +00:00
Baligh Uddin bd45770b8a Import translations. DO NOT MERGE
Change-Id: Ib7afd2524a24e257197b9e93c98edb93eea64b1a
Auto-generated-cl: translation import
2014-04-09 13:28:04 -07:00
Baligh Uddin a7b99b59c2 Import translations. DO NOT MERGE
Change-Id: I79cba96f30222edc7c238c69ba39c42e5796dc94
Auto-generated-cl: translation import
2014-04-09 13:27:43 -07:00
Adam Cohen 134cb7daca am f6a47bbc: Merge "Ensure the intro view is always the top view in the draglayer if it is present" into ub-now-mister-ugly
* commit 'f6a47bbc05b7797a85034760b001f0050bf439a8':
  Ensure the intro view is always the top view in the draglayer if it is present
2014-04-09 18:58:16 +00:00
Adam Cohen daeeb31ac0 am 646fdf70: Upping activity start delay
* commit '646fdf70b45f330a02104106a65ab7a529e70c6e':
  Upping activity start delay
2014-04-09 18:58:16 +00:00
Adam Cohen f6a47bbc05 Merge "Ensure the intro view is always the top view in the draglayer if it is present" into ub-now-mister-ugly 2014-04-09 17:37:26 +00:00
Adam Cohen 646fdf70b4 Upping activity start delay
Change-Id: I4b72ae9d719825e1be8f1feb3643f9311dde2534
2014-04-08 17:02:08 -07:00
Adam Cohen b670f195ff Ensure the intro view is always the top view in the draglayer if it is present
-> On devices post-api-16, we can achieve this just with child drawing order
   but on level 16 devices, child drawing order doesn't give us touch
   dispatch which is problematic for the intro screen.

issue 13796017

Change-Id: Ibf89ae91d8489f2de1eb9c8f235a0e6e6aed1847
2014-04-08 16:56:09 -07:00
Baligh Uddin ea2c0d4c14 am 37b49b18: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly
* commit '37b49b18730b39677d068827377228616297116a':
  Import translations. DO NOT MERGE
2014-04-08 02:24:43 +00:00
Baligh Uddin 37b49b1873 Merge "Import translations. DO NOT MERGE" into ub-now-mister-ugly 2014-04-08 02:20:30 +00:00
Baligh Uddin 56f1499154 Merge "Import translations. DO NOT MERGE" into ub-now-nova 2014-04-08 02:20:28 +00:00
Adam Cohen 38e7a6af26 am c4cf34de: Merge "Fix pre sdk-18 compatibility (crash in dispatchDraw)" into ub-now-mister-ugly
* commit 'c4cf34dedb5fc21fce30924105729fa3dad6aa90':
  Fix pre sdk-18 compatibility (crash in dispatchDraw)
2014-04-07 22:36:09 +00:00
Adam Cohen c4cf34dedb Merge "Fix pre sdk-18 compatibility (crash in dispatchDraw)" into ub-now-mister-ugly 2014-04-07 22:32:58 +00:00