Commit Graph

10334 Commits

Author SHA1 Message Date
Adam Cohen c6cc61d458 Cleanup and refactoring in relation to drag and drop
-> folder creation, adding to folders, reordering, switching pages
-> ensuring parity of dragEnter and dragExit in cell layouts and workspace
   (neither were consistently getting an even number of each)
-> actually enforced above with exceptions -- probably want to
   take these out, but maybe we can leave them in as warnings
-> fixed bug with mapping points to hotseat
-> fixes other bugs with drag and drop

Change-Id: I564568f810f2784d122ec6135012b67c2e8e7551
2012-04-09 11:41:59 -07:00
Adam Cohen 1f36270212 Some changes which are effectively no-op right now, but will be useful
for testing widget size reporting APIs

Change-Id: I7a47afcd25e45b7f3914ece6796b006153900054
2012-04-04 15:02:26 -07:00
Winson Chung f75547babb Merge "Changing order of binding to prevent errant flashing while loading workspace." 2012-04-04 10:03:39 -07:00
Winson Chung 3cbb169bcf Fixing strict mode warning when installing an app in the bg.
Change-Id: I3cb13f4302245f055ef0b16823690c80b4d3ee3a
2012-04-03 14:23:48 -07:00
Winson Chung db8a8944ed Changing order of binding to prevent errant flashing while loading workspace.
Change-Id: I75eb39600d1cd28980fd0365affb2c6e5f7162c1
2012-04-03 14:09:13 -07:00
Michael Jurka b06d95fc79 Fix bug where overscroll never fully snapped back
Bug: 6085652
Bug: 6065523

Change-Id: Iaac5705e00e08882beba0cad7ee0d339de31444a
2012-04-03 04:23:05 -07:00
Michael Jurka e49eafc229 Merge "Show side pages when exiting spring-loaded mode" 2012-04-03 01:13:52 -07:00
Michael Jurka 66b506113e Merge "Fix issue where workspace was not shown after screen off/on" 2012-04-03 01:12:58 -07:00
Michael Jurka 66d4db20d2 Merge "Fix NPE" 2012-04-03 01:12:48 -07:00
Adam Cohen c0a5df9c65 Fix NPE when dragging Problem Loading Widget (issue 5899606)
Change-Id: I63656a2bb47a4af041f161e1f15095c89ab006b0
2012-04-02 16:53:26 -07:00
Winson Chung 3535bde122 Merge "Adding workaround for issue where icon labels on workspace were loaded differently than those in AllApps. (Bug 5250760)" 2012-04-02 11:45:26 -07:00
Michael Jurka 7bcadad93f Fix NPE
Bug: 6259450
Change-Id: Iea92f3832fcd3a88e7d13b2e55ba4faf83be93dd
2012-04-02 07:23:44 -07:00
Michael Jurka 27614d22a1 Fix issue where workspace was not shown after screen off/on
Bug: 6239609
Change-Id: I1dd3d0d4e4a37b06210e9aec5b4676157fb8b6ed
2012-04-02 06:44:47 -07:00
Michael Jurka 4ff7d79ddc Show side pages when exiting spring-loaded mode
Bug: 6132598
Change-Id: I2bf9025b7ac66d020522448b003905cb37c87587
2012-04-02 04:39:16 -07:00
Winson Chung 6e3cf9001e Using measured dimensions in case the tab flips quickly and the content hasn't shown yet. (Bug 6263403)
Change-Id: I84512dc8d661c4c714a531ba1b028081c1fa164d
2012-03-30 17:03:05 -07:00
Winson Chung c208ff9c5d Adding workaround for issue where icon labels on workspace were loaded differently than those in AllApps. (Bug 5250760)
Change-Id: I9b6fc848befa1bcda84e97ccc9787faf5bda7a5f
2012-03-30 11:01:01 -07:00
Michael Jurka 22aae37f03 Merge "Cancelling scroll indicator animation during All Apps transition" 2012-03-30 06:17:31 -07:00
Adam Cohen d346171a34 Fix issue where hotseat wasn't being correctly persisted (issue 6259158)
Change-Id: Ie19c0f8e79a91a1021a3576f48e1db7d0c3478e1
2012-03-29 17:25:17 -07:00
Adam Cohen ec11405583 Merge "Fixing launcher ANR (issue 6238175)" 2012-03-29 15:05:59 -07:00
Adam Cohen 5b53f29f80 Fixing launcher ANR (issue 6238175)
Change-Id: I6518ea9e6ce8b50a5f2a3b24e909e18c5b1bde51
2012-03-29 15:02:54 -07:00
Winson Chung bb5d3d4c2e Merge "Fixing issue where flinging-to-delete from a folder does not reflow/close the folder. (Bug 6240540)" 2012-03-29 11:13:27 -07:00
Winson Chung 1cd2f1130b Merge "Fixing issue where you can't hover over the right edge to snap to next page in landscape phone UI (Bug. 6240612)" 2012-03-29 11:13:23 -07:00
Adam Cohen 2acce88b5f Fixing crash when dropping item in hotseat (issue 6246039)
Change-Id: I50ad5439127adbb29423116bf0471a970f62e1bf
2012-03-28 19:31:59 -07:00
Winson Chung 10bfc6e929 Fixing issue where you can't hover over the right edge to snap to next page in landscape phone UI (Bug. 6240612)
Change-Id: I5fcde8c51eaf0a8944799d19f35d67ebe614297d
2012-03-28 15:41:55 -07:00
Winson Chung 232decb008 Fixing issue where flinging-to-delete from a folder does not reflow/close the folder. (Bug 6240540)
Change-Id: I0d442761048c05110b079916eea7c0dcfbaf9759
2012-03-28 15:09:58 -07:00
Adam Cohen b209e634a2 Fixing small bug where final item position might not match preview
Change-Id: I216bbf2b454f92cf02b2807f684054e4dce6a05d
2012-03-27 17:09:36 -07:00
Adam Cohen ea889a294b Fix non-persistence of launcher (broken by reordering changes)
Change-Id: I6fb9cb2257844e642df9b5599188b1cfce35df9b
2012-03-27 16:54:39 -07:00
Winson Chung 6a2a2899f7 Merge "Fixing issue where scrolling indicator was showing on the tablet. (Bug 6164741)" 2012-03-27 16:30:49 -07:00
Winson Chung 4f916f4b35 Adding extra logging to try and catch cases where Market button does not work.
Change-Id: I09fde1daf3afc1921ad1cc48358ee6c55df4ab7a
2012-03-27 16:22:57 -07:00
Winson Chung 4884647ab2 Fixing issue where scrolling indicator was showing on the tablet. (Bug 6164741)
Change-Id: Ie62deaa74920496f0152c596e87cc6e9809de47a
2012-03-27 15:38:37 -07:00
Adam Cohen 7fbec10b36 Fixing EmptyStackException (issue 6117943)
Change-Id: If5816c654dc1e4d5de1e72804e4cf1e845336a96
2012-03-27 12:42:19 -07:00
Adam Cohen 19f3792523 Implementing spring-back version of reordering
-> If you hover above occupied cells, we try to find a new location
   for the items. The items only remain in the temporary position
   while the drag ivew is over their original position after which
   they animate back.
