/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 60 public final class Icon implements Parcelable { class 437 private Icon(int mType) { in Icon() method in Icon 447 public static Icon createFromStream(InputStream stream) throws IOException { in createFromStream() 483 public boolean sameAs(Icon otherIcon) { in sameAs() 513 public static Icon createWithResource(Context context, @DrawableRes int resId) { in createWithResource() 517 final Icon rep = new Icon(TYPE_RESOURCE); in createWithResource() 527 public static Icon createWithResource(Resources res, @DrawableRes int resId) { in createWithResource() 531 final Icon rep = new Icon(TYPE_RESOURCE); in createWithResource() 542 public static Icon createWithResource(String resPackage, @DrawableRes int resId) { in createWithResource() 546 final Icon rep = new Icon(TYPE_RESOURCE); in createWithResource() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/ |
D | IconTest.java | 55 final Icon im1 = Icon.createWithBitmap(bm1); in testWithBitmap() 56 final Icon im2 = Icon.createWithBitmap(bm2); in testWithBitmap() 57 final Icon im3 = Icon.createWithBitmap(bm3); in testWithBitmap() 117 final Icon im1 = Icon.createWithAdaptiveBitmap(bm1); in testWithAdaptiveBitmap() 149 final Icon im1 = Icon.createWithResource(getContext(), R.drawable.landscape); in testWithBitmapResource() 176 final Icon im1 = Icon.createWithFilePath(file1.toString()); in testWithFile() 200 final Icon im1 = Icon.createWithFilePath(file1.toString()); in testAsync() 205 im1.loadDrawableAsync(mContext, new Icon.OnDrawableLoadedListener() { in testAsync() 252 ArrayList<Icon> imgs = new ArrayList<>(); in testParcel() 253 final Icon file1 = Icon.createWithFilePath(originalfile.getAbsolutePath()); 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/support/compat/java/android/support/v4/graphics/drawable/ |
D | IconCompat.java | 30 import android.graphics.drawable.Icon; 182 public Icon toIcon() { in toIcon() 185 return Icon.createWithBitmap((Bitmap) mObj1); in toIcon() 188 return Icon.createWithAdaptiveBitmap((Bitmap) mObj1); in toIcon() 190 return Icon.createWithBitmap(createLegacyIconFromAdaptiveIcon((Bitmap) mObj1)); in toIcon() 193 return Icon.createWithResource((Context) mObj1, mInt1); in toIcon() 195 return Icon.createWithData((byte[]) mObj1, mInt1, mInt2); in toIcon() 197 return Icon.createWithContentUri((String) mObj1); in toIcon()
|
/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 | 25 import android.graphics.drawable.Icon; 53 public void setImageIcon(@Nullable Icon icon) { in setImageIcon() 63 public Runnable setImageIconAsync(@Nullable Icon icon) { in setImageIconAsync() 123 private synchronized boolean testAndSetCache(Icon icon) { in testAndSetCache() 124 if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) { in testAndSetCache() 161 private String normalizeIconPackage(Icon icon) { in normalizeIconPackage()
|
/frameworks/base/core/java/android/service/quicksettings/ |
D | Tile.java | 18 import android.graphics.drawable.Icon; 63 private Icon mIcon; 118 public Icon getIcon() { in getIcon() 132 public void setIcon(Icon icon) { in setIcon() 203 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/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()
|
D | PhoneAccount.java | 20 import android.graphics.drawable.Icon; 328 private final Icon mIcon; 347 private Icon mIcon; 432 public Builder setIcon(Icon icon) { in setIcon() 581 Icon icon, in PhoneAccount() 737 public Icon getIcon() { in getIcon() 894 mIcon = Icon.CREATOR.createFromParcel(in); in PhoneAccount()
|
/frameworks/base/core/java/android/app/ |
D | RemoteAction.java | 20 import android.graphics.drawable.Icon; 40 private final Icon mIcon; 47 mIcon = Icon.CREATOR.createFromParcel(in); in RemoteAction() 54 public RemoteAction(@NonNull Icon icon, @NonNull CharSequence title, in RemoteAction() 84 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/wifi/java/android/net/wifi/hotspot2/ |
D | OsuProvider.java | 19 import android.graphics.drawable.Icon; 82 private final Icon mIcon; 85 Uri serverUri, String nai, List<Integer> methodList, Icon icon) { in OsuProvider() 153 public Icon getIcon() { in getIcon() 221 Icon icon = (Icon) in.readParcelable(null);
|
/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/packages/EasterEgg/src/com/android/egg/neko/ |
D | Food.java | 20 import android.graphics.drawable.Icon; 34 public Icon getIcon(Context context) { in getIcon() 43 return Icon.createWithResource(context, sIcons[mType]); in getIcon()
|
D | Cat.java | 24 import android.graphics.drawable.Icon; 213 .setSmallIcon(Icon.createWithResource(context, R.drawable.stat_icon)) 265 public static Icon recompressIcon(Icon bitmapIcon) { 266 if (bitmapIcon.getType() != Icon.TYPE_BITMAP) return bitmapIcon; 272 return Icon.createWithData(ostream.toByteArray(), 0, ostream.size()); 275 public Icon createNotificationLargeIcon(Context context) { 282 public Icon createIcon(Context context, int w, int h) { 298 return Icon.createWithBitmap(result);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ImageTransformState.java | 19 import android.graphics.drawable.Icon; 39 private Icon mIcon; 45 mIcon = (Icon) view.getTag(ICON_TAG); in initFrom() 106 public Icon getIcon() { in getIcon()
|
D | NotificationBigPictureTemplateViewWrapper.java | 21 import android.graphics.drawable.Icon; 46 Icon overRiddenIcon = extras.getParcelable(Notification.EXTRA_LARGE_ICON_BIG); in updateImageTag()
|
/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/media/java/android/media/tv/ |
D | TvInputInfo.java | 34 import android.graphics.drawable.Icon; 135 private final Icon mIcon; 136 private final Icon mIconStandby; 137 private final Icon mIconDisconnected; 197 HdmiDeviceInfo hdmiDeviceInfo, String parentId, int labelRes, Icon icon) in createTvInputInfo() 250 TvInputHardwareInfo hardwareInfo, int labelRes, Icon icon) in createTvInputInfo() 260 CharSequence label, int labelResId, Icon icon, Icon iconStandby, Icon iconDisconnected, in TvInputInfo() 669 private Icon mIcon; 670 private Icon mIconStandby; 671 private Icon mIconDisconnected; [all …]
|
/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/core/java/android/printservice/ |
D | CustomPrinterIconCallback.java | 21 import android.graphics.drawable.Icon; 53 public boolean onCustomPrinterIconLoaded(@Nullable Icon icon) { in onCustomPrinterIconLoaded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImplTest.java | 33 import com.android.systemui.plugins.qs.QSTile.Icon; 60 s.icon = mock(Icon.class); in testNoFirstAnimation() 67 s.icon = mock(Icon.class); in testNoFirstAnimation()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | OsuProviderTest.java | 22 import android.graphics.drawable.Icon; 48 private static final Icon TEST_ICON = Icon.createWithData(new byte[10], 0, 10);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMediaController.java | 30 import android.graphics.drawable.Icon; 194 mPauseAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 200 mPlayAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 206 mNextAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions() 212 mPrevAction = new RemoteAction(Icon.createWithResource(mContext, in createMediaActions()
|