HomeSort by relevance Sort by last modified time
    Searched refs:Icon (Results 1 - 25 of 393) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/graphics/java/android/graphics/drawable/
Icon.aidl 19 parcelable Icon;
Icon.java 63 public final class Icon implements Parcelable {
64 private static final String TAG = "Icon";
67 * An icon that was created using {@link Icon#createWithBitmap(Bitmap)}.
72 * An icon that was created using {@link Icon#createWithResource}.
77 * An icon that was created using {@link Icon#createWithData(byte[], int, int)}.
82 * An icon that was created using {@link Icon#createWithContentUri
    [all...]
  /frameworks/support/core/ktx/src/main/java/androidx/core/graphics/drawable/
Icon.kt 22 import android.graphics.drawable.Icon
27 * Create an [Icon] from this adaptive [Bitmap].
29 * @see Icon.createWithAdaptiveBitmap
32 inline fun Bitmap.toAdaptiveIcon(): Icon = Icon.createWithAdaptiveBitmap(this)
35 * Create an [Icon] from this [Bitmap].
37 * @see Icon.createWithBitmap
40 inline fun Bitmap.toIcon(): Icon = Icon.createWithBitmap(this)
43 * Create an [Icon] from this [Uri]
    [all...]
  /external/pdfium/fxjs/
cjs_icon.cpp 22 pEngine->DefineObj("Icon", FXJSOBJTYPE_DYNAMIC,
23 JSConstructor<CJS_Icon, Icon>, JSDestructor<CJS_Icon>);
27 Icon::Icon(CJS_Object* pJSObject)
30 Icon::~Icon() {}
32 CJS_Return Icon::get_name(CJS_Runtime* pRuntime) {
36 CJS_Return Icon::set_name(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp) {
cjs_icon.h 12 class Icon : public CJS_EmbedObj {
14 explicit Icon(CJS_Object* pJSObject);
15 ~Icon() override;
35 JS_STATIC_PROP(name, name, Icon);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowIcon.java 7 import android.graphics.drawable.Icon;
15 @Implements(value = Icon.class, minSdk = M)
19 private Icon realIcon;
24 return directlyOn(realIcon, Icon.class).getType();
30 return directlyOn(realIcon, Icon.class).getResId();
36 return directlyOn(realIcon, Icon.class).getBitmap();
42 return directlyOn(realIcon, Icon.class).getUri();
48 return directlyOn(realIcon, Icon.class).getDataLength();
54 return directlyOn(realIcon, Icon.class).getDataOffset();
60 return directlyOn(realIcon, Icon.class).getDataBytes()
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
IconTest.java 34 import android.graphics.drawable.Icon;
60 private Icon mIcon;
74 Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)));
81 verifyIconValidity(Icon.createWithData(data, 0, 4));
91 verifyIconValidity(Icon.createWithFilePath(file.getPath()));
93 verifyIconValidity(Icon.createWithContentUri(Uri.fromFile(file)));
95 verifyIconValidity(Icon.createWithContentUri(file.toURI().toString()));
103 verifyIconValidity(Icon.createWithResource(mActivity, R.drawable.bmp_test));
105 verifyIconValidity(Icon.createWithResource(
111 mIcon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888))
138 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); local
146 Icon icon = Icon.createWithData(data, 0, 4); local
158 Icon icon = Icon.createWithFilePath(file.getPath()); local
176 Icon icon = Icon.createWithResource("com.android.cts.testpkg", R.drawable.bmp_test); local
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowIconTest.java 8 import android.graphics.drawable.Icon;
26 Icon icon = Icon.createWithResource(RuntimeEnvironment.application, android.R.drawable.ic_delete); local
27 assertThat(shadowOf(icon).getType()).isEqualTo(TYPE_RESOURCE);
28 assertThat(shadowOf(icon).getResId()).isEqualTo(android.R.drawable.ic_delete);
34 Icon icon = Icon.createWithBitmap(bitmap); local
35 assertThat(shadowOf(icon).getType()).isEqualTo(TYPE_BITMAP)
42 Icon icon = Icon.createWithData(data, 100, 200); local
52 Icon icon = Icon.createWithContentUri(uri); local
    [all...]
  /external/smali/smalidea/src/main/java/org/jf/smalidea/
SmaliIcons.java 39 public static final Icon SmaliIcon = IconLoader.getIcon("/icons/smali.png");
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
IconCache.java 21 import android.graphics.drawable.Icon;
27 * Icon cache to avoid multiple loads on the same icon.
32 final ArrayMap<Icon, Drawable> mMap = new ArrayMap<>();
38 public Drawable getIcon(Icon icon) {
39 if (icon == null) {
42 Drawable drawable = mMap.get(icon);
44 drawable = icon.loadDrawable(mContext);
45 updateIcon(icon, drawable)
    [all...]
  /frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/
MessagingBuilder.java 21 import android.graphics.drawable.Icon;
46 * Add the icon used to display contact in the messaging experience
49 void addSource(Icon source);
  /cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/
ShortcutManagerPostUpgradeTest.java 21 import android.graphics.drawable.Icon;
50 final Icon icon1 = Icon.createWithResource(getContext(), R.drawable.black_32x32);
51 final Icon icon2 = Icon.createWithResource(getContext(), R.drawable.black_64x64);
ShortcutManagerPreUpgradeTest.java 23 import android.graphics.drawable.Icon;
36 final Icon icon1 = Icon.createWithResource(getContext(), R.drawable.black_32x32);
37 final Icon icon2 = Icon.createWithResource(getContext(), R.drawable.black_64x64);
  /developers/build/prebuilts/gradle/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/
IconProviderService.java 21 import android.graphics.drawable.Icon;
57 Icon.createWithResource(
63 // This case includes a burn-in protection icon. If the screen uses burn-in
64 // protection, that icon (which avoids solid blocks of color) should be shown in
68 .setIcon(Icon.createWithResource(this, R.drawable.ic_battery))
70 Icon.createWithResource(
79 Icon.createWithResource(
  /developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/src/main/java/com/example/android/wearable/wear/wearcomplicationproviderstestsuite/
IconProviderService.java 21 import android.graphics.drawable.Icon;
57 Icon.createWithResource(
63 // This case includes a burn-in protection icon. If the screen uses burn-in
64 // protection, that icon (which avoids solid blocks of color) should be shown in
68 .setIcon(Icon.createWithResource(this, R.drawable.ic_battery))
70 Icon.createWithResource(
79 Icon.createWithResource(
  /frameworks/base/core/java/android/printservice/
CustomPrinterIconCallback.java 21 import android.graphics.drawable.Icon;
37 * Create a callback class to be used once a icon is loaded
39 * @param printerId The printer the icon should be loaded for
48 * Provide a new icon for a printer. Can be called more than once to update the icon.
50 * @param icon The new icon for the printer or null to unset the current icon
51 * @return true iff the icon could be updated
53 public boolean onCustomPrinterIconLoaded(@Nullable Icon icon)
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
GrantPermissionsViewHandler.java 19 import android.graphics.drawable.Icon;
60 * @param icon the icon representation of the current group
64 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon,
  /frameworks/base/core/java/android/print/
IPrintSpoolerCallbacks.aidl 19 import android.graphics.drawable.Icon;
39 * Deliver the result of a request of a custom printer icon.
41 * @param icon the icon that was retrieved, or null if no icon could be
43 * @param sequence the sequence number of the call to get the icon
45 void onGetCustomPrinterIconResult(in Icon icon, int sequence);
48 * Declare that the print spooler cached a custom printer icon.
50 * @param sequence the sequence number of the call to cache the icon
    [all...]
  /frameworks/base/core/java/android/service/quicksettings/
IQSService.aidl 19 import android.graphics.drawable.Icon;
28 void updateStatusIcon(in IBinder tile, in Icon icon,
  /frameworks/base/core/proto/android/content/
clipdata.proto 33 message Icon {
39 optional Icon icon = 2;
  /frameworks/base/core/java/com/android/internal/statusbar/
StatusBarIcon.java 19 import android.graphics.drawable.Icon;
28 public Icon icon; field in class:StatusBarIcon
34 public StatusBarIcon(UserHandle user, String resPackage, Icon icon, int iconLevel, int number,
36 if (icon.getType() == Icon.TYPE_RESOURCE
37 && TextUtils.isEmpty(icon.getResPackage())) {
38 // This is an odd situation where someone's managed to hand us an icon without a
41 icon = Icon.createWithResource(resPackage, icon.getResId())
    [all...]
  /cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
ShortcutManagerPreBackupTest.java 27 import android.graphics.drawable.Icon;
33 final Icon icon1 = Icon.createWithBitmap(BitmapFactory.decodeResource(
35 final Icon icon3 = Icon.createWithResource(getContext(), R.drawable.black_64x16);
  /cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/
ShortcutManagerPreBackupTest.java 27 import android.graphics.drawable.Icon;
33 final Icon icon1 = Icon.createWithBitmap(BitmapFactory.decodeResource(
35 final Icon icon3 = Icon.createWithResource(getContext(), R.drawable.black_64x16);
  /cts/hostsidetests/shortcuts/deviceside/backup/publisher3/src/android/content/pm/cts/shortcut/backup/publisher3/
ShortcutManagerPreBackupTest.java 27 import android.graphics.drawable.Icon;
33 final Icon icon1 = Icon.createWithBitmap(BitmapFactory.decodeResource(
35 final Icon icon3 = Icon.createWithResource(getContext(), R.drawable.black_64x16);
  /cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
ShortcutManagerPreBackupTest.java 27 import android.graphics.drawable.Icon;
33 final Icon icon1 = Icon.createWithBitmap(BitmapFactory.decodeResource(
35 final Icon icon3 = Icon.createWithResource(getContext(), R.drawable.black_64x16);

Completed in 3755 milliseconds

1 2 3 4 5 6 7 8 91011>>