Home
last modified time | relevance | path

Searched refs:getView (Results 1 – 25 of 47) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java132 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 …]
DSimpleAdapterTest.java173 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()
DHeaderViewListAdapterTest.java304 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
DArrayAdapterTest.java159 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()
DCursorAdapterTest.java221 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()
DCheckedTextViewTest.java123 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
DDummyAdapter.java59 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in DummyAdapter
DListViewTest.java386 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
DGalleryCtsActivity.java60 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GalleryCtsActivity.ImageAdapter
/cts/tests/fragment/src/android/fragment/cts/
DPostponedTransitionTest.java338 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 …]
DFragmentAnimatorTest.java116 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 …]
DFragmentViewTests.java247 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 …]
DFragmentLifecycleTest.java199 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 …]
DStrictViewFragment.java62 if (getView() == null) { in onDestroyView()
DFragmentTestUtil.java151 fragments[i].getView()); in assertChildren()
202 View view = fragment.getView(); in isVisible()
/cts/tests/tests/preference/src/android/preference/cts/
DRecycleCheckPreference.java62 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/
DGLSurfaceViewTest.java72 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithDelay()
98 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithoutDelay()
DGLSurfaceViewCtsActivity.java59 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java175 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 …]
DGLSurfaceViewCtsActivity.java43 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
DView_DragShadowBuilderTest.java64 assertSame(mView, mBuilder.getView()); in testGetView()
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java229 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/
DGLSurfaceViewCtsActivity.java108 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimCtsActivity.java88 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GridLayoutAnimCtsActivity.MockGridViewAdapter
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestAdapter.java77 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in TestAdapter

12