Ramanan Rajeswaran
d1dbfe356f
Revert "Should be getting launcher icon DPI from ActivityManager."
...
This reverts commit af23500cf9 .
2012-02-13 13:54:42 -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
b7bea81c7a
Minimizing number of db calls when installing shortcut externally.
...
- Fixing case where the drag view was persisting after drag failed from AllApps
Change-Id: Ia2439462b93f196f3fcba73814e0994e54600e70
2012-02-13 13:26:13 -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
Ramanan Rajeswaran
6e2dae9906
Merge "Cleaning up extra line related to icon density change." into ics-scoop
2012-02-13 12:37:02 -08:00
Winson Chung
35003b7df7
Cleaning up extra line related to icon density change.
...
Change-Id: I3a8849a5800af1f04f097c4ce55ecf5d97292f4c
2012-02-13 12:28:29 -08:00
Winson Chung
af23500cf9
Should be getting launcher icon DPI from ActivityManager.
...
Change-Id: Iec1b375568b421220fdbf08de6e7a697d0488e24
2012-02-13 12:27:49 -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
Adam Cohen
6af9af057f
Fix issue where launcher didn't return to workspace on screen off (issue 5628744)
...
Change-Id: Ic058cf7a803d2fe7be98325138cd5bd52a96cd9c
2012-02-02 15:41:45 -08:00
Winson Chung
10392b50c9
Merge "Fixing issue where AllApps icon would stay dimmed after pressing it (but not launching or long pressing)."
2012-01-30 17:53:59 -08:00
Winson Chung
b33e05fa50
Fixing two regressions in which side pages were not drawn or oriented correctly.
...
Change-Id: Ib936d7701c8962fc04e6fed2e3d624291fe8fc46
2012-01-30 17:20:47 -08:00
Winson Chung
3b187b88ba
Fixing issue where AllApps icon would stay dimmed after pressing it (but not launching or long pressing).
...
Change-Id: If60fd76cd1fbef0b235c0a3d0870fd2da4c1b833
2012-01-30 15:11:50 -08:00
Winson Chung
f25148ae1e
Cleaning up extra line related to icon density change.
...
Change-Id: I3a8849a5800af1f04f097c4ce55ecf5d97292f4c
2012-01-24 15:28:55 -08:00
Winson Chung
ced37c68e0
Merge "Should be getting launcher icon DPI from ActivityManager."
2012-01-24 14:59:06 -08:00
Winson Chung
8429d50757
Should be getting launcher icon DPI from ActivityManager.
...
Change-Id: Iec1b375568b421220fdbf08de6e7a697d0488e24
2012-01-24 14:46:48 -08:00
Winson Chung
d7654c416c
Merge "Showing page indicator while dragging (Bug: 5117192)"
2012-01-24 13:25:34 -08:00
Winson Chung
1afedc379f
Showing page indicator while dragging (Bug: 5117192)
...
Change-Id: I3c8180b2166f3961fbb9529c5de187b4b7b561cf
2012-01-24 13:19:55 -08:00
Winson Chung
e4e506660b
Locking pressed state for AllApps icons.
...
- Setting workaround for transition state bug until b/5897600 is fixed.
Change-Id: Icb29a4cd7bfaf527a9db5b853e7fb24c63b58b30
2012-01-24 13:15:23 -08:00
Michael Jurka
28c1854896
Merge "Speed up All Apps -> Workspace transition"
2012-01-23 07:24:27 -08:00
Winson Chung
3bc21c35fa
Fixing issue where the outline is on the wrong side of the screen when dragging to final page.
...
- Also allowing pages to snap in springloaded mode without moving your finger.
Change-Id: I868f700bd740f2cd1e02023e1dee0f66b0799c58
2012-01-20 14:00:00 -08:00
Michael Jurka
9433fa7eba
Speed up All Apps -> Workspace transition
...
- use HW layers on Views whose alpha is faded
- don't run animation end code until the entire launcher
transition is finished
- be more aggressive about making workspace pages visible
after an animation, potential fix for Bug #5867739
Change-Id: I52a088e551c1636a67725629640286b885070f32
2012-01-20 06:50:06 -08:00
Winson Chung
9b9a7588a2
Merge "Removing unnecessary post when removing DragView"
2012-01-19 15:17:56 -08:00
Michael Jurka
dcb4eddebe
Merge "Simplify code for All Apps touch feedback"
2012-01-19 05:10:43 -08:00
Adam Cohen
ac8d748c07
Removing unnecessary post when removing DragView
...
-> This fixes a jank bug where you could see a dragged
item in two places for a frame, upon release of that item
Change-Id: I5aecc3be530763f2f067fd496e2c8e1d6f95af13
2012-01-18 17:52:30 -08:00
Winson Chung
aa15ffe60e
Allowing dragging to edge and holding to continue skipping pages.
...
Change-Id: I254f267e2ed04980925f71b7c96c2cac11f350ec
2012-01-18 15:45:56 -08:00
Michael Jurka
621fbe56a8
Simplify code for All Apps touch feedback
...
Change-Id: I5a2ab81a140cdbd619434b266e16b8a938f5990c
2012-01-18 07:52:05 -08:00
Michael Jurka
c0f21e1d3c
Merge "Fix occasional odd scrolling behavior"
2012-01-17 12:24:58 -08:00
Michael Jurka
dd6c09123c
Fix occasional odd scrolling behavior
...
Change-Id: I4cbcd17ab0bc2212d9591098d9aac6ca3ce6ed7d
2012-01-17 12:12:18 -08:00
Michael Jurka
df871fe8d9
Merge "Cleaning up animation code"
2012-01-17 12:07:24 -08:00
Michael Jurka
fbf0dfc523
Merge "Remove use of setFast* properties"
2012-01-17 10:57:54 -08:00
Michael Jurka
86868057c2
Merge "Removing dead code"
2012-01-17 10:57:09 -08:00
Winson Chung
40541aa64b
Merge "Adding workaround to make voice button target area larger (Bug 5653332)"
2012-01-17 10:32:50 -08:00
Michael Jurka
159b4cc1e4
Cleaning up animation code
...
- replacing ValueAnimators with ObjectAnimators
- using ViewPropertyAnimator for All Apps->Workspace transition
- add multiple listener support to LauncherViewPropertyAnimator
Change-Id: I794dab6138fb23c5be963e2eb562965b5de857cf
2012-01-17 03:13:53 -08:00
Michael Jurka
4d59649ad1
Removing dead code
...
Change-Id: I712144b0beb81387efd4c4b59087594e9832d116
2012-01-16 06:43:49 -08:00
Michael Jurka
7372c59277
Remove use of setFast* properties
...
Change-Id: Ibfae0eed65d384789929829d6a24379561934eb4
2012-01-16 04:21:35 -08:00
Michael Jurka
49779a155f
Fix RuntimeException in LauncherViewPropertyAnimator
...
Bug #5869237
Change-Id: Ib1466ea7aaabc1c42626789d7c8ef48134b49bfd
2012-01-16 04:10:08 -08:00
Winson Chung
604f6df088
Adding workaround to make voice button target area larger (Bug 5653332)
...
Change-Id: I8c4e940f9ae01ac4f6808ecfb10035249c12a499
2012-01-12 14:39:18 -08:00
Michael Jurka
e3517d01ec
Speeding up AllApps click feedback
...
Change-Id: Ia16845b16d369bea610bb908d9a9f4805d4a1d54
2012-01-12 11:16:07 -08:00
Michael Jurka
298ce02189
Merge "Delete dead code"
2012-01-12 10:43:21 -08:00
Michael Jurka
efcb54052b
Merge "Fix NPE caused in LauncherViewPropertyAnimator"
2012-01-12 10:42:11 -08:00
Michael Jurka
82369a1612
Delete dead code
...
Change-Id: Iabe9cf9a4254ce4d90849f6fb9bd82a043beba2a
2012-01-12 08:11:12 -08:00
Michael Jurka
8a309c257a
Fix NPE caused in LauncherViewPropertyAnimator
...
Change-Id: Ia0e388ee1ff6c3b364787d236c96dcd2c704d452
2012-01-12 06:06:59 -08:00
Winson Chung
4f1a2db344
Merge "Fixing issue where we may continue to restore the wrong page after resetting."
2012-01-11 12:04:42 -08:00
Winson Chung
21d9b58734
Merge "Fixing issue where multiple toasts were showing when installing a new app from Market (Bug 5785281)"
2012-01-11 12:04:37 -08:00
Winson Chung
e428e292c2
Fixing issue where multiple toasts were showing when installing a new app from Market (Bug 5785281)
...
Change-Id: Iba395354374ab721f05e03dd449e4ed9205508e5
2012-01-10 16:21:56 -08:00
Winson Chung
649668f7af
Fixing issue where we may continue to restore the wrong page after resetting.
...
- Fixes issue where selected tab and all apps page are out of sync
- Potentially fixes issue where the allapps comes in from the right
Change-Id: I03fe1fe339ef53aa442c411939250c8094519394
2012-01-10 13:08:32 -08:00
Michael Jurka
7407d2a16e
Using ViewPropertyAnimator for animations
...
Replacing some use of fastInvalidate/setFast*
methods with ViewPropertyAnimator animations
Change-Id: Id5a8934b38d9ae3a95b6dccb431f9787839d2927
2012-01-10 01:53:59 -08:00
Michael Jurka
80c69853d6
simplifying code to prevent drawing off-screen
...
On certain graphics drivers, if you draw to a off-
screen buffer that's not used, it can lead to
poor performance. We were running into this in
launcher; when setChildrenLayersEnabled was called
on a CellLayout, that triggered a re-draw of that
CellLayout's hardware layer, even if that
CellLayout wasn't visible. This CL changes
PagedView so that pages that aren't going to be
rendered are set to View.INVISIBLE, preventing
re-drawing of their hardware layer.
2011-12-16 14:26:24 -08:00
Michael Jurka
58e8b25c59
Merge "Small optimizations for the All Apps transition"
2011-12-15 13:42:02 -08:00
Michael Jurka
afaa05014e
Small optimizations for the All Apps transition
...
- don't set properties in animations if they don't
change
- don't recalculate visible pages on every frame
- don't require scroll indicator to be an
ImageView
Change-Id: I099b29e677da2d0e401f677d47cdb8b5df51224e
2011-12-15 13:27:32 -08:00