Commit Graph

7650 Commits

Author SHA1 Message Date
Adam Cohen 9c58d8269b Fix issue where deleting item from folder leaves extra page
Change-Id: Ie741dbe5341d8237c85f732b26661d084b99f6e2
2013-12-13 17:18:25 -08: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
Adam Cohen 4de0974c46 Fix NPE from feedback (issue 12106858)
Change-Id: I63f7f73b85d4c1652d1e722f94c51b567a83cc6b
2013-12-12 16:16:55 -08:00
Adam Cohen ae4409dea9 Don't load items which exceed the grid bounds
-> Unified location where this is managed (with other placement verification)
-> For now, not deleting out of bounds items, but can turn it on in one line

Change-Id: I5e1a5cd357d80475ae40af7b89a0cd372d5c241b
2013-12-11 17:46:39 -08:00
Adam Cohen fe69287b97 Fix new NPE relating to reorder hints
Change-Id: I80ff327ee549caef5802eb7194d48b1e8424ce47
2013-12-11 14:47:47 -08:00
Chris Wren 52a935a242 Merge "expose the protoutil for launcher as an executable script" into jb-ub-now-kermit 2013-12-11 20:04:39 +00:00
Michael Jurka 772bbcc764 Merge "Revert "Revert "Move wallpaper picker code to a separate directory""" into jb-ub-now-kermit 2013-12-11 15:18:19 +00:00
Dan Sandler a40916d534 Merge "Size hotseat data structure appropriately." into jb-ub-now-kermit 2013-12-11 15:03:02 +00:00
Michael Jurka 96749c1321 Revert "Revert "Move wallpaper picker code to a separate directory""
This reverts commit 39de459a86.
2013-12-11 15:41:28 +01:00
Adam Cohen 1f60653abc Merge "Adding reorder hinting, hopefully will help with (issue 10654628)" into jb-ub-now-kermit 2013-12-11 00:33:14 +00:00
Michael Jurka 8824eadc96 Merge "Revert "Move wallpaper picker code to a separate directory"" into jb-ub-now-kermit 2013-12-10 22:48:25 +00:00
Michael Jurka 39de459a86 Revert "Move wallpaper picker code to a separate directory"
This reverts commit 8e88cb8478.
2013-12-10 23:47:28 +01:00
Derek Prothro fa071f936a Merge "Bind the workspace synchronously if started on -1 screen." into jb-ub-now-kermit 2013-12-10 22:46:07 +00:00
Chris Wren ba2923a391 expose the protoutil for launcher as an executable script
Change-Id: Ie990262534d85b118c165589ecee55d64f3a58cc
2013-12-10 17:41:18 -05:00
Dan Sandler 295ae18d0f Size hotseat data structure appropriately.
Bug: 12070213
Change-Id: I4df2f4bcc71bb4077c62cae91ed844ea8c43d421
2013-12-10 16:10:53 -05:00
Derek Prothro 7aff399974 Bind the workspace synchronously if started on -1 screen.
Previously, LoaderTask would be run asynchronously to bind
the workspace when started on -1 which would cause the user's
wallpaper to briefly flash when rotating the device on -1.

Bug: 11802691
Change-Id: I3a1a7a32fa28a81e041a283a93d808d5a8884133
2013-12-10 15:05:41 -05:00
Michael Jurka 8e88cb8478 Move wallpaper picker code to a separate directory
Change-Id: Id79d11ed08085c4fe356739498a8b77952e30392
2013-12-10 18:28:50 +01: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
Winson Chung 33231f587e Fixing crash in empty folders. (Bug 11627191)
Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52

Signed-off-by: Winson Chung <winsonc@google.com>
2013-12-09 17:24:48 -08:00
Winson Chung fe2fb82657 am d65fb393: Merge "Revert "Fixing crash in empty folders. (Bug 11627191)"" into jb-ub-now-jolly-elf
* commit 'd65fb393595cb093936c7d5d0d54b0511430aa9d':
  Revert "Fixing crash in empty folders. (Bug 11627191)"
2013-12-09 17:19:02 -08:00
Winson Chung d65fb39359 Merge "Revert "Fixing crash in empty folders. (Bug 11627191)"" into jb-ub-now-jolly-elf 2013-12-10 01:17:46 +00:00
Winson Chung 72b520c956 Revert "Fixing crash in empty folders. (Bug 11627191)"
This reverts commit 68b667848e.

Change-Id: I51da495d6f8ef98b268c23cce02cce5ef1c7ea00
2013-12-10 01:17:03 +00:00
Winson Chung cace67f7dd am 6de1ba33: Merge "Fixing crash in empty folders. (Bug 11627191)" into jb-ub-now-jolly-elf
* commit '6de1ba3377dd407e83f682edf9ae742416302772':
  Fixing crash in empty folders. (Bug 11627191)
2013-12-09 17:15:54 -08:00
Winson Chung 6de1ba3377 Merge "Fixing crash in empty folders. (Bug 11627191)" into jb-ub-now-jolly-elf 2013-12-10 01:14:30 +00:00
Winson Chung 68b667848e Fixing crash in empty folders. (Bug 11627191)
Change-Id: I7a0e23e16a7546a9612d3406257e15be758d4c52
2013-12-09 16:57:45 -08:00
Nilesh Agrawal da41ea6698 Allow 5 hotseat icons in DISABLE_ALL_APPS mode.
Added the xml resource in Launcher3 package as well.
This is a dummy resource with just hotseat icons.
Previously reviewed on: http://ag/396580

