Home
last modified time | relevance | path

Searched refs:getScrollY (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DButtonsWithTallTextViewInBetweenTest.java82 mScrollView.getScrollY()); in testPanTopButtonOffScreenLosesFocus()
85 getBottomWithinScrollView(mTopButton) < mScrollView.getScrollY()); in testPanTopButtonOffScreenLosesFocus()
95 final int screenBottom = mScrollView.getScrollY() + mScrollView.getHeight(); in testScrollDownToBottomButton()
107 mScrollView.getScrollY()); in testScrollDownToBottomButton()
125 mScrollView.getScrollY()); in testPanBottomButtonOffScreenLosesFocus()
132 mScrollView.getScrollY()); in testPanBottomButtonOffScreenLosesFocus()
135 … getTopWithinScrollView(mBottomButton) > mScrollView.getScrollY() + mScrollView.getHeight()); in testPanBottomButtonOffScreenLosesFocus()
DShortButtonsTest.java69 mScrollView.getScrollY()); in testScrollDownToBottomThroughButtons()
98 mScrollView.getScrollY()); in testScrollFromBottomToTopThroughButtons()
105 return mTempRect.bottom >= mScrollView.getScrollY() in isButtonOnScreen()
106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight()); in isButtonOnScreen()
DMultiPageTextWithPaddingTest.java68 .getPaddingBottom()), mScrollView.getScrollY()); in testScrollDownToBottom()
/frameworks/support/core-ui/java/android/support/v4/widget/
DNestedScrollView.java311 final int oldScrollY = getScrollY(); in onNestedScroll()
313 final int myConsumed = getScrollY() - oldScrollY; in onNestedScroll()
356 final int scrollY = getScrollY(); in getTopFadingEdgeStrength()
372 final int span = getChildAt(0).getBottom() - getScrollY() - bottomEdge; in getBottomFadingEdgeStrength()
599 final int scrollY = getScrollY(); in inChild()
732 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent()
819 final int oldY = getScrollY(); in onTouchEvent()
827 if (overScrollByCompat(0, deltaY, 0, getScrollY(), 0, range, 0, in onTouchEvent()
833 final int scrolledDeltaY = getScrollY() - oldY; in onTouchEvent()
870 } else if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, in onTouchEvent()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DButtonAboveTallInternalSelectionViewTest.java41 getActivity().getScrollView().getScrollY()); in testPreconditions()
47 getActivity().getScrollView().getScrollY()); in testPreconditions()
63 getActivity().getScrollView().getScrollY()); in testMovingFocusDownToItemTallerThanScreenStillOnScreen()
DRequestRectangleVisibleWithInternalScroll.java69 rect.offset(0, mTextBlob.getScrollY()); in onCreate()
DRequestRectangleVisibleWithInternalScrollTest.java60 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY()); in testPreconditions()
/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java403 return widget.getLayout().getLineForVertical(widget.getScrollY()); in getTopLine()
407 return widget.getLayout().getLineForVertical(widget.getScrollY() + getInnerHeight(widget)); in getBottomLine()
471 widget.scrollTo(scrollX, widget.getScrollY()); in scrollLeft()
492 widget.scrollTo(scrollX, widget.getScrollY()); in scrollRight()
510 final int top = widget.getScrollY(); in scrollUp()
538 final int bottom = widget.getScrollY() + innerHeight; in scrollDown()
567 final int top = widget.getScrollY() - getInnerHeight(widget); in scrollPageUp()
588 final int bottom = widget.getScrollY() + innerHeight + innerHeight; in scrollPageDown()
649 widget.scrollTo(minScrollX, widget.getScrollY()); in scrollLineStart()
668 widget.scrollTo(maxScrollX, widget.getScrollY()); in scrollLineEnd()
DTouch.java101 widget.getScrollX(), widget.getScrollY()), in onTouchEvent()
154 int ny = widget.getScrollY() + (int) dy; in onTouchEvent()
163 int oldY = widget.getScrollY(); in onTouchEvent()
168 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
DLinkMovementMethod.java101 int areaTop = widget.getScrollY(); in action()
206 y += widget.getScrollY(); in onTouchEvent()
/frameworks/support/transition/tests/src/android/support/transition/
DChangeScrollTest.java48 assertEquals(0, view.getScrollY()); in testChangeScroll()
60 final int scrollY = view.getScrollY(); in testChangeScroll()
71 assertEquals(300, view.getScrollY()); in testChangeScroll()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStickyHeaderScrollView.java86 final int drawTop = drawTarget.getTop() - getScrollY(); in updateStickyHeaderPosition()
89 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition()
DBottomScrollView.java94 if (getScrollY() >= mScrollThreshold) { in checkScroll()
/frameworks/base/core/java/android/widget/
DScrollView.java509 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
1023 mTempRect.top = getScrollY() + height; in pageScroll()
1032 mTempRect.top = getScrollY() - height; in pageScroll()
1089 int containerTop = getScrollY(); in scrollAndFocus()
1136 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1137 scrollDelta = getScrollY(); in arrowScroll()
1141 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll()
1184 return (mTempRect.bottom + delta) >= getScrollY() in isWithinDeltaOfScreen()
1185 && (mTempRect.top - delta) <= (getScrollY() + height); in isWithinDeltaOfScreen()
1417 int screenTop = getScrollY(); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java58 this.scrollY = node.getScrollY(); in TextEntry()
169 top -= root.getScrollY();
170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY());
/frameworks/support/transition/api14/android/support/transition/
DViewUtilsApi14.java82 matrix.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in transformMatrixToGlobal()
97 matrix.postTranslate(vp.getScrollX(), vp.getScrollY()); in transformMatrixToLocal()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java506 public int getScrollY() { in getScrollY() method in AccessibilityRecordCompat
507 return mRecord.getScrollY(); in getScrollY()
/frameworks/support/design/src/android/support/design/widget/
DViewGroupUtils.java78 m.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in offsetDescendantMatrix()
/frameworks/base/core/java/android/transition/
DChangeScroll.java63 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY()); in captureValues()
/frameworks/support/transition/src/android/support/transition/
DChangeScroll.java67 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY()); in captureValues()
DTransitionUtils.java44 matrix.setTranslate(-parent.getScrollX(), -parent.getScrollY()); in copyViewImage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java52 return getScrollY() == getMaxScrollY(); in isScrolledToBottom()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java380 } else if (event.getScrollX() != -1 && event.getScrollY() != -1) {
384 foundEnd = event.getScrollY() == 0 ||
385 event.getScrollY() == event.getMaxScrollY();
/frameworks/support/design/src/android/support/design/internal/
DScrimInsetsFrameLayout.java93 canvas.translate(getScrollX(), getScrollY()); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DAmbientState.java92 public int getScrollY() { in getScrollY() method in AmbientState

1234