/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/support/core-ui/java/android/support/v4/widget/ |
D | AutoScrollHelper.java | 492 final ClampedScroller scroller = mScroller; in shouldAnimate() local 493 final int verticalDirection = scroller.getVerticalDirection(); in shouldAnimate() 494 final int horizontalDirection = scroller.getHorizontalDirection(); in shouldAnimate() 696 final ClampedScroller scroller = mScroller; in run() local 697 if (scroller.isFinished() || !shouldAnimate()) { in run() 707 scroller.computeScrollDelta(); in run() 709 final int deltaX = scroller.getDeltaX(); in run() 710 final int deltaY = scroller.getDeltaY(); in run()
|
/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/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()
|
/frameworks/support/compat/ics/android/support/v4/widget/ |
D | ScrollerCompatIcs.java | 25 public static float getCurrVelocity(Object scroller) { in getCurrVelocity() argument 26 return ((OverScroller) scroller).getCurrVelocity(); in getCurrVelocity()
|
/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/base/docs/html/training/gestures/ |
D | scroll.jd | 48 managed by the framework. Implementing a custom scroller should only be 76 <p>A scroller is used to animate scrolling over time, using platform-standard 77 scrolling physics (friction, velocity, etc.). The scroller itself doesn't 106 a scroller object. This is the use 110 <p>It's common to use scroller objects 121 <p>This section describes how to use a scroller. 223 This is typically be done when a view child is animating a scroll using a scroller object, as in th… 225 <p>Most views pass the scroller object's x and y position directly to 253 // The scroller isn't finished, meaning a fling or programmatic pan 355 <p>For another example of scroller usage, see the
|
D | index.jd | 2 page.tags=input,navigation,gesturedetector,scroller
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 828 private boolean moveToFinalScrollerPosition(Scroller scroller) { in moveToFinalScrollerPosition() argument 829 scroller.forceFinished(true); in moveToFinalScrollerPosition() 830 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition() 1085 Scroller scroller = mFlingScroller; in computeScroll() local 1086 if (scroller.isFinished()) { in computeScroll() 1087 scroller = mAdjustScroller; in computeScroll() 1088 if (scroller.isFinished()) { in computeScroll() 1092 scroller.computeScrollOffset(); in computeScroll() 1093 int currentScrollerY = scroller.getCurrY(); in computeScroll() 1095 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 | 4557 final OverScroller scroller = mScroller; 4566 && scroller.isScrollingInDirection(0, yvel)) { 4697 final OverScroller scroller = mScroller; 4698 boolean more = scroller.computeScrollOffset(); 4699 final int y = scroller.getCurrY(); 4772 final OverScroller scroller = mScroller; local 4773 if (scroller.computeScrollOffset()) { 4775 final int currY = scroller.getCurrY(); 4782 int velocity = (int) scroller.getCurrVelocity(); 4786 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/docs/html/training/printing/ |
D | index.jd | 2 page.tags=print,navigation,gesturedetector,scroller
|
/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 | 4428 final ScrollerCompat scroller = mScroller; in run() local 4430 if (scroller.computeScrollOffset()) { in run() 4431 final int x = scroller.getCurrX(); in run() 4432 final int y = scroller.getCurrY(); in run() 4478 final int vel = (int) scroller.getCurrVelocity(); in run() 4493 if ((velX != 0 || overscrollX == x || scroller.getFinalX() == 0) && in run() 4494 (velY != 0 || overscrollY == y || scroller.getFinalY() == 0)) { in run() 4495 scroller.abortAnimation(); in run() 4513 if (scroller.isFinished() || !fullyConsumedAny) { in run()
|
D | StaggeredGridLayoutManager.java | 2019 LinearSmoothScroller scroller = new LinearSmoothScroller(recyclerView.getContext()); 2020 scroller.setTargetPosition(position); 2021 startSmoothScroll(scroller);
|