Home
last modified time | relevance | path

Searched refs:iconView (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java46 private ImageView iconView; field in CheckableLabeledButton
82 iconView = new ImageView(context, null, android.R.style.Widget_Material_Button_Colored); in init()
86 iconView.setLayoutParams(iconParams); in init()
87 iconView.setScaleType(ScaleType.CENTER_INSIDE); in init()
88 iconView.setImageDrawable(icon); in init()
89 iconView.setImageTintMode(Mode.SRC_IN); in init()
90 iconView.setImageTintList(getResources().getColorStateList(R.color.incall_button_icon, null)); in init()
91 iconView.setBackground(getResources().getDrawable(R.drawable.incall_button_background, null)); in init()
92 iconView.setDuplicateParentStateEnabled(true); in init()
93 iconView.setElevation(getResources().getDimension(R.dimen.incall_button_elevation)); in init()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DIconTextLineItem.java50 setIcon(viewHolder.iconView); in bindViewHolder()
68 final ImageView iconView; field in IconTextLineItem.ViewHolder
74 iconView = (ImageView) view.findViewById(R.id.icon); in ViewHolder()
88 public abstract void setIcon(ImageView iconView); in setIcon() argument
DSeekbarLineItem.java79 viewHolder.iconView.setVisibility(View.VISIBLE); in bindViewHolder()
80 viewHolder.iconView.setImageResource(mIconResId); in bindViewHolder()
87 final ImageView iconView; field in SeekbarLineItem.ViewHolder
93 iconView = view.findViewById(R.id.icon); in ViewHolder()
DSimpleIconLineItem.java54 public void setIcon(ImageView iconView) { in setIcon() argument
55 iconView.setImageResource(mIconRes); in setIcon()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java207 ImageView iconView = (ImageView) emptyView.findViewById(R.id.icon); in updateEmptyView() local
208 iconView.setContentDescription(getString(R.string.print_service_disabled)); in updateEmptyView()
234 ImageView iconView = (ImageView) emptyView.findViewById(R.id.icon); in updateEmptyView() local
235 iconView.setContentDescription(getString(R.string.print_no_printers_found)); in updateEmptyView()
590 ImageView iconView = (ImageView) convertView.findViewById(R.id.icon);
592 iconView.setVisibility(View.VISIBLE);
601 iconView.setImageDrawable(icon);
603 iconView.setVisibility(View.GONE);
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java144 View iconView = layout.findViewById(R.id.icon); in addTab() local
145 iconView.setBackgroundResource(mTabIcons[position]); in addTab()
146 iconView.setContentDescription(tabTitle); in addTab()
151 iconView.setContentDescription( in addTab()
160 iconView.setContentDescription(getResources().getString(R.string.tab_title, tabTitle)); in addTab()
/packages/apps/Settings/src/com/android/settings/search/
DSearchViewHolder.java48 public final ImageView iconView; field in SearchViewHolder
62 iconView = view.findViewById(android.R.id.icon); in SearchViewHolder()
89 iconView.setImageDrawable(badgedIcon); in onBind()
94 iconView.setImageDrawable(result.icon); in onBind()
/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java228 final ImageView iconView = (ImageView) result.findViewById(R.id.icon); in getPrimaryItemView() local
229 iconView.setImageResource(item.icon); in getPrimaryItemView()
235 updateSelectedStatus(titleView, iconView, item.contactsView == mSelectedView); in getPrimaryItemView()
305 final ImageView iconView = (ImageView) result.findViewById(R.id.icon); in getDrawerItemView() local
306 iconView.setImageResource(item.icon); in getDrawerItemView()
308 updateSelectedStatus(textView, iconView, false); in getDrawerItemView()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java81 public void applyNotificationInfo(NotificationInfo mainNotification, View iconView) { in applyNotificationInfo() argument
82 applyNotificationInfo(mainNotification, iconView, false); in applyNotificationInfo()
92 public void applyNotificationInfo(NotificationInfo mainNotification, View iconView, in applyNotificationInfo() argument
105 iconView.setBackground(mNotificationInfo.getIconForBackground(getContext(), in applyNotificationInfo()
/packages/apps/Settings/src/com/android/settings/
DSeekBarDialogPreference.java61 final ImageView iconView = (ImageView) view.findViewById(android.R.id.icon); in onBindDialogView() local
63 iconView.setImageDrawable(mMyIcon); in onBindDialogView()
65 iconView.setVisibility(View.GONE); in onBindDialogView()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationLineItem.java84 public void setIcon(ImageView iconView) { in setIcon() argument
85 iconView.setImageDrawable(mResolveInfo.loadIcon(mPm)); in setIcon()
86 iconView.setImageTintMode(PorterDuff.Mode.DST); in setIcon()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserLineItem.java80 public void setIcon(ImageView iconView) { in setIcon() argument
88 iconView.setImageBitmap(picture); in setIcon()
90 iconView.setImageDrawable(mContext.getDrawable(R.drawable.ic_user)); in setIcon()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java152 final ImageView iconView = (ImageView)LayoutInflater.from(getContext()).inflate( in addTab() local
156 iconView.setBackgroundColor(mCategoryPageIndicatorBackground); in addTab()
157 iconView.setImageResource(mEmojiCategory.getCategoryTabIcon(categoryId)); in addTab()
158 iconView.setContentDescription(mEmojiCategory.getAccessibilityDescription(categoryId)); in addTab()
159 tspec.setIndicator(iconView); in addTab()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java644 public static void setIcon(Folder folder, ImageView iconView) { in setIcon() argument
645 if (iconView == null) { in setIcon()
656 final Drawable defaultIconDrawable = iconView.getResources().getDrawable(icon); in setIcon()
668 iconView.getResources().getDrawable(icon); in setIcon()
677 iconView.setImageDrawable(iconDrawable); in setIcon()
679 iconView.setImageDrawable(null); in setIcon()
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java228 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done() local
229 if (iconView != null) { in done()
230 iconView.setImageDrawable(mIcon); in done()
231 iconView.setContentDescription(mIconContentDescription); in done()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseContentFragment.java296 private void updateViewSize(ImageView iconView) { in updateViewSize() argument
297 int intrinsicWidth = iconView.getDrawable().getIntrinsicWidth(); in updateViewSize()
298 LayoutParams lp = iconView.getLayoutParams(); in updateViewSize()
300 lp.height = lp.width * iconView.getDrawable().getIntrinsicHeight() in updateViewSize()
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DLegalInfoLineItem.java62 public void setIcon(ImageView iconView) { in setIcon() argument
63 iconView.setImageResource(R.drawable.ic_settings_about); in setIcon()
DAboutSystemLineItem.java57 public void setIcon(ImageView iconView) { in setIcon() argument
58 iconView.setImageResource(R.drawable.ic_settings_about); in setIcon()
DSystemUpdatesLineItem.java86 public void setIcon(ImageView iconView) { in setIcon() argument
87 iconView.setImageResource(R.drawable.ic_system_update); in setIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DIntentSearchViewHolderTest.java99 assertThat(mHolder.iconView).isNotNull(); in testConstructor_membersNotNull()
111 assertThat(mHolder.iconView.getDrawable()).isEqualTo(mIcon); in testBindViewElements_allUpdated()
123 assertThat(mHolder.iconView.getDrawable()).isNull(); in testBindViewIcon_nullIcon_imageDrawableIsNull()
DInlineSwitchViewHolderTest.java83 assertThat(mHolder.iconView).isNotNull(); in testConstructor_MembersNotNull()
99 assertThat(mHolder.iconView.getDrawable()).isEqualTo(mIcon); in testBindViewElements_AllUpdated()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DAddContactsConfirmationDialog.java74 final ContactIconView iconView = (ContactIconView) view.findViewById(R.id.contact_icon); in createBodyView() local
75 iconView.setImageResourceUri(mAvatarUri); in createBodyView()
/packages/apps/Settings/src/com/android/settings/display/
DAppGridView.java83 final ImageView iconView = (ImageView) view.findViewById(mIconResId); in getView() local
85 iconView.setImageDrawable(icon); in getView()
/packages/apps/Settings/src/com/android/settings/dashboard/
DSupportItemAdapter.java432 if (holder.iconView != null) { in bindSupportTile()
433 holder.iconView.setImageResource(data.icon); in bindSupportTile()
581 final ImageView iconView; field in SupportItemAdapter.ViewHolder
591 iconView = (ImageView) itemView.findViewById(android.R.id.icon); in ViewHolder()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java280 ImageView iconView = headerPref.findViewById(R.id.entity_header_icon); in setupEntityHeader() local
281 iconView.setBackground( in setupEntityHeader()
283 iconView.setScaleType(ImageView.ScaleType.CENTER_INSIDE); in setupEntityHeader()

12