Home
last modified time | relevance | path

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

12

/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java118 final View view = mToast.getView(); in testShow()
146 assertNull(mToast.getView()); in testShowFailure()
168 final View view = mToast.getView(); in testCancel()
202 assertFalse(mToast.getView() instanceof ImageView); in testAccessView()
215 assertSame(imageView, mToast.getView()); in testAccessView()
242 View view = mToast.getView(); in testAccessDuration()
256 view = mToast.getView(); in testAccessDuration()
287 View view = mToast.getView(); in testAccessMargin()
368 View view = mToast.getView();
384 view = mToast.getView();
[all …]
DSimpleAdapterTest.java189 View result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView()
193 result = mSimpleAdapter.getView(19, null, mAdapterHost); in testGetView()
200 result = mSimpleAdapter.getView(0, convertView, mAdapterHost); in testGetView()
205 result = mSimpleAdapter.getView(10, convertView, null); in testGetView()
212 mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView()
219 result = mSimpleAdapter.getView(0, null, mAdapterHost); in testGetView()
224 mSimpleAdapter.getView(-1, convertView, null); in testGetView()
230 mSimpleAdapter.getView(20, convertView, null); in testGetView()
DHeaderViewListAdapterTest.java374 assertSame(lv1, headerViewListAdapter.getView(0, null, null)); in testGetView()
375 assertSame(lv2, headerViewListAdapter.getView(1, null, null)); in testGetView()
379 View expected = fullAdapter.getView(0, null, null); in testGetView()
381 assertSame(expected, headerViewListAdapter.getView(0, null, null)); in testGetView()
385 assertSame(lv1, headerViewListAdapter.getView(0, null, null)); in testGetView()
386 assertSame(lv2, headerViewListAdapter.getView(1, null, null)); in testGetView()
387 assertSame(expected, headerViewListAdapter.getView(2, null, null)); in testGetView()
529 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in HeaderViewListAdapterTest.HeaderViewEmptyAdapter
595 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in HeaderViewListAdapterTest.HeaderViewFullAdapter
DAbsListViewTest.java210 assertNull(onScrollListener.getView()); in testSetOnScrollListener()
220 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
232 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
243 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
561 assertNull(recyclerListener.getView()); in testSetRecyclerListener()
566 assertNotNull(recyclerListener.getView()); in testSetRecyclerListener()
568 assertSame(recyclerListener.getView(), views.get(views.size() - 1)); in testSetRecyclerListener()
803 assertNull(listener.getView()); in testGetContextMenuInfo()
810 assertSame(v, listener.getView()); in testGetContextMenuInfo()
1073 public AbsListView getView() { in getView() method in AbsListViewTest.MockOnScrollListener
[all …]
DCheckedTextViewTest.java141 CheckedTextView view0 = (CheckedTextView) adapter.getView(0, null, null); in testChecked()
142 CheckedTextView view1 = (CheckedTextView) adapter.getView(1, null, null); in testChecked()
143 CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); in testChecked()
425 public View getView(int position, View convertView, ViewGroup parent) {
DArrayAdapterTest.java221 assertEquals(STR1, ((TextView) mArrayAdapter.getView(0, null, null)).getText()); in testAccessView()
222 assertEquals(STR2, ((TextView) mArrayAdapter.getView(1, null, null)).getText()); in testAccessView()
226 assertSame(textView, mArrayAdapter.getView(0, textView, null)); in testAccessView()
231 assertEquals(textView, mArrayAdapter.getView(-1, textView, null)); in testAccessView()
244 mArrayAdapter.getView(mArrayAdapter.getCount(), textView, null)); in testAccessView()
287 mArrayAdapter.getView(0, null, null); in testSetDropDownViewResouce()
DCursorAdapterTest.java252 cursorAdapter.getView(0, textView, mParent); in testGetView()
259 cursorAdapter.getView(100, textView, mParent); in testGetView()
265 TextView retView = (TextView) cursorAdapter.getView(0, null, mParent); in testGetView()
270 retView = (TextView) cursorAdapter.getView(1, textView, mParent); in testGetView()
DListViewTest.java667 final TextView child = (TextView) mAdapter_countries.getView(2, null, mListView); in testPerformItemClick()
683 assertNull(onClickListener.getView()); in testPerformItemClick()
694 assertSame(child, onClickListener.getView()); in testPerformItemClick()
773 TextView child = (TextView) mAdapter_countries.getView(0, null, mListView); in testRequestChildRectangleOnScreen()
960 public View getView() { in getView() method in ListViewTest.MockOnItemClickListener
1068 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ListViewTest.Adapter
DBaseAdapterTest.java188 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in BaseAdapterTest.MockBaseAdapter
DGridViewTest.java806 public View getView(int position, View convertView, ViewGroup parent) {
866 public View getView(int position, View convertView, ViewGroup parent) {
926 return getView(position, convertView, parent);
/cts/tests/tests/graphics/src/android/opengl/cts/
DGLSurfaceViewTest.java68 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithDelay()
93 GLSurfaceView view = mActivity.getView(); in testPauseResumeWithoutDelay()
/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);
/cts/tests/src/android/theme/cts/
DThemeTestAdapter.java51 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ThemeTestAdapter
DThemesAdapter.java51 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ThemesAdapter
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndTestActivity.java46 public View getView(int position, View convertView, ViewGroup parent) { in onCreate()
/cts/tests/src/android/opengl/cts/
DGLSurfaceViewStubActivity.java106 public GLSurfaceView getView() { in getView() method in GLSurfaceViewStubActivity
/cts/tests/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/src/android/widget/cts/
DGalleryStubActivity.java61 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GalleryStubActivity.ImageAdapter
/cts/tests/tests/view/src/android/view/cts/
DGestureDetectorTestUtil.java34 View view = activity.getView(); in testGestureDetector()
DView_UsingViewsTest.java601 assertNull(onLongClickListener.getView()); in testSetupListeners()
605 assertSame(mEditText, onLongClickListener.getView()); in testSetupListeners()
780 public View getView() { in getView() method in View_UsingViewsTest.MockOnLongClickListener
/cts/tests/src/android/view/animation/cts/
DGridLayoutAnimStubActivity.java89 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in GridLayoutAnimStubActivity.MockGridViewAdapter
/cts/tests/src/android/view/cts/
DGestureDetectorStubActivity.java77 public View getView() { in getView() method in GestureDetectorStubActivity
/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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java217 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in PolicySerializationTestActivity.PolicyAdapter
218 TextView view = (TextView) super.getView(position, convertView, parent); in getView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
DAudioQualityVerifierActivity.java244 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in AudioQualityVerifierActivity.TwoColumnAdapter

12