Commit Graph

18 Commits

Author SHA1 Message Date
Michael Jurka
3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Winson Chung
200358df3f Merge "Preventing widgets that don't fit from showing in tray. (Bug 6331357)" 2012-04-12 17:52:58 -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
bebf042666 Widget resizing can now displace items
Change-Id: I005c9aebf64b2d01debe59f86a208075d19476ea
2012-04-12 11:25:34 -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
Adam Cohen
0cf2a7c3ee Using public API for widget padding
Change-Id: I37c90ddf6309cdf29daacdf2c7663eb41d13338b
2011-11-08 15:07:01 -08:00
Adam Cohen
82ebbd2a2f Removing auto-padding of widgets, as it is now done at framework level
Change-Id: Ia3bc171e297e07eba00c447a794a28f8201dac44
2011-09-30 15:06:26 -07:00
Adam Cohen
cbf47e38e2 Fixing widget minResizeWidth/Height interpretation (Issue 5327589)
Change-Id: I16bf9bb20baad4fa1e0676d98bb93de758af0ebc
2011-09-16 17:40:50 -07:00
Adam Cohen
9efd4a2a36 Widget resizing obeys minResizeWidth/Height
Change-Id: I42c8fa118b4d45ce88b4f2b724643bf471d62cd2
2011-07-19 17:58:58 -07:00
Winson Chung
4b825dcd5f Tweaking launcher grid and spacing.
Change-Id: I369a87f473d1e870b2f819221f6383aab340b067
2011-06-22 17:26:02 -07:00
Adam Cohen
37b59ff9aa Tightening up the widget resize frame to account for widget padding
-> This wasn't possible before as we weren't enforcing the padding,
   but now that we are we can make the resizing look better

Change-Id: I7b74eee052beaee0cc12f4cec0505af9c214d012
2011-06-13 19:03:22 -07:00
Adam Cohen
1c4b6efb18 Fixing small bug in widget resizing
Change-Id: I7bba5d09aa92437c81e1730758710c1132e26dde
2011-05-03 14:20:38 -07:00
Adam Cohen
6788269814 Fixing widget resize visual / ux ugliness, Bug: 4082591
Change-Id: Ib258e02f52dd83418db0c0249efdc90d2424f059
2011-03-14 12:16:52 -07:00
Adam Cohen
e4b7729b9d Small UI tweaks to widget resizing
Change-Id: I4d6f81ce17b3f3406206e8d25317c05cb9f8b5c4
2011-03-08 19:22:59 -08:00
Adam Cohen
1b607ed454 Cleaning up widget resizing code
Change-Id: Ib4c0de0080f0b69f873fd88016f23c319a13c6ff
2011-03-03 18:30:20 -08:00
Adam Cohen
3cba722d47 New assets for widget resizing
-> also bounding the frame to be within the CellLayout bounds

Change-Id: Ibaaf336d7fee106d8465528591d8d113891c8fbc
2011-03-02 19:05:12 -08:00
Adam Cohen
27c09b05d3 Small update to match API changes
Change-Id: I1d6f38b80ca7874b158444b368537b35d29e2414
2011-02-28 14:45:11 -08:00
Adam Cohen
d4844c3e73 Implementing resizable widgets in launcher
Change-Id: I18598493dcf34fc6089fa330a4b66803f658b773
2011-02-25 13:56:06 -08:00