HomeSort by relevance Sort by last modified time
    Searched defs:Resources (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/guava/guava/src/com/google/common/io/
Resources.java 36 * Provides utility methods for working with resources in the classpath.
38 * are usually not appropriate for HTTP or other non-classpath resources.
48 public final class Resources {
49 private Resources() {}
92 return "Resources.asByteSource(" + url + ")";
171 * {@code Resources.asCharSource(url, charset).readLines()}.
214 * resources from the class path. In environments where different threads can
220 * loader that loaded this class ({@code Resources}) will be used instead.
227 Resources.class.getClassLoader());
  /external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
SkPdfType1PatternDictionary_autogen.cpp 95 SkPdfResourceDictionary* SkPdfType1PatternDictionary::Resources(SkPdfNativeDoc* doc) {
96 SkPdfNativeObject* ret = get("Resources", "");
104 return get("Resources", "") != NULL;
SkPdfType3FontDictionary_autogen.cpp 151 SkPdfResourceDictionary* SkPdfType3FontDictionary::Resources(SkPdfNativeDoc* doc) {
152 SkPdfNativeObject* ret = get("Resources", "");
160 return get("Resources", "") != NULL;
SkPdfType1FormDictionary_autogen.cpp 95 SkPdfResourceDictionary* SkPdfType1FormDictionary::Resources(SkPdfNativeDoc* doc) {
96 SkPdfNativeObject* ret = get("Resources", "");
104 return get("Resources", "") != NULL;
SkPdfPageObjectDictionary_autogen.cpp 47 SkPdfResourceDictionary* SkPdfPageObjectDictionary::Resources(SkPdfNativeDoc* doc) {
48 SkPdfNativeObject* ret = get("Resources", "");
56 return get("Resources", "") != NULL;
  /packages/apps/Dialer/tests/src/com/android/dialer/util/
LocaleTestUtils.java 21 import android.content.res.Resources;
87 mSavedSystemLocale = setResourcesLocale(Resources.getSystem(), locale);
101 setResourcesLocale(Resources.getSystem(), mSavedSystemLocale);
106 * Sets the locale for the given resources and returns the previous locale.
108 * @param resources the resources on which to set the locale
110 * @return the previous value of the locale for the resources
112 private Locale setResourcesLocale(Resources resources, Locale locale) {
113 Configuration contextConfiguration = new Configuration(resources.getConfiguration())
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
ResourcesTest.java 40 * Unit test for {@link Resources}.
48 suite.addTest(ByteSourceTester.tests("Resources.asByteSource[URL]",
50 suite.addTest(CharSourceTester.tests("Resources.asCharSource[URL, Charset]",
58 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8));
59 ASSERT.that(Resources.toString(resource, Charsets.US_ASCII))
64 byte[] data = Resources.toByteArray(classfile(Resources.class));
73 Resources.readLines(resource, Charsets.UTF_8));
92 List<String> result = Resources.readLines(resource, Charsets.US_ASCII,
102 Resources.copy(resource, out)
    [all...]
  /frameworks/base/rs/java/android/renderscript/
ScriptC.java 19 import android.content.res.Resources;
56 * @param resources
59 protected ScriptC(RenderScript rs, Resources resources, int resourceID) {
61 long id = internalCreate(rs, resources, resourceID);
94 private static synchronized long internalCreate(RenderScript rs, Resources resources, int resourceID) {
97 InputStream is = resources.openRawResource(resourceID);
120 throw new Resources.NotFoundException();
123 String resName = resources.getResourceEntryName(resourceID)
    [all...]
Program.java 24 import android.content.res.Resources;
242 * @param resources application resources
247 public BaseProgramBuilder setShader(Resources resources, int resourceID) {
250 InputStream is = resources.openRawResource(resourceID);
273 throw new Resources.NotFoundException();
  /frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
ScriptC.java 20 import android.content.res.Resources;
54 * @param resources
57 protected ScriptC(RenderScript rs, Resources resources, int resourceID) {
59 long id = internalCreate(rs, resources, resourceID);
88 private static synchronized long internalCreate(RenderScript rs, Resources resources, int resourceID) {
91 InputStream is = resources.openRawResource(resourceID);
114 throw new Resources.NotFoundException();
117 String resName = resources.getResourceEntryName(resourceID)
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
jsr250-api-1.0.jar 
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResources.java 5 import android.content.res.Resources;
30 * Shadow of {@code Resources} that simulates the loading of resources
35 @Implements(Resources.class)
42 static Resources bind(Resources resources, ResourceLoader resourceLoader) {
43 ShadowResources shadowResources = shadowOf(resources);
46 return resources;
50 Resources realResources
    [all...]
  /frameworks/base/core/java/android/app/
ResourcesManager.java 25 import android.content.res.Resources;
45 private final ArrayMap<ResourcesKey, WeakReference<Resources> > mActiveResources =
148 * Creates the top level Resources for applications with the given compatibility info.
158 Resources getTopLevelResources(String resDir, String[] splitResDirs,
165 Resources r;
167 // Resources is app scale dependent.
170 WeakReference<Resources> wr = mActiveResources.get(key);
174 if (DEBUG) Slog.w(TAG, "Returning cached resources " + r + " " + resDir
182 // Log.w(TAG, "Throwing away out-of-date resources!!!! "
187 // resDir can be null if the 'android' package is creating a new Resources object
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallTypeIconsView.java 45 private Resources mResources;
55 mResources = new Resources(context);
151 private static class Resources {
190 public Resources(Context context) {
191 final android.content.res.Resources r = context.getResources();
  /prebuilts/tools/common/m2/repository/javax/annotation/javax.annotation-api/1.2/
javax.annotation-api-1.2.jar 
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizeTabHost.java 24 import android.content.res.Resources;
107 if (tabs == null || mAppsCustomizePane == null) throw new Resources.NotFoundException();
206 final Resources res = getResources();
  /cts/tests/tests/content/src/android/content/res/cts/
ResourcesTest.java 29 import android.content.res.Resources;
30 import android.content.res.Resources.NotFoundException;
54 private Resources mResources;
70 final Resources r = new Resources(am, dm, cfg);
89 XmlUtils.beginDocument(parser, "resources");
116 private Resources getResources(final Configuration config, final int mcc, final int mnc,
133 return new Resources(assmgr, metrics, config);
136 private static void checkGetText1(final Resources res, final int resId,
147 private static void checkGetText2(final Resources res, final int resId
    [all...]
  /frameworks/base/core/java/com/google/android/util/
AbstractMessageParser.java 39 * Interface representing the set of resources needed by a message parser
43 public static interface Resources {
64 protected abstract Resources getResources();
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
BridgeContext.java 33 import com.android.resources.ResourceType;
58 import android.content.res.Resources;
59 import android.content.res.Resources.Theme;
106 * Custom implementation of Context/Activity to handle non compiled resources.
120 private Resources mSystemResources;
131 private Resources.Theme mTheme;
180 * @param renderResources the configured resources (both framework and projects) for this
212 * Initializes the {@link Resources} singleton to be linked to this {@link Context}, its
230 * Disposes the {@link Resources} singleton.
489 public Resources getResources()
    [all...]
  /frameworks/base/core/java/android/content/res/
Resources.java 74 * Class for accessing an application's resources. This sits on top of the
79 * application. You can use this class to access your application's resources. You can generally
80 * acquire the {@link android.content.res.Resources} instance associated with your application
83 * <p>The Android SDK tools compile your application's resources into the application binary
87 * code to access the resources.</p>
89 * <p>Using application resources makes it easy to update various characteristics of your
91 * resources&mdash;enables you to optimize your application for a variety of device configurations
95 * <p>For more information about using resources, see the documentation about <a
96 * href="{@docRoot}guide/topics/resources/index.html">Application Resources</a>.</p
    [all...]
  /prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.report/0.7.1.201405082137/
org.jacoco.report-0.7.1.201405082137.jar 
  /prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.report/0.7.3.201501221555/
org.jacoco.report-0.7.3.201501221555.jar 
  /prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.report/0.7.4.201502262128/
org.jacoco.report-0.7.4.201502262128.jar 
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
ndis.h     [all...]
  /prebuilts/tools/common/m2/repository/org/jacoco/org.jacoco.ant/0.7.1.201405082137/
org.jacoco.ant-0.7.1.201405082137-nodeps.jar 

Completed in 2168 milliseconds

1 2 3 4