/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastTest.java | 132 final View view = mToast.getView(); in testShow() 150 assertNull(toast.getView()); in testShowFailure() 158 final View view = mToast.getView(); in testCancel() 173 assertFalse(mToast.getView() instanceof ImageView); in testAccessView() 183 assertSame(imageView, mToast.getView()); in testAccessView() 191 runOnMainAndDrawSync(mToast.getView(), mToast::show); in testAccessDuration() 194 View view = mToast.getView(); in testAccessDuration() 199 runOnMainAndDrawSync(mToast.getView(), () -> { in testAccessDuration() 205 view = mToast.getView(); in testAccessDuration() 220 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() [all …]
|
D | SimpleAdapterTest.java | 173 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView() 177 result = mSimpleAdapter.getView(19, null, mAdapterHost); in testGetView() 184 result = mSimpleAdapter.getView(0, convertView, mAdapterHost); in testGetView() 189 result = mSimpleAdapter.getView(10, convertView, null); in testGetView() 196 mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView() 202 result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView() 210 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetViewIndexTooLow() 211 mSimpleAdapter.getView(-1, result, null); in testGetViewIndexTooLow() 217 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetViewIndexTooHigh() 218 mSimpleAdapter.getView(20, result, null); in testGetViewIndexTooHigh()
|
D | HeaderViewListAdapterTest.java | 304 assertSame(lv1, headerViewListAdapter.getView(0, null, null)); in testGetView() 305 assertSame(lv2, headerViewListAdapter.getView(1, null, null)); in testGetView() 308 View expected = mFullAdapter.getView(0, null, null); in testGetView() 310 assertSame(expected, headerViewListAdapter.getView(0, null, null)); in testGetView() 314 assertSame(lv1, headerViewListAdapter.getView(0, null, null)); in testGetView() 315 assertSame(lv2, headerViewListAdapter.getView(1, null, null)); in testGetView() 316 assertSame(expected, headerViewListAdapter.getView(2, null, null)); in testGetView() 422 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter 488 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
|
D | ArrayAdapterTest.java | 159 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText()); in testAccessView() 160 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText()); in testAccessView() 164 assertSame(textView, mArrayAdapter.getView(0, textView, null)); in testAccessView() 173 mArrayAdapter.getView(-1, textView, null); in testGetViewOutOfBoundsLow() 187 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null); in testGetViewOutOfBoundsHigh() 221 mArrayAdapter.getView(0, null, null); in testSetDropDownViewResource()
|
D | CursorAdapterTest.java | 221 cursorAdapter.getView(0, textView, mParent); in testGetView() 228 cursorAdapter.getView(100, textView, mParent); in testGetView() 234 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); in testGetView() 239 retView = (TextView) cursorAdapter.getView(1, textView, mParent); in testGetView()
|
D | CheckedTextViewTest.java | 123 final CheckedTextView view0 = (CheckedTextView) adapter.getView(0, null, null); in testChecked() 124 final CheckedTextView view1 = (CheckedTextView) adapter.getView(1, null, null); in testChecked() 125 final CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); in testChecked() 464 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in CheckedTextViewTest.CheckedTextViewAdapter
|
D | DummyAdapter.java | 59 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in DummyAdapter
|
D | ListViewTest.java | 386 public View getView(int position, View convertView, ViewGroup parent) { in testHeaderFooterType() 393 return super.getView(position - 1, convertView, parent); in testHeaderFooterType() 465 () -> mTextView = (TextView) mAdapter_countries.getView(2, null, mListView)); in testPerformItemClick() 545 () -> mTextView = (TextView) mAdapter_countries.getView(0, null, mListView)); in testRequestChildRectangleOnScreen() 896 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ListViewTest.MockAdapter 1001 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ListViewTest.ArrayAdapterWithMockDrawable 1002 final View view = super.getView(position, convertView, parent); in getView() 1082 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ListViewTest.TemporarilyDetachableMockViewAdapter
|
D | GalleryCtsActivity.java | 60 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GalleryCtsActivity.ImageAdapter
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | PostponedTransitionTest.java | 338 final View startBlue1 = fragment1.getView().findViewById(R.id.blueSquare); in differentContainers() 339 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in differentContainers() 430 final View startBlue1 = fragment1.getView().findViewById(R.id.blueSquare); in outOfOrderContainers() 431 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in outOfOrderContainers() 522 final View startBlue1 = fragment1.getView().findViewById(R.id.blueSquare); in commitNowNoEffect() 523 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in commitNowNoEffect() 578 final View startBlue1 = mBeginningFragment.getView().findViewById(R.id.blueSquare); in commitNowStartsPostponed() 590 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in commitNowStartsPostponed() 658 final View startBlue = mBeginningFragment.getView().findViewById(R.id.blueSquare); in popPostponedTransaction() 680 assertNull(fragment.getView()); in popPostponedTransaction() [all …]
|
D | FragmentAnimatorTest.java | 116 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsReordered() 127 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in showAnimatorsReordered() 132 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsReordered() 152 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsOrdered() 164 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in showAnimatorsOrdered() 169 assertEquals(View.GONE, fragment.getView().getVisibility()); in showAnimatorsOrdered() 338 assertNotNull(fragment1.getView()); in postponedAddRemove() 339 assertEquals(View.VISIBLE, fragment1.getView().getVisibility()); in postponedAddRemove() 341 assertTrue(fragment1.getView().isAttachedToWindow()); in postponedAddRemove() 377 assertNotNull(fragment1.getView()); in popPostponed() [all …]
|
D | FragmentViewTests.java | 247 assertEquals(View.GONE, replacement1.getView().getVisibility()); in removeHiddenView() 323 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in hideFragment() 330 assertEquals(View.GONE, fragment.getView().getVisibility()); in hideFragment() 337 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in hideFragment() 382 assertEquals(View.GONE, fragment.getView().getVisibility()); in showFragment() 389 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in showFragment() 396 assertEquals(View.GONE, fragment.getView().getVisibility()); in showFragment() 440 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in detachFragment() 453 assertEquals(View.VISIBLE, fragment.getView().getVisibility()); in detachFragment() 471 assertEquals(View.GONE, fragment.getView().getVisibility()); in detachHiddenFragment() [all …]
|
D | FragmentLifecycleTest.java | 199 final View view = f1.getView(); in viewLifecycle() 207 assertNull("fragment 1 returned non-null from getView after removal", f1.getView()); in viewLifecycle() 225 View origView1 = f1.getView(); in viewReplace() 234 assertNull("fragment 1 returned non-null view", f1.getView()); in viewReplace() 236 View origView2 = f2.getView(); in viewReplace() 245 assertNull("fragment 2 returned non-null view", f2.getView()); in viewReplace() 247 View newView1 = f1.getView(); in viewReplace() 268 View origView1 = f1.getView(); in viewReplaceMultiple() 273 View origView2 = f2.getView(); in viewReplaceMultiple() 284 assertNull("fragment 1 returned non-null view", f1.getView()); in viewReplaceMultiple() [all …]
|
D | StrictViewFragment.java | 62 if (getView() == null) { in onDestroyView()
|
D | FragmentTestUtil.java | 151 fragments[i].getView()); in assertChildren() 202 View view = fragment.getView(); in isVisible()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | RecycleCheckPreference.java | 62 public View getView(View convertView, ViewGroup parent) { in getView() method in RecycleCheckPreference 66 return super.getView(convertView, parent); in getView()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | GLSurfaceViewTest.java | 72 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithDelay() 98 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithoutDelay()
|
D | GLSurfaceViewCtsActivity.java | 59 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTest.java | 175 activity.getView().requestRender(); in waitForGlProducerActivity() 187 int result = mCopyHelper.request(activity.getView(), bitmap); in testGlProducerFullsize() 200 int result = mCopyHelper.request(activity.getView(), new Rect(0, 0, 50, 50), bitmap); in testGlProducerCropTopLeft() 210 int result = mCopyHelper.request(activity.getView(), new Rect(25, 25, 75, 75), bitmap); in testGlProducerCropCenter() 220 int result = mCopyHelper.request(activity.getView(), new Rect(0, 50, 100, 100), bitmap); in testGlProducerCropBottomHalf() 230 int result = mCopyHelper.request(activity.getView(), new Rect(50, -50, 150, 50), bitmap); in testGlProducerCropClamping() 242 int result = mCopyHelper.request(activity.getView(), bitmap); in testGlProducerScaling() 258 int result = mCopyHelper.request(activity.getView(), bitmap); in testReuseBitmap() 266 result = mCopyHelper.request(activity.getView(), bitmap); in testReuseBitmap() 671 activity.getView().requestRender(); in testNotLeaking() [all …]
|
D | GLSurfaceViewCtsActivity.java | 43 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
|
D | View_DragShadowBuilderTest.java | 64 assertSame(mView, mBuilder.getView()); in testGetView()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ExpandableListScenario.java | 229 private View getView(long packedPosition, View convertView, ViewGroup parent) { in getView() method in ExpandableListScenario 321 return getView(ExpandableListView.getPackedPositionForChild(groupPosition, in getChildView() 339 return getView(ExpandableListView.getPackedPositionForGroup(groupPosition), in getGroupView()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | GLSurfaceViewCtsActivity.java | 108 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 88 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestAdapter.java | 77 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in TestAdapter
|