/cts/tests/tests/widget29/src/android/widget/cts29/ |
D | ToastTest.java | 162 final View view = mToast.getView(); in testShow() 180 assertNull(toast.getView()); in testShowFailure() 188 final View view = mToast.getView(); in testCancel() 203 assertFalse(mToast.getView() instanceof ImageView); in testAccessView() 213 assertSame(imageView, mToast.getView()); in testAccessView() 221 runOnMainAndDrawSync(mToast.getView(), mToast::show); in testAccessDuration() 224 View view = mToast.getView(); in testAccessDuration() 229 runOnMainAndDrawSync(mToast.getView(), () -> { in testAccessDuration() 235 view = mToast.getView(); in testAccessDuration() 250 runOnMainAndDrawSync(mToast.getView(), showToast); in testAccessDuration_withA11yTimeoutEnabled() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastTest.java | 286 View view = mToast.getView(); in waitForToastToExpire() 296 final View view = mToast.getView(); in testShow_whenCustomToast() 374 assertCustomToastShownAndHidden(mToast.getView()); in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls() 384 assertCustomToastShownAndHidden(mToast.getView()); in testHideCustomToastAfterExpirationOfFirstShowCall_despiteRepeatedShowCalls() 398 assertNull(toast.getView()); in testShowFailure() 406 final View view = mToast.getView(); in testCancel_whenCustomToast() 421 assertFalse(mToast.getView() instanceof ImageView); in testAccessView_whenCustomToast() 431 assertSame(imageView, mToast.getView()); in testAccessView_whenCustomToast() 439 runOnMainAndDrawSync(mToast.getView(), in testAccessDuration_whenCustomToast() 443 View view = mToast.getView(); in testAccessDuration_whenCustomToast() [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 | DummyAdapter.java | 59 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in DummyAdapter
|
D | ArrayAdapterTest.java | 168 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText()); in testAccessView() 169 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText()); in testAccessView() 173 assertSame(textView, mArrayAdapter.getView(0, textView, null)); in testAccessView() 182 mArrayAdapter.getView(-1, textView, null); in testGetViewOutOfBoundsLow() 196 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null); in testGetViewOutOfBoundsHigh() 230 mArrayAdapter.getView(0, null, null); in testSetDropDownViewResource()
|
D | GalleryCtsActivity.java | 60 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GalleryCtsActivity.ImageAdapter
|
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 | 131 final CheckedTextView view0 = (CheckedTextView) adapter.getView(0, null, null); in testChecked() 132 final CheckedTextView view1 = (CheckedTextView) adapter.getView(1, null, null); in testChecked() 133 final CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); in testChecked() 474 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in CheckedTextViewTest.CheckedTextViewAdapter
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | PostponedTransitionTest.java | 339 final View startBlue1 = fragment1.getView().findViewById(R.id.blueSquare); in differentContainers() 340 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in differentContainers() 431 final View startBlue1 = fragment1.getView().findViewById(R.id.blueSquare); in outOfOrderContainers() 432 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in outOfOrderContainers() 523 final View startBlue1 = fragment1.getView().findViewById(R.id.blueSquare); in commitNowNoEffect() 524 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in commitNowNoEffect() 579 final View startBlue1 = mBeginningFragment.getView().findViewById(R.id.blueSquare); in commitNowStartsPostponed() 591 final View startBlue2 = fragment2.getView().findViewById(R.id.blueSquare); in commitNowStartsPostponed() 659 final View startBlue = mBeginningFragment.getView().findViewById(R.id.blueSquare); in popPostponedTransaction() 681 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 | 203 final View view = f1.getView(); in viewLifecycle() 211 assertNull("fragment 1 returned non-null from getView after removal", f1.getView()); in viewLifecycle() 229 View origView1 = f1.getView(); in viewReplace() 238 assertNull("fragment 1 returned non-null view", f1.getView()); in viewReplace() 240 View origView2 = f2.getView(); in viewReplace() 249 assertNull("fragment 2 returned non-null view", f2.getView()); in viewReplace() 251 View newView1 = f1.getView(); in viewReplace() 272 View origView1 = f1.getView(); in viewReplaceMultiple() 277 View origView2 = f2.getView(); in viewReplaceMultiple() 288 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 | 80 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithDelay() 106 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithoutDelay()
|
D | GLSurfaceViewCtsActivity.java | 59 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
|
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/ |
D | UntrustedTouchTestService.java | 92 View view = getView(mSawContext); in showSystemAlertWindow() 105 View view = getView(mService); in showActivityChildWindow() 138 private static View getView(Context context) { in getView() method in UntrustedTouchTestService
|
/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/tests/view/src/android/view/cts/ |
D | GLSurfaceViewCtsActivity.java | 73 public TestableGLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
|
D | View_DragShadowBuilderTest.java | 75 assertSame(mView, mBuilder.getView()); in testGetView()
|
/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 | 81 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in TestAdapter
|