Change-Id: I31b0d7d4796d028f44f746260c381f2d8226605a
2013-12-09 14:37:59 -08:00
Nilesh Agrawal 93b6ee6dfa Merge "Revert "Allow 5 hotseat icons in DISABLE_ALL_APPS mode."" into jb-ub-now-kermit 2013-12-09 20:40:05 +00:00
Nilesh Agrawal d85ee9b994 Revert "Allow 5 hotseat icons in DISABLE_ALL_APPS mode."
This reverts commit f4ed1be4ef.

This broke the build: 
packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java:292: cannot find symbol
symbol  : variable default_workspace_no_all_apps
location: class com.android.launcher3.R.xml
            return R.xml.default_workspace_no_all_apps;

Change-Id: I40e80494f06f08de3d827c6816075ac4d269ea6a
2013-12-09 20:39:28 +00:00
Nilesh Agrawal 23c165a990 Merge "Allow 5 hotseat icons in DISABLE_ALL_APPS mode." into jb-ub-now-kermit 2013-12-09 20:18:57 +00:00
Chris Wren 06a0ac2fea Merge "backup launcher preferences" into jb-ub-now-kermit 2013-12-09 18:52:36 +00:00
Nilesh Agrawal f4ed1be4ef Allow 5 hotseat icons in DISABLE_ALL_APPS mode.
Change-Id: I71510cf079e211bd53e411e6e43f1bc6475f6d35
2013-12-06 17:58:56 -08:00
Adam Cohen 5d518fa77c Decrease delay for closing folder on removal of an item (issue 11028310)
Change-Id: Ie5c094af8b0293e56bf016be5b4f4db05e7a9a05
2013-12-05 14:17:37 -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
Winson Chung 58705534ab am a67d1ea0: Merge "Fixing regression in drop target bar height. (Bug 11980757)" into jb-ub-now-jolly-elf
* commit 'a67d1ea0db5f536ca4a954a5f958211ec6c99992':
  Fixing regression in drop target bar height. (Bug 11980757)
2013-12-04 16:35:48 -08:00
Winson Chung a67d1ea0db Merge "Fixing regression in drop target bar height. (Bug 11980757)" into jb-ub-now-jolly-elf 2013-12-05 00:33:30 +00:00
Adam Cohen f9cd258be2 am 59b5c79b: Fix page jumping regression in overview mode (issue 12003672)
* commit '59b5c79b6ff2de83209cf1425b8924d541e97266':
  Fix page jumping regression in overview mode (issue 12003672)
2013-12-04 16:19:40 -08:00
Winson Chung c39c3c4763 Fixing regression in drop target bar height. (Bug 11980757)
Change-Id: I67ccc575b5c15a47ab7f41ceebfc86d9a212ddf3
2013-12-04 16:18:55 -08:00
Adam Cohen 59b5c79b6f Fix page jumping regression in overview mode (issue 12003672)
Change-Id: I4315d4e97c8df4db25e2d70be759b94a0348d644
2013-12-04 16:12:19 -08:00
Winson Chung 0ea74f1394 Merge "Limit AllApps insets to certain device configurations. (Bug 11451335)" into jb-ub-now-kermit 2013-12-04 21:43:07 +00:00
Winson Chung 17bde09a9e Merge "Retain current AllApps page if we never leave Launcher. (Bug 11468582)" into jb-ub-now-kermit 2013-12-04 21:42:55 +00:00
Winson Chung 495f44d5fc Limit AllApps insets to certain device configurations. (Bug 11451335)
Change-Id: I0b7172bb8c2e8cfb06ef4ff097bdc632d6be0548
2013-12-04 20:52:39 +00:00
Winson Chung e7e97e6552 Retain current AllApps page if we never leave Launcher. (Bug 11468582)
Change-Id: Id18b14f6fbb2598a8c1f4c714f79d1a4332a7868
2013-12-04 20:11:09 +00:00
Winson Chung 42b3c06849 Restoring Hotseat to the left-aligned in RTL. (Bug 11451335)
Change-Id: I5451b1281e3f346f51677040775ae7bf76e303d1
2013-12-04 20:10:56 +00:00
Chris Wren 45297f851a backup launcher preferences
Bug: 11267816
Change-Id: I12a32477164fe2205bc8cb02e0a23c561a7f9189
2013-12-03 23:46:13 -05: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
Dan Sandler b4ee579272 am b3084e87: Merge "Revert "Revert "Enable Launcher2 workspace import.""" into jb-ub-now-jolly-elf
* commit 'b3084e87fcf7b617899b3c858d5372d079e0fe36':
  Revert "Revert "Enable Launcher2 workspace import.""
2013-12-03 16:44: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
Adam Cohen 87f445c8b2 am c924cacf: Merge "Only import workspaces for non-tablets (where grid hasn\'t changed)" into jb-ub-now-jolly-elf
* commit 'c924cacfab4144eefdf8e46dfc82d79cb15e9c96':
  Only import workspaces for non-tablets (where grid hasn't changed)
2013-12-03 07:07:33 -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