Home
last modified time | relevance | path

Searched refs:resourcePath (Results 1 – 25 of 36) sorted by relevance

12

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DResourceTableFactory.java10 public PackageResourceTable newFrameworkResourceTable(ResourcePath resourcePath) { in newFrameworkResourceTable() argument
17 if (resourcePath.getRClass() != null) { in newFrameworkResourceTable()
18 addRClassValues(resourceTable, resourcePath.getRClass()); in newFrameworkResourceTable()
19 addMissingStyleableAttributes(resourceTable, resourcePath.getRClass()); in newFrameworkResourceTable()
21 if (resourcePath.getInternalRClass() != null) { in newFrameworkResourceTable()
22 addRClassValues(resourceTable, resourcePath.getInternalRClass()); in newFrameworkResourceTable()
23 addMissingStyleableAttributes(resourceTable, resourcePath.getInternalRClass()); in newFrameworkResourceTable()
26 parseResourceFiles(resourcePath, resourceTable); in newFrameworkResourceTable()
43 for (ResourcePath resourcePath : resourcePaths) { in newResourceTable()
44 if (resourcePath.getRClass() != null) { in newResourceTable()
[all …]
DRawResourceLoader.java6 private final ResourcePath resourcePath; field in RawResourceLoader
8 public RawResourceLoader(ResourcePath resourcePath) { in RawResourceLoader() argument
9 this.resourcePath = resourcePath; in RawResourceLoader()
18 FsFile resourceBase = resourcePath.getResourceBase(); in load()
DResourceMerger.java14 for (ResourcePath resourcePath : allResourcePaths) { in buildResourceTable()
15 if (!resourcePath.equals(appResourcePath) && resourcePath.getRClass() != null) { in buildResourceTable()
16 resourceRemapper.remapRClass(resourcePath.getRClass()); in buildResourceTable()
DDrawableResourceLoader.java20 void findDrawableResources(ResourcePath resourcePath) { in findDrawableResources() argument
21 FsFile[] files = resourcePath.getResourceBase().listFiles(); in findDrawableResources()
/external/robolectric/resources/src/main/java/org/robolectric/res/
DResourceTableFactory.java11 public PackageResourceTable newFrameworkResourceTable(ResourcePath resourcePath) { in newFrameworkResourceTable() argument
18 if (resourcePath.getRClass() != null) { in newFrameworkResourceTable()
19 addRClassValues(resourceTable, resourcePath.getRClass()); in newFrameworkResourceTable()
20 addMissingStyleableAttributes(resourceTable, resourcePath.getRClass()); in newFrameworkResourceTable()
22 if (resourcePath.getInternalRClass() != null) { in newFrameworkResourceTable()
23 addRClassValues(resourceTable, resourcePath.getInternalRClass()); in newFrameworkResourceTable()
24 addMissingStyleableAttributes(resourceTable, resourcePath.getInternalRClass()); in newFrameworkResourceTable()
27 parseResourceFiles(resourcePath, resourceTable); in newFrameworkResourceTable()
44 for (ResourcePath resourcePath : resourcePaths) { in newResourceTable()
45 if (resourcePath.getRClass() != null) { in newResourceTable()
[all …]
DRawResourceLoader.java9 private final ResourcePath resourcePath; field in RawResourceLoader
11 public RawResourceLoader(ResourcePath resourcePath) { in RawResourceLoader() argument
12 this.resourcePath = resourcePath; in RawResourceLoader()
21 Path resourceBase = resourcePath.getResourceBase(); in load()
DResourceMerger.java14 for (ResourcePath resourcePath : allResourcePaths) { in buildResourceTable()
15 if (!resourcePath.equals(appResourcePath) && resourcePath.getRClass() != null) { in buildResourceTable()
16 resourceRemapper.remapRClass(resourcePath.getRClass()); in buildResourceTable()
DDrawableResourceLoader.java17 void findDrawableResources(ResourcePath resourcePath) throws IOException { in findDrawableResources() argument
18 Path[] files = Fs.listFiles(resourcePath.getResourceBase()); in findDrawableResources()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DParameterizedRobolectricTestRunnerUriTest.java21 private final String resourcePath; field in ParameterizedRobolectricTestRunnerUriTest
25 String resourcePath, in ParameterizedRobolectricTestRunnerUriTest() argument
28 this.resourcePath = resourcePath; in ParameterizedRobolectricTestRunnerUriTest()
35 assertThat(Uri.parse(basePath).buildUpon().path(resourcePath).build()).isEqualTo(expectedUri); in parse()
/external/robolectric/robolectric/src/test/java/org/robolectric/
DParameterizedRobolectricTestRunnerUriTest.java21 private final String resourcePath; field in ParameterizedRobolectricTestRunnerUriTest
25 String resourcePath, in ParameterizedRobolectricTestRunnerUriTest() argument
28 this.resourcePath = resourcePath; in ParameterizedRobolectricTestRunnerUriTest()
35 assertThat(Uri.parse(basePath).buildUpon().path(resourcePath).build()).isEqualTo(expectedUri); in parse()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java69 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithUnixJarFilePath() local
72 testLoader.findDrawableResources(resourcePath); in shouldFindDrawableResourcesWorkWithUnixJarFilePath()
92 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithUnixFilePath() local
95 testLoader.findDrawableResources(resourcePath); in shouldFindDrawableResourcesWorkWithUnixFilePath()
115 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath() local
118 testLoader.findDrawableResources(resourcePath); in shouldFindDrawableResourcesWorkWithWindowsJarFilePath()
138 ResourcePath resourcePath = new ResourcePath(null, mockTestBaseDir, null); in shouldFindDrawableResourcesWorkWithWindowsFilePath() local
141 testLoader.findDrawableResources(resourcePath); in shouldFindDrawableResourcesWorkWithWindowsFilePath()
DStyleResourceLoaderTest.java22 ResourcePath resourcePath = sdkResources(JELLY_BEAN); in setUp() local
23 resourceTable = new ResourceTableFactory().newResourceTable("android", resourcePath); in setUp()
/external/skia/tests/
DBadIcoTest.cpp39 SkString resourcePath = SkOSPath::Join(badImagesFolder, badImages[i]); in DEF_TEST() local
40 std::unique_ptr<SkStream> stream(GetResourceAsStream(resourcePath.c_str())); in DEF_TEST()
/external/clang/test/Analysis/
DMissingDealloc.m155 NSString *resourcePath; field
164 - (NSString *)resourcePath; method
169 resourcePath = [[NSBundle bundleForClass:[self class]] resourcePath];
/external/robolectric/robolectric/src/test/java/org/robolectric/res/
DDrawableResourceLoaderNoRunnerTest.java31 ResourcePath resourcePath = new ResourcePath(null, testBaseDir, null); in shouldFindDrawableResources() local
34 testLoader.findDrawableResources(resourcePath); in shouldFindDrawableResources()
DStyleResourceLoaderTest.java22 ResourcePath resourcePath = sdkResources(JELLY_BEAN); in setUp() local
23 resourceTable = new ResourceTableFactory().newResourceTable("android", resourcePath); in setUp()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java34 ResourcePath resourcePath = createRuntimeSdkResourcePath(dependencyResolver); in getSystemResourceTable() local
35 systemResourceTable = new ResourceTableFactory().newFrameworkResourceTable(resourcePath); in getSystemResourceTable()
/external/skia/infra/bots/task_drivers/run_wasm_gm_tests/
Drun_wasm_gm_tests.go35resourcePath = flag.String("resource_path", "", "The directory housing the images, fonts, and o…
62 resourceAbsPath := td.MustGetAbsolutePathOfFlag(ctx, *resourcePath, "resource_path")
194 func runTests(ctx context.Context, builtPath, nodeBinPath, resourcePath, testHarnessPath, workPath … argument
206 "--resources", resourcePath,
/external/google-breakpad/src/client/mac/testapp/
DController.m77 NSString *resourcePath = [[NSBundle bundleForClass:
78 [self class]] resourcePath];
81 execProgname = [resourcePath stringByAppendingString:@"/crashduringload"];
83 execProgname = [resourcePath stringByAppendingString:@"/crashInMain"];
/external/robolectric/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java274 private static File copyResourceToFile(String resourcePath) throws IOException { in copyResourceToFile() argument
280 InputStream jarIn = SdkStore.class.getClassLoader().getResourceAsStream(resourcePath); in copyResourceToFile()
282 throw new RuntimeException("SDK " + resourcePath + " not found"); in copyResourceToFile()
284 File outFile = new File(tempDir, new File(resourcePath).getName()); in copyResourceToFile()
/external/google-breakpad/src/client/mac/Framework/
DBreakpad.mm312 NSString *resourcePath = nil;
330 resourcePath = [bundlePath stringByAppendingPathComponent:@"Resources/"];
335 resourcePath = [bundle resourcePath];
338 return resourcePath;
539 NSString *resourcePath = nil;
541 resourcePath = GetResourcePath();
542 if (!resourcePath) {
550 [resourcePath stringByAppendingPathComponent:@"Inspector"];
561 [resourcePath
/external/skia/tools/
DResources.cpp21 static DEFINE_string2(resourcePath, i, "resources",
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java270 private static File copyResourceToFile(String resourcePath) throws IOException { in copyResourceToFile() argument
276 InputStream jarIn = SdkStore.class.getClassLoader().getResourceAsStream(resourcePath); in copyResourceToFile()
277 File outFile = new File(tempDir, new File(resourcePath).getName()); in copyResourceToFile()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRelativeDateFormat.java342 String resourcePath = "calendar/" + cal.getType() + "/DateTimePatterns"; in initializeCombinedFormat() local
343 ICUResourceBundle patternsRb= rb.findWithFallback(resourcePath); in initializeCombinedFormat()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRelativeDateFormat.java339 String resourcePath = "calendar/" + cal.getType() + "/DateTimePatterns"; in initializeCombinedFormat() local
340 ICUResourceBundle patternsRb= rb.findWithFallback(resourcePath); in initializeCombinedFormat()

12