Home
last modified time | relevance | path

Searched refs:mIconView (Results 1 – 16 of 16) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DProgressDialogFragment.java38 private ImageView mIconView; field in ProgressDialogFragment
51 mIconView = view.findViewById(android.R.id.icon); in onCreateView()
67 mIconView.setImageResource(resId); in setIcon()
68 mIconView.setVisibility(View.VISIBLE); in setIcon()
72 mIconView.setImageDrawable(icon); in setIcon()
73 mIconView.setVisibility(icon == null ? View.GONE : View.VISIBLE); in setIcon()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderView.java56 private ImageView mIconView; field in CarNotificationHeaderView
99 mIconView = findViewById(R.id.app_icon); in onFinishInflate()
124 mIconView.setVisibility(View.VISIBLE); in bind()
126 mIconView.setImageDrawable(drawable); in bind()
170 mIconView.setColorFilter(color); in setSmallIconColor()
191 mIconView.setVisibility(View.GONE); in reset()
192 mIconView.setImageDrawable(null); in reset()
DCarNotificationBodyView.java53 private ImageView mIconView; field in CarNotificationBodyView
99 mIconView = findViewById(R.id.notification_body_icon); in onFinishInflate()
122 mIconView.setVisibility(View.VISIBLE); in bind()
123 mIconView.setImageIcon(icon); in bind()
136 mIconView.setVisibility(View.GONE); in bindTitleAndMessage()
161 mIconView.setVisibility(View.GONE); in reset()
/packages/apps/TV/src/com/android/tv/menu/
DActionCardView.java36 private ImageView mIconView; field in ActionCardView
55 mIconView = (ImageView) findViewById(R.id.action_card_icon); in onFinishInflate()
65 mIconView.setImageDrawable(action.getDrawable(getContext())); in onBind()
71 mIconView.setAlpha(OPACITY_ENABLED); in onBind()
77 mIconView.setAlpha(OPACITY_DISABLED); in onBind()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java54 private View mIconView; field in DeepShortcutView
75 mIconView = findViewById(R.id.icon); in onFinishInflate()
121 mIconView.setVisibility(willDraw ? View.VISIBLE : View.INVISIBLE); in setWillDrawIcon()
125 return mIconView.getVisibility() == View.VISIBLE; in willDrawIcon()
145 mIconView.setBackground(mBubbleText.getIcon()); in applyShortcutInfo()
174 return mIconView; in getIconView()
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreference.java47 private ImageView mIconView; field in VolumeSeekBarPreference
114 mIconView = (ImageView) view.findViewById(com.android.internal.R.id.icon); in onBindViewHolder()
163 if (mIconView == null) return; in updateIconView()
165 mIconView.setImageResource(mIconResId); in updateIconView()
167 mIconView.setImageResource(mMuteIconResId); in updateIconView()
169 mIconView.setImageDrawable(getIcon()); in updateIconView()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.java343 private IconView mIconView; field in TaskView
434 mIconView = findViewById(R.id.icon); in onFinishInflate()
435 mIconTouchDelegate = new TransformingTouchDelegate(mIconView); in onFinishInflate()
457 float iconHalfSize = mIconView.getWidth() / 2f; in computeAndSetIconTouchDelegate()
459 getDescendantCoordRelativeToAncestor(mIconView, mActivity.getDragLayer(), mIconCenterCoords, in computeAndSetIconTouchDelegate()
496 mIconView.setAlpha(comp(modalness)); in setModalness()
536 return mIconView; in getIconView()
749 mIconView.setDrawable(icon); in setIcon()
750 mIconView.setOnClickListener(v -> showTaskMenu()); in setIcon()
751 mIconView.setOnLongClickListener(v -> { in setIcon()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java70 private View mIconView; field in NotificationMainView
97 mIconView = findViewById(R.id.popup_item_icon); in onFinishInflate()
108 mIconView.setBackground(mNotificationInfo.getIconForBackground(getContext(), in updateBackgroundColor()
147 mIconView.setBackground(mNotificationInfo.getIconForBackground(getContext(), in applyNotificationInfo()
163 mIconView.setTranslationX(translation); in setContentTranslation()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/shared/
DLoadingFrameLayout.java222 private ImageView mIconView; field in LoadingFrameLayout.ViewContainer
245 mIconView = view.findViewById(R.id.loading_info_icon); in inflateView()
313 if (mIconView != null) { in setIcon()
314 mIconView.setImageResource(iconResId); in setIcon()
317 ViewUtils.setVisible(mIconView, false); in setIcon()
/packages/apps/Car/Dialer/src/com/android/car/dialer/widget/
DLoadingFrameLayout.java259 private ImageView mIconView; field in LoadingFrameLayout.ViewContainer
305 mIconView = view.findViewById(mIconViewId); in inflateView()
380 if (mIconView != null) { in setIcon()
381 mIconView.setImageResource(iconResId); in setIcon()
384 ViewUtils.setVisible(mIconView, false); in setIcon()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DEmergencyNamePreferenceTest.java59 private ImageView mIconView; field in EmergencyNamePreferenceTest
145 mIconView = new ImageView(mContext); in createLayout()
146 mIconView.setId(R.id.user_photo); in createLayout()
147 root.addView(mIconView); in createLayout()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DMenuItemView.java42 private final ImageView mIconView; field in MenuItemView
62 mIconView = requireViewById(R.id.car_ui_toolbar_menu_item_icon); in MenuItemView()
97 mIconView.setImageDrawable(mMenuItem.getIcon()); in onMenuItemUpdated()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItemRenderer.java48 private ImageView mIconView; field in MenuItemRenderer
89 mIconView = requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_icon); in createView()
133 mIconView.setImageDrawable(mMenuItem.getIcon()); in updateView()
/packages/apps/Settings/src/com/android/settings/accessibility/
DBalanceSeekBarPreference.java42 private ImageView mIconView; field in BalanceSeekBarPreference
56 mIconView = (ImageView) view.findViewById(com.android.internal.R.id.icon); in onBindViewHolder()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DAlertDialogBuilder.java791 ImageView mIconView = CarUiUtils.requireViewByRefId(customTitle, R.id.car_ui_alert_icon); in prepareDialog() local
797 mIconView.setImageDrawable(mIcon); in prepareDialog()
798 mIconView.setVisibility(mIcon != null ? View.VISIBLE : View.GONE); in prepareDialog()
800 mIconView.setImageTintList( in prepareDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java51 private ImageView mIconView; field in GrantPermissionsViewHandlerImpl
81 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon); in createView()
148 mIconView.setImageIcon(icon); in updateUi()