Commit Graph

612 Commits

Author SHA1 Message Date
Adam Cohen aaa5c21ee2 Fix to ensure default widgets get size callbacks (issue 7287744)
Change-Id: I46b329db247a0b450493530ab619576c45418b01
2012-10-05 18:14:31 -07:00
Michael Jurka 37990b4b4f Fix # 6925851: Workspace page spacing gets messed up
Change-Id: I694fa1e04049e35a415b1f1a85759e501fec6258
2012-09-25 15:14:30 -07:00
Adam Cohen 9e05a5ea95 Making launcher use new widget binding APIs
Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
2012-09-19 15:22:23 -07:00
Michael Jurka 82422503fd Fixing some warnings
Change-Id: I28ff3b62b831bd49e3592c1b86ba978208324c11
2012-09-17 18:10:30 -07:00
Winson Chung 8a4351063f Fixing issue where we were not removing items from LauncherModel and only the add-queue. (Bug 7078244)
Change-Id: I5660b447521646f820fb2497f327e965d99ac207
2012-08-30 17:18:59 -07:00
Adam Cohen 307fe23f12 Adding the ability to scale the hotseat or items in the hotseat
--> A bunch of stuff breaks when scaling the hotseat. More specifically,
    drag and drop animations between hotseat and workspace,
    scaling on pick up, folder animations, determination of
    item placement. This CL fixes these issues so that the
    hotseat or hotseat items are ready to be scaled.
--> For now, using 90% scale factor for 7-inch+ UIs

Change-Id: Iac098409347e76139e4d726a071397b56ac684d2
2012-08-20 21:49:43 -07:00
Ed Heyl 90abcc9425 resolved conflicts w/0ede734d0780a968c9c345f99a18f9f8b9fc02cd
Change-Id: I50900698a590e8d84a6cbcc560f95209d3a6d110
2012-07-25 14:52:36 -07:00
Adam Cohen 1462de39f0 Ensuring that restoreInstanceState is being called promptly for synchronously bound page
Change-Id: I0e71c29f553ad360ec42a6a0b2529d16cbddd437
2012-07-24 22:34:36 -07:00
Adam Cohen d7d37b134b DO NOT MERGE Adding sycnhronous loading of current page to support seamless rotation. (Bug 6792288)
Change-Id: I341160e8a604cde63443e331f762cebc1ed5ec0c
2012-07-18 18:40:11 -07:00
Winson Chung b8b2a5aa45 Initial changes to synchronously load workspace on rotation.
Change-Id: Ia7cf80177fd0aee88aa3f4a731f5d6dc904bea16
2012-07-17 18:44:42 -07:00
Adam Cohen bb00ff2666 Fix inconsistency when dropping to hotseat
Change-Id: I0c186f930713bf195b3966ba5cfeac78220370bd
2012-07-12 15:43:01 -07:00
Winson Chung e52a750e4f Fixing issue where the scrolling indicator was stuck while panning pages in spring loaded mode. (Bug 6603301)
Change-Id: I329a20e932ab6c4450a60a24c8ab7c0e090fe64d
2012-07-09 17:30:32 -07:00
Adam Cohen 487f7dd305 Trying to track down corrupt database / items disappearing
-> Adding logs for all database transactions
-> Adding sanity checks for items in folders, throwing exceptions
   if they are violated
-> Reducing database upates when re-arranging items, only
   update if values have changed
-> Removed some dead code from ItemInfo (isGesture?)

Change-Id: Ia5cd57d92082f633dbf4aa5d64612cbae2d82bb4
2012-07-09 14:49:19 -07:00
Michael Jurka d51f33a631 Only enable hardware layers on visible workspace pages
Change-Id: Id82fc76d00a188556460d1a78388d46be56c9c4e
2012-06-28 17:32:24 -07:00
Winson Chung 42490a5aa0 Removing unnecessary check of shortcut infos (now that we key removals off package names already). (Bug 6755420)
Change-Id: I13f088503e58eb021a585493e1c55eeccdffea86
2012-06-28 12:18:20 -07:00
Michael Jurka 8bd65f5c57 Fix build
Change-Id: I34b052159a393842bad707921205ea2778c1cbfe
2012-06-25 14:56:22 -07:00
Winson Chung b187a56b8c am bcff7eda: am 9dc25f06: Merge "Fixing concurrent modification exception when iterating through new apps list. (Bug 6621553)" into jb-dev
* commit 'bcff7eda3731b7af254a1d5182766683ea1d46e3':
  Fixing concurrent modification exception when iterating through new apps list. (Bug 6621553)
