Home
last modified time | relevance | path

Searched refs:Resources (Results 1 – 25 of 150) sorted by relevance

123456

/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResources.java5 import android.content.res.Resources;
35 @Implements(Resources.class)
42 static Resources bind(Resources resources, ResourceLoader resourceLoader) { in bind()
50 Resources realResources;
67 public int getColor(int id) throws Resources.NotFoundException { in getColor()
84 public String getString(int id) throws Resources.NotFoundException { in getString()
89 public String getString(int id, Object... formatArgs) throws Resources.NotFoundException { in getString()
95 …public String getQuantityString(int id, int quantity, Object... formatArgs) throws Resources.NotFo… in getQuantityString()
101 public String getQuantityString(int id, int quantity) throws Resources.NotFoundException { in getQuantityString()
106 public InputStream openRawResource(int id) throws Resources.NotFoundException { in openRawResource()
[all …]
DShadowTypedArray.java3 import android.content.res.Resources;
13 public Resources getResources() { in getResources()
DShadowBitmapFactory.java3 import android.content.res.Resources;
28 public static Bitmap decodeResource(Resources res, int id) { in decodeResource()
35 public static Bitmap decodeResource(Resources res, int id, BitmapFactory.Options options) { in decodeResource()
DShadowContext.java5 import android.content.res.Resources;
60 abstract public Resources.Theme getTheme(); in getTheme()
70 int resid, int[] attrs) throws Resources.NotFoundException { in obtainStyledAttributes()
DShadowDrawable.java3 import android.content.res.Resources;
51 …public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, S… in createFromResourceStream()
56 …public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, S… in createFromResourceStream()
DShadowContextWrapper.java15 import android.content.res.Resources;
52 public Resources.Theme getTheme() { in getTheme()
57 public Resources getResources() { in getResources()
/external/guava/guava-tests/test/com/google/common/io/
DResourcesTest.java58 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); in testToString()
59 ASSERT.that(Resources.toString(resource, Charsets.US_ASCII)) in testToString()
64 byte[] data = Resources.toByteArray(classfile(Resources.class)); in testToToByteArray()
73 Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII, in testReadLines_withLineProcessor()
102 Resources.copy(resource, out); in testCopyToOutputStream()
108 Resources.getResource("no such resource"); in testGetResource_notFound()
117 Resources.getResource("com/google/common/io/testdata/i18n.txt")); in testGetResource()
122 Resources.getResource( in testGetResource_relativePath_notFound()
133 assertNotNull(Resources.getResource(getClass(), "testdata/i18n.txt")); in testGetResource_relativePath()
[all …]
/external/lzma/CS/7zip/Compress/LzmaAlone/Properties/
DResources.cs15 using System.Resources;
24 class Resources class
27 private static System.Resources.ResourceManager _resMgr;
32 internal Resources() in Resources() method in LzmaAlone.Properties.Resources
40 public static System.Resources.ResourceManager ResourceManager
46 …System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Resources", typeof(R…
/external/clang/tools/clang-format-vs/ClangFormat/
DResources.Designer.cs25 internal class Resources { class
27 private static global::System.Resources.ResourceManager resourceMan;
32 internal Resources() { in Resources() method in LLVM.ClangFormat.Resources
39 internal static global::System.Resources.ResourceManager ResourceManager {
42 …lobal::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("LLVM.…
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/
DMessages.Designer.cs27 private static global::System.Resources.ResourceManager resourceMan;
39 internal static global::System.Resources.ResourceManager ResourceManager {
42 …global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Antl…
/external/pdfium/testing/resources/
Dbug_451265.in14 /Resources 11 0 R
37 /Resources <<
49 /Resources <<
64 /Resources <<
Dnamed_dests.in24 /Resources <<
35 /Resources <<
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlLexerTest.java40 import com.google.common.io.Resources;
47 String input = Resources.toString( in testHtmlLexer()
48 Resources.getResource(getClass(), "htmllexerinput1.html"), in testHtmlLexer()
54 String golden = Resources.toString( in testHtmlLexer()
55 Resources.getResource(getClass(), "htmllexergolden1.txt"), in testHtmlLexer()
DHtmlSanitizerFuzzerTest.java38 import com.google.common.io.Resources;
62 String html = Resources.toString( in testFuzzHtmlParser()
63 Resources.getResource("Yahoo!.html"), Charsets.UTF_8); in testFuzzHtmlParser()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DResourceLoader.java5 import android.content.res.Resources;
19 private final Resources resources;
25 public ResourceLoader(Resources resources, ModelLoader<Uri, T> uriLoader) { in ResourceLoader()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/
DGlideBitmapDrawableTranscoder.java4 import android.content.res.Resources;
18 private final Resources resources;
25 public GlideBitmapDrawableTranscoder(Resources resources, BitmapPool bitmapPool) { in GlideBitmapDrawableTranscoder()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DAnalysisTest.java35 import com.google.common.io.Resources;
116 URL resUrl = Resources.getResource(resource); in findResource()
122 URL url = Resources.getResource(resource); in readResource()
123 return Resources.toString(url, Charsets.UTF_8); in readResource()
/external/pdfium/testing/resources/javascript/
Ddocument_props.in23 /Resources <<
32 /Resources <<
41 /Resources <<
50 /Resources <<
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/
DJmeAndroidSystem.java4 import android.content.res.Resources;
24 private static Resources res;
119 public static void setResources(Resources res) { in setResources()
123 public static Resources getResources() { in getResources()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java3 import android.content.res.Resources;
27 public GlideBitmapDrawable(Resources res, Bitmap bitmap) { in GlideBitmapDrawable()
31 GlideBitmapDrawable(Resources res, BitmapState state) { in GlideBitmapDrawable()
183 public Drawable newDrawable(Resources res) { in newDrawable()
/external/skia/src/svg/
DSkSVGDevice.cpp106 struct Resources { struct
107 Resources(const SkPaint& paint) in Resources() argument
288 Resources res = this->addResources(draw, paint); in AutoElement()
334 Resources addResources(const SkDraw& draw, const SkPaint& paint);
335 void addClipResources(const SkDraw& draw, Resources* resources);
336 void addShaderResources(const SkPaint& paint, Resources* resources);
338 void addPaint(const SkPaint& paint, const Resources& resources);
347 void SkSVGDevice::AutoElement::addPaint(const SkPaint& paint, const Resources& resources) { in addPaint()
392 Resources SkSVGDevice::AutoElement::addResources(const SkDraw& draw, const SkPaint& paint) { in addResources()
393 Resources resources(paint); in addResources()
[all …]
/external/guava/guava/src/com/google/common/io/
DResources.java48 public final class Resources { class
49 private Resources() {} in Resources() method in Resources
227 Resources.class.getClassLoader()); in getResource()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DResourcesTest.java16 import android.content.res.Resources;
33 private Resources resources;
42 @Test(expected = Resources.NotFoundException.class)
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/
DStubPackageManager.java17 import android.content.res.Resources;
235 …public Resources getResourcesForActivity(ComponentName activityName) throws NameNotFoundException { in getResourcesForActivity()
240 public Resources getResourcesForApplication(ApplicationInfo app) throws NameNotFoundException { in getResourcesForApplication()
245 … public Resources getResourcesForApplication(String appPackageName) throws NameNotFoundException { in getResourcesForApplication()
/external/protobuf/gtest/xcode/gtest.xcodeproj/
Dproject.pbxproj49 …404884500E2F799B00CF7658 /* README in Resources */ = {isa = PBXBuildFile; fileRef = 404883F60E2F79…
55 …404884AC0E2F7CD900CF7658 /* CHANGES in Resources */ = {isa = PBXBuildFile; fileRef = 404884A90E2F7…
56 …404884AD0E2F7CD900CF7658 /* CONTRIBUTORS in Resources */ = {isa = PBXBuildFile; fileRef = 404884AA…
57 …404884AE0E2F7CD900CF7658 /* COPYING in Resources */ = {isa = PBXBuildFile; fileRef = 404884AB0E2F7…
67 …40C84978101A36540083642A /* libgtest_main.a in Resources */ = {isa = PBXBuildFile; fileRef = 40C84…
306 40D4CF4E0E30F5E200294801 /* Resources */,
422 40D4CF4E0E30F5E200294801 /* Resources */ = {
427 path = Resources;
559 8D07F2BF0486CC7A007CD1D0 /* Resources */,
608 8D07F2BF0486CC7A007CD1D0 /* Resources */ = {
[all …]

123456