HomeSort by relevance Sort by last modified time
    Searched defs:scrollProgress (Results 1 - 8 of 8) sorted by null

  /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/
Workspace.java     [all...]
AppsCustomizePagedView.java     [all...]
PagedView.java 694 float scrollProgress = getScrollProgress(screenCenter, child, i);
695 float alpha = 1 - Math.abs(scrollProgress);
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedView.java     [all...]
Workspace.java     [all...]

Completed in 531 milliseconds