/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ButtonAboveTallInternalSelectionViewTest.java | 41 getActivity().getScrollView().getScrollY()); 47 getActivity().getScrollView().getScrollY()); 63 getActivity().getScrollView().getScrollY());
|
H A D | RequestRectangleVisibleWithInternalScroll.java | 69 rect.offset(0, mTextBlob.getScrollY());
|
H A D | RequestRectangleVisibleWithInternalScrollTest.java | 60 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY());
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | 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());
|
H A D | ShortButtonsTest.java | 69 mScrollView.getScrollY()); 98 mScrollView.getScrollY()); 105 return mTempRect.bottom >= mScrollView.getScrollY() 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight());
|
H A D | MultiPageTextWithPaddingTest.java | 68 .getPaddingBottom()), mScrollView.getScrollY());
|
/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | ChangeScrollTest.java | 49 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 D | NestedScrollViewTest.java | 149 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 D | NestedScrollView.java | 320 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 D | StickyHeaderScrollView.java | 86 final int drawTop = drawTarget.getTop() - getScrollY(); 89 drawTarget.setTranslationY(getScrollY() - drawOffset);
|
H A D | BottomScrollView.java | 94 if (getScrollY() >= mScrollThreshold) {
|
/frameworks/base/core/java/android/text/method/ |
H A D | 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...] |
H A D | Touch.java | 101 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 D | LinkMovementMethod.java | 105 int areaTop = widget.getScrollY(); 216 y += widget.getScrollY();
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | ViewUtilsBase.java | 66 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY()); 80 matrix.postTranslate(vp.getScrollX(), vp.getScrollY());
|
H A D | ChangeScroll.java | 68 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY());
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeScroll.java | 63 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY());
|
H A D | TransitionUtils.java | 91 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY());
|
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/ |
H A D | ViewGroupUtils.java | 86 m.preTranslate(-vp.getScrollX(), -vp.getScrollY());
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 509 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 D | AssistVisualizer.java | 58 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 D | ObservableScrollView.java | 52 return getScrollY() == getMaxScrollY();
|
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/ |
H A D | AccessibilityRecordCompat.java | 442 * @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 D | RemoteInputView.java | 352 r.top = getScrollY(); 353 r.bottom = getScrollY() + (getBottom() - getTop());
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 380 } else if (event.getScrollX() != -1 && event.getScrollY() != -1) { 384 foundEnd = event.getScrollY() == 0 || 385 event.getScrollY() == event.getMaxScrollY();
|