Home
last modified time | relevance | path

Searched refs:mScrollView (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DHorizontalScrollViewTest.java54 private MyHorizontalScrollView mScrollView; field in HorizontalScrollViewTest
65 mScrollView = (MyHorizontalScrollView) mActivity.findViewById(R.id.horizontal_scroll_view); in setUp()
244 assertFalse(mScrollView.isLayoutRequested()); in testAccessFillViewport()
252 assertTrue(mScrollView.isSmoothScrollingEnabled()); in testAccessSmoothScrollingEnabled()
255 mScrollView.setSmoothScrollingEnabled(false); in testAccessSmoothScrollingEnabled()
256 assertFalse(mScrollView.isSmoothScrollingEnabled()); in testAccessSmoothScrollingEnabled()
260 mScrollView.fullScroll(View.FOCUS_RIGHT); in testAccessSmoothScrollingEnabled()
263 assertEquals(SCROLL_RIGHT, mScrollView.getScrollX()); in testAccessSmoothScrollingEnabled()
267 mScrollView.fullScroll(View.FOCUS_LEFT); in testAccessSmoothScrollingEnabled()
270 assertEquals(0, mScrollView.getScrollX()); in testAccessSmoothScrollingEnabled()
[all …]
DScrollViewTest.java64 private MyScrollView mScrollView; field in ScrollViewTest
75 mScrollView = (MyScrollView) mActivity.findViewById(R.id.scroll_view); in setUp()
265 assertFalse(mScrollView.isLayoutRequested()); in testAccessFillViewport()
273 assertTrue(mScrollView.isSmoothScrollingEnabled()); in testAccessSmoothScrollingEnabled()
276 mScrollView.setSmoothScrollingEnabled(false); in testAccessSmoothScrollingEnabled()
277 assertFalse(mScrollView.isSmoothScrollingEnabled()); in testAccessSmoothScrollingEnabled()
281 mScrollView.fullScroll(View.FOCUS_DOWN); in testAccessSmoothScrollingEnabled()
285 assertEquals(mScrollBottom, mScrollView.getScrollY(), TOLERANCE); in testAccessSmoothScrollingEnabled()
289 mScrollView.fullScroll(View.FOCUS_UP); in testAccessSmoothScrollingEnabled()
292 assertEquals(0, mScrollView.getScrollY()); in testAccessSmoothScrollingEnabled()
[all …]
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DTextViewActivity.java43 private ScrollView mScrollView; field in TextViewActivity
50 mScrollView = (ScrollView) findViewById(R.id.scroll_view); in onCreate()
104 TextViewActivity.this.mScrollView.fullScroll(View.FOCUS_DOWN); in onReceive()
105 TextViewActivity.this.mScrollView.fullScroll(View.FOCUS_RIGHT); in onReceive()
107 TextViewActivity.this.mScrollView.scrollTo(scrollX, scrollY); in onReceive()
/cts/tests/tests/assist/src/android/assist/cts/
DTestStartActivity.java42 private ScrollView mScrollView; field in TestStartActivity
59 mScrollView = (ScrollView) findViewById(R.id.scroll_view); in onCreate()
157 mScrollView.fullScroll(View.FOCUS_DOWN); in scrollText()
158 mScrollView.fullScroll(View.FOCUS_RIGHT); in scrollText()
161 mScrollView.scrollTo(scrollX, scrollY); in scrollText()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DGpsTestActivity.java47 private ScrollView mScrollView; field in GpsTestActivity
65 mScrollView = (ScrollView) findViewById(R.id.scroll); in onCreate()
132 mScrollView.post(new Runnable() { in log()
135 mScrollView.fullScroll(View.FOCUS_DOWN); in log()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
DConnectivityScreenOffTestActivity.java100 private ScrollView mScrollView; field in ConnectivityScreenOffTestActivity
143 mScrollView = (ScrollView) findViewById(R.id.scroll); in setupUserInterface()
216 mScrollView.fullScroll(View.FOCUS_DOWN); // Scroll to bottom in logAndUpdate()
/cts/tools/dex-tools/dex/
Dclasses.out.dex116657 private android.widget.ScrollView mScrollView