Searched refs:resourceUrlFromName (Results 1 - 2 of 2) sorted by relevance
/frameworks/layoutlib/bridge/tests/src/android/content/res/ |
H A D | Resources_DelegateTest.java | 42 public void resourceUrlFromName() { method in class:Resources_DelegateTest 44 Resources_Delegate.resourceUrlFromName("pkg:name", null, null); 49 assertNull(Resources_Delegate.resourceUrlFromName("package:invalid/name", null, null)); 50 assertNull(Resources_Delegate.resourceUrlFromName("package:name", "invalid", null)); 52 Resources_Delegate.resourceUrlFromName("package:name", "id", null)); 54 Resources_Delegate.resourceUrlFromName("name", "id", "package")); 56 Resources_Delegate.resourceUrlFromName("package:string/test", null, null)); 58 Resources_Delegate.resourceUrlFromName("string/test", null, null)); 63 Resources_Delegate.resourceUrlFromName("p1:string/r1", "id", "p2")); 65 Resources_Delegate.resourceUrlFromName("strin [all...] |
/frameworks/layoutlib/bridge/src/android/content/res/ |
H A D | Resources_Delegate.java | 1019 static ResourceUrl resourceUrlFromName(@NonNull String name, @Nullable String defType, method in class:Resources_Delegate 1070 ResourceUrl url = resourceUrlFromName(name, defType, defPackage);
|
Completed in 109 milliseconds