Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DRelativeLayout_LayoutParamsTest.java64 View view1 = activity.findViewById(R.id.relative_view1); in testConstructor() local
65 ViewAsserts.assertHorizontalCenterAligned(relativeLayout, view1); in testConstructor()
66 ViewAsserts.assertVerticalCenterAligned(relativeLayout, view1); in testConstructor()
67 layoutParams = (RelativeLayout.LayoutParams) (view1.getLayoutParams()); in testConstructor()
74 ViewAsserts.assertLeftAligned(view1, view2); in testConstructor()
75 assertEquals(view1.getBottom(), view2.getTop()); in testConstructor()
85 ViewAsserts.assertTopAligned(view1, view3); in testConstructor()
87 assertEquals(view1.getRight(), view3.getLeft()); in testConstructor()
138 assertEquals(view1.getLeft(), view8.getRight()); in testConstructor()
171 View view1 = activity.findViewById(R.id.relative_view21); in testStartEnd() local
[all …]
DCheckedTextViewTest.java105 CheckedTextView view1 = (CheckedTextView) adapter.getView(1, null, null); in testChecked() local
108 assertTrue(view1.isChecked()); in testChecked()
119 assertTrue(view1.isChecked()); in testChecked()
123 view1.setChecked(false); in testChecked()
126 assertFalse(view1.isChecked()); in testChecked()
DTabWidgetTest.java242 View view1 = new TextView(mActivity); in testAddView() local
243 mockTabWidget.addView(view1); in testAddView()
244 assertSame(view1, mockTabWidget.getChildAt(0)); in testAddView()
/cts/tests/tests/view/src/android/view/cts/
DViewTreeObserverTest.java74 final View view1 = mActivity.findViewById(R.id.view1); in testAddOnGlobalFocusChangeListener() local
80 view1.requestFocus(); in testAddOnGlobalFocusChangeListener()
100 && listener.oldFocus == view1 && listener.newFocus == view2; in testAddOnGlobalFocusChangeListener()
204 final View view1 = mActivity.findViewById(R.id.view1); in testRemoveOnGlobalFocusChangeListener() local
210 view1.requestFocus(); in testRemoveOnGlobalFocusChangeListener()
229 && listener.oldFocus == view1 && listener.newFocus == view2; in testRemoveOnGlobalFocusChangeListener()
239 view1.requestFocus(); in testRemoveOnGlobalFocusChangeListener()
DView_FocusHandlingTest.java38 View v1 = activity.findViewById(R.id.view1); in testFocusHandling()
67 v2.setNextFocusLeftId(R.id.view1); in testFocusHandling()
71 v3.setNextFocusUpId(R.id.view1); in testFocusHandling()
80 assertEquals(R.id.view1, v2.getNextFocusLeftId()); in testFocusHandling()
83 assertEquals(R.id.view1, v3.getNextFocusUpId()); in testFocusHandling()
DViewGroupTest.java1786 TemporaryDetachingMockView view1 = new TemporaryDetachingMockView(mContext); in testTemporaryDetach() local
1788 vg.addView(view1); in testTemporaryDetach()
1802 assertFalse(view1.isTemporarilyDetached()); in testTemporaryDetach()
1803 assertEquals(0, view1.getDispatchStartTemporaryDetachCount()); in testTemporaryDetach()
1804 assertEquals(0, view1.getDispatchFinishTemporaryDetachCount()); in testTemporaryDetach()
1805 assertEquals(0, view1.getOnStartTemporaryDetachCount()); in testTemporaryDetach()
1806 assertEquals(0, view1.getOnFinishTemporaryDetachCount()); in testTemporaryDetach()
1831 assertTrue(view1.isTemporarilyDetached()); in testTemporaryDetach()
1832 assertEquals(1, view1.getDispatchStartTemporaryDetachCount()); in testTemporaryDetach()
1833 assertEquals(0, view1.getDispatchFinishTemporaryDetachCount()); in testTemporaryDetach()
[all …]
DContentPaneFocusTest.java39 final View v1 = activity.findViewById(R.id.view1); in testAccessActionBar()