Searched refs:scrollView (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | HorizontalScrollViewTest.java | 79 HorizontalScrollView scrollView = new HorizontalScrollView(mActivity); in testGetMaxScrollAmount() local 80 scrollView.layout(0, 0, 100, 200); in testGetMaxScrollAmount() 81 assertEquals((100 - 0) / 2, scrollView.getMaxScrollAmount()); in testGetMaxScrollAmount() 83 scrollView.layout(0, 0, 150, 100); in testGetMaxScrollAmount() 84 assertEquals((150 - 0) / 2, scrollView.getMaxScrollAmount()); in testGetMaxScrollAmount() 88 HorizontalScrollView scrollView = new HorizontalScrollView(mActivity); in testAddView() local 90 scrollView.addView(child0); in testAddView() 91 assertSame(child0, scrollView.getChildAt(0)); in testAddView() 93 assertEquals(1, scrollView.getChildCount()); in testAddView() 96 scrollView.addView(child1); in testAddView() [all …]
|
D | ScrollViewTest.java | 100 ScrollView scrollView = new ScrollView(mActivity); in testGetMaxScrollAmount() local 101 scrollView.layout(0, 0, 100, 200); in testGetMaxScrollAmount() 102 assertEquals((200 - 0) / 2, scrollView.getMaxScrollAmount()); in testGetMaxScrollAmount() 104 scrollView.layout(0, 0, 150, 100); in testGetMaxScrollAmount() 105 assertEquals((100 - 0) / 2, scrollView.getMaxScrollAmount()); in testGetMaxScrollAmount() 109 ScrollView scrollView = new ScrollView(mActivity); in testAddView() local 111 scrollView.addView(child0); in testAddView() 112 assertSame(child0, scrollView.getChildAt(0)); in testAddView() 114 assertEquals(1, scrollView.getChildCount()); in testAddView() 117 scrollView.addView(child1); in testAddView() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FrameMetricsListenerTest.java | 70 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testReceiveData() local 96 scrollView.fling(-100); in testReceiveData() 121 scrollView.fling(100); in testReceiveData() 131 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testMultipleListeners() local 172 scrollView.fling(-100); in testMultipleListeners() 195 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testDropCount() local 228 scrollView.fling(-100); in testDropCount()
|
D | ViewTreeObserverTest.java | 313 final ScrollView scrollView = (ScrollView) mActivity.findViewById(R.id.scroll_view); in testAccessOnScrollChangedListener() local 315 mViewTreeObserver = scrollView.getViewTreeObserver(); in testAccessOnScrollChangedListener() 324 scrollView.fullScroll(View.FOCUS_DOWN); in testAccessOnScrollChangedListener() 342 scrollView.fullScroll(View.FOCUS_UP); in testAccessOnScrollChangedListener()
|
D | ViewTest.java | 456 MockView scrollView = (MockView) mActivity.findViewById(R.id.scroll_view); in testAccessTag() local 471 scrollView.setTag(viewGroup); in testAccessTag() 472 assertSame(viewGroup, scrollView.getTag()); in testAccessTag() 476 assertSame(scrollView, viewGroup.findViewWithTag(viewGroup)); in testAccessTag() 1960 View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationInWindow() local 1961 scrollView.getLocationInWindow(location); in testGetLocationInWindow() 1991 View scrollView = mActivity.findViewById(R.id.scroll_view); in testGetLocationOnScreen() local 1992 scrollView.getLocationOnScreen(location); in testGetLocationOnScreen() 1997 scrollView.getLocationOnScreen(null); in testGetLocationOnScreen() 2003 scrollView.getLocationOnScreen(new int[] { 0 }); in testGetLocationOnScreen() [all …]
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 112628 public static final int scrollView
|