Home
last modified time | relevance | path

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

12

/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DCheckableLabeledButton.java48 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/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DGuidanceRelativeLayout.java63 ImageView iconView = getRootView().findViewById(R.id.guidance_icon); in onLayout() local
88 if (iconView != null && iconView.getParent() == this) { in onLayout()
89 iconView.offsetTopAndBottom(offset); in onLayout()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DEntityHeaderPreference.java85 ImageView iconView = view.findViewById(id); in setIconView() local
86 if (iconView != null) { in setIconView()
87 iconView.setImageDrawable(icon); in setIconView()
88 iconView.setVisibility(icon == null ? View.GONE : View.VISIBLE); in setIconView()
DActionButtonInfo.java136 ActionButtonInfo setButtonIconView(ImageView iconView) { in setButtonIconView() argument
137 mButtonIconView = iconView; in setButtonIconView()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchViewHolder.java44 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/
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/
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/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java224 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/preference/
DCarUiTwoActionIconPreference.java108 ImageView iconView = requireViewByRefId(holder.itemView, in onBindViewHolder() local
118 iconView.setImageDrawable(mSecondaryActionIcon); in onBindViewHolder()
119 iconView.setEnabled(isSecondaryActionEnabled()); in onBindViewHolder()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DRemoteActionShortcut.java55 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
56 mAction.getIcon().loadDrawableAsync(iconView.getContext(), in setIconAndLabelFor()
57 iconView::setBackground, in setIconAndLabelFor()
DSystemShortcut.java78 public void setIconAndLabelFor(View iconView, TextView labelView) { in setIconAndLabelFor() argument
79 iconView.setBackgroundResource(mIconResId); in setIconAndLabelFor()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenRuleSelectionDialog.java122 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/widget/
DEntityHeaderController.java243 ImageView iconView = mHeader.findViewById(R.id.entity_header_icon); in done() local
244 if (iconView != null) { in done()
245 iconView.setImageDrawable(mIcon); in done()
246 iconView.setContentDescription(mIconContentDescription); in done()
/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/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/Dialer/java/com/android/dialer/calllog/ui/
DPromotionCardViewHolder.java42 ImageView iconView = itemView.findViewById(R.id.new_call_log_promotion_card_icon); in PromotionCardViewHolder() local
43 iconView.setImageResource(promotion.getIconRes()); in PromotionCardViewHolder()
/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/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DTabLayout.java88 ImageView iconView = view.requireViewById(R.id.car_ui_toolbar_tab_item_icon); in bindTab() local
92 iconView.setImageDrawable(tab.getIcon()); in bindTab()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockPatternTest.java119 View iconView = fragment.getView().findViewById(R.id.sud_layout_icon); in smallScreens_shouldHideIcon() local
120 assertThat(iconView.getVisibility()).isEqualTo(View.GONE); in smallScreens_shouldHideIcon()
/packages/apps/Settings/src/com/android/settings/display/
DAppGridView.java90 final ImageView iconView = view.findViewById(mIconResId); in getView() local
91 iconView.setImageDrawable(entry.getIcon()); in getView()
/packages/services/Telephony/src/com/android/phone/
DEmergencyShortcutButton.java97 for (int iconView : ICON_VIEWS) { in setPhoneTypeIcon()
98 ImageView phoneTypeIcon = findViewById(iconView); in setPhoneTypeIcon()
DEmergencyInfoGroup.java142 for (int iconView : ICON_VIEWS) { in setUserIcon()
143 ImageView userIcon = findViewById(iconView); in setUserIcon()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DTabLayout.java154 ImageView iconView = requireViewByRefId(tabView, R.id.car_ui_toolbar_tab_item_icon); in presentTabView() local
159 iconView.setImageDrawable(tab.getIcon()); in presentTabView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.kt110 private var iconView: ImageView? = null in <lambda>() variable in com.android.permissioncontroller.permission.ui.handheld.GrantPermissionsViewHandlerImpl
172 if (iconView != null) { in <lambda>()
209 iconView = rootView.findViewById(R.id.permission_icon) in <lambda>()
307 iconView!!.setImageDrawable(groupIcon!!.loadDrawable(mActivity)) in <lambda>()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java560 ImageView iconView = holder.itemView.findViewById(R.id.icon);
562 iconView.setVisibility(View.VISIBLE);
571 iconView.setImageDrawable(icon);
573 iconView.setVisibility(View.GONE);

12