/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCache.java | 61 final ScrollView scroller = new ScrollView(this); in onCreate() local 62 scroller.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 67 scroller.addView(testBed); in onCreate() 69 setContentView(scroller); in onCreate()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | TextPathActivity.java | 34 ScrollView scroller = new ScrollView(this); in onCreate() local 35 scroller.addView(new CustomTextView(this)); in onCreate() 36 setContentView(scroller); in onCreate()
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | AutoScrollHelper.java | 491 final ClampedScroller scroller = mScroller; in shouldAnimate() local 492 final int verticalDirection = scroller.getVerticalDirection(); in shouldAnimate() 493 final int horizontalDirection = scroller.getHorizontalDirection(); in shouldAnimate() 698 final ClampedScroller scroller = mScroller; in run() local 699 if (scroller.isFinished() || !shouldAnimate()) { in run() 709 scroller.computeScrollDelta(); in run() 711 final int deltaX = scroller.getDeltaX(); in run() 712 final int deltaY = scroller.getDeltaY(); in run()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 491 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()
|
D | RecyclerView.java | 4652 final OverScroller scroller = mScroller; in run() local 4654 if (scroller.computeScrollOffset()) { in run() 4655 final int x = scroller.getCurrX(); in run() 4656 final int y = scroller.getCurrY(); in run() 4702 final int vel = (int) scroller.getCurrVelocity(); in run() 4717 if ((velX != 0 || overscrollX == x || scroller.getFinalX() == 0) in run() 4718 && (velY != 0 || overscrollY == y || scroller.getFinalY() == 0)) { in run() 4719 scroller.abortAnimation(); in run() 4737 if (scroller.isFinished() || !fullyConsumedAny) { in run()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentLayoutSupport.java | 212 ScrollView scroller = new ScrollView(getActivity()); in onCreateView() local 217 scroller.addView(text); in onCreateView() 219 return scroller; in onCreateView()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | RecyclerViewFastScrollerTest.java | 265 FastScroller scroller = (FastScroller) view.getItemDecorationAt(0); in inflationTest() local 266 assertNotNull(scroller.getHorizontalThumbDrawable()); in inflationTest() 267 assertNotNull(scroller.getHorizontalTrackDrawable()); in inflationTest() 268 assertNotNull(scroller.getVerticalThumbDrawable()); in inflationTest() 269 assertNotNull(scroller.getVerticalTrackDrawable()); in inflationTest()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 837 private boolean moveToFinalScrollerPosition(Scroller scroller) { in moveToFinalScrollerPosition() argument 838 scroller.forceFinished(true); in moveToFinalScrollerPosition() 839 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition() 1092 Scroller scroller = mFlingScroller; in computeScroll() local 1093 if (scroller.isFinished()) { in computeScroll() 1094 scroller = mAdjustScroller; in computeScroll() 1095 if (scroller.isFinished()) { in computeScroll() 1099 scroller.computeScrollOffset(); in computeScroll() 1100 int currentScrollerY = scroller.getCurrY(); in computeScroll() 1102 mPreviousScrollerY = scroller.getStartY(); in computeScroll() [all …]
|
D | Gallery.java | 1518 final Scroller scroller = mScroller; 1519 boolean more = scroller.computeScrollOffset(); 1520 final int x = scroller.getCurrX();
|
D | AbsListView.java | 4585 final OverScroller scroller = mScroller; 4594 && scroller.isScrollingInDirection(0, yvel)) { 4732 final OverScroller scroller = mScroller; 4733 boolean more = scroller.computeScrollOffset(); 4734 final int y = scroller.getCurrY(); 4807 final OverScroller scroller = mScroller; local 4808 if (scroller.computeScrollOffset()) { 4810 final int currY = scroller.getCurrY(); 4817 int velocity = (int) scroller.getCurrVelocity(); 4821 scroller.abortAnimation();
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 146 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/ |
D | ActivityTestMain.java | 588 ScrollView scroller = new ScrollView(this); in scrollWrap() local 589 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap() 591 return scroller; in scrollWrap()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackViewTouchHandler.java | 111 TaskStackViewScroller scroller) { in TaskStackViewTouchHandler() argument 116 mScroller = scroller; in TaskStackViewTouchHandler()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 3601 final OverScroller scroller = mViewFlinger.mScroller; in fillRemainingScrollValues() local 3602 state.mRemainingScrollHorizontal = scroller.getFinalX() - scroller.getCurrX(); in fillRemainingScrollValues() 3603 state.mRemainingScrollVertical = scroller.getFinalY() - scroller.getCurrY(); in fillRemainingScrollValues() 4835 final OverScroller scroller = mScroller; in run() local 4837 if (scroller.computeScrollOffset()) { in run() 4839 final int x = scroller.getCurrX(); in run() 4840 final int y = scroller.getCurrY(); in run() 4896 final int vel = (int) scroller.getCurrVelocity(); in run() 4911 if ((velX != 0 || overscrollX == x || scroller.getFinalX() == 0) in run() 4912 && (velY != 0 || overscrollY == y || scroller.getFinalY() == 0)) { in run() [all …]
|
D | StaggeredGridLayoutManager.java | 2033 LinearSmoothScroller scroller = new LinearSmoothScroller(recyclerView.getContext()); 2034 scroller.setTargetPosition(position); 2035 startSmoothScroll(scroller);
|