Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java128 final View view = mToast.getView(); in testShow()
150 assertNull(toast.getView()); in testShowFailure()
162 final View view = mToast.getView(); in testCancel()
179 assertFalse(mToast.getView() instanceof ImageView); in testAccessView()
192 assertSame(imageView, mToast.getView()); in testAccessView()
207 View view = mToast.getView(); in testAccessDuration()
221 view = mToast.getView(); in testAccessDuration()
230 View view = mToast.getView(); in testAccessMargin()
239 registerLayoutListener(mToast.getView()); in testAccessMargin()
261 registerLayoutListener(mToast.getView()); in testAccessMargin()
[all …]
DSimpleAdapterTest.java149 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView()
153 result = mSimpleAdapter.getView(19, null, mAdapterHost); in testGetView()
160 result = mSimpleAdapter.getView(0, convertView, mAdapterHost); in testGetView()
165 result = mSimpleAdapter.getView(10, convertView, null); in testGetView()
172 mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView()
179 result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView()
184 mSimpleAdapter.getView(-1, convertView, null); in testGetView()
190 mSimpleAdapter.getView(20, convertView, null); in testGetView()
DHeaderViewListAdapterTest.java294 assertSame(lv1, headerViewListAdapter.getView(0, null, null)); in testGetView()
295 assertSame(lv2, headerViewListAdapter.getView(1, null, null)); in testGetView()
299 View expected = fullAdapter.getView(0, null, null); in testGetView()
301 assertSame(expected, headerViewListAdapter.getView(0, null, null)); in testGetView()
305 assertSame(lv1, headerViewListAdapter.getView(0, null, null)); in testGetView()
306 assertSame(lv2, headerViewListAdapter.getView(1, null, null)); in testGetView()
307 assertSame(expected, headerViewListAdapter.getView(2, null, null)); in testGetView()
414 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter
480 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
DAbsListViewTest.java162 assertNull(onScrollListener.getView()); in testSetOnScrollListener()
172 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
184 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
195 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
434 assertNull(recyclerListener.getView()); in testSetRecyclerListener()
439 assertNotNull(recyclerListener.getView()); in testSetRecyclerListener()
441 assertSame(recyclerListener.getView(), views.get(views.size() - 1)); in testSetRecyclerListener()
584 assertNull(listener.getView()); in testGetContextMenuInfo()
594 return v == listener.getView(); in testGetContextMenuInfo()
795 public AbsListView getView() { in getView() method in AbsListViewTest.MockOnScrollListener
[all …]
DArrayAdapterTest.java140 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText()); in testAccessView()
141 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText()); in testAccessView()
145 assertSame(textView, mArrayAdapter.getView(0, textView, null)); in testAccessView()
150 assertEquals(textView, mArrayAdapter.getView(-1, textView, null)); in testAccessView()
163 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null)); in testAccessView()
196 mArrayAdapter.getView(0, null, null); in testSetDropDownViewResouce()
DCheckedTextViewTest.java104 CheckedTextView view0 = (CheckedTextView) adapter.getView(0, null, null); in testChecked()
105 CheckedTextView view1 = (CheckedTextView) adapter.getView(1, null, null); in testChecked()
106 CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); in testChecked()
382 public View getView(int position, View convertView, ViewGroup parent) {
DDummyAdapter.java59 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in DummyAdapter
DCursorAdapterTest.java199 cursorAdapter.getView(0, textView, mParent); in testGetView()
206 cursorAdapter.getView(100, textView, mParent); in testGetView()
212 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); in testGetView()
217 retView = (TextView) cursorAdapter.getView(1, textView, mParent); in testGetView()
DGalleryCtsActivity.java61 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GalleryCtsActivity.ImageAdapter
DBaseAdapterTest.java120 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in BaseAdapterTest.MockBaseAdapter
/cts/tests/fragment/src/android/fragment/cts/
DFragmentLifecycleTest.java172 final View view = f1.getView(); in viewLifecycle()
180 assertNull("fragment 1 returned non-null from getView after removal", f1.getView()); in viewLifecycle()
199 View origView1 = f1.getView(); in viewReplace()
208 assertNull("fragment 1 returned non-null view", f1.getView()); in viewReplace()
210 View origView2 = f2.getView(); in viewReplace()
219 assertNull("fragment 2 returned non-null view", f2.getView()); in viewReplace()
221 View newView1 = f1.getView(); in viewReplace()
DStrictViewFragment.java51 if (getView() == null) { in onDestroyView()
/cts/tests/tests/graphics/src/android/opengl/cts/
DGLSurfaceViewTest.java66 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithDelay()
91 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithoutDelay()
DGLSurfaceViewCtsActivity.java108 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/
DBackupTestActivity.java263 View getView(LayoutInflater inflater, int position, View convertView, ViewGroup parent);
280 public View getView(LayoutInflater inflater, int position, View convertView,
311 public View getView(LayoutInflater inflater, int position, View convertView,
339 public View getView(LayoutInflater inflater, int position, View convertView,
400 public View getView(int position, View convertView, ViewGroup parent) {
401 return getItem(position).getView(mLayoutInflater, position, convertView, parent);
DBackupAccessibilityTestActivity.java224 View getView(LayoutInflater inflater, int position, View convertView, ViewGroup parent);
241 public View getView(LayoutInflater inflater, int position, View convertView,
274 public View getView(LayoutInflater inflater, int position, View convertView,
338 public View getView(int position, View convertView, ViewGroup parent) {
339 return getItem(position).getView(mLayoutInflater, position, convertView, parent);
/cts/tests/tests/widget/src/android/widget/cts/util/
DExpandableListScenario.java226 private View getView(long packedPosition, View convertView, ViewGroup parent) { in getView() method in ExpandableListScenario
318 return getView(ExpandableListView.getPackedPositionForChild(groupPosition, in getChildView()
336 return getView(ExpandableListView.getPackedPositionForGroup(groupPosition), in getGroupView()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndActivity.java41 public View getView(int position, View convertView, ViewGroup parent) { in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTests.java135 activity.getView().requestRender(); in testGlProducer()
141 int result = copyHelper.request(activity.getView(), bitmap); in testGlProducer()
154 result = copyHelper.request(activity.getView(), bitmap); in testGlProducer()
DGLSurfaceViewCtsActivity.java122 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
DGestureDetectorCtsActivity.java80 public View getView() { in getView() method in GestureDetectorCtsActivity
/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.java89 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
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java159 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in SuidFilesActivity.SuidFilesAdapter
160 TextView view = (TextView) super.getView(position, convertView, parent); in getView()

12