2012-06-25 14:48:43 -07:00
Winson Chung 3df7dcf513 Fixing concurrent modification exception when iterating through new apps list. (Bug 6621553)
Change-Id: Idf4fae51c65e0e53520740dd0b2050eeac00b251
2012-06-25 14:23:29 -07:00
Michael Jurka b1daa48fc8 Remove unneeded imports
Change-Id: I96e125c5ddbde7df10847e9514b947c80292ea40
2012-06-25 13:06:43 -07:00
Michael Jurka 8c3339bde9 Compile Launcher against only public apis (level 16)
Also, removing use of TableMaskFilter (last remaining private api)

Change-Id: I2df80605b240352fdf7ef2ebd26b98342149bda3
2012-06-22 11:45:02 -07:00
Winson Chung acb5f99c64 Merge "Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)" 2012-06-21 14:29:52 -07:00
Michael Jurka b21f7cf20e Merge "Use getCurrentSizeRange to determine cell dimensions" 2012-06-21 14:27:18 -07:00
Michael Jurka 9470783614 Merge "Remove use of private api ViewGroup.setChildrenLayersEnabled" 2012-06-21 14:13:03 -07:00
Michael Jurka 3a0469d1e4 Remove use of private api ViewGroup.setChildrenLayersEnabled
Change-Id: I877bd84c6846ae232e2877e97de95d9344c13e56
2012-06-21 14:08:38 -07:00
Winson Chung cd81073eac Decoupling launcher/workspace package cleanup from the application list (Bug 6602756)
- Fixes issues where shortcuts created by wallpaper/widget-only apps are uninstalled.

Change-Id: I94c9d1d71fc34aa2fb7f0660534e616a82ac6f36
2012-06-21 10:50:51 -07:00
Michael Jurka 8bc66c7fe4 Use getCurrentSizeRange to determine cell dimensions
Change-Id: I7b50ad85594585a3c18838776652c3d873dbd82d
2012-06-21 09:40:20 -07:00
Michael Jurka 9f5331c8d1 Remove use of private Display apis
Change-Id: I560a730af20f3068e7904eb9c8bfb29fa5d2c22f
2012-06-21 08:07:40 -07:00
Michael Jurka 2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Winson Chung cc1cfe4b0c Fixing issue where dropping items onto side pages might drop them two pages away. (Bug 6433177)
Change-Id: I7fa745c269e63d699671cdaf0b527f2675ce3081
2012-06-18 15:09:39 -07:00
Michael Jurka 9bc8eba333 Clean up warnings and some private API usage
Change-Id: Ic3c0b333942bc3de130e41531017e71358bd5bfb
2012-06-12 10:52:57 -07:00
Adam Cohen 94309887fe Improving overscroll paramaters for 7-inch devices
Change-Id: Iba805137fca121bab7675eac22236af9642c27bb
2012-06-08 16:27:57 -07:00
Winson Chung 478244409e Merge "Synchronizing on the new-apps list before modifying it. (Bug 6621553)" into jb-dev 2012-06-06 16:17:04 -07:00
Winson Chung bfeac0681b Synchronizing on the new-apps list before modifying it. (Bug 6621553)
- Minor tweak to qsb padding
- Adding yet more logging for single-app-page issue

