/aosp12/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
H A D | ButtonsWithTallTextViewInBetweenTest.java | 82 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()
|
H A D | ShortButtonsTest.java | 69 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()
|
H A D | MultiPageTextWithPaddingTest.java | 68 .getPaddingBottom()), mScrollView.getScrollY()); in testScrollDownToBottom()
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | WebViewCaptureHelper.java | 49 mOriginScrollY = view.getScrollY(); in onPrepareForStart() 57 int scrollDelta = view.getScrollY() - mOriginScrollY; in onScrollRequested() 75 int upLimit = min(0, -view.getScrollY()); in onScrollRequested() 77 int downLimit = max(0, (contentHeightPx - view.getHeight()) - view.getScrollY()); in onScrollRequested() 83 scrollDelta = view.getScrollY() - mOriginScrollY; in onScrollRequested()
|
H A D | ScrollViewCaptureHelper.java | 47 mStartScrollY = view.getScrollY(); in onPrepareForStart() 93 int scrollDelta = view.getScrollY() - mStartScrollY; in onScrollRequested() 126 view.getScrollY() - contentView.getTop()); in onScrollRequested() 143 scrollDelta = view.getScrollY() - mStartScrollY; in onScrollRequested() 161 contentView.getTop() - view.getScrollY()); in onScrollRequested()
|
H A D | ScrollCaptureInternal.java | 117 if (view.getScrollY() != 0) { in detectScrollingType() 140 if (view.getScrollY() == 1) { in detectScrollingType()
|
/aosp12/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 403 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()
|
H A D | Touch.java | 101 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()
|
H A D | LinkMovementMethod.java | 106 int areaTop = widget.getScrollY(); in action() 217 y += widget.getScrollY(); in onTouchEvent()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ButtonAboveTallInternalSelectionViewTest.java | 40 getActivity().getScrollView().getScrollY()); in testPreconditions() 46 getActivity().getScrollView().getScrollY()); in testPreconditions() 62 getActivity().getScrollView().getScrollY()); in testMovingFocusDownToItemTallerThanScreenStillOnScreen()
|
H A D | RequestRectangleVisibleWithInternalScroll.java | 68 rect.offset(0, mTextBlob.getScrollY()); in onCreate()
|
H A D | RequestRectangleVisibleWithInternalScrollTest.java | 61 assertEquals(getActivity().getScrollYofBlob(), mTextBlob.getScrollY()); in testPreconditions()
|
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | StickyHeaderScrollView.java | 87 final int drawTop = drawTarget.getTop() - getScrollY(); in updateStickyHeaderPosition() 90 drawTarget.setTranslationY(getScrollY() - drawOffset); in updateStickyHeaderPosition()
|
H A D | BottomScrollView.java | 101 if (getScrollY() >= scrollThreshold) { in checkScroll()
|
/aosp12/frameworks/base/core/java/android/widget/ |
H A D | ScrollView.java | 617 if (getScrollY() == 0 && !canScrollVertically(1)) { in onInterceptTouchEvent() 1156 mTempRect.top = getScrollY() + height; in pageScroll() 1165 mTempRect.top = getScrollY() - height; in pageScroll() 1222 int containerTop = getScrollY(); in scrollAndFocus() 1269 if (direction == View.FOCUS_UP && getScrollY() < scrollDelta) { in arrowScroll() 1270 scrollDelta = getScrollY(); in arrowScroll() 1317 return (mTempRect.bottom + delta) >= getScrollY() in isWithinDeltaOfScreen() 1318 && (mTempRect.top - delta) <= (getScrollY() + height); in isWithinDeltaOfScreen() 1554 int screenTop = getScrollY(); in computeScrollDeltaToGetChildRectOnScreen() 1603 scrollYDelta = Math.max(scrollYDelta, -getScrollY()); in computeScrollDeltaToGetChildRectOnScreen() [all …]
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | DoubleShadowBubbleTextView.java | 67 canvas.clipRect(getScrollX(), getScrollY() + getExtendedPaddingTop(), in onDraw() 69 getScrollY() + getHeight()); in onDraw()
|
/aosp12/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 58 this.scrollY = node.getScrollY(); in TextEntry() 169 top -= root.getScrollY(); 170 matrix.preTranslate(-root.getScrollX(), -root.getScrollY());
|
/aosp12/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PositionListenerActivity.java | 124 canvas.translate(0, parent.getScrollY()); in onDraw() 126 canvas.translate(0, -parent.getScrollY()); in onDraw()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | MultiShrinkScroller.java | 584 if (mScrollView.getScrollY() != 0) { in expandHeader() 585 ObjectAnimator.ofInt(mScrollView, "scrollY", -mScrollView.getScrollY()).start(); in expandHeader() 818 + mScrollView.getScrollY(); in getScroll() 839 + mScrollView.getScrollY(); in getScroll_ignoreOversizedHeaderForSnapping() 1019 if (mScrollView.getScrollY() > 0) { in scrollDown() 1020 final int originalValue = mScrollView.getScrollY(); in scrollDown() 1022 delta -= mScrollView.getScrollY() - originalValue; in scrollDown()
|
H A D | TouchlessScrollView.java | 33 final int scrollY = getScrollY(); in onSaveInstanceState()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | StackScrollAlgorithm.java | 191 : ambientState.getStackY() - ambientState.getScrollY(); in updateClipping() 251 state.scrollY = ambientState.getScrollY(); in initAlgorithmState() 288 float currentY = -ambientState.getScrollY(); in initAlgorithmState() 647 if (!mIsExpanded && isTopEntry && ambientState.getScrollY() > 0) { in updateHeadsUpStates() 648 childState.yTranslation -= ambientState.getScrollY(); in updateHeadsUpStates()
|
/aosp12/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/ |
H A D | FocusAreaHelper.java | 656 mPaddingTop + mFocusArea.getScrollY(), in onDraw() 658 mFocusArea.getScrollY() + mFocusArea.getHeight() - mPaddingBottom); in onDraw() 669 mPaddingTop + mFocusArea.getScrollY(), in draw() 671 mFocusArea.getScrollY() + mFocusArea.getHeight() - mPaddingBottom); in draw()
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CursorAnchorInfoUtils.java | 60 position[1] -= currentView.getScrollY(); in isPositionVisible() 141 - lineBoundsWithoutOffset.top - textView.getScrollY(); in extractFromTextViewInternal()
|
/aosp12/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/ |
H A D | ScrollViewScrollHandlingDelegateTest.java | 78 assertThat(scrollView.getScrollY()).isEqualTo(500); in testPageScrollDown()
|
/aosp12/frameworks/base/core/java/android/transition/ |
H A D | ChangeScroll.java | 63 transitionValues.values.put(PROPNAME_SCROLL_Y, transitionValues.view.getScrollY()); in captureValues()
|