Searched refs:scroller (Results 1 – 10 of 10) sorted by relevance
57 final ScrollView scroller = new ScrollView(this); in onCreate() local58 scroller.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()63 scroller.addView(testBed); in onCreate()65 setContentView(scroller); in onCreate()
34 ScrollView scroller = new ScrollView(this); in onCreate() local35 scroller.addView(new CustomTextView(this)); in onCreate()36 setContentView(scroller); in onCreate()
491 final ClampedScroller scroller = mScroller; in shouldAnimate() local492 final int verticalDirection = scroller.getVerticalDirection(); in shouldAnimate()493 final int horizontalDirection = scroller.getHorizontalDirection(); in shouldAnimate()695 final ClampedScroller scroller = mScroller; in run() local696 if (scroller.isFinished() || !shouldAnimate()) { in run()706 scroller.computeScrollDelta(); in run()708 final int deltaX = scroller.getDeltaX(); in run()709 final int deltaY = scroller.getDeltaY(); in run()
4653 final OverScroller scroller = mScroller; in run() local4655 if (scroller.computeScrollOffset()) { in run()4656 final int x = scroller.getCurrX(); in run()4657 final int y = scroller.getCurrY(); in run()4703 final int vel = (int) scroller.getCurrVelocity(); in run()4718 if ((velX != 0 || overscrollX == x || scroller.getFinalX() == 0) in run()4719 && (velY != 0 || overscrollY == y || scroller.getFinalY() == 0)) { in run()4720 scroller.abortAnimation(); in run()4738 if (scroller.isFinished() || !fullyConsumedAny) { in run()
873 private boolean moveToFinalScrollerPosition(Scroller scroller) { in moveToFinalScrollerPosition() argument874 scroller.forceFinished(true); in moveToFinalScrollerPosition()875 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition()1130 Scroller scroller = mFlingScroller; in computeScroll() local1131 if (scroller.isFinished()) { in computeScroll()1132 scroller = mAdjustScroller; in computeScroll()1133 if (scroller.isFinished()) { in computeScroll()1137 scroller.computeScrollOffset(); in computeScroll()1138 int currentScrollerY = scroller.getCurrY(); in computeScroll()1140 mPreviousScrollerY = scroller.getStartY(); in computeScroll()[all …]
1536 final Scroller scroller = mScroller;1537 boolean more = scroller.computeScrollOffset();1538 final int x = scroller.getCurrX();
4665 final OverScroller scroller = mScroller;4674 && scroller.isScrollingInDirection(0, yvel)) {4816 final OverScroller scroller = mScroller;4817 boolean more = scroller.computeScrollOffset();4818 final int y = scroller.getCurrY();4891 final OverScroller scroller = mScroller; local4892 if (scroller.computeScrollOffset()) {4894 final int currY = scroller.getCurrY();4901 int velocity = (int) scroller.getCurrVelocity();4905 scroller.abortAnimation();
146 ScrollView scroller = new ScrollView(this); in scrollWrap() local147 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()149 return scroller; in scrollWrap()
654 ScrollView scroller = new ScrollView(this); in scrollWrap() local655 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()657 return scroller; in scrollWrap()
111 TaskStackViewScroller scroller, FalsingManager falsingManager) { in TaskStackViewTouchHandler() argument116 mScroller = scroller; in TaskStackViewTouchHandler()