Change-Id: I4272dd7a70c9ac26f026b03a1f991f14844fdb9d
2012-06-06 15:57:27 -07:00
Adam Cohen 3d50932a93 Fixing ConcurrentModificationException (issue 6619380)
Change-Id: I49d293a79a463d129e829f823d6b213f3d5ffcf4
2012-06-06 15:00:45 -07:00
Adam Cohen 7afa902b6c Fix issue where item gets added to folder when displacing folder (issue 6576460)
Change-Id: I6999d97a7aa35d2aa348ca350f89765abb674089
2012-05-29 17:00:44 -07:00
Michael Jurka 4c69ebb108 Merge "Don't scale shortcut icons during install animation" into jb-dev 2012-05-29 12:26:04 -07:00
Michael Jurka a2fe78630a Don't scale shortcut icons during install animation
Bug: 6540432
Change-Id: I5760b1a66d3871702fea1cb51e5ba31d812a8158
2012-05-29 05:58:17 -07:00
Adam Cohen 68f681bc7a Adding debugging for stuck widget (issue 6557954)
Change-Id: I73217d6a5dd650278f93ae02672c92c823e08ded
2012-05-28 15:39:23 -07:00
Adam Cohen d024f9845a Cleaning up some reordering issues:
-> Reorder solution should never change unless target cell changes
-> Simplified code and improved the behaviour when items' jiggle
   animations switch from one direction to another. These transitions
   are now seamless and have no more strange delays.

Change-Id: I35d70f275d622501851328584bfcb46eec91ff3b
2012-05-23 18:57:49 -07:00
Adam Cohen 7bdfc9700b Fix a couple small bugs (issue 6539339)
-> Adjusting the character of the 'shake' animation to keep
   a single phase, and instead stagger the animations slightly
-> Fixing issue where widget is not given the size change callback
   if the widget is resized on drop

Change-Id: I9cd9e6cd39009d9e5c70e745812b6ece71b845ee
2012-05-22 16:53:10 -07:00
Adam Cohen 3aff81c759 Tweak folder creation threshold (issue 6443778)
Change-Id: I7bd4ec5da5181032d2e0891a0ac8fca35454efa4
2012-05-16 21:01:37 -07:00
Svetoslav Ganov 08055f6652 Adding accessibility scroll support to PagedView.
1. Added support for accessibility scroll action to
   PagedView.

2. Exposed AppsCustomizePagedView and Workspace for
   acessibility if otherwise specified.

bug:5932640

Change-Id: I812e7c285cbc4d925390b9fae48a18acc68432ce
2012-05-15 13:51:43 -07:00
Winson Chung 83d3b12ba6 Merge "Making the page spacing fixed in spring loaded mode. (Bug 6478409)" into jb-dev 2012-05-14 17:17:25 -07:00
Michael Jurka 920d7f433e Preventing drawing pages in Workspace if possible
Bug: 6427601

Change-Id: I259554557a5856aa17a532c656032c4d6d5826bd
2012-05-14 16:42:51 -07:00
Winson Chung 8aad610dc5 Making the page spacing fixed in spring loaded mode. (Bug 6478409)
Change-Id: I3577a1beecacb82528f0fde9439a8366a709b29c
2012-05-14 15:25:23 -07:00
Adam Cohen f1dcdf6113 Fixing widget overlapping another widget (issue 6475997)
Change-Id: Ic78afc0ef5a2eab2278feb080f6b81d4b2baaed2
2012-05-10 16:52:25 -07:00
Adam Cohen 9d5b7d81ae Fix launcher crash when adding widget (issue 6433360)
Change-Id: I0deaef6f4ba9252b76aeb5f2afa8564479557f8c
2012-05-10 10:25:58 -07:00
Michael Jurka a3d30adbfd Don't show the outline on the current page
- only on sw720dp+ devices

Change-Id: I7253bedbf6dd61c766fe7e9ad861d3a917d37fed
2012-05-08 13:54:21 -07:00
Michael Jurka cb5adfe1ef Merge "DO NOT MERGE Add content descriptions for workspace cells." into jb-dev 2012-05-07 17:34:44 -07:00
alanv 51944f1ba4 DO NOT MERGE Add content descriptions for workspace cells.
Bug: 6441414
Change-Id: Iba57fb25c4c7e57a04b45ca60923edd9158228aa
2012-05-07 17:31:58 -07:00