HomeSort by relevance Sort by last modified time
    Searched refs:getScrollY (Results 1 - 25 of 160) sorted by null

1 2 3 4 5 6 7

  /cts/tests/tests/widget/src/android/widget/cts/
ScrollViewTest.java 281 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE);
288 assertEquals(0, mScrollView.getScrollY());
300 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE);
308 assertEquals(0, mScrollView.getScrollY());
357 assertEquals(0, mScrollView.getScrollY());
360 assertEquals(mPageHeight, mScrollView.getScrollY(), TOLERANCE);
363 assertEquals(mPageHeight * 2, mScrollView.getScrollY(), TOLERANCE);
367 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE);
370 assertEquals(mScrollBottom - mPageHeight, mScrollView.getScrollY(), TOLERANCE);
373 assertEquals(mScrollBottom -mPageHeight * 2, mScrollView.getScrollY(), TOLERANCE)
    [all...]
HorizontalScrollViewTest.java 401 assertEquals(0, mScrollView.getScrollY());
410 assertEquals(0, mScrollView.getScrollY());
419 assertEquals(0, mScrollView.getScrollY());
424 assertEquals(0, mScrollView.getScrollY());
433 assertEquals(0, mScrollView.getScrollY());
442 assertEquals(0, mScrollView.getScrollY());
500 assertEquals(0, mScrollView.getScrollY());
504 assertEquals(0, mScrollView.getScrollY());
543 assertEquals(0, mScrollView.getScrollY());
547 assertEquals(0, mScrollView.getScrollY());
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/
ButtonAboveTallInternalSelectionViewTest.java 39 getActivity().getScrollView().getScrollY());
45 getActivity().getScrollView().getScrollY());
61 getActivity().getScrollView().getScrollY());
RequestRectangleVisibleWithInternalScroll.java 69 rect.offset(0, mTextBlob.getScrollY());
RequestRectangleVisibleWithInternalScrollTest.java 60 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY());
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWidgetImageView.java 41 getScrollY() + getPaddingTop(),
43 getScrollY() + getBottom() - getTop() - getPaddingBottom());
BubbleTextView.java 184 destCanvas.translate(-getScrollX() + padding / 2, -getScrollY() + padding / 2);
283 final int scrollY = getScrollY();
310 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(),
312 getScrollY() + getHeight(), Region.Op.INTERSECT);
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewWidgetImageView.java 41 getScrollY() + getPaddingTop(),
43 getScrollY() + getBottom() - getTop() - getPaddingBottom());
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
ButtonsWithTallTextViewInBetweenTest.java 82 mScrollView.getScrollY());
85 getBottomWithinScrollView(mTopButton) < mScrollView.getScrollY());
95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight();
107 mScrollView.getScrollY());
125 mScrollView.getScrollY());
132 mScrollView.getScrollY());
135 getTopWithinScrollView(mBottomButton) > mScrollView.getScrollY() + mScrollView.getHeight());
ShortButtonsTest.java 69 mScrollView.getScrollY());
98 mScrollView.getScrollY());
105 return mTempRect.bottom >= mScrollView.getScrollY()
106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
MultiPageTextWithPaddingTest.java 66 .getPaddingBottom()), mScrollView.getScrollY());
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ScrollViewTest.java 18 assertEquals(6, scrollView.getScrollY());
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwScrollOffsetManagerTest.java 42 public int getScrollY() {
102 assertEquals(scrollY, delegate.getOverScrollDeltaY() + delegate.getScrollY());
113 delegate.getOverScrollDeltaY() + delegate.getScrollY(), false, false);
143 assertEquals(0, delegate.getScrollY());
157 assertEquals(0, delegate.getScrollY());
193 assertEquals(MAX_VERTICAL_OFFSET, delegate.getScrollY());
200 assertEquals(0, delegate.getScrollY());
306 assertEquals(0, delegate.getScrollY());
312 assertEquals(scrollY, delegate.getScrollY());
333 assertEquals(scrollY, delegate.getScrollY());
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 85 assertEquals(0, tv.getScrollY());
95 assertEquals(5, tv.getScrollY());
104 assertEquals(5, tv.getScrollY());
144 assertEquals(0, tv.getScrollY());
155 assertEquals(0, tv.getScrollY());
169 assertEquals(0, tv.getScrollY());
183 assertEquals(0, tv.getScrollY());
ScrollingMovementMethodTest.java 209 int top = mTextView.getScrollY();
221 int previousScrollY = mTextView.getScrollY();
229 assertEquals(previousScrollY, mTextView.getScrollY());
248 previousScrollY = mTextView.getScrollY();
256 assertTrue(mTextView.getScrollY() > previousScrollY);
259 previousScrollY = mTextView.getScrollY();
268 assertTrue(mTextView.getScrollY() > previousScrollY);
269 assertEquals(bottom, mTextView.getScrollY(), 0f);
271 previousScrollY = mTextView.getScrollY();
279 assertTrue(mTextView.getScrollY() < previousScrollY)
    [all...]
  /external/droiddriver/src/com/google/android/droiddriver/scroll/
AccessibilityEventScrollStepStrategy.java 142 if (event.getScrollX() != -1 && event.getScrollY() != -1) {
144 return event.getScrollY() == 0 || event.getScrollY() == event.getMaxScrollY();
152 && event.getScrollX() == -1 && event.getScrollY() == -1;
  /packages/apps/Contacts/src/com/android/contacts/widget/
TouchlessScrollView.java 33 final int scrollY = getScrollY();
  /packages/apps/FMRadio/src/com/android/fmradio/views/
FmTouchlessScrollView.java 66 final int scrollY = getScrollY();
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/
CaffeinatedScrollView.java 68 int screenBottom = getScrollY() + getHeight() - getPaddingBottom();
  /frameworks/base/core/java/android/text/method/
BaseMovementMethod.java 403 return widget.getLayout().getLineForVertical(widget.getScrollY());
407 return widget.getLayout().getLineForVertical(widget.getScrollY() + getInnerHeight(widget));
471 widget.scrollTo(scrollX, widget.getScrollY());
492 widget.scrollTo(scrollX, widget.getScrollY());
510 final int top = widget.getScrollY();
538 final int bottom = widget.getScrollY() + innerHeight;
567 final int top = widget.getScrollY() - getInnerHeight(widget);
588 final int bottom = widget.getScrollY() + innerHeight + innerHeight;
649 widget.scrollTo(minScrollX, widget.getScrollY());
668 widget.scrollTo(maxScrollX, widget.getScrollY());
    [all...]
Touch.java 101 widget.getScrollX(), widget.getScrollY()),
164 int ny = widget.getScrollY() + (int) dy;
173 int oldY = widget.getScrollY();
180 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) {
  /developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java 101 // For all other view types we just check the getScrollY() value
102 return view.getScrollY() > 0;
  /developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java 101 // For all other view types we just check the getScrollY() value
102 return view.getScrollY() > 0;
  /development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
MultiSwipeRefreshLayout.java 101 // For all other view types we just check the getScrollY() value
102 return view.getScrollY() > 0;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
AmbientState.java 38 public int getScrollY() {

Completed in 2415 milliseconds

1 2 3 4 5 6 7