Home
last modified time | relevance | path

Searched refs:mIcon (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DLabeledIntent.java32 private int mIcon; field in LabeledIntent
49 mIcon = icon; in LabeledIntent()
67 mIcon = icon; in LabeledIntent()
82 mIcon = icon; in LabeledIntent()
98 mIcon = icon; in LabeledIntent()
126 return mIcon; in getIconResource()
153 if (mIcon != 0 && mSourcePackage != null) { in loadIcon()
154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); in loadIcon()
167 dest.writeInt(mIcon); in writeToParcel()
180 mIcon = in.readInt(); in readFromParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java45 private StatusBarIcon mIcon; field in StatusBarIconView
109 final boolean iconEquals = mIcon != null in set()
110 && streq(mIcon.iconPackage, icon.iconPackage) in set()
111 && mIcon.iconId == icon.iconId; in set()
113 && mIcon.iconLevel == icon.iconLevel; in set()
114 final boolean visibilityEquals = mIcon != null in set()
115 && mIcon.visible == icon.visible; in set()
116 final boolean numberEquals = mIcon != null in set()
117 && mIcon.number == icon.number; in set()
118 mIcon = icon.clone(); in set()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DInputMethodButton.java46 private ImageView mIcon; field in InputMethodButton
66 mIcon = (ImageView) findViewById(mId); in onAttachedToWindow()
136 if (mIcon == null) { in refreshStatusIcon()
145 mIcon.setImageResource(R.drawable.ic_sysbar_ime); in refreshStatusIcon()
154 if (mIcon != null) { in setIconImage()
155 mIcon.setImageResource(resId); in setIconImage()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java45 private Drawable mIcon; field in IconMenuItemView
175 mIcon = icon; in setIcon()
229 if (mItemData != null && mIcon != null) { in drawableStateChanged()
233 mIcon.setAlpha(isInAlphaState ? (int) (mDisabledAlpha * NO_ALPHA) : NO_ALPHA); in drawableStateChanged()
276 if (mIcon == null) { in positionIcon()
285 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon in positionIcon()
288 mIcon.setBounds(mPositionIconOutput); in positionIcon()
DActionMenuItemView.java44 private Drawable mIcon; field in ActionMenuItemView
146 visible &= mIcon == null || in updateTextButtonVisibility()
153 mIcon = icon; in setIcon()
280 if (!textVisible && mIcon != null) { in onMeasure()
284 final int dw = mIcon.getBounds().width(); in onMeasure()
/frameworks/base/core/java/android/content/
DClipData.java161 final Bitmap mIcon; field in ClipData
624 mIcon = null; in ClipData()
640 mIcon = null; in ClipData()
653 mIcon = other.mIcon; in ClipData()
775 return mIcon; in getIcon()
812 if (mIcon != null) { in toShortString()
818 b.append(mIcon.getWidth()); in toShortString()
820 b.append(mIcon.getHeight()); in toShortString()
841 if (mIcon != null) { in writeToParcel()
843 mIcon.writeToParcel(dest, flags); in writeToParcel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DTaskDescription.java33 private Drawable mIcon; // application package icon field in TaskDescription
81 return mIcon; in getIcon()
85 mIcon = icon; in setIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBrightnessController.java44 private final ImageView mIcon; field in BrightnessController
59 mIcon = icon; in BrightnessController()
147 if (mIcon != null) { in updateIcon()
148 mIcon.setImageResource(automatic ? in updateIcon()
/frameworks/base/core/java/android/preference/
DPreference.java106 private Drawable mIcon; field in Preference
533 if (mIconResId != 0 || mIcon != null) { in onBindView()
534 if (mIcon == null) { in onBindView()
535 mIcon = getContext().getResources().getDrawable(mIconResId); in onBindView()
537 if (mIcon != null) { in onBindView()
538 imageView.setImageDrawable(mIcon); in onBindView()
541 imageView.setVisibility(mIcon != null ? View.VISIBLE : View.GONE); in onBindView()
653 if ((icon == null && mIcon != null) || (icon != null && mIcon != icon)) { in setIcon()
654 mIcon = icon; in setIcon()
678 return mIcon; in getIcon()
/frameworks/base/core/java/android/widget/
DDialerFilter.java79 mIcon = (ImageView) findViewById(com.android.internal.R.id.icon); in onFinishInflate()
96 if (mIcon != null) { in onFocusChanged()
97 mIcon.setVisibility(focused ? View.VISIBLE : View.GONE); in onFocusChanged()
416 ImageView mIcon; field in DialerFilter
DTabHost.java621 private final Drawable mIcon; field in TabHost.LabelAndIconIndicatorStrategy
625 mIcon = icon; in LabelAndIconIndicatorStrategy()
645 if (bindIcon && mIcon != null) { in createIndicatorView()
646 iconView.setImageDrawable(mIcon); in createIndicatorView()
/frameworks/base/core/java/android/webkit/
DWebIconDatabaseClassic.java58 private final Bitmap mIcon; field in WebIconDatabaseClassic.EventHandler.IconResult
62 mIcon = icon; in IconResult()
66 mListener.onReceivedIcon(mUrl, mIcon); in dispatch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbStorageActivity.java69 private ImageView mIcon; field in UsbStorageActivity
124 mIcon = (ImageView) findViewById(com.android.internal.R.id.icon); in onCreate()
155 mIcon.setImageResource(com.android.internal.R.drawable.usb_android_connected); in switchDisplayAsync()
162 mIcon.setImageResource(com.android.internal.R.drawable.usb_android); in switchDisplayAsync()
DUsbPermissionActivity.java86 ap.mIcon = aInfo.loadIcon(packageManager); in onCreate()
DUsbConfirmActivity.java71 ap.mIcon = mResolveInfo.loadIcon(packageManager); in onCreate()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java105 private Drawable mIcon; field in AlertController
344 mIcon = icon; in setIcon()
345 if ((mIconView != null) && (mIcon != null)) { in setIcon()
474 } else if (mIcon != null) { in setupTitle()
475 mIconView.setImageDrawable(mIcon); in setupTitle()
754 public Drawable mIcon; field in AlertController.AlertParams
817 if (mIcon != null) { in apply()
818 dialog.setIcon(mIcon); in apply()
DActionBarImpl.java976 private Drawable mIcon; field in ActionBarImpl.TabImpl
1025 return mIcon; in getIcon()
1044 mIcon = icon; in setIcon()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DGlobalActions.java530 private final Drawable mIcon; field in GlobalActions.SinglePressAction
538 mIcon = null; in SinglePressAction()
545 mIcon = icon; in SinglePressAction()
552 mIcon = null; in SinglePressAction()
573 if (mIcon != null) { in create()
574 icon.setImageDrawable(mIcon); in create()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java95 private Drawable mIcon; field in ActionBarView
201 mIcon = a.getDrawable(R.styleable.ActionBar_icon); in ActionBarView()
202 if (mIcon == null) { in ActionBarView()
205 mIcon = pm.getActivityIcon(((Activity) context).getComponentName()); in ActionBarView()
210 if (mIcon == null) { in ActionBarView()
211 mIcon = appInfo.loadIcon(pm); in ActionBarView()
619 mHomeLayout.setIcon(logoVis ? mLogo : mIcon); in setDisplayOptions()
677 mIcon = icon; in setIcon()
683 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources())); in setIcon()
1544 mExpandedHomeLayout.setIcon(mIcon.getConstantState().newDrawable(getResources())); in expandItemActionView()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DManageDialog.java88 mAlertParams.mIcon = app.loadIcon(pm); in onResume()
/frameworks/base/media/java/android/media/
DMediaRouter.java926 Drawable mIcon; field in MediaRouter.RouteInfo
1077 return mIcon; in getIconDrawable()
1366 mIcon = icon; in setIconDrawable()
1628 mIcon = icon; in setIconDrawable()
1740 mIcon = count == 1 ? mRoutes.get(0).getIconDrawable() : null; in routeUpdated()
/frameworks/base/core/java/android/app/
DAlertDialog.java464 P.mIcon = icon; in setIcon()