/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
D | ButtonsWithTallTextViewInBetweenTest.java | 33 private ScrollView mScrollView; field in ButtonsWithTallTextViewInBetweenTest 46 mScrollView = getActivity().getScrollView(); in setUp() 56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); in getTopWithinScrollView() 62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); in getBottomWithinScrollView() 70 mScrollView.getMaxScrollAmount()); in testPreconditions() 72 …getTopWithinScrollView(mBottomButton)- mScrollView.getBottom() > mScrollView.getMaxScrollAmount()); in testPreconditions() 81 mScrollView.getMaxScrollAmount(), in testPanTopButtonOffScreenLosesFocus() 82 mScrollView.getScrollY()); in testPanTopButtonOffScreenLosesFocus() 85 getBottomWithinScrollView(mTopButton) < mScrollView.getScrollY()); in testPanTopButtonOffScreenLosesFocus() 90 assertTrue("scroll view should be focused", mScrollView.isFocused()); in testPanTopButtonOffScreenLosesFocus() [all …]
|
D | MultiPageTextWithPaddingTest.java | 30 private ScrollView mScrollView; field in MultiPageTextWithPaddingTest 42 mScrollView = getActivity().getScrollView(); in setUp() 49 mTextView.getHeight() > mScrollView.getHeight()); in testPreconditions() 56 (mTextView.getHeight() - mScrollView.getHeight())) in testScrollDownToBottom() 57 / mScrollView.getMaxScrollAmount()); in testScrollDownToBottom() 65 - (mScrollView.getHeight() - mScrollView.getPaddingTop() - mScrollView in testScrollDownToBottom() 66 .getPaddingBottom()), mScrollView.getScrollY()); in testScrollDownToBottom()
|
D | ShortButtonsTest.java | 31 private ScrollView mScrollView; field in ShortButtonsTest 41 mScrollView = getActivity().getScrollView(); in setUp() 48 < mScrollView.getHeight()); in testPreconditions() 68 getActivity().getLinearLayout().getHeight() - mScrollView.getHeight(), in testScrollDownToBottomThroughButtons() 69 mScrollView.getScrollY()); in testScrollDownToBottomThroughButtons() 98 mScrollView.getScrollY()); in testScrollFromBottomToTopThroughButtons() 104 mScrollView.offsetDescendantRectToMyCoords(b, mTempRect); in isButtonOnScreen() 105 return mTempRect.bottom >= mScrollView.getScrollY() in isButtonOnScreen() 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight()); in isButtonOnScreen()
|
D | TallTextAboveButtonTest.java | 28 private ScrollView mScrollView; field in TallTextAboveButtonTest 36 mScrollView = getActivity().getScrollView(); in setUp() 48 mTopText.getHeight() > mScrollView.getHeight()); in testPreconditions() 59 mBottomButton.getBottom() >= mScrollView.getBottom()); in testGainFocusAsScrolledOntoScreen()
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | RequestRectangleVisibleTest.java | 38 private ScrollView mScrollView; field in RequestRectangleVisibleTest 60 mScrollView = (ScrollView) a.findViewById(R.id.scrollView); in setUp() 75 assertNotNull(mScrollView); in testPreconditions() 86 mTopBlob.getHeight() > mScrollView.getHeight()); in testPreconditions() 90 mBottomBlob.getHeight() > mScrollView.getHeight()); in testPreconditions() 93 mTopBlob.getTop() > mScrollView.getVerticalFadingEdgeLength()); in testPreconditions() 100 ViewAsserts.assertOffScreenBelow(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop() 108 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop() 110 mScrollView, mChildToScrollTo, in testScrollToOffScreenRectangleFromTop() 112 mScrollView.getHeight() in testScrollToOffScreenRectangleFromTop() [all …]
|
D | RequestRectangleVisibleWithInternalScrollTest.java | 39 private ScrollView mScrollView; field in RequestRectangleVisibleWithInternalScrollTest 54 mScrollView = (ScrollView) getActivity().findViewById(R.id.scrollView); in setUp() 66 ViewAsserts.assertOffScreenBelow(mScrollView, mTextBlob); in testMoveToChildWithScrollYBelow() 74 ViewAsserts.assertOnScreen(mScrollView, mTextBlob); in testMoveToChildWithScrollYBelow() 76 mScrollView, mTextBlob, in testMoveToChildWithScrollYBelow() 78 mScrollView.getHeight() in testMoveToChildWithScrollYBelow() 80 - mScrollView.getVerticalFadingEdgeLength()); in testMoveToChildWithScrollYBelow()
|
D | ScrollViewButtonsAndLabelsTest.java | 33 private ScrollView mScrollView; field in ScrollViewButtonsAndLabelsTest 46 mScrollView = getActivity().getScrollView(); in setUp() 50 mScrollView.getLocationOnScreen(origin); in setUp() 52 mScreenBottom = origin[1] + mScrollView.getHeight(); in setUp() 59 mScrollView.getVerticalFadingEdgeLength() > 0); in testPreconditions() 86 int verticalFadingEdgeLength = mScrollView in testArrowScrollDownOffScreenVerticalFadingEdge() 138 mScreenTop + mScrollView.getVerticalFadingEdgeLength(), buttonLoc[1]); in testArrowScrollUpOffScreenVerticalFadingEdge() 179 mScrollView.getLocationOnScreen(origin); in findFirstButtonOffScreenTop2Bottom() 180 int screenHeight = mScrollView.getHeight(); in findFirstButtonOffScreenTop2Bottom() 198 mScrollView.getLocationOnScreen(origin); in findFirstButtonOffScreenBottom2Top()
|
D | ScrollViewButtonsAndLabels.java | 34 private ScrollView mScrollView; field in ScrollViewButtonsAndLabels 41 return mScrollView; in getScrollView() 69 mScrollView = (ScrollView) findViewById(R.id.scrollView); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationsQuickSettingsContainer.java | 36 private View mScrollView; field in NotificationsQuickSettingsContainer 49 mScrollView = findViewById(R.id.scroll_view); in onFinishInflate() 70 if (child == mScrollView) { in drawChild() 77 : mScrollView, in drawChild() 82 : mScrollView, in drawChild() 86 userSwitcherVisible && statusBarVisible ? mScrollView in drawChild() 87 : mScrollView, in drawChild()
|
D | NotificationPanelView.java | 76 private ObservableScrollView mScrollView; field in NotificationPanelView 188 mScrollView = (ObservableScrollView) findViewById(R.id.scroll_view); in onFinishInflate() 189 mScrollView.setListener(this); in onFinishInflate() 190 mScrollView.setFocusable(false); in onFinishInflate() 197 mNotificationStackScroller.setScrollView(mScrollView); in onFinishInflate() 260 lp = (FrameLayout.LayoutParams) mScrollView.getLayoutParams(); in updateResources() 264 mScrollView.setLayoutParams(lp); in updateResources() 545 if (mScrollView.isHandlingTouchEvent()) { in requestDisallowInterceptTouchEvent() 635 (x >= mScrollView.getLeft() && x <= mScrollView.getRight()) && in isInQsArea() 789 float height = mQsExpansionHeight - mScrollView.getScrollY() - overscrollAmount; in onQsExpansionStarted() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ScrollViewScenario.java | 49 private ScrollView mScrollView; field in ScrollViewScenario 213 return mScrollView; in getScrollView() 262 mScrollView = createScrollView(); in onCreate() 263 mScrollView.setPadding(0, params.mTopPadding, 0, params.mBottomPadding); in onCreate() 264 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( in onCreate() 269 mScrollView.setSmoothScrollingEnabled(false); in onCreate() 271 setContentView(mScrollView); in onCreate()
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | InputTypeActivity.java | 35 private ScrollView mScrollView; field in InputTypeActivity 43 mScrollView = new ScrollView(this); in onCreate() 138 mScrollView.addView(mLayout); in onCreate() 139 setContentView(mScrollView); in onCreate()
|
D | EditTextActivityDialog.java | 38 private ScrollView mScrollView; field in EditTextActivityDialog
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | FadedEdgeDrawHelper.java | 36 private View mScrollView; field in FadedEdgeDrawHelper 59 mScrollView = scrollView; in FadedEdgeDrawHelper() 71 mScrollView.setVerticalFadingEdgeEnabled(false); in onAttachedToWindowCallback() 72 mScrollView.setHorizontalFadingEdgeEnabled(false); in onAttachedToWindowCallback()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 92 private ScrollView mScrollView; field in AlertController 422 return mScrollView != null && mScrollView.executeKeyEvent(event); in onKeyDown() 427 return mScrollView != null && mScrollView.executeKeyEvent(event); in onKeyUp() 575 mScrollView = (ScrollView) mWindow.findViewById(R.id.scrollView); in setupContent() 576 mScrollView.setFocusable(false); in setupContent() 588 mScrollView.removeView(mMessageView); in setupContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 185 private ViewGroup mScrollView; field in NotificationStackScrollLayout 504 mScrollView = scrollView; in setScrollView() 687 transformTouchEvent(ev, this, mScrollView); in onTouchEvent() 688 return mScrollView.onTouchEvent(ev); in onTouchEvent() 1424 transformTouchEvent(ev, this, mScrollView); in onInterceptTouchEvent() 1425 if (mScrollView.onInterceptTouchEvent(ev)) { in onInterceptTouchEvent() 1430 transformTouchEvent(ev, mScrollView, this); in onInterceptTouchEvent()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 207 private ScrollView mScrollView; field in RecipientEditTextView 498 if (mScrollView != null && mShouldShrink) { in scrollBottomIntoView() 508 mScrollView.scrollBy(0, currentPos - desiredPos); in scrollBottomIntoView() 514 return mScrollView; in getScrollView() 1002 if (mScrollView == null && !mTriedGettingScrollView) { in onSizeChanged() 1008 mScrollView = (ScrollView) parent; in onSizeChanged() 1646 if (mScrollView != null) { in scrollLineIntoView() 1647 mScrollView.smoothScrollBy(0, calculateOffsetFromBottom(line)); in scrollLineIntoView()
|