/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 176 public static View convertButton(View convertView, String text, int position) { in convertButton() argument 177 if (((String) convertView.getTag()).equals("button")) { in convertButton() 178 ((Button) convertView).setText(text); in convertButton() 179 convertView.setId(position); in convertButton() 180 return convertView; in convertButton() 216 public static View convertText(View convertView, String text, int position) { in convertText() argument 217 if(convertView.getTag() != null && ((String) convertView.getTag()).equals("text")) { in convertText() 218 ((TextView) convertView).setText(text); in convertText() 219 convertView.setId(position); in convertText() 220 return convertView; in convertText() [all …]
|
D | GridScenario.java | 356 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 357 if (convertView != null) { in getView() 358 ((TextView) convertView).setText(getValueAtPosition(position)); in getView() 359 convertView.setId(position); in getView() 360 return convertView; in getView()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | SingleRecipientArrayAdapter.java | 42 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 43 if (convertView == null) { in getView() 44 convertView = newView(); in getView() 46 bindView(convertView, convertView.getContext(), getItem(position)); in getView() 47 return convertView; in getView()
|
D | RecipientAlternatesAdapter.java | 142 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 145 if (convertView == null) { in getView() 146 convertView = newView(); in getView() 154 bindView(convertView, convertView.getContext(), cursor); in getView() 155 return convertView; in getView()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListHeterogeneous.java | 57 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() argument 60 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position); in convertView() 62 return ListItemFactory.convertButton(convertView, getValueAtPosition(position), in convertView() 65 return ListItemFactory.convertDoubleText(convertView, getValueAtPosition(position), in convertView()
|
D | ListItemsExpandOnSelection.java | 55 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() method in ListItemsExpandOnSelection 56 ((ExpandWhenSelectedView)convertView).setText(getValueAtPosition(position)); in convertView() 57 return convertView; in convertView()
|
D | ListTakeFocusFromSide.java | 63 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 66 if (convertView == null) { in getView() 69 view = (TextView) convertView; in getView()
|
/frameworks/base/core/java/android/accounts/ |
D | ChooseAccountActivity.java | 167 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 170 if (convertView == null) { in getView() 171 convertView = mLayoutInflater.inflate(R.layout.choose_account_row, null); in getView() 173 holder.text = (TextView) convertView.findViewById(R.id.account_row_text); in getView() 174 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); in getView() 175 convertView.setTag(holder); in getView() 177 holder = (ViewHolder) convertView.getTag(); in getView() 183 return convertView; in getView()
|
D | ChooseAccountTypeActivity.java | 184 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 187 if (convertView == null) { in getView() 188 convertView = mLayoutInflater.inflate(R.layout.choose_account_row, null); in getView() 190 holder.text = (TextView) convertView.findViewById(R.id.account_row_text); in getView() 191 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); in getView() 192 convertView.setTag(holder); in getView() 194 holder = (ViewHolder) convertView.getTag(); in getView() 200 return convertView; in getView()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | BaseMenuPresenter.java | 93 final View convertView = parent.getChildAt(childIndex); in updateMenuView() local 94 final View itemView = getItemView(item, convertView, parent); in updateMenuView() 95 if (itemView != convertView) { in updateMenuView() 160 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView() argument 162 if (convertView instanceof MenuView.ItemView) { in getItemView() 163 itemView = (MenuView.ItemView) convertView; in getItemView()
|
D | ListMenuPresenter.java | 251 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 252 if (convertView == null) { in getView() 253 convertView = mInflater.inflate(mItemLayoutRes, parent, false); in getView() 256 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView() 258 return convertView; in getView()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserView.java | 689 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 693 if (convertView == null || convertView.getId() != ITEM_VIEW_TYPE_FOOTER) { in getView() 694 convertView = LayoutInflater.from(getContext()).inflate( in getView() 696 convertView.setId(ITEM_VIEW_TYPE_FOOTER); in getView() 697 TextView titleView = (TextView) convertView.findViewById(R.id.title); in getView() 701 return convertView; in getView() 703 if (convertView == null || convertView.getId() != R.id.list_item) { in getView() 704 convertView = LayoutInflater.from(getContext()).inflate( in getView() 709 ImageView iconView = (ImageView) convertView.findViewById(R.id.icon); in getView() 713 TextView titleView = (TextView) convertView.findViewById(R.id.title); in getView() [all …]
|
D | SimpleExpandableListAdapter.java | 222 View convertView, ViewGroup parent) { in getChildView() argument 224 if (convertView == null) { in getChildView() 227 v = convertView; in getChildView() 270 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument 273 if (convertView == null) { in getGroupView() 276 v = convertView; in getGroupView()
|
D | SimpleAdapter.java | 113 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 114 return createViewFromResource(position, convertView, parent, mResource); in getView() 117 private View createViewFromResource(int position, View convertView, in createViewFromResource() argument 120 if (convertView == null) { in createViewFromResource() 123 v = convertView; in createViewFromResource() 142 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 143 return createViewFromResource(position, convertView, parent, mDropDownResource); in getDropDownView()
|
D | CursorAdapter.java | 237 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 245 if (convertView == null) { in getView() 248 v = convertView; in getView() 255 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 259 if (convertView == null) { in getDropDownView() 262 v = convertView; in getDropDownView()
|
D | ArrayAdapter.java | 361 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 362 return createViewFromResource(position, convertView, parent, mResource); in getView() 365 private View createViewFromResource(int position, View convertView, ViewGroup parent, in createViewFromResource() argument 370 if (convertView == null) { in createViewFromResource() 373 view = convertView; in createViewFromResource() 414 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 415 return createViewFromResource(position, convertView, parent, mDropDownResource); in getDropDownView()
|
D | CursorTreeAdapter.java | 194 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument 202 if (convertView == null) { in getGroupView() 205 v = convertView; in getGroupView() 237 View convertView, ViewGroup parent) { in getChildView() argument 246 if (convertView == null) { in getChildView() 249 v = convertView; in getChildView()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | CursorAdapter.java | 243 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 251 if (convertView == null) { in getView() 254 v = convertView; in getView() 261 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 265 if (convertView == null) { in getDropDownView() 268 v = convertView; in getDropDownView()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 323 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 335 view = getHeaderView(i, mPartitions[i].cursor, convertView, parent); in getView() 341 view = getView(i, mPartitions[i].cursor, offset, convertView, parent); in getView() 358 protected View getHeaderView(int partition, Cursor cursor, View convertView, in getHeaderView() argument 360 View view = convertView != null in getHeaderView() 361 ? convertView in getHeaderView() 384 protected View getView(int partition, Cursor cursor, int position, View convertView, in getView() argument 387 if (convertView != null) { in getView() 388 view = convertView; in getView()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListOfEditTexts.java | 112 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 115 if (convertView != null) { in getView() 116 ((EditText) convertView).setText(body); in getView() 117 return convertView; in getView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
D | RecentsPanelView.java | 125 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 127 if (convertView == null) { in getView() 128 convertView = mInflater.inflate(R.layout.status_bar_recent_item, parent, false); in getView() 130 holder.thumbnailView = convertView.findViewById(R.id.app_thumbnail); in getView() 131 holder.thumbnailViewImage = (ImageView) convertView.findViewById( in getView() 137 holder.iconView = (ImageView) convertView.findViewById(R.id.app_icon); in getView() 138 holder.labelView = (TextView) convertView.findViewById(R.id.app_label); in getView() 139 holder.descriptionView = (TextView) convertView.findViewById(R.id.app_description); in getView() 141 convertView.setTag(holder); in getView() 143 holder = (ViewHolder) convertView.getTag(); in getView() [all …]
|
/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
D | MergedAdapter.java | 167 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 169 return result.mAdapter.getView(result.mLocalPosition, convertView, parent); in getView() 173 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 175 return result.mAdapter.getDropDownView(result.mLocalPosition, convertView, parent); in getDropDownView()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | GlobalActions.java | 320 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 322 return action.create(mContext, convertView, parent, LayoutInflater.from(mContext)); in getView() 336 View create(Context context, View convertView, ViewGroup parent, LayoutInflater inflater); in create() argument 375 Context context, View convertView, ViewGroup parent, LayoutInflater inflater) { in create() argument 376 View v = (convertView != null) ? in create() 377 convertView : in create() 451 public View create(Context context, View convertView, ViewGroup parent, in create() argument 455 View v = (convertView != null) ? in create() 456 convertView : in create()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeExpandableAdapter.java | 119 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument 123 return getView(item, null /*parentItem*/, convertView, parent); in getGroupView() 127 View convertView, ViewGroup parent) { in getChildView() argument 131 return getView(item, parentItem, convertView, parent); in getChildView()
|
D | FakeAdapter.java | 97 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 100 return getView(item, null /*parentGroup*/, convertView, parent); in getView() 109 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
|