Commit Graph

27 Commits

Author SHA1 Message Date
Michael Jurka
f1ad608c28 Fix jumps in the beginning of animations
If the first draw frame of an animation is
expensive, which it often is, it causes a big
jump. Added a helper class which automatically
adjusts the animation start time if the first
frame is more than 16ms.

Change-Id: I100edbc41c2abe930a32d6bcf0a782ea9735f7f9
2013-03-28 12:08:18 -07:00
Fabrice Di Meglio
cc11f74258 Add first RTL support to Launcher
See bug #8064062 Launcher needs to be RTL aware

Change-Id: I24b1f1977fb65246afd2005440567b5850939621
2013-01-23 18:23:06 -08:00
Craig Mautner
6a0393666a Extend background to full screen.
Gradient and black backgrounds were stopping at the Status Bar.
When returning from a full screen app to the launcher the wallpaper
was completely visible when it should have been obscured by these
backgrounds. Making the app full screen while keeping the views
within the system insets fixes this.

Bug 7410717 fixed.

Change-Id: If3f7e4808961ee6c80fe2d0a328e6ca39fa5eb7a
2012-10-26 15:13:08 -07:00
Adam Cohen
9e05a5ea95 Making launcher use new widget binding APIs
Change-Id: I9cd6716e1dc0c53b5c846371ea109ced4cd3d40a
2012-09-19 15:22:23 -07:00
Adam Cohen
e0489500d2 Fixing a couple small issues with reordering (issue 7064138), (issue 7064337)
Change-Id: Iaaeb37f630a71f8fd54a6064602ddd10d4d4ab91
2012-08-27 15:19:51 -07:00
Adam Cohen
4459d6b4db Fix issue where widget resize frame overlaps widget (issue 6493388)
Change-Id: Ib1e53a7df49b26ecb19880e58b19876b80cfb12c
2012-07-13 16:01:29 -07:00
Michael Jurka
2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Adam Cohen
2f093b6ad1 Fix widget resizes that shouldn't (issue 6380435)
Change-Id: Ia1da2df16ca184e6f451775597fa33ee38df6122
2012-04-30 18:59:53 -07:00
Adam Cohen
a897f397e5 Making launcher update widgets with min/max extents
Change-Id: Iba9325eeb95a8a8256ef6f59f4010aff09767892
2012-04-30 12:07:19 -07:00
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