-> Items in the temporary positions animate in such a way so indicate
   that they are in a temporary state, and in such a way so as to hint
   at where they will return to.

Change-Id: I7537c65228c505afbd2f1c22938cfd9d7719839a
2012-03-26 18:40:56 -07:00
Michael Jurka 031d3d8838 Merge "Fixing potential crash when trying to create 0x0 bitmaps" 2012-03-26 10:59:13 -07:00
Michael Jurka c7e52f55d6 Fixing potential crash when trying to create 0x0 bitmaps
Bug: 5926437
Change-Id: Id1284584104b1c4933525ea5e8744338718e4986
2012-03-26 10:58:16 -07:00
Winson Chung 93eef082ec Making the text reflect the container when you are unable to drop onto a space.
Change-Id: Ib3734b7f7767bdf0fb4c95dcc1298da02c04e9cd
2012-03-26 10:55:49 -07:00
Winson Chung 568c659352 Merge "Fixing potential issue where loader was still running after the fragment was detached. (Bug 5682275)" 2012-03-26 10:53:01 -07:00
Winson Chung 97ea93e521 Fixing potential issue where loader was still running after the fragment was detached. (Bug 5682275)
Change-Id: I79fd21e2ad269eb09fa974264f9f319f654cad19
2012-03-23 16:37:14 -07:00
Winson Chung 7bdeb601f9 Merge "Adding animation post-installing a shortcut." 2012-03-23 14:54:09 -07:00
Winson Chung f0c6ae0e35 Adding animation post-installing a shortcut.
Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
2012-03-23 11:17:25 -07:00
Winson Chung 41f56a1bcc Merge "Allow fling gesture while dragging from AllApps to dismiss drag." 2012-03-23 10:40:30 -07:00
Michael Jurka 72db6d7969 Cancelling scroll indicator animation during All Apps transition
Was causing slowdown in the All Apps transition

Change-Id: I0f5934c0732e04519b426f008c8154b8a66517e9
2012-03-23 08:06:02 -07:00
Michael Jurka 9ed7dab49c Merge "Minor code cleanup" 2012-03-23 03:09:38 -07:00
Adam Cohen 6b8a02d63a Fixing animation bug for reordering
Change-Id: Ibb8f53a9beb2ddcacab93507fe7469639e0e0587
2012-03-22 15:15:38 -07:00
Adam Cohen 8baab35b00 Code cleanup + a bit of documentation for reordering
-> in preparation for more substantial changes

Change-Id: I68657af1efc17be66ab973e0815991d3f1697a1f
2012-03-22 13:29:51 -07:00
Winson Chung a48487a814 Allow fling gesture while dragging from AllApps to dismiss drag.
Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
2012-03-22 13:00:16 -07:00
Michael Jurka 6c8a579082 Minor code cleanup
Change-Id: I92c0f9c9c96bace85a96a781bb4fdf2604c6f75b
2012-03-22 05:24:37 -07:00
Michael Jurka 6f8cb5201d Merge "Fix more cases where blips show up in All Apps" 2012-03-21 14:25:11 -07:00
Michael Jurka 08c93d7eca Merge "Eliminate custom alpha handling in CellLayout" 2012-03-21 05:14:55 -07:00
Winson Chung cf4b91fa3f Merge "Adding fling-to-delete." 2012-03-20 15:22:41 -07:00
Winson Chung 043f2af567 Adding fling-to-delete.
- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
2012-03-20 15:18:05 -07:00