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

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAssetManager.java 14 abstract public class ShadowAssetManager {
16 public static class Picker extends ResourceModeShadowPicker<ShadowAssetManager> {
47 public abstract static class ArscBase extends ShadowAssetManager {
ResourceModeShadowPicker.java 39 if (ShadowAssetManager.useLegacy()) {
ShadowTypedArray.java 58 if (ShadowAssetManager.useLegacy()) {
78 if (ShadowAssetManager.useLegacy()) {
ShadowResources.java 9 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
108 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets());
110 TypedResource typedResource = shadowAssetManager.getResourceTable()
111 .getValue(resId, shadowAssetManager.config);
120 TypedResource<?> resolvedTypedResource = shadowAssetManager.resolve(
122 shadowAssetManager.config, resId);
135 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets());
136 ResourceTable resourceTable = shadowAssetManager.getResourceTable();
137 InputStream inputStream = resourceTable.getRawValue(id, shadowAssetManager.config);
187 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResources.getAssets())
    [all...]
ShadowArscResourcesImpl.java 8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
89 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets());
91 TypedResource typedResource = shadowAssetManager.getResourceTable().getValue(resId, shadowAssetManager.config);
100 TypedResource<?> resolvedTypedResource = shadowAssetManager.resolve(
101 new TypedResource<>(plural.getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), shadowAssetManager.config, resId);
111 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets());
112 ResourceTable resourceTable = shadowAssetManager.getResourceTable();
113 InputStream inputStream = resourceTable.getRawValue(id, shadowAssetManager.config);
ShadowLegacyResourcesImpl.java 8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
64 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets());
66 TypedResource typedResource = shadowAssetManager.getResourceTable().getValue(resId, shadowAssetManager.config);
75 TypedResource<?> resolvedTypedResource = shadowAssetManager.resolve(
76 new TypedResource<>(plural.getString(), ResType.CHAR_SEQUENCE, pluralRules.getXmlContext()), shadowAssetManager.config, resId);
85 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets());
86 ResourceTable resourceTable = shadowAssetManager.getResourceTable();
87 InputStream inputStream = resourceTable.getRawValue(id, shadowAssetManager.config);
128 ShadowLegacyAssetManager shadowAssetManager = legacyShadowOf(realResourcesImpl.getAssets())
    [all...]
ShadowTypeface.java 66 ShadowAssetManager shadowAssetManager = Shadow.extract(mgr);
67 Collection<FsFile> assetDirs = shadowAssetManager.getAllAssetDirs();
ShadowArscAssetManager.java 66 import org.robolectric.shadows.ShadowAssetManager.Picker;
72 public class ShadowArscAssetManager extends ShadowAssetManager.ArscBase {
    [all...]
ShadowArscAssetManager10.java 82 shadowPicker = ShadowAssetManager.Picker.class)
83 public class ShadowArscAssetManager10 extends ShadowAssetManager.ArscBase {
    [all...]
ShadowArscAssetManager9.java 80 shadowPicker = ShadowAssetManager.Picker.class)
81 public class ShadowArscAssetManager9 extends ShadowAssetManager.ArscBase {
    [all...]
ShadowLegacyAssetManager.java 83 import org.robolectric.shadows.ShadowAssetManager.Picker;
90 public class ShadowLegacyAssetManager extends ShadowAssetManager {
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
ResourceTableFactoryIntegrationTest.java 5 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
DrawableResourceLoaderTest.java 10 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
ResourceLoaderTest.java 6 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowAssetManagerTest.java 8 import static org.robolectric.shadows.ShadowAssetManager.legacyShadowOf;
9 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
ShadowResourcesTest.java 5 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
Robolectric.java 3 import static org.robolectric.shadows.ShadowAssetManager.useLegacy;
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
AttributeSetBuilderImpl.java 47 import org.robolectric.shadows.ShadowAssetManager;
86 ShadowAssetManager.ArscBase shadowArscAssetManager = Shadow.extract(context.getAssets());
198 ShadowLegacyAssetManager shadowAssetManager = Shadow
200 TypedResource attrTypeData = shadowAssetManager.getAttrTypeData(attribute.resName);
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
ParallelUniverse.java 57 import org.robolectric.shadows.ShadowAssetManager;
239 if (ShadowAssetManager.useLegacy()) {

Completed in 524 milliseconds