/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | DuplicateIdActivityTest.java | 94 AssistStructure.ViewNode[] views = findViews(request); in testDoNotRestoreDuplicateAutofillIds() local 95 AssistStructure.ViewNode view1 = views[0]; in testDoNotRestoreDuplicateAutofillIds() 96 AssistStructure.ViewNode view2 = views[1]; in testDoNotRestoreDuplicateAutofillIds() 127 views = findViews(request); in testDoNotRestoreDuplicateAutofillIds() 128 AutofillId recreatedId1 = views[0].getAutofillId(); in testDoNotRestoreDuplicateAutofillIds() 129 AutofillId recreatedId2 = views[1].getAutofillId(); in testDoNotRestoreDuplicateAutofillIds()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | FocusFinderTest.java | 411 View[] views = new View[]{button2, button1}; in testBasicFocusOrder() local 413 FocusFinder.sort(views, 0, 0, layout, false); in testBasicFocusOrder() 415 FocusFinder.sort(views, 0, 1, layout, false); in testBasicFocusOrder() 416 assertEquals(button2, views[0]); in testBasicFocusOrder() 418 FocusFinder.sort(views, 0, 2, layout, false); in testBasicFocusOrder() 419 assertEquals(button2, views[0]); in testBasicFocusOrder() 420 assertEquals(button1, views[1]); in testBasicFocusOrder() 423 FocusFinder.sort(views, 0, 2, layout, false); in testBasicFocusOrder() 424 assertEquals(button1, views[0]); in testBasicFocusOrder() 425 assertEquals(button2, views[1]); in testBasicFocusOrder()
|
D | ViewTest.java | 1220 ArrayList<View> views = new ArrayList<>(); in focusableInTouchModeTest() local 1225 view.addFocusables(views, View.FOCUS_FORWARD); in focusableInTouchModeTest() 1227 assertEquals(Collections.emptyList(), views); in focusableInTouchModeTest() local 1229 assertEquals(Collections.singletonList(view), views); in focusableInTouchModeTest() local 1232 views.clear(); in focusableInTouchModeTest() 1233 view.addFocusables(views, View.FOCUS_FORWARD, View.FOCUSABLES_ALL); in focusableInTouchModeTest() 1234 assertEquals(Collections.singletonList(view), views); in focusableInTouchModeTest() local 1236 views.clear(); in focusableInTouchModeTest() 1237 view.addFocusables(views, View.FOCUS_FORWARD, View.FOCUSABLES_TOUCH_MODE); in focusableInTouchModeTest() 1238 assertEquals(Collections.emptyList(), views); in focusableInTouchModeTest() local [all …]
|
D | ViewGroupTest.java | 1811 ArrayList<View> views = new ArrayList<>(); in testTouchscreenBlocksFocus() local 1812 h.top.addFocusables(views, View.FOCUS_DOWN); in testTouchscreenBlocksFocus() 1813 for (View v : views) { in testTouchscreenBlocksFocus() 1816 views.clear(); in testTouchscreenBlocksFocus() 1819 h.top.addKeyboardNavigationClusters(views, View.FOCUS_DOWN); in testTouchscreenBlocksFocus() 1820 assertTrue(views.contains(h.cluster1)); in testTouchscreenBlocksFocus() 1821 views.clear(); in testTouchscreenBlocksFocus() 1825 h.top.addFocusables(views, View.FOCUS_DOWN); in testTouchscreenBlocksFocus() 1826 assertTrue(views.contains(h.c1view1)); in testTouchscreenBlocksFocus() 1827 views.clear(); in testTouchscreenBlocksFocus() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiViewTest.java | 71 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreview() local 72 textureViewPreview(cameraId, views, /*ImageReader*/null); in testTextureViewPreview() 112 List<TextureView> views = Arrays.asList(mTextureView[0]); in testTextureViewPreviewWithImageReader() local 113 textureViewPreview(cameraId, views, yuvReader); in testTextureViewPreviewWithImageReader() 150 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewPreview() local 151 textureViewPreview(cameraId, views, /*ImageReader*/null); in testDualTextureViewPreview() 191 List<TextureView> views = Arrays.asList(mTextureView[0], mTextureView[1]); in testDualTextureViewAndImageReaderPreview() local 192 textureViewPreview(cameraId, views, yuvReader); in testDualTextureViewAndImageReaderPreview() 226 List<TextureView> views = Arrays.asList(mTextureView[i]); in testDualCameraPreview() local 228 startTextureViewPreview(mCameraIds[i], views, /*ImageReader*/null); in testDualCameraPreview() [all …]
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransitionTest.java | 282 ArgumentCaptor<List> views = ArgumentCaptor.forClass(List.class); in callStartEndWithSharedElements() local 284 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements() 287 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements() 290 assertEquals(startBlue, views.getValue().get(0)); in callStartEndWithSharedElements() 294 verify(enterCallback).onSharedElementEnd(names.capture(), views.capture(), in callStartEndWithSharedElements() 297 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements() 300 assertEquals(endBlue, views.getValue().get(0)); in callStartEndWithSharedElements() 306 verify(enterCallback).onSharedElementStart(names.capture(), views.capture(), in callStartEndWithSharedElements() 309 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements() 312 assertEquals(endBlue, views.getValue().get(0)); in callStartEndWithSharedElements() [all …]
|
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
D | SimpleAppWidgetHostService.java | 247 public void updateAppWidget(RemoteViews views) { in updateAppWidget() argument 248 super.updateAppWidget(views); in updateAppWidget()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/ |
D | CameraFlashlightActivity.java | 247 HashSet<View> views = mStateButtonsMap.get(mTestState); in updateButtonsAndInstructionLocked() local 248 for (View v : views) { in updateButtonsAndInstructionLocked()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsListViewTest.java | 520 List<View> views = new ArrayList<>(); in testSetRecyclerListener() local 521 mListView.reclaimViews(views); in testSetRecyclerListener() 523 assertTrue(views.size() > 0); in testSetRecyclerListener() 528 for (View reclaimed : views) { in testSetRecyclerListener() 638 ArrayList<View> views = new ArrayList<>(); in testAddTouchables() local 639 assertEquals(0, views.size()); in testAddTouchables() 643 mListView.addTouchables(views); in testAddTouchables() 644 assertEquals(mListView.getChildCount(), views.size()); in testAddTouchables()
|
D | ListViewTest.java | 1071 ArrayList<TemporarilyDetachableMockView> views = new ArrayList<>(); field in ListViewTest.TemporarilyDetachableMockViewAdapter 1077 views.add(new TemporarilyDetachableMockView(context)); in TemporarilyDetachableMockViewAdapter() 1078 views.get(i).setFocusable(true); in TemporarilyDetachableMockViewAdapter() 1084 return views.size(); in getCount() 1094 View result = views.get(position); in getView()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 273 final View views[]; in testSingleAccessibilityFocusAcrossWindows() local 274 views = addTwoAppPanelWindows(); in testSingleAccessibilityFocusAcrossWindows() 296 for (View view : views) { in testSingleAccessibilityFocusAcrossWindows()
|