Commit Graph

163 Commits

Author SHA1 Message Date
Michael Jurka dac8591072 Updating how widget previews look
Also fixing issue where some widget previews would
be way too large when picked up

Bug: 6472013

Change-Id: Iebfc33b1070da591a9d1d32d7c8e65a3fb057a7e
2012-05-22 21:03:55 -07:00
Adam Cohen 9247892015 Fixing regression where you can't add shortcuts
Change-Id: I2c91a9a5131591aa15319efdaf887f06fb593b08
2012-05-17 13:45:09 -07:00
Adam Cohen 263301a391 Removing logging related to and fixing (issue 6238330)
Change-Id: I7ed89840d90fd13cbfedc795e789706b32f76b5d
2012-05-17 12:24:40 -07:00
Adam Cohen 90340cf67a Adding logging for the bug that won't die (issue 6282761)
Change-Id: I2f10a3374c8646635f6f45d51e8ae2154706a680
2012-05-16 21:37:32 -07:00
Michael Jurka 4d173e93f0 Merge "Fix rendering bug while dragging" into jb-dev 2012-05-16 17:44:30 -07:00
Adam Cohen c93ea44202 Yet another attempt to fix (issue 6282761)
Change-Id: Iabb0dd8e59e566ddef71d4aa7aa684f52d06b3b3
2012-05-16 17:15:26 -07:00
Michael Jurka 4ca3922d9d Fix rendering bug while dragging
Bug: 6500722
Change-Id: I231c2a87e65c44fca30e7867d9c29fd00faf2b26
2012-05-15 17:18:34 -07:00
Michael Jurka 8bc26993d5 Merge "Solve stutter when swiping All Apps the first time" into jb-dev 2012-05-15 17:01:25 -07:00
Michael Jurka 5e368ffbad Solve stutter when swiping All Apps the first time
Bug: 6024062
Change-Id: I6e05e9916389b1d90bd59443a04720fbf2338f5e
2012-05-15 16:53:00 -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
Michael Jurka 1202b33da6 Centering drag outline when placing shortcut on screen
Bug: 6452519
Change-Id: I236bbe9d570d44d10464ab21f42bb2adf5330742
2012-05-14 19:33:37 -07:00
Adam Cohen 0e56cc9fd6 Fixing bug where widget could get added to drag layer and not removed (issue 6282757)
Change-Id: Ibc32b48f12e1c37267e140e82e1620bcb407963c
2012-05-13 15:59:07 -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 88c5d2d8eb Fix NPE when dragging widget with preview not yet loaded (issue 6282761)
Change-Id: I95638884bd6548f391135427a20566933ab757c0
2012-05-10 10:21:48 -07:00
Winson Chung 18f41f8327 More work to ensure that the wallpaper is visible before transitions take place. (Bug 6445085)
Change-Id: Ic8435ba946949674a986aa4eaa879d33044c7884
2012-05-09 13:29:31 -07:00
Winson Chung ca889b3482 Consistently re-enabling the wallpaper when we leave launcher. (Bug 6445085)
Change-Id: I8357677479a693a808097a797b9af6906f4d7801
2012-05-07 15:35:59 -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 2f093b6ad1 Fix widget resizes that shouldn't (issue 6380435)
Change-Id: Ia1da2df16ca184e6f451775597fa33ee38df6122
2012-04-30 18:59:53 -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
Winson Chung 4773408efd Merge "Fixing issue where side pages in all apps were showing. (Bug 6393199)" into jb-dev 2012-04-26 13:29:03 -07:00
Winson Chung d167e2a09f Fixing issue where side pages in all apps were showing. (Bug 6393199)
Change-Id: Ida954e738586a8434a776a23e629bf5d3e06da77
2012-04-26 13:13:24 -07:00
Winson Chung 2890151ad0 Merge "Remove all deferred widget pages when we cancel all tasks. (Potential fix for bug 6387680)" into jb-dev 2012-04-25 16:43:09 -07:00
Michael Jurka 8b805b1715 Remove use of private APIs
Change-Id: I3e28763075f8e92391796dc009214c9fa8f50008
2012-04-25 16:24:03 -07:00
Winson Chung 83687b1e5b Remove all deferred widget pages when we cancel all tasks. (Potential fix for bug 6387680)
Change-Id: I65ad089ff20daffdc8ba09d975ac31e87965a4a7
2012-04-25 16:01:43 -07:00
Winson Chung c7450e3ebd Updating launcher transitions.
Change-Id: I32b35189fe05a1c0db0ac1d7f508b1560088f635
2012-04-24 13:27:00 -07:00
Adam Cohen 336d491492 Fix issue where certain widgets don't appear in tray (issue 6339060)
Change-Id: I3e16021da11d67b6e59ec2f4e251927362bf4fe6
2012-04-13 17:57:11 -07:00
Michael Jurka 3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Winson Chung a5c9636f56 Preventing widgets that don't fit from showing in tray. (Bug 6331357)
Change-Id: I9cbe85bed5c633f2be9b420eecbbee9a1b171e51
2012-04-12 16:21:17 -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
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
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 a48487a814 Allow fling gesture while dragging from AllApps to dismiss drag.
Change-Id: I5eea14336579a1374aded63dda9ad1a33e8b8d4a
2012-03-22 13:00:16 -07:00
Michael Jurka 6f8cb5201d Merge "Fix more cases where blips show up in All Apps" 2012-03-21 14:25:11 -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 39e5d176e6 Fix more cases where blips show up in All Apps
- defer any updates to the widget previews if we're
mid-transition
- call System.gc() before a transition to avoid gc
mid-transition

