Commit Graph

612 Commits

Author SHA1 Message Date
Winson Chung be365165ed Try and resolve the package name from the intent directly falling back to the resolved component name if it fails. (Bug 6452306)
Change-Id: Ifb2187fb845f807f30df966bf298ffde1b779b46
2012-05-07 11:11:52 -07:00
Michael Jurka 30774acbb8 Merge "Unify tablet/phone workspace scrolling behavior" into jb-dev 2012-05-06 19:23:41 -07:00
Michael Jurka 869390b6ab Unify tablet/phone workspace scrolling behavior
Bug: 5954015
2012-05-06 18:44:16 -07:00
Winson Chung 452b4db5ce Fixing NPE in LauncherModel (Bug 6449627)
Change-Id: I6e0040465e6bf9f65ad7c05af1f7ef7cf948a355
2012-05-06 16:52:17 -07:00
Winson Chung 8e21bc5411 Merge "Fixing issue where items that were not yet added were not removed from the db. (Bug 6428418)" into jb-dev 2012-05-04 11:56:37 -07:00
Winson Chung 2efec4e29f Fixing issue where items that were not yet added were not removed from the db. (Bug 6428418)
Change-Id: I8f76af1ccaa2bc5053f3e1f6606202310855aaae
2012-05-04 10:23:38 -07:00
Winson Chung f561bdf68d Initial change to queue up install/uninstall operations while dragging (Bug 6276881)
Change-Id: I68ad881e38711d8d9a8903ab18d30ef4385833d7
2012-05-04 10:20:05 -07:00
Winson Chung 5e024a3c9c Merge "Fixing regression where the proper rotation check was not being done. (Bug 6422040)" into jb-dev 2012-05-01 12:54:08 -07:00
Winson Chung 4b919f813f Fixing regression where the proper rotation check was not being done. (Bug 6422040)
Change-Id: Iadc9a886b84c4418750dc365298944f76c564587
2012-05-01 10:45:05 -07:00
Adam Cohen 7d2d6b5f09 Merge "Making launcher update widgets with min/max extents" into jb-dev 2012-04-30 13:21:52 -07:00
Adam Cohen a897f397e5 Making launcher update widgets with min/max extents
Change-Id: Iba9325eeb95a8a8256ef6f59f4010aff09767892
2012-04-30 12:07:19 -07:00
Winson Chung da954bb599 Merge "Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)" into jb-dev 2012-04-30 10:22:37 -07:00
Winson Chung 11a4937fbf Fixing issue where shortcuts and widgets were not being removed when the package was uninstalled (Bug 2657997, Bug 6335843)
- Also fixes issue if we are dragging a shortcut/widget and it is removed.
- Also exposes App Info for shortcuts and widgets

Change-Id: I3bd5056f50f20e8b277dde6456df26eac815bcde
2012-04-27 15:15:11 -07:00
Winson Chung 873ad10401 Merge "Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)" into jb-dev 2012-04-27 15:06:04 -07:00
Winson Chung 360e63fd3e Moving side-page indicators to DragLayer to ensure it draws above hotseat gradient. (Bug 5117499)
Change-Id: Id0ab644f6631f4fd6be042b6be36ba8fe58eaae4
2012-04-27 13:48:51 -07:00
Winson Chung a706b090ce Merge "Preventing activity from rotating while the user is dragging an item. (Bug 6240922)" into jb-dev 2012-04-26 16:29:56 -07:00
Winson Chung 641d71d6da Preventing activity from rotating while the user is dragging an item. (Bug 6240922)
Change-Id: Id487e8809c059cecb3310afe098edd0eaf085c90
2012-04-26 15:58:34 -07:00
Michael Jurka a35e35ae0a Solve blip the first time All Apps is launched 2012-04-26 15:05:25 -07:00
Michael Jurka f8304f05db Fix drag outlines for full-sized icons
Bug: 6384822
Change-Id: I4e861d7b99acbc458a3c812f04b5601a2de9a567
2012-04-26 13:33:26 -07:00
Michael Jurka 45ee308455 Merge "Make All Apps transition smoother" into jb-dev 2012-04-25 17:35:43 -07:00
Michael Jurka b99d1afba7 Make All Apps transition smoother
Build workspace page layers before launching
All Apps transition
2012-04-25 17:28:27 -07:00
Michael Jurka 8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Michael Jurka 84f2ce77a6 Fix use of deprecated method 2012-04-13 15:09:00 -07:00
Michael Jurka 3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Adam Cohen c4a729ac9d Merge "Widget resizing can now displace items" 2012-04-12 11:30:37 -07:00
Adam Cohen bebf042666 Widget resizing can now displace items
Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
2012-04-12 11:25:34 -07:00
Michael Jurka 64c9ab3188 Removing dead code 2012-04-11 15:26:53 -07:00
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
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
Adam Cohen c0a5df9c65 Fix NPE when dragging Problem Loading Widget (issue 5899606)
Change-Id: I63656a2bb47a4af041f161e1f15095c89ab006b0
2012-04-02 16:53:26 -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
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
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
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 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 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
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 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
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 08c93d7eca Merge "Eliminate custom alpha handling in CellLayout" 2012-03-21 05:14:55 -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
Michael Jurka a52570f8f9 Eliminate custom alpha handling in CellLayout
Also rename CellLayoutChildren to ShortcutsAndWidgetsView

Change-Id: Ic2ebc5497adb153cc2fce99730cc2c6fbdc101e6
2012-03-20 11:13:05 -07:00