/frameworks/base/core/java/android/app/ |
D | Person.java | 35 @Nullable private Icon mIcon; field in Person 44 mIcon = Icon.CREATOR.createFromParcel(in); in Person() 54 mIcon = builder.mIcon; in Person() 87 return mIcon; in getIcon() 133 if (mIcon != null && (mIcon.getType() == Icon.TYPE_URI in getIconUri() 134 || mIcon.getType() == Icon.TYPE_URI_ADAPTIVE_BITMAP)) { in getIconUri() 135 return mIcon.getUri(); in getIconUri() 145 && (mIcon == null ? other.mIcon == null : in equals() 146 (other.mIcon != null && mIcon.sameAs(other.mIcon))) in equals() 157 return Objects.hash(mName, mIcon, mUri, mKey, mIsBot, mIsImportant); in hashCode() [all …]
|
D | RemoteAction.java | 36 private final Icon mIcon; field in RemoteAction 44 mIcon = Icon.CREATOR.createFromParcel(in); in RemoteAction() 58 mIcon = icon; in RemoteAction() 98 return mIcon; in getIcon() 124 RemoteAction action = new RemoteAction(mIcon, mTitle, mContentDescription, mActionIntent); in clone() 137 && mIcon.equals(that.mIcon) in equals() 145 return Objects.hash(mIcon, mTitle, mContentDescription, mActionIntent, mEnabled, in hashCode() 156 mIcon.writeToParcel(out, 0); in writeToParcel() 169 pw.print(" icon=" + mIcon); in dump()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | IconCacheTest.java | 41 private Icon mIcon; field in IconCacheTest 48 mIcon = mock(Icon.class); in setUp() 50 doReturn(drawable).when(mIcon).loadDrawable(mContext); in setUp() 61 mIconCache.getIcon(mIcon); in testGetIcon_iconAlreadyLoaded() 62 verify(mIcon, times(1)).loadDrawable(mContext); in testGetIcon_iconAlreadyLoaded() 63 mIconCache.getIcon(mIcon); in testGetIcon_iconAlreadyLoaded() 64 verify(mIcon, times(1)).loadDrawable(mContext); in testGetIcon_iconAlreadyLoaded() 69 mIconCache.getIcon(mIcon); in testGetIcon_iconLoadedFirstTime() 70 assertTrue(mIconCache.mMap.containsKey(mIcon)); in testGetIcon_iconLoadedFirstTime()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
D | BarChartPreferenceTest.java | 47 private Drawable mIcon; field in BarChartPreferenceTest 65 mIcon = mContext.getDrawable(com.android.internal.R.drawable.ic_menu); in setUp() 119 new BarViewInfo(mIcon, 10, null /* title */, in initializeBarChart_detailsSet_shouldShowBarChartDetailsView() 137 new BarViewInfo(mIcon, 10, null /* title */, in initializeBarChart_detailsNotSet_shouldHideBarChartDetailsView() 156 new BarViewInfo(mIcon, 10, null /* title */, in initializeBarChart_clickListenerSet_shouldSetClickListenerOnDetailsView() 171 new BarViewInfo(mIcon, 10, mTitleStr, mSummaryStr, null /* contentDescription */) in setBarViewInfos_oneBarViewInfoSet_shouldShowOneBarView() 189 new BarViewInfo(mIcon, 20, mTitleStr, mSummaryStr, null /* contentDescription */), in setBarViewInfos_twoBarViewInfosSet_shouldShowTwoBarViews() 190 new BarViewInfo(mIcon, 10, mTitleStr, mSummaryStr, null /* contentDescription */), in setBarViewInfos_twoBarViewInfosSet_shouldShowTwoBarViews() 209 new BarViewInfo(mIcon, 20, mTitleStr, mSummaryStr, null /* contentDescription */), in setBarViewInfos_threeBarViewInfosSet_shouldShowThreeBarViews() 210 new BarViewInfo(mIcon, 10, mTitleStr, mSummaryStr, null /* contentDescription */), in setBarViewInfos_threeBarViewInfosSet_shouldShowThreeBarViews() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | LabeledIntent.java | 32 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/keyguard/ |
D | KeyguardIndication.java | 38 private final Drawable mIcon; field in KeyguardIndication 55 mIcon = icon; in KeyguardIndication() 79 return mIcon; in getIcon() 108 if (mIcon != null) str += " mIcon=" + mIcon; in toString() 121 private Drawable mIcon; field in KeyguardIndication.Builder 151 this.mIcon = icon; in setIcon() 184 if (TextUtils.isEmpty(mMessage) && mIcon == null) { in build() 192 mMessage, mTextColor, mIcon, mOnClickListener, mBackground, in build()
|
/frameworks/base/core/java/android/app/people/ |
D | ConversationStatus.java | 110 private Icon mIcon; field in ConversationStatus 119 mIcon = b.mIcon; in ConversationStatus() 129 mIcon = p.readParcelable(Icon.class.getClassLoader()); in ConversationStatus() 140 dest.writeParcelable(mIcon, flags); in writeToParcel() 178 return mIcon; in getIcon() 206 Objects.equals(mIcon, that.mIcon); in equals() 211 return Objects.hash(mId, mActivity, mAvailability, mDescription, mIcon, mStartTimeMs, in hashCode() 222 ", mIcon=" + mIcon + in toString() 249 Icon mIcon; field in ConversationStatus.Builder 292 mIcon = icon; in setIcon()
|
/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/ |
D | AppEntityInfo.java | 30 private final Drawable mIcon; field in AppEntityInfo 41 return mIcon; in getIcon() 72 mIcon = builder.mIcon; in AppEntityInfo() 83 private Drawable mIcon; field in AppEntityInfo.Builder 101 mIcon = icon; in setIcon()
|
/frameworks/base/core/java/android/service/chooser/ |
D | ChooserTarget.java | 61 private Icon mIcon; field in ChooserTarget 111 mIcon = icon; in ChooserTarget() 124 mIcon = Icon.CREATOR.createFromParcel(in); in ChooserTarget() 126 mIcon = null; in ChooserTarget() 150 return mIcon; in getIcon() 199 if (mIcon != null) { in writeToParcel() 201 mIcon.writeToParcel(dest, 0); in writeToParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 37 private StatusBarIcon mIcon; field in StatusBarIconHolder 49 wrapper.mIcon = icon; in fromIcon() 60 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromResId() 92 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromCallIndicatorState() 104 return mIcon; in getIcon() 108 mIcon = icon; in setIcon() 132 return mIcon.visible; in isVisible() 149 mIcon.visible = visible; in setVisible()
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
D | Suggestion.java | 61 private final Icon mIcon; field in Suggestion 91 return mIcon; in getIcon() 114 mIcon = builder.mIcon; in Suggestion() 123 mIcon = in.readParcelable(Icon.class.getClassLoader()); in Suggestion() 150 dest.writeParcelable(mIcon, flags); in writeToParcel() 162 private Icon mIcon; field in Suggestion.Builder 194 mIcon = icon; in setIcon()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 36 private final Icon mIcon; field in StatusHints 51 mIcon = icon; in StatusHints() 93 return mIcon.loadDrawable(context); in getIcon() 100 return mIcon; in getIcon() 118 out.writeParcelable(mIcon, 0); in writeToParcel() 135 mIcon = in.readParcelable(getClass().getClassLoader()); in StatusHints() 152 return Objects.hashCode(mLabel) + Objects.hashCode(mIcon) + Objects.hashCode(mExtras); in hashCode()
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
D | SuggestionTest.java | 43 private Icon mIcon; field in SuggestionTest 52 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(100, 100, Bitmap.Config.ARGB_8888)); in setUp() 60 .setIcon(mIcon) in buildSuggestion_allFieldsShouldBeSet() 67 assertThat(suggestion.getIcon()).isEqualTo(mIcon); in buildSuggestion_allFieldsShouldBeSet() 78 .setIcon(mIcon) in buildSuggestion_emptyKey_shouldCrash() 88 .setIcon(mIcon) in buildSuggestion_fromParcelable() 100 assertThat(newSuggestion.getIcon().toString()).isEqualTo(mIcon.toString()); in buildSuggestion_fromParcelable()
|
/frameworks/base/core/java/android/view/ |
D | KeyboardShortcutInfo.java | 32 private final Icon mIcon; field in KeyboardShortcutInfo 53 mIcon = icon; in KeyboardShortcutInfo() 89 mIcon = null; in KeyboardShortcutInfo() 94 mIcon = source.readParcelable(null); in KeyboardShortcutInfo() 115 return mIcon; in getIcon() 153 dest.writeParcelable(mIcon, 0); in writeToParcel()
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | GetWalletCardsError.java | 31 private final Icon mIcon; field in GetWalletCardsError 42 mIcon = icon; in GetWalletCardsError() 53 if (mIcon == null) { in writeToParcel() 57 mIcon.writeToParcel(dest, flags); in writeToParcel() 88 return mIcon; in getIcon()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 64 private Icon mIcon; field in Tile 122 return mIcon; in getIcon() 136 this.mIcon = icon; in setIcon() 228 if (mIcon != null) { in writeToParcel() 230 mIcon.writeToParcel(dest, flags); in writeToParcel() 243 mIcon = Icon.CREATOR.createFromParcel(source); in readFromParcel() 245 mIcon = null; in readFromParcel()
|
/frameworks/base/media/java/android/media/ |
D | MediaDescription.java | 53 private final Bitmap mIcon; field in MediaDescription 134 mIcon = icon; in MediaDescription() 145 mIcon = in.readParcelable(null); in MediaDescription() 192 return mIcon; in getIconBitmap() 233 dest.writeParcelable(mIcon, flags); in writeToParcel() 292 private Bitmap mIcon; field in MediaDescription.Builder 356 mIcon = icon; in setIconBitmap() 400 return new MediaDescription(mMediaId, mTitle, mSubtitle, mDescription, mIcon, mIconUri, in build()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ImageTransformState.java | 40 private Icon mIcon; field in ImageTransformState 46 mIcon = (Icon) view.getTag(ICON_TAG); in initFrom() 56 return mIcon != null && mIcon.sameAs(((ImageTransformState) otherState).getIcon()); in sameAs() 108 return mIcon; in getIcon() 130 mIcon = null; in reset()
|
/frameworks/base/core/java/android/app/smartspace/ |
D | SmartspaceAction.java | 58 private final Icon mIcon; field in SmartspaceAction 85 mIcon = in.readTypedObject(Icon.CREATOR); in SmartspaceAction() 106 mIcon = icon; in SmartspaceAction() 127 return mIcon; in getIcon() 201 out.writeTypedObject(mIcon, flags); in writeToParcel() 215 + ", mIcon=" + mIcon in toString() 247 private Icon mIcon; field in SmartspaceAction.Builder 284 mIcon = icon; in setIcon() 351 return new SmartspaceAction(mId, mIcon, mTitle, mSubtitle, mContentDescription, in build()
|
/frameworks/base/core/java/com/android/internal/globalactions/ |
D | SinglePressAction.java | 31 private final Drawable mIcon; field in SinglePressAction 39 mIcon = null; in SinglePressAction() 46 mIcon = icon; in SinglePressAction() 88 if (mIcon != null) { in create() 89 icon.setImageDrawable(mIcon); in create()
|
/frameworks/base/core/java/android/app/search/ |
D | SearchAction.java | 49 private final Icon mIcon; field in SearchAction 75 mIcon = in.readTypedObject(Icon.CREATOR); in SearchAction() 96 mIcon = icon; in SearchAction() 123 return mIcon; in getIcon() 198 out.writeTypedObject(mIcon, flags); in writeToParcel() 213 + " icon=" + mIcon in toString() 244 private Icon mIcon; field in SearchAction.Builder 275 mIcon = icon; in setIcon() 343 return new SearchAction(mId, mTitle, mIcon, mSubtitle, mContentDescription, in build()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 47 private Drawable mIcon; field in IconMenuItemView 190 mIcon = icon; in setIcon() 246 if (mItemData != null && mIcon != null) { in drawableStateChanged() 250 mIcon.setAlpha(isInAlphaState ? (int) (mDisabledAlpha * NO_ALPHA) : NO_ALPHA); in drawableStateChanged() 295 if (mIcon == null) { in positionIcon() 304 Gravity.apply(Gravity.CENTER_VERTICAL | Gravity.START, mIcon.getIntrinsicWidth(), mIcon in positionIcon() 307 mIcon.setBounds(mPositionIconOutput); in positionIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 129 private StatusBarIcon mIcon; field in StatusBarIconView 332 final boolean iconEquals = mIcon != null && equalIcons(mIcon.icon, icon.icon); in set() 334 && mIcon.iconLevel == icon.iconLevel; in set() 335 final boolean visibilityEquals = mIcon != null in set() 336 && mIcon.visible == icon.visible; in set() 337 final boolean numberEquals = mIcon != null in set() 338 && mIcon.number == icon.number; in set() 339 mIcon = icon.clone(); in set() 377 if (mIcon == null) { in updateDrawable() 382 drawable = getIcon(mIcon); in updateDrawable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 47 protected final View mIcon; field in QSIconViewImpl 60 mIcon = createIcon(); in QSIconViewImpl() 61 addView(mIcon); in QSIconViewImpl() 75 return mIcon; in getIconView() 82 mIcon.measure(MeasureSpec.makeMeasureSpec(w, getIconMeasureMode()), iconSpec); in onMeasure() 83 setMeasuredDimension(w, mIcon.getMeasuredHeight()); in onMeasure() 100 final int iconLeft = (w - mIcon.getMeasuredWidth()) / 2; in onLayout() 101 layout(mIcon, iconLeft, top); in onLayout() 105 setIcon((ImageView) mIcon, state, allowAnimations); in setIcon()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SplashScreenStartingData.java | 34 private final int mIcon; field in SplashScreenStartingData 48 mIcon = icon; in SplashScreenStartingData() 57 activity, mPkg, mTheme, mCompatInfo, mNonLocalizedLabel, mLabelRes, mIcon, in createStartingSurface()
|