Home
last modified time | relevance | path

Searched refs:getView (Results 1 – 25 of 34) 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.java161 assertNull(onScrollListener.getView()); in testSetOnScrollListener()
171 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
183 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
194 assertSame(mListView, onScrollListener.getView()); in testSetOnScrollListener()
433 assertNull(recyclerListener.getView()); in testSetRecyclerListener()
438 assertNotNull(recyclerListener.getView()); in testSetRecyclerListener()
440 assertSame(recyclerListener.getView(), views.get(views.size() - 1)); in testSetRecyclerListener()
583 assertNull(listener.getView()); in testGetContextMenuInfo()
593 return v == listener.getView(); in testGetContextMenuInfo()
702 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.java103 CheckedTextView view0 = (CheckedTextView) adapter.getView(0, null, null); in testChecked()
104 CheckedTextView view1 = (CheckedTextView) adapter.getView(1, null, null); in testChecked()
105 CheckedTextView view2 = (CheckedTextView) adapter.getView(2, null, null); in testChecked()
352 public View getView(int position, View convertView, ViewGroup parent) {
DListViewTest.java376 public View getView(int position, View convertView, ViewGroup parent) { in testHeaderFooterType()
383 return super.getView(position - 1, convertView, parent); in testHeaderFooterType()
505 final TextView child = (TextView) mAdapter_countries.getView(2, null, mListView); in testPerformItemClick()
521 assertNull(onClickListener.getView()); in testPerformItemClick()
532 assertSame(child, onClickListener.getView()); in testPerformItemClick()
589 TextView child = (TextView) mAdapter_countries.getView(0, null, mListView); in testRequestChildRectangleOnScreen()
709 public View getView() { in getView() method in ListViewTest.MockOnItemClickListener
795 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in ListViewTest.Adapter
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.java121 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in BaseAdapterTest.MockBaseAdapter
/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);
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityEndToEndActivity.java41 public View getView(int position, View convertView, ViewGroup parent) { in onCreate()
/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/tests/hardware/src/android/hardware/cts/
DGLSurfaceViewCtsActivity.java108 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
/cts/tests/tests/view/src/android/view/cts/
DGLSurfaceViewCtsActivity.java108 public GLSurfaceView getView() { in getView() method in GLSurfaceViewCtsActivity
DGestureDetectorCtsActivity.java80 public View getView() { in getView() method in GestureDetectorCtsActivity
DDisplayRefreshRateTest.java176 .getView() in testRefreshRate()
DView_UsingViewsTest.java357 assertNull(onLongClickListener.getView()); in testSetupListeners()
367 assertSame(mEditText, onLongClickListener.getView()); in testSetupListeners()
530 public View getView() { in getView() method in View_UsingViewsTest.MockOnLongClickListener
/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
DBleScannerHardwareScanFilterActivity.java159 public View getView(int pos, View view, ViewGroup parent) { in getView() method in BleScannerHardwareScanFilterActivity.MapAdapter
/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/notifications/
DInteractiveVerifierActivity.java97 View getView(ViewGroup parent) { in getView() method in InteractiveVerifierActivity.InteractiveTestCase
147 mItemList.addView(test.getView(mItemList)); in onCreate()

12