/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | ListItemFactory.java | 175 public static View convertButton(View convertView, String text, int position) { in convertButton() argument 176 if (((String) convertView.getTag()).equals("button")) { in convertButton() 177 ((Button) convertView).setText(text); in convertButton() 178 convertView.setId(position); in convertButton() 179 return convertView; in convertButton() 215 public static View convertText(View convertView, String text, int position) { in convertText() argument 216 if(convertView.getTag() != null && ((String) convertView.getTag()).equals("text")) { in convertText() 217 ((TextView) convertView).setText(text); in convertText() 218 convertView.setId(position); in convertText() 219 return convertView; in convertText() [all …]
|
D | ExpandableListScenario.java | 226 private View getView(long packedPosition, View convertView, ViewGroup parent) { in getView() argument 234 if (convertView != null) { in getView() 235 ((TextView) convertView).setText(getValueAtPosition(packedPosition)); in getView() 236 convertView.setId(flPos); in getView() 237 return convertView; in getView() 317 View convertView, ViewGroup parent) { in getChildView() argument 319 childPosition), convertView, parent); in getChildView() 334 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument 337 convertView, parent); in getGroupView()
|
D | ListScenario.java | 545 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() argument 546 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position); in convertView() 628 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 634 if (convertView != null) { in getView() 635 result = convertView(position, convertView, parent); in getView()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 89 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 90 if ((convertView != null) && (convertView instanceof ImageView)) { in getView() 91 ((ImageView) convertView).setImageResource(R.drawable.size_48x48); in getView() 92 return convertView; in getView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SimpleExpandableListAdapterTest.java | 192 View convertView = new TextView(mContext); in testGetChildView() local 193 convertView.setId(R.id.text1); in testGetChildView() 194 result = mSimpleExpandableListAdapter.getChildView(2, 2, false, convertView, mAdapterHost); in testGetChildView() 195 assertSame(convertView, result); in testGetChildView() 199 convertView = new TextView(mContext); in testGetChildView() 200 convertView.setId(R.id.text1); in testGetChildView() 201 result = mSimpleExpandableListAdapter.getChildView(1, 1, false, convertView, null); in testGetChildView() 202 assertSame(convertView, result); in testGetChildView() 341 View convertView = new TextView(mContext); in testGetGroupView() local 342 convertView.setId(R.id.text1); in testGetGroupView() [all …]
|
D | SimpleAdapterTest.java | 159 TextView convertView = (TextView) result; in testGetView() local 160 result = mSimpleAdapter.getView(0, convertView, mAdapterHost); in testGetView() 162 assertSame(convertView, result); in testGetView() 165 result = mSimpleAdapter.getView(10, convertView, null); in testGetView() 184 mSimpleAdapter.getView(-1, convertView, null); in testGetView() 190 mSimpleAdapter.getView(20, convertView, null); in testGetView() 226 TextView convertView = (TextView) result; in testGetDropDownView() local 228 result = mSimpleAdapter.getDropDownView(0, convertView, mAdapterHost); in testGetDropDownView() 229 assertEquals("01", convertView.getText().toString()); in testGetDropDownView() 230 assertSame(convertView, result); in testGetDropDownView() [all …]
|
D | GridViewTest.java | 695 public View getView(int position, View convertView, ViewGroup parent) { 696 if ((convertView != null) && (convertView instanceof ImageView)) { 697 ((ImageView) convertView).setImageResource(R.drawable.size_48x48); 698 return convertView; 755 public View getView(int position, View convertView, ViewGroup parent) { 757 if (convertView == null) { 765 imageView = (ImageView) convertView; 814 public View getDropDownView(int position, View convertView, ViewGroup parent) { 815 return getView(position, convertView, parent);
|
D | BaseExpandableListAdapterTest.java | 144 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument 169 View convertView, ViewGroup parent) { in getGroupView() argument
|
D | GalleryCtsActivity.java | 61 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | BaseAdapterTest.java | 121 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | ListViewTest.java | 376 public View getView(int position, View convertView, ViewGroup parent) { in testHeaderFooterType() 378 if (convertView != null && convertView != headerView) { in testHeaderFooterType() 379 mismatch.add(new Pair<View, View>(headerView, convertView)); in testHeaderFooterType() 383 return super.getView(position - 1, convertView, parent); in testHeaderFooterType() 795 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | AbsSpinnerTest.java | 276 public View getDropDownView(int position, View convertView, in getDropDownView() argument 301 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | ExpandableListViewTest.java | 445 View convertView, ViewGroup parent) { in getGroupView() argument 450 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument
|
D | HeaderViewListAdapterTest.java | 414 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 480 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | CheckedTextViewTest.java | 352 public View getView(int position, View convertView, ViewGroup parent) {
|
D | GalleryTest.java | 327 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupTestActivity.java | 263 View getView(LayoutInflater inflater, int position, View convertView, ViewGroup parent); 280 public View getView(LayoutInflater inflater, int position, View convertView, 282 TextView view = (TextView) convertView; 283 if (convertView == null) { 311 public View getView(LayoutInflater inflater, int position, View convertView, 313 TextView view = (TextView) convertView; 314 if (convertView == null) { 339 public View getView(LayoutInflater inflater, int position, View convertView, 341 TextView view = (TextView) convertView; 342 if (convertView == null) { [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestAdapter.java | 77 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 80 if (convertView != null) { in getView() 81 vg = (ViewGroup) convertView; in getView()
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndActivity.java | 41 public View getView(int position, View convertView, ViewGroup parent) { in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | ExpandableListTestActivity.java | 81 final View convertView = new View(this); in testCallback() local 82 final View gv = a.getGroupView(0, true, convertView, v); in testCallback()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 379 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 381 if (convertView == null) { in getView() 385 textView = (TextView) convertView; in getView()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/ |
D | SuidFilesActivity.java | 159 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 160 TextView view = (TextView) super.getView(position, convertView, parent); in getView()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | PolicySerializationTestActivity.java | 217 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 218 TextView view = (TextView) super.getView(position, convertView, parent); in getView()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderTest.java | 642 android.view.View convertView, in getView() argument
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3288 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|