/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 381 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 384 return realPosition.first.getView(realPosition.second, convertView, parent); in getView() 535 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 537 if (convertView == null) { in getView() 538 convertView = getLayoutInflater().inflate(R.layout.add_printer_list_header, in getView() 542 ((TextView) convertView.findViewById(R.id.text)) in getView() 545 return convertView; in getView() 548 if (convertView == null) { in getView() 549 convertView = getLayoutInflater().inflate(R.layout.enabled_print_services_list_item, in getView() 555 TextView title = (TextView) convertView.findViewById(R.id.title); in getView() [all …]
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | BenchmarkListAdapter.java | 87 …public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent… in getGroupView() argument 89 if (convertView == null) { in getGroupView() 90 convertView = mInflater.inflate(R.layout.benchmark_list_group_row, null); in getGroupView() 93 TextView title = (TextView) convertView.findViewById(R.id.group_name); in getGroupView() 96 return convertView; in getGroupView() 101 View convertView, ViewGroup parent) { in getChildView() argument 104 if (convertView == null) { in getChildView() 105 convertView = mInflater.inflate(R.layout.benchmark_list_item, null); in getChildView() 108 TextView name = (TextView) convertView.findViewById(R.id.benchmark_name); in getChildView() 110 CheckBox enabledBox = (CheckBox) convertView.findViewById(R.id.benchmark_enable_checkbox); in getChildView() [all …]
|
/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 …]
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageLogActivity.java | 120 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 124 if (convertView == null) { in getView() 128 convertView = LayoutInflater.from(UsageLogActivity.this) in getView() 130 holder.config = (TextView) convertView.findViewById(android.R.id.text1); in getView() 132 convertView = LayoutInflater.from(UsageLogActivity.this) in getView() 134 holder.packageName = (TextView) convertView.findViewById(android.R.id.text1); in getView() 135 holder.state = (TextView) convertView.findViewById(android.R.id.text2); in getView() 137 convertView.setTag(holder); in getView() 139 holder = (ViewHolder) convertView.getTag(); in getView() 154 return convertView; in getView()
|
D | UsageStatsActivity.java | 261 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 263 if (convertView == null) { in getView() 264 convertView = LayoutInflater.from(UsageStatsActivity.this) in getView() 267 holder.packageName = (TextView) convertView.findViewById(android.R.id.text1); in getView() 268 holder.usageTime = (TextView) convertView.findViewById(android.R.id.text2); in getView() 269 convertView.setTag(holder); in getView() 271 holder = (ViewHolder) convertView.getTag(); in getView() 292 return convertView; in getView()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | ImageListViewScrollActivity.java | 133 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 134 if (convertView == null) { in getView() 135 convertView = LayoutInflater.from(getBaseContext()) in getView() 139 ImageView imageView = (ImageView) convertView.findViewById(R.id.image_scroll_image); in getView() 140 BitmapWorkerTask inFlight = mInFlight.get(convertView); in getView() 143 mInFlight.remove(convertView); in getView() 151 mInFlight.put(convertView, bitmapWorkerTask); in getView() 156 TextView textView = (TextView) convertView.findViewById(R.id.image_scroll_text); in getView() 159 return convertView; in getView()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuAdapter.java | 80 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 81 if (convertView == null) { in getView() 82 convertView = mInflater.inflate(mItemLayoutRes, parent, false); in getView() 89 ((ListMenuItemView) convertView) in getView() 93 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView() 95 ((ListMenuItemView) convertView).setForceShowIcon(true); in getView() 98 return convertView; in getView()
|
D | BaseMenuPresenter.java | 95 final View convertView = parent.getChildAt(childIndex); in updateMenuView() local 96 final MenuItemImpl oldItem = convertView instanceof MenuView.ItemView ? in updateMenuView() 97 ((MenuView.ItemView) convertView).getItemData() : null; in updateMenuView() 98 final View itemView = getItemView(item, convertView, parent); in updateMenuView() 104 if (itemView != convertView) { in updateMenuView() 173 public View getItemView(MenuItemImpl item, View convertView, ViewGroup parent) { in getItemView() argument 175 if (convertView instanceof MenuView.ItemView) { in getItemView() 176 itemView = (MenuView.ItemView) convertView; in getItemView()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListHeterogeneous.java | 56 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() argument 59 return ListItemFactory.convertText(convertView, getValueAtPosition(position), position); in convertView() 61 return ListItemFactory.convertButton(convertView, getValueAtPosition(position), in convertView() 64 return ListItemFactory.convertDoubleText(convertView, getValueAtPosition(position), in convertView()
|
D | ListItemsExpandOnSelection.java | 54 public View convertView(int position, View convertView, ViewGroup parent) { in convertView() method in ListItemsExpandOnSelection 55 ((ExpandWhenSelectedView)convertView).setText(getValueAtPosition(position)); in convertView() 56 return convertView; in convertView()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuggestedLocaleAdapter.java | 163 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 164 if (convertView == null && mInflater == null) { in getView() 173 if (!(convertView instanceof TextView)) { in getView() 174 convertView = mInflater.inflate(R.layout.language_picker_section_header, in getView() 177 TextView textView = (TextView) convertView; in getView() 192 if (!(convertView instanceof ViewGroup)) { in getView() 193 convertView = mInflater.inflate(R.layout.language_picker_item, parent, false); in getView() 196 TextView text = (TextView) convertView.findViewById(R.id.locale); in getView() 204 convertView.setLayoutDirection(layoutDir); in getView() 210 return convertView; in getView()
|
/frameworks/layoutlib/bridge/src/android/preference/ |
D | Preference_Delegate.java | 41 /*package*/ static View getView(Preference pref, View convertView, ViewGroup parent) { in getView() argument 44 convertView = pref.getView_Original(convertView, parent); in getView() 48 bc.addViewKey(convertView, cookie); in getView() 51 return convertView; in getView()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | OverflowMenuAdapter.java | 73 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 74 if (convertView == null) { in getView() 76 convertView = mInflater.inflate(com.android.internal.R.layout.popup_menu_item_layout, in getView() 80 MenuView.ItemView itemView = (MenuView.ItemView) convertView; in getView() 82 return convertView; in getView()
|
/frameworks/base/tests/UsageReportingTest/src/com/android/tests/usagereporter/ |
D | UsageReporterActivity.java | 287 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 289 if (convertView == null) { in getView() 290 convertView = LayoutInflater.from(UsageReporterActivity.this) in getView() 293 holder.tokenName = (TextView) convertView.findViewById(R.id.token); in getView() 295 holder.startButton = ((Button) convertView.findViewById(R.id.start)); in getView() 297 holder.stopButton = ((Button) convertView.findViewById(R.id.stop)); in getView() 299 convertView.setTag(holder); in getView() 301 holder = (ViewHolder) convertView.getTag(); in getView() 307 convertView.setBackgroundColor(getColor(R.color.active_color)); in getView() 309 convertView.setBackgroundColor(getColor(R.color.inactive_color)); in getView() [all …]
|
/frameworks/base/core/java/android/accounts/ |
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()
|
D | ChooseAccountActivity.java | 204 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 207 if (convertView == null) { in getView() 208 convertView = mLayoutInflater.inflate(R.layout.choose_account_row, null); in getView() 210 holder.text = (TextView) convertView.findViewById(R.id.account_row_text); in getView() 211 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); in getView() 212 convertView.setTag(holder); in getView() 214 holder = (ViewHolder) convertView.getTag(); in getView() 220 return convertView; in getView()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemAdapter.java | 76 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 78 if (convertView == null) { in getView() 80 convertView = inflater.inflate(item.getLayoutResource(), parent, false); in getView() 82 item.onBindView(convertView); in getView() 83 return convertView; in getView()
|
/frameworks/base/core/java/android/widget/ |
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 | ActivityChooserView.java | 762 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 766 if (convertView == null || convertView.getId() != ITEM_VIEW_TYPE_FOOTER) { in getView() 767 convertView = LayoutInflater.from(getContext()).inflate( in getView() 769 convertView.setId(ITEM_VIEW_TYPE_FOOTER); in getView() 770 TextView titleView = convertView.findViewById(R.id.title); in getView() 774 return convertView; in getView() 776 if (convertView == null || convertView.getId() != R.id.list_item) { in getView() 777 convertView = LayoutInflater.from(getContext()).inflate( in getView() 782 ImageView iconView = convertView.findViewById(R.id.icon); in getView() 786 TextView titleView = convertView.findViewById(R.id.title); in getView() [all …]
|
D | RemoteViewsListAdapter.java | 85 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 90 if (convertView != null && rv != null && in getView() 91 convertView.getId() == rv.getLayoutId()) { in getView() 92 v = convertView; in getView()
|
D | SimpleAdapter.java | 123 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 124 return createViewFromResource(mInflater, position, convertView, parent, mResource); in getView() 127 private View createViewFromResource(LayoutInflater inflater, int position, View convertView, in createViewFromResource() argument 130 if (convertView == null) { in createViewFromResource() 133 v = convertView; in createViewFromResource() 180 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 182 return createViewFromResource(inflater, position, convertView, parent, mDropDownResource); in getDropDownView()
|
D | CursorAdapter.java | 283 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 291 if (convertView == null) { in getView() 294 v = convertView; in getView() 301 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 306 if (convertView == null) { in getDropDownView() 309 v = convertView; in getDropDownView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcher.java | 268 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 270 if (!(convertView instanceof UserDetailItemView) in getView() 271 || !(convertView.getTag() instanceof UserSwitcherController.UserRecord)) { in getView() 272 convertView = LayoutInflater.from(mContext).inflate( in getView() 274 convertView.setOnClickListener(this); in getView() 276 UserDetailItemView v = (UserDetailItemView) convertView; in getView() 286 convertView.setActivated(item.isCurrent); in getView() 287 convertView.setTag(item); in getView() 288 return convertView; in getView()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 333 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 345 view = getHeaderView(i, mPartitions.get(i).cursor, convertView, parent); in getView() 351 view = getView(i, mPartitions.get(i).cursor, offset, convertView, parent); in getView() 368 protected View getHeaderView(int partition, Cursor cursor, View convertView, in getHeaderView() argument 370 View view = convertView != null in getHeaderView() 371 ? convertView in getHeaderView() 394 protected View getView(int partition, Cursor cursor, int position, View convertView, in getView() argument 397 if (convertView != null) { in getView() 398 view = convertView; in getView()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ListOfEditTexts.java | 117 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 120 if (convertView != null) { in getView() 121 ((EditText) convertView).setText(body); in getView() 122 return convertView; in getView()
|