/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
ButtonsWithTallTextViewInBetweenTest.java | 33 private ScrollView mScrollView; 46 mScrollView = getActivity().getScrollView(); 56 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); 62 mScrollView.offsetDescendantRectToMyCoords(descendant, mTempRect); 70 mScrollView.getMaxScrollAmount()); 72 getTopWithinScrollView(mBottomButton)- mScrollView.getBottom() > mScrollView.getMaxScrollAmount()); 81 mScrollView.getMaxScrollAmount(), 82 mScrollView.getScrollY()); 85 getBottomWithinScrollView(mTopButton) < mScrollView.getScrollY()) [all...] |
MultiPageTextWithPaddingTest.java | 30 private ScrollView mScrollView; 42 mScrollView = getActivity().getScrollView(); 49 mTextView.getHeight() > mScrollView.getHeight()); 56 (mTextView.getHeight() - mScrollView.getHeight())) 57 / mScrollView.getMaxScrollAmount()); 65 - (mScrollView.getHeight() - mScrollView.getPaddingTop() - mScrollView 66 .getPaddingBottom()), mScrollView.getScrollY());
|
ShortButtonsTest.java | 31 private ScrollView mScrollView; 41 mScrollView = getActivity().getScrollView(); 48 < mScrollView.getHeight()); 68 getActivity().getLinearLayout().getHeight() - mScrollView.getHeight(), 69 mScrollView.getScrollY()); 98 mScrollView.getScrollY()); 104 mScrollView.offsetDescendantRectToMyCoords(b, mTempRect); 105 return mTempRect.bottom >= mScrollView.getScrollY() 106 && mTempRect.top <= (mScrollView.getScrollY() + mScrollView.getHeight()) [all...] |
TallTextAboveButtonTest.java | 28 private ScrollView mScrollView; 36 mScrollView = getActivity().getScrollView(); 48 mTopText.getHeight() > mScrollView.getHeight()); 59 mBottomButton.getBottom() >= mScrollView.getBottom());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ScrollViewTest.java | 66 private MyScrollView mScrollView; 77 mScrollView = (MyScrollView) mActivity.findViewById(R.id.scroll_view); 335 assertFalse(mScrollView.isLayoutRequested()); 355 assertTrue(mScrollView.isSmoothScrollingEnabled()); 358 mScrollView.setSmoothScrollingEnabled(false); 359 assertFalse(mScrollView.isSmoothScrollingEnabled()); 363 mScrollView.fullScroll(View.FOCUS_DOWN); 367 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE); 371 mScrollView.fullScroll(View.FOCUS_UP); 374 assertEquals(0, mScrollView.getScrollY()) [all...] |
HorizontalScrollViewTest.java | 58 private MyHorizontalScrollView mScrollView; 69 mScrollView = (MyHorizontalScrollView) mActivity.findViewById(R.id.horizontal_scroll_view); 317 assertFalse(mScrollView.isLayoutRequested()); 337 assertTrue(mScrollView.isSmoothScrollingEnabled()); 340 mScrollView.setSmoothScrollingEnabled(false); 341 assertFalse(mScrollView.isSmoothScrollingEnabled()); 345 mScrollView.fullScroll(View.FOCUS_RIGHT); 348 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); 352 mScrollView.fullScroll(View.FOCUS_LEFT); 355 assertEquals(0, mScrollView.getScrollX()) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
RequestRectangleVisibleWithInternalScrollTest.java | 39 private ScrollView mScrollView; 54 mScrollView = (ScrollView) getActivity().findViewById(R.id.scrollView); 66 ViewAsserts.assertOffScreenBelow(mScrollView, mTextBlob); 74 ViewAsserts.assertOnScreen(mScrollView, mTextBlob); 76 mScrollView, mTextBlob, 78 mScrollView.getHeight() 80 - mScrollView.getVerticalFadingEdgeLength());
|
RequestRectangleVisibleTest.java | 38 private ScrollView mScrollView; 60 mScrollView = (ScrollView) a.findViewById(R.id.scrollView); 75 assertNotNull(mScrollView); 86 mTopBlob.getHeight() > mScrollView.getHeight()); 90 mBottomBlob.getHeight() > mScrollView.getHeight()); 93 mTopBlob.getTop() > mScrollView.getVerticalFadingEdgeLength()); 100 ViewAsserts.assertOffScreenBelow(mScrollView, mChildToScrollTo); 108 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); 110 mScrollView, mChildToScrollTo, 112 mScrollView.getHeight( [all...] |
ScrollViewButtonsAndLabelsTest.java | 33 private ScrollView mScrollView; 46 mScrollView = getActivity().getScrollView(); 50 mScrollView.getLocationOnScreen(origin); 52 mScreenBottom = origin[1] + mScrollView.getHeight(); 59 mScrollView.getVerticalFadingEdgeLength() > 0); 86 int verticalFadingEdgeLength = mScrollView 138 mScreenTop + mScrollView.getVerticalFadingEdgeLength(), buttonLoc[1]); 179 mScrollView.getLocationOnScreen(origin); 180 int screenHeight = mScrollView.getHeight(); 198 mScrollView.getLocationOnScreen(origin) [all...] |
ScrollViewButtonsAndLabels.java | 34 private ScrollView mScrollView; 41 return mScrollView; 69 mScrollView = (ScrollView) findViewById(R.id.scrollView);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsScrollViewPerformanceHelper.java | 39 private View mScrollView; 65 mScrollView = scrollView; 78 mScrollView.setVerticalFadingEdgeEnabled(false); 79 mScrollView.setHorizontalFadingEdgeEnabled(false); 109 mScrollView.post(new Runnable() { 125 d.setBounds(0, scrollY, mScrollView.getWidth(), 0); 129 if (scrollY + mScrollView.getHeight() > childHeight) { 131 d.setBounds(0, childHeight, mScrollView.getWidth(), 132 scrollY + mScrollView.getHeight()); 139 d.setBounds(scrollX, 0, 0, mScrollView.getHeight()) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 49 private ScrollView mScrollView; 213 return mScrollView; 262 mScrollView = createScrollView(); 263 mScrollView.setPadding(0, params.mTopPadding, 0, params.mBottomPadding); 264 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( 269 mScrollView.setSmoothScrollingEnabled(false); 271 setContentView(mScrollView);
|
/development/apps/Development/src/com/android/development/ |
Details.java | 47 mScrollView = new ScrollView(this); 48 setContentView(mScrollView); 49 mScrollView.setFocusable(true); 73 mScrollView.removeView(mLinearLayout); 76 mScrollView.addView(mLinearLayout, new ViewGroup.LayoutParams( 154 ScrollView mScrollView;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
TransitionView.java | 55 private TimelineHorizontalScrollView mScrollView; 149 mScrollView = (TimelineHorizontalScrollView) getRootView().findViewById( 151 mScrollView.addScrollListener(mScrollListener); 152 mScrollX = mScrollView.getScrollX(); 160 mScrollView.removeScrollListener(mScrollListener);
|
MediaLinearLayout.java | 102 private View mScrollView; // Convenient handle to the parent scroll view. 550 mScrollView = scrollView; [all...] |
MediaItemView.java | 84 private TimelineHorizontalScrollView mScrollView; 214 mScrollView = (TimelineHorizontalScrollView) getRootView().findViewById( 216 mScrollView.addScrollListener(mScrollListener); 218 mScrollX = mScrollView.getScrollX(); 225 mScrollView.removeScrollListener(mScrollListener);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
InputTypeActivity.java | 35 private ScrollView mScrollView; 43 mScrollView = new ScrollView(this); 138 mScrollView.addView(mLayout); 139 setContentView(mScrollView);
|
EditTextActivityDialog.java | 38 private ScrollView mScrollView;
|
/packages/apps/Phone/src/com/android/phone/ |
ChangeIccPinScreen.java | 74 private ScrollView mScrollView; 121 mScrollView = (ScrollView) findViewById(R.id.scroll); 145 mScrollView.scrollTo(0, 0); 239 mScrollView.setVisibility(View.VISIBLE); 263 mScrollView.setVisibility(View.GONE);
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 101 private ScrollView mScrollView; 373 return mScrollView != null && mScrollView.executeKeyEvent(event); 378 return mScrollView != null && mScrollView.executeKeyEvent(event); 489 mScrollView = (ScrollView) mWindow.findViewById(R.id.scrollView); 490 mScrollView.setFocusable(false); 502 mScrollView.removeView(mMessageView); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragController.java | 95 private View mScrollView; 503 } else if (x > mScrollView.getWidth() - mScrollZone) { 540 if ((dragLayerX < mScrollZone) || (dragLayerX > mScrollView.getWidth() - mScrollZone)) { 661 mScrollView = v;
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventInfoFragment.java | 281 private ScrollView mScrollView; 609 mScrollView = (ScrollView) mView.findViewById(R.id.event_info_scroll_view); [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventView.java | 108 ScrollView mScrollView; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBar.java | 162 ScrollView mScrollView; 333 mScrollView = (ScrollView)expanded.findViewById(R.id.scroll); [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEditTextView.java | 183 private ScrollView mScrollView; 661 if (mScrollView == null && !mTriedGettingScrollView) { 667 mScrollView = (ScrollView) parent; [all...] |