1026 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
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
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
Winson Chung
babb53ef8f Adding external path for drag/drops.
Change-Id: I3b315c4d14cadb9210f15d3c3e0b9545f4591be4
2014-04-14 18:44:21 -07:00
Adam Cohen
dcb173d0e3 Make sure the workspace screens don't get updated while workspace is loading
-> Found another path that could lead to the same issue
   [add shortcut with config activity to an existing folder,
   when config activity launches, kill launcher, configure
   shortcut. observe crash and data loss].
-> Plugged up above, and a couple other potential holes
-> Initial fix probably took care of the main issue

Issue 12523285

Change-Id: I29db9da4af4a8bf22047eb46bd49354447d04b8d
2014-04-01 14:31:51 -07:00
Anjali Koppal
62d18edcc7 Add Launcher.onDragStarted
Change-Id: Iac59685211905580460d0a0a16d9c7f00c61fac9
2014-03-17 15:06:41 -07:00
Chris Wren
aeff7ea434 update promise icon status
also fix a crash in LauncherModel.DEBUG_LOADERS

Bug: 10778992
Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
2014-03-11 13:41:05 -04:00
Selim Cinek
3a8a8f7c23 Disable wallpaper in -1 space in GEL and hack around window animations
Bug: 12978354

Change-Id: I8b5602ae434a9151b40d41defb891db1ad78ce81
2014-03-07 14:30:36 +01:00
Winson Chung
c6c0367111 Disabling cling when the user moves the folder before launching it. (Bug 12963868)
Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
2014-03-06 10:33:41 -08:00
Adam Cohen
65e43032c8 Fix build
Change-Id: I17944c557970ed35e1bc67f6f3e3372ff88651ad
2014-03-03 11:37:27 -08:00
Adam Cohen
517a7f5fd0 Avoid stripping empty screens if the workspace is still loading (issue 12523285)
-> This appears to be what may be causing data loss in some users during update.
   A certain (seemingly) rare combination of life-cycle events and package events
   seems to be the culprit (potentially why it's seen at update time).

Change-Id: Iea4f8aef012ba80b7ba568e0df264edb9284efbe
2014-03-01 12:17:44 -08:00
Adam Cohen
ec0d61d79e Fix NPE in when dropping from all apps (issue 12917451)
When dropping from all apps, accept drop was returning true if the item
was above a folder, however, when it came time to complete the drop,
the folder wouldn't accept the item. This can be prevented by increasing
the criteria in acceptDrop.

Change-Id: Ib644ec45984e8366c33bb674f3d3a76e22ed5160
2014-02-07 16:34:51 -08:00
Chris Wren
b6d4c2827a update placeholder on package install or restore
Bug: 10778992
Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
2014-02-06 15:05:16 -05:00
Derek Prothro
93b92d0895 Merge "Fix black flash during rotation of -1 screen with GEL." into ub-now-lunchbox 2014-01-30 22:03:55 +00:00
Derek Prothro
dadd984a89 Fix black flash during rotation of -1 screen with GEL.
We need to make sure the custom content is adding synchronously
while the rest of the workspace is being created. If we wait
for it to be added in a separate run task, we see a black
flash during rotation.
Also rename a few methods and remove obsolete methods.

Bug: 11802691
Change-Id: I3f6500aa1fabe68cef59ad8c764877f954986a99
2014-01-30 15:55:48 -05:00
Michael Jurka
2a4f4928a9 Fix bug: Scroll position reported incorrectly to live wallpapers
Bug: 11189265

Change-Id: I410f318df4e43ed13d33889a8158a03438a6174f
2014-01-30 14:21:09 +01:00
Jorim Jaggi
00c3184fa6 Merge "Fix NPE in Workspace.onDropCompleted" into jb-ub-now-kermit 2014-01-14 23:01:48 +00:00
Jorim Jaggi
eedb00a674 Fix NPE in Workspace.onDropCompleted
Bug: 11627757
Change-Id: I9dc86856d4bc00253d6350d157be541a8c46888d
2014-01-14 13:02:43 -08:00
Winson Chung
a694524047 Adding migration Clings. (Bug 11973614)
- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
2014-01-10 22:28:16 +00:00
Adam Cohen
309260ee59 Merge "Don't notifyPageSwitchListener until page settles (issue 12069757)" into jb-ub-now-kermit 2013-12-13 23:59:53 +00:00
Adam Cohen
674531f261 Don't notifyPageSwitchListener until page settles (issue 12069757)
-> Should address the dismiss timer not working quite right

Change-Id: I63ad32d8f7c37f1a090ff1dd6024eeb7c0c6ce65
2013-12-13 15:59:01 -08:00
Michael Jurka
7ad868b86e Create separate project for Wallpaper Picker
Change-Id: Id9e855780b9fb68c63eb6e9f6c19bcbce28a6fd5
2013-12-13 12:50:32 +01:00
Adam Cohen
69a10949d6 Merge "Fix NPE from feedback (issue 12106858)" into jb-ub-now-kermit 2013-12-13 00:24:06 +00:00
Adam Cohen
4de0974c46 Fix NPE from feedback (issue 12106858)
Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
2013-12-12 16:16:55 -08:00
Winson Chung
b6147f8578 Merge "Adjusting grid for tablets and fixing incorrect resources for large tablets." into jb-ub-now-kermit 2013-12-12 00:35:47 +00:00
Winson Chung
1239b9da89 Merge "Fixing issue with Widget sizes being icorrectly reported." into jb-ub-now-kermit 2013-12-11 23:52:07 +00:00
Winson Chung
dcd27ba909 Fixing issue with Widget sizes being icorrectly reported.
Change-Id: I8474514cc3722d8450c707b7fd1ccea2ea344a59
2013-12-11 15:28:15 -08:00
Winson Chung
59a488ac03 Adjusting grid for tablets and fixing incorrect resources for large tablets.
Change-Id: I4c2a058da934bef14f5be3c53ebda940aeb990ca
2013-12-10 17:52:40 -08:00
Adam Cohen
fa3c58f647 Adding reorder hinting, hopefully will help with (issue 10654628)
-> Adds instant feedback that reorder _will_ happen, so hopefully will
   improve perceived disambiguation

Change-Id: Icd99e7beeb87e79627a6b9fc78a9132781410379
2013-12-09 18:04:57 -08:00
Michael Jurka
566bdc3759 Merge "Update suggested wallpaper dimensions in onResume" into jb-ub-now-kermit 2013-12-05 13:45:00 +00:00
Adam Cohen
531a5c324e am b0ee0810: Add guards for restoreInstanceState (issue 11982812)
* commit 'b0ee08109ec89959d9bbd526c6e5f7ab96c8c3ea':
  Add guards for restoreInstanceState (issue 11982812)
2013-12-03 17:59:52 -08:00
Michael Jurka
a6a0547fa6 Update suggested wallpaper dimensions in onResume
If another launcher runs in between, it might
change the suggested dimensions. This fixes that
case.

Bug: 11667475
2013-12-03 15:33:12 -08:00
Adam Cohen
b0ee08109e Add guards for restoreInstanceState (issue 11982812)
Change-Id: Ic4c632a956130ab28843085490dc1badb39b0e8c
2013-12-03 10:52:21 -08:00
Michael Jurka
16fa074d82 am 1c00fd0b: Fix NPE when going to All Apps in landscape
* commit '1c00fd0b045179c9e6cc2dfc344cddc1a8d5b383':
  Fix NPE when going to All Apps in landscape
2013-12-03 07:07:33 -08:00
Michael Jurka
1c00fd0b04 Fix NPE when going to All Apps in landscape 2013-12-02 16:12:31 -08:00
Adam Cohen
6229a0d564 am 6400b84d: Update custom content insets when Workspace insets are set
* commit '6400b84d5594d7b9244e3b118f107033eb8b87a0':
  Update custom content insets when Workspace insets are set
2013-11-28 02:37:44 -08:00
Mathew Inwood
1eeb3fc9d8 Generalize support for 'App Info', 'Uninstall' and 'Delete'
This allows other DragSource's to allow this behaviour, instead of it being
tied to specific source types.

Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
2013-11-28 10:17:07 +00:00
Adam Cohen
6400b84d55 Update custom content insets when Workspace insets are set
-> Not sure if custom content can be added before insets are set,
   so this is just a speculative fix.

Bug: 11875171
Change-Id: Ia8e07f51f527f464262b7ff99e4db245fe5a7906
2013-11-26 15:46:47 -08:00
Adam Cohen
166ebd4da5 De-parent custom content view before adding to custom content screen
Bug: 11666352
Change-Id: Ief35e6e8a16ec0217e0dd27434723ee7a7d5beef
2013-11-26 14:56:18 -08:00
Michael Jurka
04a231bbe4 Merge "Making workspace->overview transition smoother" into jb-ub-now-jolly-elf 2013-11-26 13:35:40 +00:00
Adam Cohen
cccfe95beb Merge "Allowing ability to pick up items / enter overview before full page settle" into jb-ub-now-jolly-elf 2013-11-25 18:46:23 +00:00
Michael Jurka
853f5a46eb Making workspace->overview transition smoother
- Also set interpolator on page indicators
2013-11-25 16:02:09 +01:00
Winson Chung
f0716b7a74 Update the database when converting the final screen. (Bug 11683562, Bug 11034205) 2013-11-18 16:09:54 -08:00
Winson Chung
540efef758 Merge changes Ida9603e3,I3dfa45cc into jb-ub-now-jolly-elf
* changes:
  Initialize FastBitmapDrawable bounds with default bitmap dimensions.
  Updating LauncherModel filtering to use screen ids. (Bug 11685286)
2013-11-18 22:12:11 +00:00
Adam Cohen
a765215280 Allowing ability to pick up items / enter overview before full page settle
-> Fixes issue 11701996
-> Fixes issue where if you tried to longpress a widget before the page
   settled, it would instead enter overview

Change-Id: Ic6321805687dd5e8c69506c6cd6941a11d557ed6
2013-11-18 20:08:11 +00:00
Adam Cohen
f9618856d6 Syncing up state transition with paging transition
Change-Id: Id91e4c046cfe7d9aa6e7de10dbf57ee727ba160e
2013-11-18 15:21:29 +00:00
Winson Chung
9b9fb967b2 Updating LauncherModel filtering to use screen ids. (Bug 11685286)
- Fixes the issue with the current page not synchronously binding

Change-Id: I3dfa45cc1777f846c77f3e86059dfb715553e1a3
2013-11-15 15:46:27 -08:00
Winson Chung
28b690ab8e Merge "Adding logs to track down missing workspace screen. (Bug 11683562)" into jb-ub-now-jolly-elf 2013-11-15 21:11:22 +00:00
Winson Chung
a90303bb6f Adding logs to track down missing workspace screen. (Bug 11683562)
Change-Id: I12ef3331ab81004c75229d33afa0a8dd0fa8521c
2013-11-15 13:10:03 -08:00
Adam Cohen
3a14eeb54e Bit of code cleanup (issue 11648206)
Change-Id: I2d04bbbdb037de089a16da236dadc4f5950504da
2013-11-15 17:03:49 +00:00