Home
last modified time | relevance | path

Searched refs:getScrollY (Results 1 – 25 of 57) 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.java66 .getPaddingBottom()), mScrollView.getScrollY()); in testScrollDownToBottom()
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java254 final int oldScrollY = getScrollY(); in onNestedScroll()
256 final int myConsumed = getScrollY() - oldScrollY; in onNestedScroll()
299 final int scrollY = getScrollY(); in getTopFadingEdgeStrength()
315 final int span = getChildAt(0).getBottom() - getScrollY() - bottomEdge; in getBottomFadingEdgeStrength()
521 final int scrollY = getScrollY(); in inChild()
582 if (getScrollY() == 0 && !ViewCompat.canScrollVertically(this, 1)) { in onInterceptTouchEvent()
744 final int oldY = getScrollY(); in onTouchEvent()
753 if (overScrollByCompat(0, deltaY, 0, getScrollY(), 0, range, 0, in onTouchEvent()
759 final int scrolledDeltaY = getScrollY() - oldY; in onTouchEvent()
857 int oldScrollY = getScrollY(); in onGenericMotionEvent()
[all …]
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStickyHeaderScrollView.java84 final int drawTop = drawTarget.getTop() - getScrollY(); in updateStickyHeaderPosition()
87 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition()
DBottomScrollView.java95 if (getScrollY() >= mScrollThreshold) { in checkScroll()
/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/base/core/java/android/widget/
DScrollView.java495 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent()
1002 mTempRect.top = getScrollY() + height; in pageScroll()
1011 mTempRect.top = getScrollY() - height; in pageScroll()
1068 int containerTop = getScrollY(); in scrollAndFocus()
1115 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll()
1116 scrollDelta = getScrollY(); in arrowScroll()
1120 int screenBottom = getScrollY() + getHeight() - mPaddingBottom; in arrowScroll()
1163 return (mTempRect.bottom + delta) >= getScrollY() in isWithinDeltaOfScreen()
1164 && (mTempRect.top - delta) <= (getScrollY() + height); in isWithinDeltaOfScreen()
1392 int screenTop = getScrollY(); in computeScrollDeltaToGetChildRectOnScreen()
[all …]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DAssistVisualizer.java54 this.scrollY = node.getScrollY(); in TextEntry()
163 top -= root.getScrollY();
164 matrix.preTranslate(-root.getScrollX(), -root.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/recents/misc/
DUtilities.java66 pt[1] -= v0.getScrollY(); in mapCoordInDescendentToSelf()
102 pt[1] += ancestor.getScrollY(); in mapCoordInSelfToDescendent()
/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
/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.java88 canvas.translate(getScrollX(), getScrollY()); in draw()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java833 int sy = getScrollY(); in smoothScrollTo()
1514 scrollTo(newOffsetPixels, getScrollY());
1529 scrollTo(scrollPos, getScrollY());
1647 int oldY = getScrollY();
1827 int oldY = getScrollY();
2185 scrollTo((int) scrollX, getScrollY());
2447 scrollTo((int) scrollX, getScrollY());
2542 final int scrollY = v.getScrollY();

123