/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VisibilitySetterActionTest.java | 102 final View view2 = new View(sContext); in testMultipleChildren() local 103 view2.setId(108); in testMultipleChildren() 104 view2.setVisibility(View.GONE); in testMultipleChildren() 105 mRootView.addView(view2); in testMultipleChildren() 110 assertThat(view2.getVisibility()).isEqualTo(View.INVISIBLE); in testMultipleChildren()
|
D | DuplicateIdActivityTest.java | 109 final AssistStructure.ViewNode view2 = views1[1]; in testDoNotRestoreDuplicateAutofillIds() local 111 final AutofillId id2 = view2.getAutofillId(); in testDoNotRestoreDuplicateAutofillIds() 117 assertThat(view1.getId()).isEqualTo(view2.getId()); in testDoNotRestoreDuplicateAutofillIds()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewSourceLayoutTest.java | 46 View view2 = activity.findViewById(R.id.view2); in testGetSourceLayout() local 47 assertEquals(R.layout.view_source_layout_test_include_layout, view2.getSourceLayoutResId()); in testGetSourceLayout()
|
D | ViewTreeObserverTest.java | 88 final View view2 = mActivity.findViewById(R.id.view2); in testAddOnGlobalFocusChangeListener() local 97 mActivityRule.runOnUiThread(view2::requestFocus); in testAddOnGlobalFocusChangeListener() 99 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testAddOnGlobalFocusChangeListener() 233 final View view2 = mActivity.findViewById(R.id.view2); in testRemoveOnGlobalFocusChangeListener() local 241 mActivityRule.runOnUiThread(view2::requestFocus); in testRemoveOnGlobalFocusChangeListener() 243 verify(listener, within(TIMEOUT_MS)).onGlobalFocusChanged(view1, view2); in testRemoveOnGlobalFocusChangeListener()
|
D | ViewAttributeTest.java | 79 View view2 = rootView.findViewById(R.id.view2); in testGetExplicitStyle() local 80 assertEquals(R.style.ExplicitStyle2, view2.getExplicitStyle()); in testGetExplicitStyle()
|
D | ViewPaddingTest.java | 56 View view2 = viewGroup.findViewById(R.id.view2); in testPadding() local 81 checkBounds(view2, defaultBounds, insetAll, insetAll, insetAll, insetAll); in testPadding()
|
D | ViewGroup_MarginLayoutParamsTest.java | 234 View view2 = viewGroup.findViewById(R.id.view2); in testVerticalHorizontalMargins() local 250 checkBounds(view2, defaultBounds, marginHorizontal, 0, marginHorizontal, 0); in testVerticalHorizontalMargins()
|
D | ViewGroupTest.java | 2466 TemporaryDetachingMockView view2 = new TemporaryDetachingMockView(mContext); in testTemporaryDetach() local 2468 vg.addView(view2); in testTemporaryDetach() 2486 assertFalse(view2.isTemporarilyDetached()); in testTemporaryDetach() 2487 assertEquals(0, view2.getDispatchStartTemporaryDetachCount()); in testTemporaryDetach() 2488 assertEquals(0, view2.getDispatchFinishTemporaryDetachCount()); in testTemporaryDetach() 2489 assertEquals(0, view2.getOnStartTemporaryDetachCount()); in testTemporaryDetach() 2490 assertEquals(0, view2.getOnFinishTemporaryDetachCount()); in testTemporaryDetach() 2515 assertTrue(view2.isTemporarilyDetached()); in testTemporaryDetach() 2516 assertEquals(1, view2.getDispatchStartTemporaryDetachCount()); in testTemporaryDetach() 2517 assertEquals(0, view2.getDispatchFinishTemporaryDetachCount()); in testTemporaryDetach() [all …]
|
D | View_FocusHandlingTest.java | 59 View v2 = activity.findViewById(R.id.view2); in testFocusHandling() 84 v1.setNextFocusRightId(R.id.view2); in testFocusHandling() 94 v4.setNextFocusUpId(R.id.view2); in testFocusHandling() 97 assertEquals(R.id.view2, v1.getNextFocusRightId()); in testFocusHandling() 106 assertEquals(R.id.view2, v4.getNextFocusUpId()); in testFocusHandling() 249 View v2 = activity.findViewById(R.id.view2); in testEnabledHandling()
|
D | ViewTest.java | 511 final MockView view2 = (MockView) mActivity.findViewById(R.id.scroll_view); in testMouseEventCallsGetPointerIcon() local 512 assertFalse(view2.hasCalledOnResolvePointerIcon()); in testMouseEventCallsGetPointerIcon() 2197 final View view2 = mActivity.findViewById(R.id.fit_windows); in testHasWindowFocus() local 2199 PollingCheck.waitFor(TIMEOUT_DELTA, view2::hasWindowFocus); in testHasWindowFocus() 4103 final MockView view2 = (MockView) mActivity.findViewById(R.id.scroll_view_2); in testScrollbarSize() local 4104 view2.setScrollBarSize(customScrollbarSize); in testScrollbarSize() 4105 assertEquals(customScrollbarSize, view2.getScrollBarSize()); in testScrollbarSize() 4106 assertEquals(customScrollbarSize, view2.getVerticalScrollbarWidth()); in testScrollbarSize() 4107 assertEquals(customScrollbarSize, view2.getHorizontalScrollbarHeight()); in testScrollbarSize() 4902 final View view2 = mActivity.findViewById(R.id.transform_matrix_view_2); in testTransformMatrixToLocal() local [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RelativeLayout_LayoutParamsTest.java | 106 View view2 = mActivity.findViewById(R.id.relative_view2); in testConstructor() local 107 ViewAsserts.assertLeftAligned(view1, view2); in testConstructor() 108 assertEquals(view1.getBottom(), view2.getTop()); in testConstructor() 109 layoutParams = (RelativeLayout.LayoutParams) (view2.getLayoutParams()); in testConstructor() 119 ViewAsserts.assertBottomAligned(view2, view3); in testConstructor() 213 View view2 = mActivity.findViewById(R.id.relative_view22); in testStartEnd() local 214 ViewAsserts.assertLeftAligned(view1, view2); in testStartEnd() 215 assertEquals(view1.getBottom(), view2.getTop()); in testStartEnd() 216 layoutParams = (RelativeLayout.LayoutParams) (view2.getLayoutParams()); in testStartEnd() 235 ViewAsserts.assertBottomAligned(view2, view3); in testStartEnd()
|
D | CheckedTextViewTest.java | 125 final CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); in testChecked() local 128 assertFalse(view2.isChecked()); in testChecked() 136 assertTrue(view2.isChecked()); in testChecked() 140 view2.setChecked(false); in testChecked() 143 assertFalse(view2.isChecked()); in testChecked()
|
D | TabWidgetTest.java | 264 View view2 = new RelativeLayout(mActivity); in testAddView() local 265 mockTabWidget.addView(view2); in testAddView() 266 assertSame(view2, mockTabWidget.getChildAt(1)); in testAddView()
|
D | LinearLayoutTest.java | 1229 assertEquals(0, mActivity.findViewById(R.id.view2).getWidth()); in testZeroWeightDistributionHorizontal() 1242 assertEquals(0, mActivity.findViewById(R.id.view2).getHeight()); in testZeroWeightDistributionVertical()
|