/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 | 35 private final Icon mIcon; field in RemoteAction 43 mIcon = Icon.CREATOR.createFromParcel(in); in RemoteAction() 57 mIcon = icon; in RemoteAction() 97 return mIcon; in getIcon() 123 RemoteAction action = new RemoteAction(mIcon, mTitle, mContentDescription, mActionIntent); in clone() 136 mIcon.writeToParcel(out, 0); in writeToParcel() 149 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/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/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()
|
D | PhoneAccount.java | 391 private final Icon mIcon; field in PhoneAccount 437 private Icon mIcon; field in PhoneAccount.Builder 465 mIcon = phoneAccount.getIcon(); in Builder() 523 mIcon = icon; in setIcon() 661 mIcon, in build() 691 mIcon = icon; in PhoneAccount() 835 return mIcon; in getIcon() 944 if (mIcon == null) { in writeToParcel() 948 mIcon.writeToParcel(out, flags); in writeToParcel() 991 mIcon = Icon.CREATOR.createFromParcel(in); in PhoneAccount() [all …]
|
/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/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarIconHolder.java | 36 private StatusBarIcon mIcon; field in StatusBarIconHolder 45 wrapper.mIcon = icon; in fromIcon() 53 holder.mIcon = new StatusBarIcon(UserHandle.SYSTEM, context.getPackageName(), in fromResId() 79 return mIcon; in getIcon() 103 return mIcon.visible; in isVisible() 120 mIcon.visible = visible; in setVisible()
|
/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/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/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/statusbar/notification/row/wrapper/ |
D | NotificationHeaderViewWrapper.java | 61 private CachingIconView mIcon; field in NotificationHeaderViewWrapper 116 mIcon = mView.findViewById(com.android.internal.R.id.icon); in resolveHeaderViews() 178 mIcon.setTag(ImageTransformState.ICON_TAG, notification.getSmallIcon()); in onContentUpdated() 211 if (mIcon != null) { in applyConversationSkin() 213 (ViewGroup.MarginLayoutParams) mIcon.getLayoutParams(); in applyConversationSkin() 237 if (mIcon != null) { in clearConversationSkin() 239 (ViewGroup.MarginLayoutParams) mIcon.getLayoutParams(); in clearConversationSkin() 240 final int marginEnd = mIcon.getContext().getResources().getDimensionPixelSize( in clearConversationSkin() 282 mIcon); in updateTransformedTypes() 329 return mIcon.getOriginalIconColor(); in getOriginalIconColor() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 45 protected final View mIcon; field in QSIconViewImpl 58 mIcon = createIcon(); in QSIconViewImpl() 59 addView(mIcon); in QSIconViewImpl() 67 return mIcon; in getIconView() 74 mIcon.measure(MeasureSpec.makeMeasureSpec(w, getIconMeasureMode()), iconSpec); in onMeasure() 75 setMeasuredDimension(w, mIcon.getMeasuredHeight()); in onMeasure() 92 final int iconLeft = (w - mIcon.getMeasuredWidth()) / 2; in onLayout() 93 layout(mIcon, iconLeft, top); in onLayout() 97 setIcon((ImageView) mIcon, state, allowAnimations); in setIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotActionChip.java | 38 private ImageView mIcon; field in ScreenshotActionChip 63 mIcon = findViewById(R.id.screenshot_action_chip_icon); in onFinishInflate() 68 mIcon.setImageIcon(icon); in setIcon() 70 mIcon.setImageTintList(null); in setIcon()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 504 private final int mIcon; field in PlaybackState.CustomAction 513 mIcon = icon; in CustomAction() 520 mIcon = in.readInt(); in CustomAction() 528 dest.writeInt(mIcon); in writeToParcel() 575 return mIcon; in getIcon() 591 return "Action:" + "mName='" + mName + ", mIcon=" + mIcon + ", mExtras=" + mExtras; in toString() 600 private final int mIcon; field in PlaybackState.CustomAction.Builder 628 mIcon = icon; in Builder() 650 return new CustomAction(mAction, mName, mIcon, mExtras); in build()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 175 final Bitmap mIcon; field in ClipData 709 mIcon = null; in ClipData() 725 mIcon = null; in ClipData() 744 mIcon = null; in ClipData() 756 mIcon = other.mIcon; in ClipData() 917 return mIcon; in getIcon() 1038 if (mIcon != null) { in toShortString() 1044 b.append(mIcon.getWidth()); in toShortString() 1046 b.append(mIcon.getHeight()); in toShortString() 1078 if (mIcon != null) { in dumpDebug() [all …]
|