Home
last modified time | relevance | path

Searched refs:scroller (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java57 final ScrollView scroller = new ScrollView(this); in onCreate() local
58 scroller.setLayoutParams(new ViewGroup.LayoutParams( in onCreate()
63 scroller.addView(testBed); in onCreate()
65 setContentView(scroller); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTextPathActivity.java34 ScrollView scroller = new ScrollView(this); in onCreate() local
35 scroller.addView(new CustomTextView(this)); in onCreate()
36 setContentView(scroller); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java491 final ClampedScroller scroller = mScroller; in shouldAnimate() local
492 final int verticalDirection = scroller.getVerticalDirection(); in shouldAnimate()
493 final int horizontalDirection = scroller.getHorizontalDirection(); in shouldAnimate()
695 final ClampedScroller scroller = mScroller; in run() local
696 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()
DRecyclerView.java4653 final OverScroller scroller = mScroller; in run() local
4655 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()
/frameworks/base/core/java/android/widget/
DNumberPicker.java873 private boolean moveToFinalScrollerPosition(Scroller scroller) { in moveToFinalScrollerPosition() argument
874 scroller.forceFinished(true); in moveToFinalScrollerPosition()
875 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition()
1130 Scroller scroller = mFlingScroller; in computeScroll() local
1131 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 …]
DGallery.java1536 final Scroller scroller = mScroller;
1537 boolean more = scroller.computeScrollOffset();
1538 final int x = scroller.getCurrX();
DAbsListView.java4665 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; local
4892 if (scroller.computeScrollOffset()) {
4894 final int currY = scroller.getCurrY();
4901 int velocity = (int) scroller.getCurrVelocity();
4905 scroller.abortAnimation();
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java146 ScrollView scroller = new ScrollView(this); in scrollWrap() local
147 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()
149 return scroller; in scrollWrap()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java654 ScrollView scroller = new ScrollView(this); in scrollWrap() local
655 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()
657 return scroller; in scrollWrap()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java111 TaskStackViewScroller scroller, FalsingManager falsingManager) { in TaskStackViewTouchHandler() argument
116 mScroller = scroller; in TaskStackViewTouchHandler()