Searched refs:getScrollY (Results 1 - 25 of 69) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DButtonAboveTallInternalSelectionViewTest.java41 getActivity().getScrollView().getScrollY());
47 getActivity().getScrollView().getScrollY());
63 getActivity().getScrollView().getScrollY());
H A DRequestRectangleVisibleWithInternalScroll.java69 rect.offset(0, mTextBlob.getScrollY());
H A DRequestRectangleVisibleWithInternalScrollTest.java60 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY());
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
H A DButtonsWithTallTextViewInBetweenTest.java82 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());
H A DShortButtonsTest.java69 mScrollView.getScrollY());
98 mScrollView.getScrollY());
105 return mTempRect.bottom >= mScrollView.getScrollY()
106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
H A DMultiPageTextWithPaddingTest.java68 .getPaddingBottom()), mScrollView.getScrollY());
/frameworks/support/transition/src/androidTest/java/androidx/transition/
H A DChangeScrollTest.java49 assertEquals(0, view.getScrollY());
61 final int scrollY = view.getScrollY();
72 assertEquals(300, view.getScrollY());
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
H A DNestedScrollViewTest.java149 assertThat(mNestedScrollView.getScrollY(), is(25));
161 assertThat(mNestedScrollView.getScrollY(), is(25));
184 assertThat(mNestedScrollView.getScrollY(), is(250));
196 assertThat(mNestedScrollView.getScrollY(), is(50));
208 assertThat(mNestedScrollView.getScrollY(), is(25));
221 assertThat(mNestedScrollView.getScrollY(), is(0));
278 assertThat(mNestedScrollView.getScrollY(), is(expectedTarget));
341 assertThat(mNestedScrollView.getScrollY(), is(100));
353 assertThat(mNestedScrollView.getScrollY(), is(100));
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DNestedScrollView.java320 final int oldScrollY = getScrollY();
322 final int myConsumed = getScrollY() - oldScrollY;
396 final int scrollY = getScrollY();
414 final int span = child.getBottom() + lp.bottomMargin - getScrollY() - bottomEdge;
484 * @see android.view.View#getScrollY()
647 final int scrollY = getScrollY();
780 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) {
867 final int oldY = getScrollY();
875 if (overScrollByCompat(0, deltaY, 0, getScrollY(), 0, range, 0,
881 final int scrolledDeltaY = getScrollY()
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DStickyHeaderScrollView.java86 final int drawTop = drawTarget.getTop() - getScrollY();
89 drawTarget.setTranslationY(getScrollY() - drawOffset);
H A DBottomScrollView.java94 if (getScrollY() >= mScrollThreshold) {
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java403 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...]
H A DTouch.java101 widget.getScrollX(), widget.getScrollY()),
154 int ny = widget.getScrollY() + (int) dy;
163 int oldY = widget.getScrollY();
168 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) {
H A DLinkMovementMethod.java105 int areaTop = widget.getScrollY();
216 y += widget.getScrollY();
/frameworks/support/transition/src/main/java/androidx/transition/
H A DViewUtilsBase.java66 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY());
80 matrix.postTranslate(vp.getScrollX(), vp.getScrollY());
H A DChangeScroll.java68 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY());
/frameworks/base/core/java/android/transition/
H A DChangeScroll.java63 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY());
H A DTransitionUtils.java91 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY());
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
H A DViewGroupUtils.java86 m.preTranslate(-vp.getScrollX(), -vp.getScrollY());
/frameworks/base/core/java/android/widget/
H A DScrollView.java509 if (getScrollY() == 0 && !canScrollVertically(1)) {
1023 mTempRect.top = getScrollY() + height;
1032 mTempRect.top = getScrollY() - height;
1089 int containerTop = getScrollY();
1136 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) {
1137 scrollDelta = getScrollY();
1141 int screenBottom = getScrollY() + getHeight() - mPaddingBottom;
1184 return (mTempRect.bottom + delta) >= getScrollY()
1185 && (mTempRect.top - delta) <= (getScrollY() + height);
1417 int screenTop = getScrollY();
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java58 this.scrollY = node.getScrollY();
169 top -= root.getScrollY();
170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DObservableScrollView.java52 return getScrollY() == getMaxScrollY();
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/
H A DAccessibilityRecordCompat.java442 * @deprecated Use {@link AccessibilityRecord#getScrollY()} directly.
445 public int getScrollY() { method in class:AccessibilityRecordCompat
446 return mRecord.getScrollY();
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
H A DRemoteInputView.java352 r.top = getScrollY();
353 r.bottom = getScrollY() + (getBottom() - getTop());
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java380 } else if (event.getScrollX() != -1 && event.getScrollY() != -1) {
384 foundEnd = event.getScrollY() == 0 ||
385 event.getScrollY() == event.getMaxScrollY();

Completed in 1342 milliseconds

123