HomeSort by relevance Sort by last modified time
    Searched refs:DRAWABLE (Results 1 - 10 of 10) sorted by null

  /external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
PartnerConfig.java 24 CONFIG_STATUS_BAR_BACKGROUND(PartnerConfigKey.KEY_STATUS_BAR_BACKGROUND, ResourceType.DRAWABLE),
47 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_ADD_ANOTHER, ResourceType.DRAWABLE),
51 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_CANCEL, ResourceType.DRAWABLE),
55 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_CLEAR, ResourceType.DRAWABLE),
59 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_DONE, ResourceType.DRAWABLE),
63 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_NEXT, ResourceType.DRAWABLE),
67 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_OPT_IN, ResourceType.DRAWABLE),
71 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_SKIP, ResourceType.DRAWABLE),
75 PartnerConfigKey.KEY_FOOTER_BUTTON_ICON_STOP, ResourceType.DRAWABLE),
147 DRAWABLE,
    [all...]
PartnerConfigHelper.java 24 import android.graphics.drawable.Drawable;
111 * Returns the {@code Drawable} of given {@code resourceConfig}, or {@code null} if the given
113 * resourceConfig} is not drawable, IllegalArgumentException will be thrown.
119 public Drawable getDrawable(@NonNull Context context, PartnerConfig resourceConfig) {
120 if (resourceConfig.getResourceType() != ResourceType.DRAWABLE) {
121 throw new IllegalArgumentException("Not a drawable resource");
125 return (Drawable) partnerResourceCache.get(resourceConfig);
128 Drawable result = null;
  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
FileTypedResource.java 29 super(fsFile, ResType.DRAWABLE, xmlContext);
ResourceTableFactory.java 126 .addHandler("drawable", new StaxValueLoader(resourceTable, "drawable", ResType.DRAWABLE))
127 .addHandler("item[@type='drawable']", new StaxValueLoader(resourceTable, "drawable", ResType.DRAWABLE))
128 .addHandler("item[@type='mipmap']", new StaxValueLoader(resourceTable, "mipmap", ResType.DRAWABLE))
153 loadOpaque(resourcePath, resourceTable, "drawable", ResType.DRAWABLE);
154 loadOpaque(resourcePath, resourceTable, "mipmap", ResType.DRAWABLE);
    [all...]
ResType.java 7 DRAWABLE,
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
ResourceParserTest.java 27 TypedResource value = resourceTable.getValue(new ResName("org.robolectric", "drawable", "rainbow"), config);
29 assertThat(value.getResType()).isEqualTo(ResType.DRAWABLE);
36 TypedResource value = resourceTable.getValue(new ResName("org.robolectric", "drawable", "an_image"), config);
38 assertThat(value.getResType()).isEqualTo(ResType.DRAWABLE);
45 TypedResource value = resourceTable.getValue(new ResName("org.robolectric", "drawable", "example_item_drawable"), config);
47 assertThat(value.getResType()).isEqualTo(ResType.DRAWABLE);
49 assertThat((String) value.getData()).isEqualTo("@drawable/an_image");
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ConverterTest.java 50 final TypedResource<String> resource = new TypedResource<>(" #aaaaaa ", ResType.DRAWABLE, xmlContext);
51 assertThat(Converter.getConverter(ResType.DRAWABLE).asInt(resource)).isEqualTo(-5592406);
  /development/tools/checkcolor/src/main/java/com/google/checkcolor/lint/
HardcodedColorDetector.java 100 || folderType == ResourceFolderType.DRAWABLE;
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
Converter.java 56 case DRAWABLE:
ShadowLegacyAssetManager.java 845 } else if (resType == ResType.CHAR_SEQUENCE || resType == ResType.DRAWABLE) {
    [all...]

Completed in 697 milliseconds