/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardWidgetCarousel.java | 61 float scrollProgress = getScrollProgress(screenCenter, child, index); 63 if (isOverScrollChild(index, scrollProgress)) { 66 scrollProgress = getBoundedScrollProgress(screenCenter, child, index); 67 float alpha = 1.0f - 1.0f * Math.abs(scrollProgress / MAX_SCROLL_PROGRESS); 125 float scrollProgress = getScrollProgress(screenCenter, v, i); 130 if (isOverScrollChild(i, scrollProgress)) { 131 v.setRotationY(- OVERSCROLL_MAX_ROTATION * scrollProgress); 132 v.setOverScrollAmount(Math.abs(scrollProgress), scrollProgress < 0);
|
KeyguardWidgetPager.java | 521 protected boolean isOverScrollChild(int index, float scrollProgress) { 523 return (isInOverscroll && (index == 0 && scrollProgress < 0 || 524 index == getChildCount() - 1 && scrollProgress > 0)); 535 float scrollProgress = getScrollProgress(screenCenter, v, i); 539 if (isOverScrollChild(i, scrollProgress) && PERFORM_OVERSCROLL_ROTATION) { 544 v.setRotationY(- OVERSCROLL_MAX_ROTATION * scrollProgress); 545 v.setOverScrollAmount(Math.abs(scrollProgress), scrollProgress < 0); [all...] |
PagedView.java | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizePagedView.java | [all...] |
PagedView.java | 694 float scrollProgress = getScrollProgress(screenCenter, child, i); 695 float alpha = 1 - Math.abs(scrollProgress); [all...] |
Workspace.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppsCustomizePagedView.java | [all...] |
PagedView.java | [all...] |
Workspace.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PhotoView.java | [all...] |