Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DSplitPlaceholderView.java36 private IconView mIconView; field in SplitPlaceholderView
52 if (mIconView != null) { in dispatchDraw()
56 parent.centerIconView(mIconView, mTempRect.centerX(), mTempRect.centerY()); in dispatchDraw()
62 return mIconView; in getIconView()
66 if (mIconView == null) { in setIcon()
67 mIconView = new IconView(getContext()); in setIcon()
68 addView(mIconView); in setIcon()
70 mIconView.setDrawable(drawable); in setIcon()
71 mIconView.setDrawableSize(iconSize, iconSize); in setIcon()
73 mIconView.setLayoutParams(params); in setIcon()
DIconAppChipView.java67 private IconView mIconView; field in IconAppChipView
204 mIconView = findViewById(R.id.icon_view); in onFinishInflate()
212 return mIconView; in getIconView()
227 return mIconView == null ? null : mIconView.getDrawable(); in getDrawable()
232 if (mIconView != null) { in setDrawable()
233 mIconView.setDrawable(icon); in setDrawable()
239 if (mIconView != null) { in setDrawableSize()
240 mIconView.setDrawableSize(iconWidth, iconHeight); in setDrawableSize()
290 LayoutParams iconParams = (LayoutParams) mIconView.getLayoutParams(); in setIconOrientation()
295 mIconView.setLayoutParams(iconParams); in setIconOrientation()
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderView.java57 private ImageView mIconView; field in CarNotificationHeaderView
103 mIconView = findViewById(R.id.app_icon); in onFinishInflate()
135 if (mIconView != null) { in bind()
136 mIconView.setVisibility(View.VISIBLE); in bind()
138 mIconView.setImageDrawable(drawable); in bind()
191 if (mIconView != null) { in setSmallIconColor()
192 mIconView.setColorFilter(color); in setSmallIconColor()
218 if (mIconView != null) { in reset()
219 mIconView.setVisibility(View.GONE); in reset()
220 mIconView.setImageDrawable(null); 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/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/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java54 private View mIconView; field in DeepShortcutView
76 mIconView = findViewById(R.id.icon); in onFinishInflate()
122 mIconView.setVisibility(willDraw ? View.VISIBLE : View.INVISIBLE); in setWillDrawIcon()
126 return mIconView.getVisibility() == View.VISIBLE; in willDrawIcon()
146 mIconView.setBackground(mBubbleText.getIcon()); in applyShortcutInfo()
175 return mIconView; in getIconView()
/packages/apps/Settings/src/com/android/settings/notification/
DVolumeSeekBarPreference.java57 private ImageView mIconView; field in VolumeSeekBarPreference
135 mIconView = (ImageView) view.findViewById(com.android.internal.R.id.icon); in onBindViewHolder()
200 if (mIconView == null) return; in updateIconView()
202 mIconView.setImageResource(mIconResId); in updateIconView()
204 mIconView.setImageResource(mMuteIconResId); in updateIconView()
206 mIconView.setImageDrawable(getIcon()); in updateIconView()
/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/Settings/src/com/android/settings/accessibility/
DBalanceSeekBarPreference.java38 private ImageView mIconView; field in BalanceSeekBarPreference
52 mIconView = (ImageView) view.findViewById(com.android.internal.R.id.icon); in onBindViewHolder()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/
DMenuItemRenderer.java50 private ImageView mIconView; field in MenuItemRenderer
91 mIconView = requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_icon); in createView()
135 mIconView.setImageDrawable(mMenuItem.getIcon()); in updateView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DGrantPermissionsViewHandlerImpl.java54 private ImageView mIconView; field in GrantPermissionsViewHandlerImpl
84 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon); in createView()
161 mIconView.setImageIcon(icon); in updateUi()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DUserAdapter.java235 private final ImageView mIconView;
241 mIconView = view.findViewById(android.R.id.icon);
254 return mIconView;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DWirelessDebuggingFragment.java431 private ImageView mIconView; field in WirelessDebuggingFragment.PairingCodeFragment
528 mIconView = getIconView(); in onCreateGuidanceStylist()
580 if (mIconView != null) {
581 mIconView.setImageDrawable(isWifiNetwork