Home
last modified time | relevance | path

Searched refs:assetDir (Results 1 – 8 of 8) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DManifestIdentifier.java13 private final FsFile assetDir; field in ManifestIdentifier
19 FsFile manifestFile, FsFile resDir, FsFile assetDir, in ManifestIdentifier() argument
21 this(packageName, manifestFile, resDir, assetDir, libraries, null); in ManifestIdentifier()
25 FsFile manifestFile, FsFile resDir, FsFile assetDir, in ManifestIdentifier() argument
29 this.assetDir = assetDir; in ManifestIdentifier()
39 public ManifestIdentifier(FsFile manifestFile, FsFile resDir, FsFile assetDir, String packageName, in ManifestIdentifier() argument
43 this.assetDir = assetDir; in ManifestIdentifier()
70 return assetDir; in getAssetDir()
104 if (assetDir != null ? !assetDir.equals(that.assetDir) : that.assetDir != null) { in equals()
120 result = 31 * result + (assetDir != null ? assetDir.hashCode() : 0); in hashCode()
[all …]
DMavenManifestFactory.java45 final FsFile assetDir = baseDir.join(config.assetDir()); in identify() local
64 return new ManifestIdentifier(config.packageName(), manifestFile, resDir, assetDir, libraries); in identify()
DDefaultManifestFactory.java43 if (!Config.DEFAULT_ASSET_FOLDER.equals(config.assetDir())) { in identify()
44 assetsDir = resolveFile(config.assetDir()); in identify()
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java143 String assetDir() default DEFAULT_ASSET_FOLDER; in assetDir() method
177 private final String assetDir; field in Config.Implementation
279 String assetDir, in Implementation() argument
291 this.assetDir = assetDir; in Implementation()
341 public String assetDir() { in assetDir() method in Config.Implementation
342 return assetDir; in assetDir()
374 protected String assetDir = Config.DEFAULT_ASSET_FOLDER; field in Config.Builder
391 assetDir = config.assetDir(); in Builder()
433 public Builder setAssetDir(String assetDir) { in setAssetDir() argument
434 this.assetDir = assetDir; in setAssetDir()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigMergerTest.java436 assertThat(config.assetDir()).isEqualTo(assetsDir);
453 assetDir = "test/assets")
475 assetDir = "method/assets")
501 assetDir = "method/assets")
536 assetDir = "method5/assets")
DConfigTest.java23 assertThat(defaults.assetDir()).isEqualTo("assets"); in testDefaults()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypeface.java68 for (FsFile assetDir : assetDirs) { in createFromAsset()
69 FsFile[] files = assetDir.listFiles(new StartsWith(path)); in createFromAsset()
70 FsFile assetFile = assetDir.join(path); in createFromAsset()
DShadowLegacyAssetManager.java403 for (FsFile assetDir : getAllAssetDirs()) { in findAssetFile()
404 FsFile assetFile = assetDir.join(fileName); in findAssetFile()