Home
last modified time | relevance | path

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

12

/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.java66 .getPaddingBottom()), mScrollView.getScrollY()); in testScrollDownToBottom()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DButtonAboveTallInternalSelectionViewTest.java39 getActivity().getScrollView().getScrollY()); in testPreconditions()
45 getActivity().getScrollView().getScrollY()); in testPreconditions()
61 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()
164 int ny = widget.getScrollY() + (int) dy; in onTouchEvent()
173 int oldY = widget.getScrollY(); in onTouchEvent()
180 if (oldX != widget.getScrollX() || oldY != widget.getScrollY()) { in onTouchEvent()
DLinkMovementMethod.java101 int areatop = widget.getScrollY(); in action()
207 y += widget.getScrollY(); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DScrollView.java485 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
981 mTempRect.top = getScrollY() + height; in pageScroll()
990 mTempRect.top = getScrollY() - height; in pageScroll()
1047 int containerTop = getScrollY(); in scrollAndFocus()
1094 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1095 scrollDelta = getScrollY(); in arrowScroll()
1099 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll()
1142 return (mTempRect.bottom + delta) >= getScrollY() in isWithinDeltaOfScreen()
1143 && (mTempRect.top - delta) <= (getScrollY() + height); in isWithinDeltaOfScreen()
1369 int screenTop = getScrollY(); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java60 public int getScrollY(Object record); in getScrollY() method
139 public int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
330 public int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
331 return AccessibilityRecordCompatIcs.getScrollY(record); in getScrollY()
826 public int getScrollY() { in getScrollY() method in AccessibilityRecordCompat
827 return IMPL.getScrollY(mRecord); in getScrollY()
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityRecordCompatIcs.java78 public static int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompatIcs
79 return ((AccessibilityRecord) record).getScrollY(); in getScrollY()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DAmbientState.java38 public int getScrollY() { in getScrollY() method in AmbientState
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java96 pt[1] -= v0.getScrollY(); in mapCoordInDescendentToSelf()
132 pt[1] += ancestor.getScrollY(); in mapCoordInSelfToDescendent()
/frameworks/base/core/java/android/transition/
DChangeScroll.java57 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY()); in captureValues()
DTransitionUtils.java90 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()
DNotificationPanelView.java853 float height = mQsExpansionHeight - mScrollView.getScrollY() - overscrollAmount; in onQsExpansionStarted()
854 if (mScrollView.getScrollY() != 0) { in onQsExpansionStarted()
855 mScrollYOverride = mScrollView.getScrollY(); in onQsExpansionStarted()
1208 mScrollView.getScrollY(), in requestScrollerTopPaddingUpdate()
1431 return mScrollView.getScrollY(); in getScrollViewScrollY()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java382 } else if (event.getScrollX() != -1 && event.getScrollY() != -1) {
386 foundEnd = event.getScrollY() == 0 ||
387 event.getScrollY() == event.getMaxScrollY();
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsHorizontalScrollView.java239 final float y = ev.getY() + getScrollY(); in getChildAtPosition()
259 left, right, top, bottom, getScrollX(), getScrollY(), in drawFadedEdges()
DRecentsVerticalScrollView.java247 final float y = ev.getY() + getScrollY(); in getChildAtPosition()
268 … left, right, top + getFadeTop(offsetRequired), bottom, getScrollX(), getScrollY(), in drawFadedEdges()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java551 scrollTo(mUnboundedScrollX + x, getScrollY() + y); in scrollBy()
590 || getScrollY() != mScroller.getCurrY() in computeScrollHelper()
938 canvas.clipRect(getScrollX(), getScrollY(), getScrollX() + getRight() - getLeft(), in dispatchDraw()
939 getScrollY() + getBottom() - getTop()); in dispatchDraw()
1342 super.scrollTo(0, getScrollY()); in acceleratedOverScroll()
1345 super.scrollTo(mMaxScrollX, getScrollY()); in acceleratedOverScroll()
1366 super.scrollTo(0, getScrollY()); in dampedOverScroll()
1369 super.scrollTo(mMaxScrollX, getScrollY()); in dampedOverScroll()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java800 int sy = getScrollY(); in smoothScrollTo()
1481 scrollTo(newOffsetPixels, getScrollY());
1496 scrollTo(scrollPos, getScrollY());
1614 int oldY = getScrollY();
1747 int oldY = getScrollY();
2102 scrollTo((int) scrollX, getScrollY());
2364 scrollTo((int) scrollX, getScrollY());
2459 final int scrollY = v.getScrollY();
/frameworks/base/core/java/android/view/
DFocusFinder.java192 final int rootBottom = root.getScrollY() + root.getHeight(); in setFocusBottomRight()
198 final int rootTop = root.getScrollY(); in setFocusTopLeft()
/frameworks/base/core/java/com/android/internal/widget/
DSwipeDismissLayout.java328 final int scrollY = v.getScrollY();

12