Home
last modified time | relevance | path

Searched defs:resId (Results 1 – 25 of 82) sorted by relevance

1234

/external/robolectric/resources/src/main/java/org/robolectric/res/
DResourceIds.java7 public static boolean isFrameworkResource(int resId) { in isFrameworkResource()
11 public static int getPackageIdentifier(int resId) { in getPackageIdentifier()
15 public static int getTypeIdentifier(int resId) { in getTypeIdentifier()
19 public static int getEntryIdentifier(int resId) { in getEntryIdentifier()
DRoutingResourceTable.java23 @Override public InputStream getRawValue(int resId, ResTable_config config) { in getRawValue()
32 @Override public TypedResource getValue(int resId, ResTable_config config) { in getValue()
67 private PackageResourceTable pickFor(int resId) { in pickFor()
DResourceTable.java14 TypedResource getValue(int resId, ResTable_config config); in getValue()
22 InputStream getRawValue(int resId, ResTable_config config); in getRawValue()
DPackageResourceTable.java63 public TypedResource getValue(int resId, ResTable_config config) { in getValue()
100 public InputStream getRawValue(int resId, ResTable_config config) { in getRawValue()
109 void addResource(int resId, String type, String name) { in addResource()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceIds.java7 public static boolean isFrameworkResource(int resId) { in isFrameworkResource()
11 public static int getPackageIdentifier(int resId) { in getPackageIdentifier()
15 public static int getTypeIdentifier(int resId) { in getTypeIdentifier()
19 public static int getEntryIdentifier(int resId) { in getEntryIdentifier()
DRoutingResourceTable.java23 @Override public InputStream getRawValue(int resId, ResTable_config config) { in getRawValue()
32 @Override public TypedResource getValue(int resId, ResTable_config config) { in getValue()
67 private PackageResourceTable pickFor(int resId) { in pickFor()
DResourceTable.java14 TypedResource getValue(int resId, ResTable_config config); in getValue()
22 InputStream getRawValue(int resId, ResTable_config config); in getRawValue()
DPackageResourceTable.java62 public TypedResource getValue(int resId, ResTable_config config) { in getValue()
99 public InputStream getRawValue(int resId, ResTable_config config) { in getRawValue()
108 void addResource(int resId, String type, String name) { in addResource()
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeImageDecoderTest.java33 public final int resId; field in ShadowNativeImageDecoderTest.Record
42 int resId, in Record()
77 private static byte[] getAsByteArray(int resId, int offset, int extra) { in getAsByteArray()
83 static byte[] getAsByteArray(int resId) { in getAsByteArray()
87 static void writeToStream(OutputStream output, int resId, int offset, int extra) { in writeToStream()
110 private ByteBuffer getAsByteBufferWrap(int resId) { in getAsByteBufferWrap()
115 private ByteBuffer getAsDirectByteBuffer(int resId) { in getAsDirectByteBuffer()
123 private ByteBuffer getAsReadOnlyByteBuffer(int resId) { in getAsReadOnlyByteBuffer()
DShadowNativeBitmapFactoryTest.java293 private void decodeResourceWithReuse(Bitmap reuse, int resId, boolean hasAlpha) { in decodeResourceWithReuse()
504 private static InputStream obtainInputStream(int resId) { in obtainInputStream()
517 static String obtainPath(int resId, long offset) throws IOException { in obtainPath()
528 static File obtainFile(int resId, long offset) throws IOException { in obtainFile()
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java219 int resId = resourceEntry.getResourceId(); in getColor() local
263 int resId = resourceEntry.getResourceId(); in getDrawable() local
307 int resId = resourceEntry.getResourceId(); in getString() local
338 int resId = resourceEntry.getResourceId(); in getStringArray() local
373 int resId = resourceEntry.getResourceId(); in getBoolean() local
418 int resId = resourceEntry.getResourceId(); in getDimension() local
466 int resId = resourceEntry.getResourceId(); in getFraction() local
499 int resId = resourceEntry.getResourceId(); in getInteger() local
533 int resId = resourceEntry.getResourceId(); in getIllustrationResourceEntry() local
950 private static TypedValue getTypedValueFromResource(Resources resource, int resId, int type) { in getTypedValueFromResource()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSoundPool.java74 protected int load(Context context, int resId, int priority) { in load()
102 public void notifyResourceLoaded(int resId, boolean success) { in notifyResourceLoaded()
128 public boolean wasResourcePlayed(int resId) { in wasResourcePlayed()
149 public List<Playback> getResourcePlaybacks(int resId) { in getResourcePlaybacks()
163 private boolean idIsForResource(int soundId, int resId) { in idIsForResource()
DShadowLegacyAssetManager.java339 public CharSequence[] getResourceTextArray(int resId) { in getResourceTextArray()
592 …protected XmlResourceParser loadXmlResourceParser(int resId, String type) throws Resources.NotFoun… in loadXmlResourceParser()
730 public int[] getArrayIntResource(int resId) { in getArrayIntResource()
743 protected int[] getResourceIntArray(int resId) { in getResourceIntArray()
762 protected TypedArray getTypedArrayResource(Resources resources, int resId) { in getTypedArrayResource()
771 …vate TypedArray getTypedArray(Resources resources, List<TypedResource> typedResources, int resId) { in getTypedArray()
968 protected void applyStyleToTheme(long themePtr, int resId, boolean force) { in applyStyleToTheme()
1014 Style resolveStyle(int resId, Style themeStyleSet) { in resolveStyle()
1029 private TypedResource getAndResolve(int resId, ResTable_config config, boolean resolveRefs) { in getAndResolve()
1037 TypedResource resolve(TypedResource value, ResTable_config config, int resId) { in resolve()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSoundPool.java88 protected int load(Context context, int resId, int priority) { in load()
116 public void notifyResourceLoaded(int resId, boolean success) { in notifyResourceLoaded()
142 public boolean wasResourcePlayed(int resId) { in wasResourcePlayed()
163 public List<Playback> getResourcePlaybacks(int resId) { in getResourcePlaybacks()
177 private boolean idIsForResource(int soundId, int resId) { in idIsForResource()
DShadowLegacyAssetManager.java335 public CharSequence[] getResourceTextArray(int resId) { in getResourceTextArray()
591 …protected XmlResourceParser loadXmlResourceParser(int resId, String type) throws Resources.NotFoun… in loadXmlResourceParser()
763 public int[] getArrayIntResource(int resId) { in getArrayIntResource()
776 protected int[] getResourceIntArray(int resId) { in getResourceIntArray()
795 protected TypedArray getTypedArrayResource(Resources resources, int resId) { in getTypedArrayResource()
804 …vate TypedArray getTypedArray(Resources resources, List<TypedResource> typedResources, int resId) { in getTypedArray()
1022 protected void applyStyleToTheme(long themePtr, int resId, boolean force) { in applyStyleToTheme()
1084 Style resolveStyle(int resId, Style themeStyleSet) { in resolveStyle()
1104 private TypedResource getAndResolve(int resId, ResTable_config config, boolean resolveRefs) { in getAndResolve()
1112 TypedResource resolve(TypedResource value, ResTable_config config, int resId) { in resolve()
[all …]
DShadowResources.java115 protected String getQuantityString(int resId, int quantity) throws Resources.NotFoundException { in getQuantityString()
213 protected XmlResourceParser loadXmlResourceParser(int resId, String type) in loadXmlResourceParser()
449 XmlResourceParser loadXmlResourceParser(int resId, String type); in loadXmlResourceParser()
467 String getQuantityString(int resId, int quantity); in getQuantityString()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/media2/src/androidTest/java/com/google/android/exoplayer2/ext/media2/
DTestUtils.java41 public static UriMediaItem createMediaItem(int resId) { in createMediaItem()
59 public static void loadResource(int resId, SessionPlayer sessionPlayer) throws Exception { in loadResource()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/media2/src/androidTest/java/com/google/android/exoplayer2/ext/media2/
DTestUtils.java41 public static UriMediaItem createMediaItem(int resId) { in createMediaItem()
59 public static void loadResource(int resId, SessionPlayer sessionPlayer) throws Exception { in loadResource()
/external/setupcompat/main/aidl/com/google/android/setupcompat/portal/
DIPortalProgressCallback.aidl60 Bundle setComplete(int resId, int quantity, in int[] formatArgs) = 4; in setComplete()
71 Bundle setFailure(int resId, int quantity, in int[] formatArgs) = 5; in setFailure()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/res/
DNullResourceTable.java23 public TypedResource getValue(int resId, ResTable_config config) { in getValue()
47 public InputStream getRawValue(int resId, ResTable_config config) { in getRawValue()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DThemeHelper.java191 @StyleRes int resId = 0; in getDynamicColorTheme() local
293 @StyleRes int resId = getDynamicColorTheme(context); in trySetDynamicColor() local
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DFallbackThemeWrapper.java47 protected void onApplyThemeResource(Theme theme, int resId, boolean first) { in onApplyThemeResource()
/external/robolectric/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilder.java22 AttributeSetBuilder addAttribute(@IdRes int resId, String value); in addAttribute()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilder.java22 AttributeSetBuilder addAttribute(@IdRes int resId, String value); in addAttribute()
/external/setupcompat/main/java/com/google/android/setupcompat/template/
DFooterButtonInflater.java53 public FooterButton inflate(int resId) { in inflate()

1234