Commit Graph

5 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
Michael Jurka
2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07: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
8a309c257a Fix NPE caused in LauncherViewPropertyAnimator
Change-Id: Ia0e388ee1ff6c3b364787d236c96dcd2c704d452
2012-01-12 06:06:59 -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