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
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
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
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
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
Michael Jurka
df871fe8d9
Merge "Cleaning up animation code"
2012-01-17 12:07:24 -08:00
Michael Jurka
86868057c2
Merge "Removing dead code"
2012-01-17 10:57:09 -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
49779a155f
Fix RuntimeException in LauncherViewPropertyAnimator
...
Bug #5869237
Change-Id: Ib1466ea7aaabc1c42626789d7c8ef48134b49bfd
2012-01-16 04:10:08 -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
2a4b1a809c
Make All Apps<-->Workspace transition smoother
...
- grouping workspace/all apps anims into one
animator set, prevents blip when one of them ends
early and its end anim handler does lots of work
mid-animation
- updating pivots for all apps zoom if layout
changes
- avoid running unnecessary animations on
workspace pages
- prevent unnecessary reloading of pages in
All Apps
Change-Id: I53a75f7c4c7d254057e2f8f4fd17711e8862256d
2011-12-12 15:30:58 -08:00
Adam Cohen
90f53da680
am b4848296: am c00f0b99: No longer using fastInvalidate() pattern for half of AllApps transition
...
* commit 'b4848296880a351b40b1f01a0bb675e7e9c6ee52':
No longer using fastInvalidate() pattern for half of AllApps transition
2011-12-06 23:11:55 -08:00
Adam Cohen
c00f0b9967
No longer using fastInvalidate() pattern for half of AllApps transition
...
Turns out this was likely causing the hardware layer to be redrawn and hence
an anti-optimization
Change-Id: Ib98beebec6efed339eb9f918c24579af529e028e
2011-12-06 19:54:37 -08:00
Adam Cohen
23a4d305ab
Adding system property to force enable launcher rotation
...
Change-Id: If855a84a37716b86a84bf571c15c5ee715ff1845
2011-12-01 17:26:44 -08:00
Michael Jurka
05bf644e37
Fix memory leak in Launcher
...
Leak happened when a stack view was on the
workspace and then workspace forced a rebind of
its items (for example, when an app was installed)
Bug # 5629171
2011-11-30 20:30:17 -08:00
Michael Jurka
92f3d46cf3
Clean up unused code and import declarations
...
Change-Id: If36fd2d99a51b07290b13f697b3ea08d31feb023
2011-11-28 10:51:22 -08:00
Winson Chung
97d6f9a705
Merge "Fixing an issue where qsb press states could be out of sync. (Bug 5627327)" into ics-mr1
2011-11-23 15:38:34 -08:00
Adam Cohen
ea49c1c861
Merge "Prevent the creation of Shorcuts with null intents (issue 5629292)" into ics-mr1
2011-11-23 14:37:59 -08:00
Michael Jurka
e326f186af
Unload widget previews when launcher is not visible
...
Can save ~1-2MB of RAM
Bug #5104303
Change-Id: I992bec33052f4d2c201e528b5edf384d05960e71
2011-11-22 17:00:06 -08:00
Adam Cohen
d919882006
Prevent the creation of Shorcuts with null intents (issue 5629292)
...
Change-Id: I54fbad2d4af27c6d8fc0d79c33e890298a3db4dc
2011-11-22 16:51:26 -08:00
Winson Chung
bb185bdd57
Fixing an issue where qsb press states could be out of sync. (Bug 5627327)
...
- Adding haptic feedback to qsb button clicks (Bug 5652304)
Change-Id: I93d7c7a737f167d7ddf2b426d87e3a062feccac3
2011-11-21 12:35:41 -08:00
Winson Chung
d016015c23
Enabling clings for tablets (Bug 5506377)
...
Change-Id: Id0cdc7e2a101788f790340cd5acf6abb33419de6
2011-11-18 11:43:44 -08:00
Michael Jurka
b737ee6ab2
speeding up transition from other apps -> Launcher
2011-11-15 16:36:30 -08:00
Michael Jurka
1899a36ab3
Delay loading All Apps pages until the first time we enter All Apps, making launcher startup faster (5000628)
...
Change-Id: I2a2218975141d7659184de83e505c7ab6e613232
2011-11-13 17:08:23 -08:00
Adam Cohen
ebea84d1c9
Unifying overscroll btw phone and tablet
...
-> Using separate assets for removing and uninstalling
Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka
81efbad05e
Reduce unnecessary layout passes
...
- Also delete unused code
2011-11-10 11:22:48 -08:00
Adam Cohen
0cf2a7c3ee
Using public API for widget padding
...
Change-Id: I37c90ddf6309cdf29daacdf2c7663eb41d13338b
2011-11-08 15:07:01 -08:00
Michael Jurka
b3e22d99c1
Potential fix for launcher lockup (5369863)
...
- also, removing unused parameters and doing some function renames
2011-10-31 16:33:43 -07:00
Michael Jurka
4da7a3e556
Fix NPE
...
Bug # 5340102
Change-Id: Ibcdb549f4987f67c797c0618c8f54d3b1054261f
2011-10-28 15:28:50 -07:00
Adam Cohen
15d1836b2b
am 44fbf9de: Merge "Fixing stutter in AllApps transition" into ics-mr0
...
* commit '44fbf9de0e4694d785383b6c276cc24f86923118':
Fixing stutter in AllApps transition
2011-10-18 12:51:56 -07:00
Adam Cohen
b64d36e6f8
Fixing stutter in AllApps transition
...
-> Tightened up the interpolator and decreased the duration of the
AllApps-in animation. This removes many excess frames at the end
of the transition, and frees up perf for swiping AllApps:
(issue 5359751)
-> Changed when AllApps state gets reset -- now only after
leaving home, and then pressing home, or when the screen
turns off.
Change-Id: I76e988102da91c12cb52af01468cf9a81fe45545
2011-10-17 21:53:41 -07:00
Winson Chung
eb95dde9d6
am ea45c2cb: Merge "Fix NPE" into ics-mr0
...
* commit 'ea45c2cb53b4d745f43850dcc4e794748425c5df':
Fix NPE
2011-10-17 07:07:00 -07:00
Mathew Inwood
07b3b2f11f
Merge "Add source bounds of QSB bar to global search intents."
2011-10-17 03:09:45 -07:00
Winson Chung
ea45c2cb53
Merge "Fix NPE" into ics-mr0
2011-10-14 14:10:41 -07:00
Michael Jurka
9d906c7742
Fix NPE
...
Bug # 5455516
Change-Id: I61617d47d1275cfb983adb07e77b8293eb26a763
2011-10-14 06:27:52 -07:00
Mathew Inwood
cf7f63bb4d
Add source bounds of QSB bar to global search intents.
...
Bug: 5235747
Change-Id: I4baae02923da89826559bd133024453cd4cec661
2011-10-14 14:14:32 +01:00
Michael Jurka
2dcda1f72c
am 5130e401: Move haptic feedback on All Apps button to touch down
...
* commit '5130e401a005fcf6afba6e8e72a628fc45f9a287':
Move haptic feedback on All Apps button to touch down
2011-10-13 12:43:13 -07:00
Michael Jurka
5130e401a0
Move haptic feedback on All Apps button to touch down
...
Bug #5453040
- Also fixing one case where db cursor wasn't closed
Bug #5453040
Change-Id: Id5e8f3c30690160900a6be2cd60c1062ff48ee54
2011-10-13 05:05:37 -07:00
Mathew Inwood
8193f690c2
Don't ignore fast keystrokes when launching search.
...
When typing fast on an external keyboard, the sequence goes thus:
1. keypress received, global search intent launched with the key included
as the initial query
2. activity is paused
3. another keypress received, another global search intent in launched
with this new key
4. Search activity appears, new keystrokes then end up here
Clearing the typed text immediately results in the first keystroke(s)
being ignored. Do that in onResume() instead so we don't lose them.
Bug: 5276707
Change-Id: I047293f62714ab1438894be7cf84ed127156b2ea
2011-10-13 10:16:01 +01:00
Michael Jurka
24a667c556
Merge "Add haptic feedback when All Apps button is pressed" into ics-mr0
2011-10-11 16:08:35 -07:00
Michael Jurka
2a55232840
Add haptic feedback when All Apps button is pressed
...
Bug 5432097
Change-Id: I600054705b7c48a69ee17bb4058c91ea8cf7260d
2011-10-11 15:45:17 -07:00
Michael Jurka
c1f5d26675
Fix stutter when swiping workspace first time
...
Bug # 5366313
Change-Id: If4212d0cd626d0829e3e4487da52f455b0b89983
2011-10-11 11:11:36 -07:00
Adam Cohen
16d7ffc5d5
Adding some dump() logging regarding deleted widgets
...
Change-Id: Ia11cc27267d06d57e0e16bfabe3b5076481058e5
2011-10-05 17:51:48 -07:00
Winson Chung
c51db6accf
Fixing some search box issues.
...
- Voice search still clickable and causes crash (Bug: 5371480)
- Empty search box when QSB is disabled (Bug: 5358074)
Change-Id: I97cef678b012c8294fca9149e22458abed31075d
2011-10-05 14:30:32 -07:00
Winson Chung
a182096cb2
Fixing crash when you are dragging an app and the packages change under you. (Bug: 5280181)
...
- Removing unused dimension for app icon content size
Change-Id: If3910010577e902937d284296479f9a699516de3
2011-10-04 11:29:11 -07: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
ac56cff186
Adding keyboard support to folders and fixing renaming rough edges
...
Change-Id: I62e1a5699e4c7e8d53f5f7d6331a854270a83aa1
2011-09-29 11:53:57 -07:00
Michael Jurka
b964f9c5c2
remove references to google apps
...
Change-Id: Id373dc701afdd476e125936711bbb040e1451f9e
2011-09-28 15:52:34 -07:00
Adam Cohen
dc16b6077e
Enable auto-rotation in phone UIs in eng builds (for testing)
...
Change-Id: I4749a861b860dede699593b8d06a17405345b8e4
2011-09-26 15:12:33 -07:00