Adding animation post-installing a shortcut.

Change-Id: I63bb3b713fab28a43e61333dd331dbf2d211faa7
This commit is contained in:
Winson Chung committed 2012-03-23 11:17:25 -07:00
1 parent 6b8a02d63a
commit f0c6ae0e35
8 files changed
+215 -57

No files matched your search

+2 -1
View File
@@ -62,7 +62,8 @@ public abstract class PagedView extends ViewGroup {
// the min drag distance for a fling to register, to prevent random page shifts
private static final int MIN_LENGTH_FOR_FLING = 25;
private static final int PAGE_SNAP_ANIMATION_DURATION = 550;
protected static final int PAGE_SNAP_ANIMATION_DURATION = 550;
protected static final int SLOW_PAGE_SNAP_ANIMATION_DURATION = 950;
protected static final float NANOTIME_DIV = 1000000000.0f;
private static final float OVERSCROLL_ACCELERATE_FACTOR = 2;