Home
last modified time | relevance | path

Searched refs:views (Results 1 – 6 of 6) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiViewTest.java58 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreview() local
59 textureViewPreview(cameraId, views, /*ImageReader*/null); in testTextureViewPreview()
99 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreviewWithImageReader() local
100 textureViewPreview(cameraId, views, yuvReader); in testTextureViewPreviewWithImageReader()
137 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewPreview() local
138 textureViewPreview(cameraId, views, /*ImageReader*/null); in testDualTextureViewPreview()
178 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewAndImageReaderPreview() local
179 textureViewPreview(cameraId, views, yuvReader); in testDualTextureViewAndImageReaderPreview()
213 List<TextureView> views = Arrays.asList(mTextureView[i]); in testDualCameraPreview() local
215 startTextureViewPreview(mCameraIds[i], views, /*ImageReader*/null); in testDualCameraPreview()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java432 List<View> views = new ArrayList<View>(); in testSetRecyclerListener() local
436 mListView.reclaimViews(views); in testSetRecyclerListener()
438 assertTrue(views.size() > 0); in testSetRecyclerListener()
441 assertSame(recyclerListener.getView(), views.get(views.size() - 1)); in testSetRecyclerListener()
540 ArrayList<View> views = new ArrayList<View>(); in testAddTouchables() local
541 assertEquals(0, views.size()); in testAddTouchables()
545 mListView.addTouchables(views); in testAddTouchables()
546 assertEquals(mListView.getChildCount(), views.size()); in testAddTouchables()
DListViewTest.java878 ArrayList<TemporarilyDetachableMockView> views = new ArrayList<>(); field in ListViewTest.TemporarilyDetachableMockViewAdapter
884 views.add(new TemporarilyDetachableMockView(context)); in TemporarilyDetachableMockViewAdapter()
885 views.get(i).setFocusable(true); in TemporarilyDetachableMockViewAdapter()
891 return views.size(); in getCount()
901 return views.get(position); in getView()
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java247 public void updateAppWidget(RemoteViews views) { in updateAppWidget() argument
248 super.updateAppWidget(views); in updateAppWidget()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/
DCameraFlashlightActivity.java247 HashSet<View> views = mStateButtonsMap.get(mTestState); in updateButtonsAndInstructionLocked() local
248 for (View v : views) { in updateButtonsAndInstructionLocked()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1146 ArrayList<View> views = new ArrayList<View>(); in focusableInTouchModeTest() local
1151 view.addFocusables(views, View.FOCUS_FORWARD); in focusableInTouchModeTest()
1153 assertEquals(Collections.emptyList(), views); in focusableInTouchModeTest() local
1155 assertEquals(Collections.singletonList(view), views); in focusableInTouchModeTest() local
1159 views.clear(); in focusableInTouchModeTest()
1160 view.addFocusables(views, View.FOCUS_FORWARD, View.FOCUSABLES_ALL); in focusableInTouchModeTest()
1161 assertEquals(Collections.singletonList(view), views); in focusableInTouchModeTest() local
1163 views.clear(); in focusableInTouchModeTest()
1164 view.addFocusables(views, View.FOCUS_FORWARD, View.FOCUSABLES_TOUCH_MODE); in focusableInTouchModeTest()
1165 assertEquals(Collections.emptyList(), views); in focusableInTouchModeTest() local
[all …]