Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java61 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/v4/ics/android/support/v4/widget/
DScrollerCompatIcs.java25 public static float getCurrVelocity(Scroller scroller) { in getCurrVelocity() argument
26 return scroller.getCurrVelocity(); in getCurrVelocity()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java127 ScrollView scroller = new ScrollView(this); in scrollWrap() local
128 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, in scrollWrap()
130 return scroller; in scrollWrap()
/frameworks/base/core/java/android/widget/
DNumberPicker.java749 private boolean moveToFinalScrollerPosition(Scroller scroller) { in moveToFinalScrollerPosition() argument
750 scroller.forceFinished(true); in moveToFinalScrollerPosition()
751 int amountToScroll = scroller.getFinalY() - scroller.getCurrY(); in moveToFinalScrollerPosition()
981 Scroller scroller = mFlingScroller; in computeScroll() local
982 if (scroller.isFinished()) { in computeScroll()
983 scroller = mAdjustScroller; in computeScroll()
984 if (scroller.isFinished()) { in computeScroll()
988 scroller.computeScrollOffset(); in computeScroll()
989 int currentScrollerY = scroller.getCurrY(); in computeScroll()
991 mPreviousScrollerY = scroller.getStartY(); in computeScroll()
[all …]
DGallery.java1478 final Scroller scroller = mScroller;
1479 boolean more = scroller.computeScrollOffset();
1480 final int x = scroller.getCurrX();
DAbsListView.java4017 final OverScroller scroller = mScroller;
4026 && scroller.isScrollingInDirection(0, yvel)) {
4156 final OverScroller scroller = mScroller;
4157 boolean more = scroller.computeScrollOffset();
4158 final int y = scroller.getCurrY();
4231 final OverScroller scroller = mScroller; local
4232 if (scroller.computeScrollOffset()) {
4234 final int currY = scroller.getCurrY();
4241 int velocity = (int) scroller.getCurrVelocity();
4245 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java51 ScrollView scroller = (ScrollView) findViewById(R.id.scroll); in onAttachedToWindow() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java376 ScrollView scroller = (ScrollView)mPile.getParent(); in addPanelWindows() local
377 scroller.setFillViewport(true); in addPanelWindows()