Home
last modified time | relevance | path

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

123

/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.java282 final int oldScrollY = getScrollY(); in onNestedScroll()
284 final int myConsumed = getScrollY() - oldScrollY; in onNestedScroll()
326 final int scrollY = getScrollY(); in getTopFadingEdgeStrength()
342 final int span = getChildAt(0).getBottom() - getScrollY() - bottomEdge; in getBottomFadingEdgeStrength()
569 final int scrollY = getScrollY(); in inChild()
703 if (mScroller.springBack(getScrollX(), getScrollY(), 0, 0, 0, getScrollRange())) { in onInterceptTouchEvent()
789 final int oldY = getScrollY(); in onTouchEvent()
797 if (overScrollByCompat(0, deltaY, 0, getScrollY(), 0, range, 0, in onTouchEvent()
803 final int scrolledDeltaY = getScrollY() - oldY; in onTouchEvent()
842 } 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()
207 y += widget.getScrollY(); in onTouchEvent()
/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.java95 if (getScrollY() >= mScrollThreshold) { in checkScroll()
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java60 public int getScrollY(Object record); in getScrollY() method
154 public int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
376 public int getScrollY(Object record) { in getScrollY() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
377 return AccessibilityRecordCompatIcs.getScrollY(record); in getScrollY()
874 public int getScrollY() { in getScrollY() method in AccessibilityRecordCompat
875 return IMPL.getScrollY(mRecord); in getScrollY()
/frameworks/base/core/java/android/widget/
DScrollView.java507 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
1021 mTempRect.top = getScrollY() + height; in pageScroll()
1030 mTempRect.top = getScrollY() - height; in pageScroll()
1087 int containerTop = getScrollY(); in scrollAndFocus()
1134 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1135 scrollDelta = getScrollY(); in arrowScroll()
1139 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll()
1182 return (mTempRect.bottom + delta) >= getScrollY() in isWithinDeltaOfScreen()
1183 && (mTempRect.top - delta) <= (getScrollY() + height); in isWithinDeltaOfScreen()
1415 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/compat/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/support/design/src/android/support/design/widget/
DViewGroupUtils.java40 rect.offset(child.getScrollX(), child.getScrollY()); in offsetDescendantRect()
/frameworks/support/design/honeycomb/android/support/design/widget/
DViewGroupUtilsHoneycomb.java57 m.preTranslate(-vp.getScrollX(), -vp.getScrollY()); in offsetDescendantMatrix()
/frameworks/base/core/java/android/transition/
DChangeScroll.java55 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/stack/
DAmbientState.java48 public int getScrollY() { in getScrollY() method in AmbientState
DStackScrollAlgorithm.java248 int scrollY = ambientState.getScrollY(); in initAlgorithmState()
369 if (i == 0 && ambientState.getScrollY() <= 0) { in updatePositionsForState()
555 mBottomStackSlowDownLength + ambientState.getScrollY(); in updateFirstChildHeight()
/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/statusbar/phone/
DObservableScrollView.java52 return getScrollY() == getMaxScrollY(); in isScrolledToBottom()
/frameworks/support/design/src/android/support/design/internal/
DScrimInsetsFrameLayout.java93 canvas.translate(getScrollX(), getScrollY()); in draw()

123