Change-Id: If8b4699b142af20b2f14e9a8653f893139adf90e
2012-03-20 01:40:41 -07:00
Adam Cohen d41fbf5680 When adding or moving a resizable widget, the widget may resize
-> If a widget is resizable, and there is not enough room to add it
   in its current (or default) size, but can be scaled down to fit
   a certain area, it will be resized to fit the available space
-> The resizing is animated using a crossfade and scale between
   the original dragView and the widget rendered in the final size

Change-Id: I75db9dcabecce11598b3ae55f20b96b2ec6b7e87
2012-02-27 17:30:32 -08:00
Winson Chung 72d598400d Animating the widget previews on drag from AppsCustomize.
Change-Id: I223d66bb447c40e6870be46bb27f107f0e428a95
2012-02-23 12:21:12 -08:00
Adam Cohen 7a326648c5 Fixing issue where widget preloading not being cleaned up on failed drop
-> issue 6046370

Change-Id: Iee33fc22ae0bfe012fe33efd5b358a2199fdf424
2012-02-22 12:03:22 -08:00
Adam Cohen ef3dd6efe0 Fixing bug where widget preview wasn't fully updated upon drop
-> The prebound widget is now added to the DragLayer to ensure
   that it goes through all necessary measure/layout/attach etc.

Change-Id: I53ca32e88fcbc2211d2747c3b067816c0d518e30
2012-02-14 20:55:35 -08:00
Winson Chung 2210d2ad0c Merge "Animating the drag view scale up and down when dragging items." 2012-02-14 14:59:30 -08:00
Adam Cohen 1b36dc3f2b Fixing bugs with new widget adding
-> widget ids were being reused in some cases
-> widgets could be added before springloaded mode was entered

Change-Id: Iaf3bffc49d4ec2de4b63db1b5cfb52b8544e9c2b
2012-02-13 19:50:10 -08:00
Winson Chung 7bd1bbb509 Animating the drag view scale up and down when dragging items.
Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
2012-02-13 19:05:25 -08:00
Adam Cohen ed66b2bac7 Improving widget transitions:
-> When a widget has no configuration activity, we bind
   and inflate it when the user picks it up. This allows
   us to smoothly transition between it's preview and
   some actual state of the widget when it is dropped.
-> When a widget has a configuration activity, we delay
   the above process until the configuration activity
   has been run at which time we transition between
   the preview and the actual widget.

Change-Id: I5265cd98400d70e5e75c3dcd21e322ed0b352d7b
2012-02-13 13:30:32 -08:00
Winson Chung a1cdab0392 Reverting: "Animating the drag view scale up and down when dragging items."
Change-Id: I133ff2631834a4b97e1e4750fb7c07793ddeba69
2012-02-13 13:03:52 -08:00
Winson Chung 42c29aedf2 Animating the drag view scale up and down when dragging items.
- Also fixing up how we draw the drag view alpha

Change-Id: Ied82aec9d52274b0fe65c989eab818b0264a9eb2
2012-02-07 16:16:27 -08:00