/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | NotificationShadeActivity.java | 41 private Scroller mScroller; field in NotificationShadeActivity.FakeNotificationStackView 50 if (mScroller.computeScrollOffset()) { 51 updateState(mScroller.getCurrY()); 69 mScroller.fling(0, mFullHeight, 0, (int) vY, 0, 0, 0, getHeight()); 99 mScroller = new Scroller(getContext()); in FakeNotificationStackView()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 136 private final ClampedScroller mScroller = new ClampedScroller(); field in AutoScrollHelper 426 mScroller.setRampUpDuration(durationMillis); in setRampUpDuration() 441 mScroller.setRampDownDuration(durationMillis); in setRampDownDuration() 470 mScroller.setTargetVelocity(xTargetVelocity, yTargetVelocity); in onTouch() 491 final ClampedScroller scroller = mScroller; in shouldAnimate() 532 mScroller.requestStop(); in requestStop() 692 mScroller.start(); in run() 695 final ClampedScroller scroller = mScroller; in run()
|
D | ViewPager.java | 124 private final Scroller mScroller; field in ViewPager 349 mScroller = new Scroller(context, sInterpolator); in ViewPager() 808 mScroller.startScroll(sx, sy, dx, dy, duration); in smoothScrollTo() 1481 if (!mScroller.isFinished()) { 1483 final int newDuration = mScroller.getDuration() - mScroller.timePassed(); 1485 mScroller.startScroll(newOffsetPixels, 0, 1624 if (!mScroller.isFinished() && mScroller.computeScrollOffset()) { 1627 final int x = mScroller.getCurrX(); 1628 final int y = mScroller.getCurrY(); 1634 mScroller.abortAnimation(); [all …]
|
D | ResolverDrawerLayout.java | 111 private final OverScroller mScroller; field in ResolverDrawerLayout 172 mScroller = new OverScroller(context, AnimationUtils.loadInterpolator(context, in ResolverDrawerLayout() 259 return mIsDragging || !mScroller.isFinished(); in isMoving() 553 if (mScroller.computeScrollOffset()) { 554 final boolean keepGoing = !mScroller.isFinished(); 555 performDrag(mScroller.getCurrY() - mCollapseOffset); 565 mScroller.abortAnimation(); 681 mScroller.startScroll(0, sy, 0, dy, duration); 813 if (mScroller.isFinished()) {
|
D | RecyclerView.java | 4750 private OverScroller mScroller; field in RecyclerView.ViewFlinger 4761 mScroller = new OverScroller(getContext(), sQuinticInterpolator); in ViewFlinger() 4774 final OverScroller scroller = mScroller; in run() 4907 mScroller.fling(0, 0, velocityX, velocityY, in fling() 4960 mScroller = new OverScroller(getContext(), interpolator); in smoothScrollBy() 4964 mScroller.startScroll(0, 0, dx, dy, duration); in smoothScrollBy() 4970 mScroller.abortAnimation(); in stop()
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 84 private OverScroller mScroller; field in HorizontalScrollView 320 mScroller = new OverScroller(getContext()); in initScrollView() 641 mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowLeft.isFinished() in onInterceptTouchEvent() 658 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onInterceptTouchEvent() 693 if (!mScroller.isFinished()) { in onTouchEvent() 704 if (!mScroller.isFinished()) { in onTouchEvent() 705 mScroller.abortAnimation(); in onTouchEvent() 796 if (mScroller.springBack(mScrollX, mScrollY, 0, in onTouchEvent() 815 if (mScroller.springBack(mScrollX, mScrollY, 0, getScrollRange(), 0, 0)) { in onTouchEvent() 900 if (!mScroller.isFinished()) { in onOverScrolled() [all …]
|
D | ScrollView.java | 93 private OverScroller mScroller; field in ScrollView 351 mScroller = new OverScroller(getContext()); in initScrollView() 688 mScroller.computeScrollOffset(); in onInterceptTouchEvent() 689 mIsBeingDragged = !mScroller.isFinished() || !mEdgeGlowBottom.isFinished() in onInterceptTouchEvent() 711 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent() 750 if (!mScroller.isFinished()) { in onTouchEvent() 761 if (!mScroller.isFinished()) { in onTouchEvent() 762 mScroller.abortAnimation(); in onTouchEvent() 870 } else if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, in onTouchEvent() 881 if (mScroller.springBack(mScrollX, mScrollY, 0, 0, 0, getScrollRange())) { in onTouchEvent() [all …]
|
D | Gallery.java | 1103 if (mFlingRunnable.mScroller.isFinished()) { in onUp() 1473 private Scroller mScroller; field in Gallery.FlingRunnable 1481 mScroller = new Scroller(getContext()); in FlingRunnable() 1497 mScroller.fling(initialX, 0, initialVelocity, 0, in startUsingVelocity() 1508 mScroller.startScroll(0, 0, -distance, 0, mAnimationDuration); 1522 mScroller.forceFinished(true); 1537 final Scroller scroller = mScroller;
|
D | AbsListView.java | 4783 private final OverScroller mScroller; field in AbsListView.FlingRunnable 4801 final OverScroller scroller = mScroller; 4824 mScroller = new OverScroller(getContext()); in FlingRunnable() 4832 mScroller.setInterpolator(null); in start() 4833 mScroller.fling(0, initialY, 0, initialVelocity, in start() 4854 if (mScroller.springBack(0, mScrollY, 0, 0, 0, 0)) { 4865 mScroller.setInterpolator(null); 4866 mScroller.fling(0, mScrollY, 0, initialVelocity, 0, 0, 4875 mScroller.notifyVerticalEdgeReached(mScrollY, 0, mOverflingDistance); 4880 final int vel = (int) mScroller.getCurrVelocity(); [all …]
|
D | TextView.java | 865 private Scroller mScroller; 10339 if (mScroller == null) { in bringPointIntoView() 10347 mScroller.startScroll(mScrollX, mScrollY, dx, dy); in bringPointIntoView() 10348 awakenScrollBars(mScroller.getDuration()); in bringPointIntoView() 10351 if (!mScroller.isFinished()) { in bringPointIntoView() 10352 mScroller.abortAnimation(); in bringPointIntoView() 10450 if (mScroller != null) { in computeScroll() 10451 if (mScroller.computeScrollOffset()) { in computeScroll() 10452 mScrollX = mScroller.getCurrX(); in computeScroll() 10453 mScrollY = mScroller.getCurrY(); in computeScroll() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PagedTileLayout.java | 65 private Scroller mScroller; field in PagedTileLayout 82 mScroller = new Scroller(context, SCROLL_CUBIC); in PagedTileLayout() 260 if (!mScroller.isFinished() && mScroller.computeScrollOffset()) { in computeScroll() 264 fakeDragBy(getScrollX() - mScroller.getCurrX()); in computeScroll() 586 mScroller.startScroll(getScrollX(), getScrollY(), isLayoutRtl() ? -dx : dx, 0, in startTileReveal()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 130 private final ScrollerCompat mScroller; field in StaggeredGridView 212 mScroller = ScrollerCompat.from(context); in StaggeredGridView() 285 mScroller.abortAnimation(); in onInterceptTouchEvent() 326 mScroller.abortAnimation(); in onTouchEvent() 369 mScroller.fling(0, 0, 0, (int) velocity, 0, 0, in onTouchEvent() 543 if (mScroller.computeScrollOffset()) { in computeScroll() 544 final int y = mScroller.getCurrY(); in computeScroll() 549 if (!stopped && !mScroller.isFinished()) { in computeScroll() 561 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity())); in computeScroll() 564 mScroller.abortAnimation(); in computeScroll()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayout.java | 177 private OverScroller mScroller; field in NotificationStackScrollLayout 1026 mScroller = new OverScroller(getContext()); in initView() 1237 mAmbientState.setCurrentScrollVelocity(mScroller.isFinished() 1239 : mScroller.getCurrVelocity()); 1837 mScroller.startScroll(mScrollX, mOwnScrollY, 0, targetScroll - mOwnScrollY); 1905 mScroller.startScroll(mScrollX, mOwnScrollY, 0, range - mOwnScrollY); 2072 if (mScroller.computeScrollOffset()) { 2074 int y = mScroller.getCurrY(); 2100 float currVelocity = mScroller.getCurrVelocity(); 2264 if (!mScroller.isFinished()) { [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewRootImpl.java | 752 Scroller mScroller; field in ViewRootImpl 3229 if (mScroller != null) { in performTraversals() 3230 mScroller.abortAnimation(); in performTraversals() 4676 boolean animating = mScroller != null && mScroller.computeScrollOffset(); in draw() 4679 curScrollY = mScroller.getCurrY(); in draw() 4698 if (animating && mScroller != null) { in draw() 4699 mScroller.abortAnimation(); in draw() 5202 if (mScroller == null) { in scrollToRectOrFocus() 5203 mScroller = new Scroller(mView.getContext()); in scrollToRectOrFocus() 5205 mScroller.startScroll(0, mScrollY, 0, scrollY-mScrollY); in scrollToRectOrFocus() [all …]
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 64817 Landroid/view/ViewRootImpl;->mScroller:Landroid/widget/Scroller; 67665 Landroid/widget/Gallery$FlingRunnable;->mScroller:Landroid/widget/Scroller; 70562 Landroid/widget/TextView;->mScroller:Landroid/widget/Scroller; 86322 Lcom/android/internal/widget/AutoScrollHelper;->mScroller:Lcom/android/internal/widget/AutoScrollHe…
|