/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 66 public final class Icon implements Parcelable { class 483 private Icon(int mType) { in Icon() method in Icon 493 public static Icon createFromStream(InputStream stream) throws IOException { in createFromStream() 529 public boolean sameAs(Icon otherIcon) { in sameAs() 559 public static Icon createWithResource(Context context, @DrawableRes int resId) { in createWithResource() 563 final Icon rep = new Icon(TYPE_RESOURCE); in createWithResource() 574 public static Icon createWithResource(Resources res, @DrawableRes int resId) { in createWithResource() 578 final Icon rep = new Icon(TYPE_RESOURCE); in createWithResource() 589 public static Icon createWithResource(String resPackage, @DrawableRes int resId) { in createWithResource() 593 final Icon rep = new Icon(TYPE_RESOURCE); in createWithResource() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 58 final Icon im1 = Icon.createWithBitmap(bm1); in testWithBitmap() 59 final Icon im2 = Icon.createWithBitmap(bm2); in testWithBitmap() 60 final Icon im3 = Icon.createWithBitmap(bm3); in testWithBitmap() 116 final Icon ic = Icon.createWithBitmap(bm); in testScaleDownIfNecessary() 133 final Icon im1 = Icon.createWithAdaptiveBitmap(bm1); in testWithAdaptiveBitmap() 165 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource() 192 final Icon im1 = Icon.createWithFilePath(file1.toString()); in testWithFile() 216 final Icon im1 = Icon.createWithFilePath(file1.toString()); in testAsync() 221 im1.loadDrawableAsync(mContext, new Icon.OnDrawableLoadedListener() { in testAsync() 268 ArrayList<Icon> imgs = new ArrayList<>(); in testParcel() [all …]
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | StatusBarIcon.java | 19 import android.graphics.drawable.Icon; 28 public Icon icon; 34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number, in StatusBarIcon() 36 if (icon.getType() == Icon.TYPE_RESOURCE in StatusBarIcon() 41 icon = Icon.createWithResource(resPackage, icon.getResId()); in StatusBarIcon() 54 this(user, iconPackage, Icon.createWithResource(iconPackage, iconId), in StatusBarIcon() 84 this.icon = (Icon) in.readParcelable(null); in readFromParcel()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | IconCache.java | 21 import android.graphics.drawable.Icon; 33 final ArrayMap<Icon, Drawable> mMap = new ArrayMap<>(); 39 public Drawable getIcon(Icon icon) { in getIcon() 51 public void updateIcon(Icon icon, Drawable drawable) { in updateIcon()
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
D | Suggestion.java | 22 import android.graphics.drawable.Icon; 61 private final Icon mIcon; 90 public Icon getIcon() { in getIcon() 123 mIcon = in.readParcelable(Icon.class.getClassLoader()); in Suggestion() 162 private Icon mIcon; 193 public Builder setIcon(Icon icon) { in setIcon()
|
/frameworks/base/core/java/android/service/chooser/ |
D | ChooserTarget.java | 24 import android.graphics.drawable.Icon; 56 private Icon mIcon; 103 public ChooserTarget(CharSequence title, Icon icon, float score, in ChooserTarget() 119 mIcon = Icon.CREATOR.createFromParcel(in); in ChooserTarget() 144 public Icon getIcon() { in getIcon()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | CachingIconView.java | 26 import android.graphics.drawable.Icon; 55 public void setImageIcon(@Nullable Icon icon) { in setImageIcon() 65 public Runnable setImageIconAsync(@Nullable Icon icon) { in setImageIconAsync() 125 private synchronized boolean testAndSetCache(Icon icon) { in testAndSetCache() 126 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in testAndSetCache() 163 private String normalizeIconPackage(Icon icon) { in normalizeIconPackage()
|
D | MessagingLayout.java | 31 import android.graphics.drawable.Icon; 92 private Icon mAvatarReplacement; 136 public void setAvatarReplacement(Icon icon) { in setAvatarReplacement() 270 ArrayMap<CharSequence, Icon> cachedAvatars = new ArrayMap<>(); in updateTitleAndNamesDisplay() 281 Icon cachedIcon = group.getAvatarSymbolIfMatching(senderName, in updateTitleAndNamesDisplay() 298 Icon cachedIcon = cachedAvatars.get(senderName); in updateTitleAndNamesDisplay() 310 public Icon createAvatarSymbol(CharSequence senderName, String symbol, int layoutColor) { in createAvatarSymbol() 313 Icon avatarIcon = Icon.createWithResource(getContext(), in createAvatarSymbol() 329 return Icon.createWithBitmap(bitmap); in createAvatarSymbol() 376 Icon userIcon = Icon.createWithResource(getContext(), in setUser()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstalledNotificationUtils.java | 31 import android.graphics.drawable.Icon; 56 private final Icon mInstallerAppSmallIcon; 61 private final Icon mInstalledAppLargeIcon; 124 private static Icon getAppLargeIcon(@NonNull ApplicationInfo appInfo) { in getAppLargeIcon() 126 return Icon.createWithResource(appInfo.packageName, appInfo.icon); in getAppLargeIcon() 128 return Icon.createWithResource("android", android.R.drawable.sym_def_app_icon); in getAppLargeIcon() 140 private static Icon getAppNotificationIcon(@NonNull Context context, in getAppNotificationIcon() 143 return Icon.createWithResource(context, R.drawable.ic_file_download); in getAppNotificationIcon() 149 return Icon.createWithResource(appInfo.packageName, iconResId); in getAppNotificationIcon() 151 return Icon.createWithResource(context, R.drawable.ic_file_download); in getAppNotificationIcon()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | StatusHints.java | 23 import android.graphics.drawable.Icon; 36 private final Icon mIcon; 45 this(label, iconResId == 0 ? null : Icon.createWithResource(packageName.getPackageName(), in StatusHints() 49 public StatusHints(CharSequence label, Icon icon, Bundle extras) { in StatusHints() 99 public Icon getIcon() { in getIcon()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 19 import android.graphics.drawable.Icon; 64 private Icon mIcon; 120 public Icon getIcon() { in getIcon() 134 public void setIcon(Icon icon) { in setIcon() 222 mIcon = Icon.CREATOR.createFromParcel(source); in readFromParcel()
|
D | IQSService.aidl | 19 import android.graphics.drawable.Icon; 28 void updateStatusIcon(in IBinder tile, in Icon icon, in updateStatusIcon()
|
/frameworks/base/core/java/android/app/ |
D | Person.java | 21 import android.graphics.drawable.Icon; 34 @Nullable private Icon mIcon; 43 mIcon = Icon.CREATOR.createFromParcel(in); in Person() 85 public Icon getIcon() { in getIcon() 168 @Nullable private Icon mIcon; 206 public Person.Builder setIcon(@Nullable Icon icon) { in setIcon()
|
D | RemoteAction.java | 20 import android.graphics.drawable.Icon; 35 private final Icon mIcon; 43 mIcon = Icon.CREATOR.createFromParcel(in); in RemoteAction() 51 public RemoteAction(@NonNull Icon icon, @NonNull CharSequence title, in RemoteAction() 96 public @NonNull Icon getIcon() { in getIcon()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | CustomPrinterIconCache.java | 21 import android.graphics.drawable.Icon; 91 public synchronized @Nullable Icon getIcon(@NonNull PrinterId printerId) { in getIcon() 92 Icon icon; in getIcon() 97 icon = Icon.createFromStream(is); in getIcon() 141 @Nullable Icon icon) { in onCustomPrinterIconLoaded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImplTest.java | 35 import com.android.systemui.plugins.qs.QSTile.Icon; 62 s.icon = mock(Icon.class); in testNoFirstAnimation() 69 s.icon = mock(Icon.class); in testNoFirstAnimation() 94 Icon i = mock(Icon.class); in testStateSetCorrectly_toString()
|
/frameworks/base/core/java/android/view/ |
D | KeyboardShortcutInfo.java | 23 import android.graphics.drawable.Icon; 32 private final Icon mIcon; 51 @Nullable CharSequence label, @Nullable Icon icon, int keycode, int modifiers) { in KeyboardShortcutInfo() 114 public Icon getIcon() { in getIcon()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 41 import android.graphics.drawable.Icon; 444 Icon icon = mock(Icon.class); in testActionsDifferentSame() 459 Icon icon = mock(Icon.class); in testActionsDifferentText() 474 Icon icon = mock(Icon.class); in testActionsDifferentSpannables() 493 Icon icon = mock(Icon.class); in testActionsDifferentNumber() 510 Icon icon = mock(Icon.class); in testActionsDifferentIntent() 525 Icon icon = mock(Icon.class); in testActionsIgnoresRemoteInputs() 548 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_noRemoteInput() 559 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_hasRemoteInput() 589 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ImageTransformState.java | 19 import android.graphics.drawable.Icon; 40 private Icon mIcon; 46 mIcon = (Icon) view.getTag(ICON_TAG); in initFrom() 107 public Icon getIcon() { in getIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | IconCacheTest.java | 31 import android.graphics.drawable.Icon; 41 private Icon mIcon; 48 mIcon = mock(Icon.class); in setUp()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
D | QSTile.java | 25 import com.android.systemui.plugins.qs.QSTile.Icon; 35 @DependsOn(target = Icon.class) 85 @ProvidesInterface(version = Icon.VERSION) 86 public static abstract class Icon { class 96 return Icon.class.hashCode(); in hashCode() 107 public Icon icon; 108 public Supplier<Icon> iconSupplier;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationShellCmd.java | 33 import android.graphics.drawable.Icon; 264 Icon parseIcon(Resources res, String encoded) throws IllegalArgumentException { in parseIcon() 275 return Icon.createWithContentUri(asUri); in parseIcon() 280 return Icon.createWithResource(res, resid); in parseIcon() 285 return Icon.createWithData(bits, 0, bits.length); in parseIcon() 303 Icon smallIcon = null; in doNotify() 327 final Icon icon = parseIcon(res, iconSpec); in doNotify() 417 final Icon pictureAsIcon = parseIcon(res, pictureSpec); in doNotify()
|
/frameworks/base/core/java/android/print/ |
D | IPrintSpoolerCallbacks.aidl | 19 import android.graphics.drawable.Icon; 45 void onGetCustomPrinterIconResult(in Icon icon, int sequence); in onGetCustomPrinterIconResult()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | OsuProvider.java | 21 import android.graphics.drawable.Icon; 90 private final Icon mIcon; 95 Icon icon) { in OsuProvider() 199 public Icon getIcon() { in getIcon() 270 Icon icon = in.readParcelable(null);
|
/frameworks/base/core/java/android/printservice/ |
D | CustomPrinterIconCallback.java | 21 import android.graphics.drawable.Icon; 53 public boolean onCustomPrinterIconLoaded(@Nullable Icon icon) { in onCustomPrinterIconLoaded()
|