Adam Cohen
c42d5e330a
Fixing issue 3272864
...
-requestLayout() was being called within onLayout in
CellLayout. This resulted in some funky behaviour and the
bug above.
Change-Id: I76b8fa3c1dc7f08c462d13e2e9dde0d7a74386c0
2011-01-07 19:28:05 -08:00
Michael Jurka
026f555b34
Fix bug where stack view was getting clipped
...
We were also updating CellLayouts' drawing cache even when not needed, this is now fixed (and was actually the cause of the bug)
2011-01-07 12:59:10 -08:00
Joe Onorato
7cef289a32
Call through to super.removeallViews*().
...
Fixes the duplicate view bug by actually removing the views.
Bug: 3165740
Change-Id: I18f26e4cf498e6d53825959a61d585fac2c89faa
2011-01-07 11:09:15 -08:00
Winson Chung
26cbf3a001
Minor fixes to stop crashing on panning/dragging on phones.
...
Change-Id: Ibfc0072d6db039b97876702b2c0577359a7ae567
2011-01-06 16:29:06 -08:00
Michael Jurka
bea1519534
caching mini screens to bitmaps
...
- gives ~10fps gain when side scrolling in all apps, customize mode, and the transition animations between workspace/all apps/customize
- requires framework to expose a flag isDirty() on View (will be submitted in separate commit)
Change-Id: Ief4cf3f2ffe545f237bc7111fb62af13e8695766
2011-01-05 16:52:49 -08:00
Michael Jurka
33945b2154
Changed backgrounds of mini screens in customize mode
...
- default screen to add to is now a strong blue
- reworked other workspace screen code
Change-Id: I5b1bc016a04d5a1b3eb1ce93a3ae31ad973eb798
2011-01-04 13:13:45 -08:00
Patrick Dubroy
047379aa61
Don't animate tapped item if the target screen is full
2010-12-20 11:24:54 -08:00
Michael Jurka
8edd75c8bb
removing workaround for fixed animator bug
...
Change-Id: I244b1c83f5659cf55e1f172ae33f63adbdcf2ea5
2010-12-17 20:44:15 -08:00
Winson Chung
a34d0b3d7b
Re-enabling clipping of children in cell layout (not necessary now that hotdog is out).
...
Change-Id: Ia10b3d8b12848785ed6731323b00f9d33c71e3d2
2010-12-16 18:26:55 -08:00
Winson Chung
8812703817
Various tweaks to launcher
...
- Removing hotdog for shadow bg protection
- Adding bg protection for customization tray
- Restoring holographic outlines for all apps
- Small bug fixes
Change-Id: I58d81bb490f78c76fcaf46122febc3c1aace854e
2010-12-14 15:32:02 -08:00
Michael Jurka
d56d8b82c4
updating assets
2010-12-09 15:13:51 -08:00
Michael Jurka
d3ef3065ab
added spring loaded mode for adding items to workspace
...
Change-Id: Ie92294fe2b1d6697d84756a2fcea91a09f72825b
2010-12-09 02:12:19 -08:00
Jeff Brown
1d0867c8de
Send live wallpaper taps.
...
Change-Id: I25465e6fa7a69ef5c35e69ddc375e65797f44bc6
2010-12-02 18:27:39 -08:00
Patrick Dubroy
a669d79d0d
Prevent flicker when starting a drag.
...
Also, animate item the view to its new position when dragging.
2010-11-24 10:00:55 -08:00
Winson Chung
bbc60d8e79
Fixing various small bugs with launcher
...
- Items added from customization tray add from top left now
- Fixing issue where wallpaper tab was not showing
- Workaround for the extra pixel line showing in homescreen drag icons
- Speeding up animations for tab transitions and clicking
Change-Id: I865531bb4cf896320a9e2ff6cef08bed221a2294
2010-11-11 17:20:48 -08:00
Adam Cohen
ddb821981e
Making current screen background always transparent
...
Change-Id: I3cc61f85c36f80a71d60228f5f8570758b1b0e3b
2010-11-11 13:39:35 -08:00
Patrick Dubroy
0207c52247
Draw glow along screen edge when dragging in portrait.
2010-11-03 22:12:53 -07:00
Michael Jurka
3c4c20fbe6
Fix: switching states during animations was broken
...
- cancelling state animations on home screens before starting new ones
- temporary workaround for the fact that onAnimationEnd is not called immediately when an animation is cancelled
- forcing all apps zoom-in animation to complete if it's cancelled
Change-Id: I3eb011f689050692e8d95f2736e01ab5420f722e
2010-10-29 14:52:03 -07:00
Patrick Dubroy
cd68ff5b88
Move drop anim into the Workspace to prevent clipping issues
2010-10-29 13:52:42 -07:00
Adam Cohen
1b0aaac0b3
-> Made outline of current page fade out
...
-> Added new assets for homescreen outlines
Change-Id: Ic19b32a749fd4109bd5601c8b220759aab56603c
2010-10-28 11:45:12 -07:00
Winson Chung
a9abd0e0bd
Initial changes to allow dragging external shortcuts to launcher using the same InstallShortcut intent.
...
Change-Id: I21b57115429ed37d604084ae01308d1d3f33ee7e
2010-10-27 18:35:04 -07:00
Romain Guy
3cf4c03125
Don't build bitmaps when running in GL.
...
Change-Id: I28c93256bca748be6a00698a6c41cbab5dd4a349
2010-10-26 14:29:35 -07:00
Patrick Dubroy
a944215d36
Fix disappearing icons due to div-by-0 in animation.
2010-10-25 12:11:23 -07:00
Winson Chung
ece7f5b3b5
Altering homescreen spacing to match design.
...
Change-Id: I8b859992fe843d0cf688cb84bcbaab6dbeccb6fb
2010-10-24 13:31:32 -07:00
Michael Jurka
883f55b1d2
Correctly preserve state on orientation changes
...
Bug: 3049975
2010-10-21 15:47:22 -07:00
Michael Jurka
f3ca3ab695
Fix bug that allowed multiple items in one cell
...
Fixed issue where opening a folder allowed items to be placed on any cell, even if it was occupied.
Bug: 3094164
Change-Id: I392e7236f9cd7ea0b09f36e249d2a57c9934dc8e
2010-10-21 11:30:28 -07:00
Patrick Dubroy
8e58e91606
Various cleanups in the drag viz code.
...
Most importantly:
- Don't allocate a new Paint object in CellLayout.onDraw
- Scale holographic outlines based on the screen density
2010-10-20 14:37:49 -07:00
Patrick Dubroy
ce34a9768b
Animate items into place when dropping on home screen
2010-10-19 10:42:24 -07:00
Michael Jurka
18014791be
Added bounce animation when item added to screens
...
Change-Id: I87d9e8545e2de588d083b48991d932eb904f6e3a
2010-10-18 18:29:21 -07:00
Patrick Dubroy
08ae2ec484
Fix bug drag viz & hover state
...
Change-Id: I6b40d4dd43a2ee0c127df938375870347faeb5f6
2010-10-15 14:12:36 -07:00
Michael Jurka
d718d6a7ba
fix setting/unsetting hover on thumbnailed screens
...
cleaned up dragenter / dragexit events so they're only received by CellLayouts if the workspace isn't small
ignoring enter/exit scrollarea events when workspace is small
2010-10-14 15:45:30 -07:00
Chet Haase
472b281d5c
Updating code to use new non-generified animator APIs
...
Change-Id: Ie1928a22f774b226d90fa0918f61dba35d183dd6
2010-10-14 10:51:21 -07:00
Patrick Dubroy
fe6bd87881
Fix some incorrect animation code that might be causing visual glitches.
2010-10-13 18:13:11 -07:00
Joe Onorato
4be866d3a1
fix 3029324: Implement new drag feedback
...
Add "shrinkwrap" icon outlines to visualize where the item will land
2010-10-13 12:01:04 -07:00
Michael Jurka
3e7c763453
updated Workspace thumbnail behavior
...
- in All Apps mode, fade thumbnails completely
- while dragging, have thumbnails re-appear
- while dragging, give screen thumbnails that can accept drops a different appearance (green outline instead of blue)
Change-Id: I72ddf8a0f1947d35ef11514b7d4eea9ae5eee6e2
2010-10-10 15:03:45 -07:00
Patrick Dubroy
49250ad530
Fix bug with dragging crosshairs sometimes being too bright
...
Change-Id: Ieb20ab96e73c5f297ffd69d29472024c11978a13
2010-10-10 11:18:29 -07:00
Michael Jurka
9987a5c45e
Fixed 3066306 Widget measurement wrong in customize tray
2010-10-08 16:58:12 -07:00
Chet Haase
00397b1d92
Use new TimeInterpolator interface for interpolation
...
Change-Id: I53e8fcbabfdb4cb69bec309aeceeddc63e1715ed
2010-10-07 11:13:36 -07:00
Patrick Dubroy
1262e36948
wip 3029324: Implement new drag feedback
...
- Show page borders when dragging
- Enlarge scroll region (landscape only)
- When inside scroll region, show green border on adjacent page
2010-10-06 17:39:05 -07:00
Patrick Dubroy
046e7eb472
Fix 3065611: NPE in Launcher attempting to drag app to home screen
2010-10-06 12:14:55 -07:00
Adam Cohen
9c4949e12c
->Added attribute to PagedView to specify spacing between
...
adjacent pages
->Fixing crash on phones
Change-Id: I8ea97ce6d569c59b6d51b544dc10b0310d294b43
2010-10-05 14:08:00 -07:00
Winson Chung
150fbab7de
3029324 wip: Drop target crossfades as it moves from position to position
2010-09-30 17:24:29 -07:00
Adam Cohen
f34bab59fc
-Added 3D effect to home screen scrolling
...
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
interpolator and modified the influence of
scroll velocity
Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781
Conflicts:
src/com/android/launcher2/CellLayout.java
2010-09-30 14:15:10 -07:00
Michael Jurka
c6ee42e25f
Fix: dragging items to adjacent screens would
...
not properly show the available/unavailable cells
Change-Id: I47d1405315db01f87dfcce3536295d2a0d0dc444
2010-09-30 13:12:29 -07:00
Adam Cohen
3db18d2793
Fixing build
...
Change-Id: I181cfce3b507ffa7e81babeb2723881b6f06423a
2010-09-29 13:47:41 -07:00
Adam Cohen
0fb7db5a37
Fixing boot stall.
...
Revert "-Added 3D effect to home screen scrolling"
This reverts commit 9415d87eda .
Change-Id: Ib8d6602f5d82884eb1f6cc44c0cc71cc563a3a59
2010-09-29 13:04:32 -07:00
Patrick Dubroy
de7658b5e0
Show crosshairs when dragging items around the workspace.
2010-09-29 11:14:28 -07:00
Adam Cohen
9415d87eda
-Added 3D effect to home screen scrolling
...
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
interpolator and modified the influence of
scroll velocity
Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781
2010-09-28 16:56:10 -07:00
Michael Jurka
6a1435d78d
Fix issue where items could not be moved back
...
to their original positions
This also fixes crash 3038168
Change-Id: I4142a1fe32954e76e6ab02ea09f50d4bdefec67c
2010-09-27 18:35:18 -07:00
Michael Jurka
28750fba6a
fixed minor code review issues from change I0280c3be
...
(it was submitted early accidentally)
Change-Id: I3753366b4d5e1dc228baf02eba27a2c0d8fa42cf
2010-09-24 18:34:23 -07:00