/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 | 229 private View getView(long packedPosition, View convertView, ViewGroup parent) { in getView() argument 237 if (convertView != null) { in getView() 238 ((TextView) convertView).setText(getValueAtPosition(packedPosition)); in getView() 239 convertView.setId(flPos); in getView() 240 return convertView; in getView() 320 View convertView, ViewGroup parent) { in getChildView() argument 322 childPosition), convertView, parent); in getChildView() 337 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument 340 convertView, parent); in getGroupView()
|
D | ListScenario.java | 521 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() method in ListScenario 522 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position); in convertView() 604 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 610 if (convertView != null) { in getView() 611 result = convertView(position, convertView, parent); in getView()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DummyAdapter.java | 59 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 63 if (convertView == null) { in getView() 64 convertView = new View(parent.getContext()); in getView() 65 convertView.setMinimumHeight(200); in getView() 67 return convertView; in getView()
|
D | SimpleExpandableListAdapterTest.java | 207 View convertView = new TextView(mContext); in testGetChildView() local 208 convertView.setId(android.R.id.text1); in testGetChildView() 209 result = mSimpleExpandableListAdapter.getChildView(2, 2, false, convertView, mAdapterHost); in testGetChildView() 210 assertSame(convertView, result); in testGetChildView() 214 convertView = new TextView(mContext); in testGetChildView() 215 convertView.setId(android.R.id.text1); in testGetChildView() 216 result = mSimpleExpandableListAdapter.getChildView(1, 1, false, convertView, null); in testGetChildView() 217 assertSame(convertView, result); in testGetChildView() 361 View convertView = new TextView(mContext); in testGetGroupView() local 362 convertView.setId(android.R.id.text1); in testGetGroupView() [all …]
|
D | SimpleAdapterTest.java | 183 TextView convertView = (TextView) result; in testGetView() local 184 result = mSimpleAdapter.getView(0, convertView, mAdapterHost); in testGetView() 186 assertSame(convertView, result); in testGetView() 189 result = mSimpleAdapter.getView(10, convertView, null); in testGetView() 257 TextView convertView = (TextView) result; in testGetDropDownView() local 259 result = mSimpleAdapter.getDropDownView(0, convertView, mAdapterHost); in testGetDropDownView() 260 assertEquals("01", convertView.getText().toString()); in testGetDropDownView() 261 assertSame(convertView, result); in testGetDropDownView() 264 result = mSimpleAdapter.getDropDownView(10, convertView, null); in testGetDropDownView()
|
D | GridViewTest.java | 740 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 741 if ((convertView != null) && (convertView instanceof ImageView)) { in getView() 742 ((ImageView) convertView).setImageResource(R.drawable.size_48x48); in getView() 743 return convertView; in getView() 800 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 802 if (convertView == null) { in getView() 810 imageView = (ImageView) convertView; in getView()
|
D | BaseExpandableListAdapterTest.java | 150 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument 175 View convertView, ViewGroup parent) { in getGroupView() argument
|
D | ListViewTest.java | 386 public View getView(int position, View convertView, ViewGroup parent) { in testHeaderFooterType() 388 if (convertView != null && convertView != mTextView) { in testHeaderFooterType() 389 mismatch.add(new Pair<>(mTextView, convertView)); in testHeaderFooterType() 393 return super.getView(position - 1, convertView, parent); in testHeaderFooterType() 896 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 1001 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 1002 final View view = super.getView(position, convertView, parent); in getView() 1082 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | ExpandableListViewTest.java | 596 View convertView, ViewGroup parent) { in getGroupView() argument 597 TextView result = (TextView) convertView; in getGroupView() 607 boolean isLastChild, View convertView, ViewGroup parent) { in getChildView() argument 608 TextView result = (TextView) convertView; in getChildView()
|
D | ListPopupWindowTest.java | 1004 public View getView(int position, View convertView, ViewGroup parent) { in configure() 1005 if (convertView == null) { in configure() 1006 convertView = LayoutInflater.from(mActivity).inflate( in configure() 1009 viewHolder.title = convertView.findViewById(android.R.id.text1); in configure() 1010 convertView.setTag(viewHolder); in configure() 1013 ViewHolder viewHolder = (ViewHolder) convertView.getTag(); in configure() 1015 return convertView; in configure()
|
D | GalleryCtsActivity.java | 60 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | AbsListView_ScrollTest.java | 662 public View getView(int position, View convertView, ViewGroup parent) { 663 final TextView textView = (convertView != null) ? (TextView) convertView
|
D | AbsSpinnerTest.java | 273 public View getDropDownView(int position, View convertView, in getDropDownView() argument 298 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | BaseAdapterTest.java | 163 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | HeaderViewListAdapterTest.java | 422 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 488 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | GalleryTest.java | 311 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
D | CheckedTextViewTest.java | 464 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimCtsActivity.java | 88 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 89 if ((convertView != null) && (convertView instanceof ImageView)) { in getView() 90 ((ImageView) convertView).setImageResource(R.drawable.size_48x48); in getView() 91 return convertView; in getView()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | RecycleCheckPreference.java | 62 public View getView(View convertView, ViewGroup parent) { in getView() argument 64 wasConvertViewNullInLastCall = convertView == null; in getView() 66 return super.getView(convertView, parent); in getView()
|
/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/app/app/src/android/app/stubs/ |
D | ExpandableListTestActivity.java | 84 final View convertView = new View(this); in testCallback() local 85 final View gv = a.getGroupView(0, true, convertView, v); in testCallback()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestListAdapter.java | 430 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 432 if (convertView == null) { in getView() 436 textView = (TextView) convertView; in getView()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 50 public View getView(int position, View convertView, ViewGroup parent) { in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | PolicySerializationTestActivity.java | 220 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 221 TextView view = (TextView) super.getView(position, convertView, parent); in getView()
|