/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 48 private ImageView iconView; field in CheckableLabeledButton 89 iconView = new ImageView(context, null, android.R.style.Widget_Material_Button_Colored); in init() 93 iconView.setLayoutParams(iconParams); in init() 94 iconView.setPadding(iconPadding, iconPadding, iconPadding, iconPadding); in init() 95 iconView.setImageDrawable(icon); in init() 96 iconView.setImageTintMode(Mode.SRC_IN); in init() 97 iconView.setImageTintList( in init() 100 iconView.setBackground( in init() 102 iconView.setDuplicateParentStateEnabled(true); in init() 103 iconView.setElevation(getResources().getDimension(R.dimen.incall_button_elevation)); in init() [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/ |
D | SearchViewHolder.java | 44 public final ImageView iconView; field in SearchViewHolder 55 iconView = view.findViewById(android.R.id.icon); in SearchViewHolder() 78 iconView.setImageDrawable(appResult.info.loadIcon(pm)); in onBind() 81 iconView.setImageDrawable(result.icon); in onBind()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 144 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/ |
D | SeekBarDialogPreference.java | 61 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SeekBarDialogPreference.java | 61 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/Contacts/src/com/android/contacts/drawer/ |
D | DrawerAdapter.java | 224 final ImageView iconView = (ImageView) result.findViewById(R.id.icon); in getPrimaryItemView() local 225 iconView.setImageResource(item.icon); in getPrimaryItemView() 231 updateSelectedStatus(titleView, iconView, item.contactsView == mSelectedView); in getPrimaryItemView() 301 final ImageView iconView = (ImageView) result.findViewById(R.id.icon); in getDrawerItemView() local 302 iconView.setImageResource(item.icon); in getDrawerItemView() 304 updateSelectedStatus(textView, iconView, false); in getDrawerItemView()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/ |
D | AppIconPreference.java | 100 View iconView = holder.findViewById(android.R.id.icon); in onBindViewHolder() local 101 ViewGroup.LayoutParams layoutParams = iconView.getLayoutParams(); in onBindViewHolder() 112 iconView.requestLayout(); in onBindViewHolder()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 82 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument 84 mIcon.loadDrawableAsync(iconView.getContext(), in setIconAndLabelFor() 85 iconView::setBackground, in setIconAndLabelFor() 88 iconView.setBackgroundResource(mIconResId); in setIconAndLabelFor()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenRuleSelectionDialog.java | 122 ImageView iconView = v.findViewById(R.id.icon); in bindType() local 125 LoadIconTask task = new LoadIconTask(iconView); in bindType() 133 iconView.setImageDrawable(mContext.getDrawable(R.drawable.ic_timelapse)); in bindType() 135 iconView.setImageDrawable(mContext.getDrawable(R.drawable.ic_event)); in bindType()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenRuleSelectionDialog.java | 122 ImageView iconView = v.findViewById(R.id.icon); in bindType() local 125 LoadIconTask task = new LoadIconTask(iconView); in bindType() 133 iconView.setImageDrawable(mContext.getDrawable(R.drawable.ic_timelapse)); in bindType() 135 iconView.setImageDrawable(mContext.getDrawable(R.drawable.ic_event)); in bindType()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | EntityHeaderController.java | 248 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done() local 249 if (iconView != null) { in done() 250 iconView.setImageDrawable(mIcon); in done() 251 iconView.setContentDescription(mIconContentDescription); in done()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | EntityHeaderController.java | 248 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done() local 249 if (iconView != null) { in done() 250 iconView.setImageDrawable(mIcon); in done() 251 iconView.setContentDescription(mIconContentDescription); in done()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPalettesView.java | 152 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/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseContentFragment.java | 296 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/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 644 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/Dialer/java/com/android/dialer/calllog/ui/ |
D | PromotionCardViewHolder.java | 42 ImageView iconView = itemView.findViewById(R.id.new_call_log_promotion_card_icon); in PromotionCardViewHolder() local 43 iconView.setImageResource(promotion.getIconRes()); in PromotionCardViewHolder()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarTabLayout.java | 332 ImageView iconView = carTabItemView.findViewById(R.id.car_tab_item_icon); in presentCarTabItemView() local 337 carTab.bindIcon(iconView); in presentCarTabItemView() 340 iconView.setSelected(carTab.mIsSelected); in presentCarTabItemView()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | ContextualFragment.java | 37 ImageView iconView = rootView.findViewById(R.id.icon); in onCreateView() local 51 iconView.setImageDrawable(info.getIcon()); in onCreateView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | AddContactsConfirmationDialog.java | 74 final ContactIconView iconView = (ContactIconView) view.findViewById(R.id.contact_icon); in createBodyView() local 75 iconView.setImageResourceUri(mAvatarUri); in createBodyView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPatternTest.java | 110 View iconView = fragment.getView().findViewById(R.id.sud_layout_icon); in smallScreens_shouldHideIcon() local 111 assertThat(iconView.getVisibility()).isEqualTo(View.GONE); in smallScreens_shouldHideIcon()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintServiceSettingsFragment.java | 559 ImageView iconView = holder.itemView.findViewById(R.id.icon); 561 iconView.setVisibility(View.VISIBLE); 570 iconView.setImageDrawable(icon); 572 iconView.setVisibility(View.GONE);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | PrintServiceSettingsFragment.java | 559 ImageView iconView = holder.itemView.findViewById(R.id.icon); 561 iconView.setVisibility(View.VISIBLE); 570 iconView.setImageDrawable(icon); 572 iconView.setVisibility(View.GONE);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | AppGridView.java | 90 final ImageView iconView = view.findViewById(mIconResId); in getView() local 91 iconView.setImageDrawable(entry.getIcon()); in getView()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AppGridView.java | 90 final ImageView iconView = view.findViewById(mIconResId); in getView() local 91 iconView.setImageDrawable(entry.getIcon()); in getView()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyShortcutButton.java | 108 for (int iconView : ICON_VIEWS) { in setPhoneTypeIcon() 109 ImageView phoneTypeIcon = findViewById(iconView); in setPhoneTypeIcon()
|