HomeSort by relevance Sort by last modified time
    Searched refs:mScrollView (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /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 32 private ScrollView mScrollView;
44 mScrollView = getActivity().getScrollView();
51 mTextView.getHeight() > mScrollView.getHeight());
58 (mTextView.getHeight() - mScrollView.getHeight()))
59 / mScrollView.getMaxScrollAmount());
67 - (mScrollView.getHeight() - mScrollView.getPaddingTop() - mScrollView
68 .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...]
  /cts/tests/tests/widget/src/android/widget/cts/
ScrollViewTest.java 64 private MyScrollView mScrollView;
75 mScrollView = (MyScrollView) mActivity.findViewById(R.id.scroll_view);
265 assertFalse(mScrollView.isLayoutRequested());
273 assertTrue(mScrollView.isSmoothScrollingEnabled());
276 mScrollView.setSmoothScrollingEnabled(false);
277 assertFalse(mScrollView.isSmoothScrollingEnabled());
281 mScrollView.fullScroll(View.FOCUS_DOWN);
285 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE);
289 mScrollView.fullScroll(View.FOCUS_UP);
292 assertEquals(0, mScrollView.getScrollY())
    [all...]
HorizontalScrollViewTest.java 54 private MyHorizontalScrollView mScrollView;
65 mScrollView = (MyHorizontalScrollView) mActivity.findViewById(R.id.horizontal_scroll_view);
244 assertFalse(mScrollView.isLayoutRequested());
252 assertTrue(mScrollView.isSmoothScrollingEnabled());
255 mScrollView.setSmoothScrollingEnabled(false);
256 assertFalse(mScrollView.isSmoothScrollingEnabled());
260 mScrollView.fullScroll(View.FOCUS_RIGHT);
263 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX());
267 mScrollView.fullScroll(View.FOCUS_LEFT);
270 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 40 private ScrollView mScrollView;
62 mScrollView = (ScrollView) a.findViewById(R.id.scrollView);
77 assertNotNull(mScrollView);
88 mTopBlob.getHeight() > mScrollView.getHeight());
92 mBottomBlob.getHeight() > mScrollView.getHeight());
95 mTopBlob.getTop() > mScrollView.getVerticalFadingEdgeLength());
102 ViewAsserts.assertOffScreenBelow(mScrollView, mChildToScrollTo);
110 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo);
112 mScrollView, mChildToScrollTo,
114 mScrollView.getHeight(
    [all...]
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
RequireScrollHelper.java 37 private final BottomScrollView mScrollView;
41 mScrollView = scrollView;
47 mScrollView.setBottomScrollListener(this);
52 mScrollView.pageScroll(ScrollView.FOCUS_DOWN);
  /frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
RequireScrollHelperTest.java 30 private TestBottomScrollView mScrollView;
36 mScrollView = new TestBottomScrollView(getContext());
42 RequireScrollHelper.requireScroll(mNavigationBar, mScrollView);
48 mScrollView.listener.onRequiresScroll();
57 RequireScrollHelper.requireScroll(mNavigationBar, mScrollView);
58 mScrollView.listener.onRequiresScroll();
64 mScrollView.listener.onScrolledToBottom();
73 RequireScrollHelper.requireScroll(mNavigationBar, mScrollView);
74 assertEquals("ScrollView page should be initially 0", 0, mScrollView.page);
75 mScrollView.listener.onRequiresScroll()
    [all...]
  /developers/build/prebuilts/gradle/ActiveNotifications/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/ActivityInstrumentation/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/ActivitySceneTransitionBasic/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/AppRestrictionSchema/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicAccessibility/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicContactables/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicImmersiveMode/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicNetworking/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/common/logger/
LogFragment.java 52 private ScrollView mScrollView;
57 mScrollView = new ScrollView(getActivity());
61 mScrollView.setLayoutParams(scrollParams);
81 mScrollView.addView(mLogView);
82 return mScrollView;
100 mScrollView.fullScroll(ScrollView.FOCUS_DOWN);

Completed in 9227 milliseconds

1 2 3 4 5 6 7