HomeSort by relevance Sort by last modified time
    Searched refs:Resources (Results 276 - 300 of 2334) sorted by null

<<11121314151617181920>>

  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_CommonDataKinds_RelationTest.java 19 import android.content.res.Resources;
25 private Resources mResources;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
RSBase.java 20 import android.content.res.Resources;
35 Resources mRes;
  /cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
RSBase.java 20 import android.content.res.Resources;
34 Resources mRes;
  /cts/tests/tests/rsblas/src/android/renderscript/cts/
RSBase.java 20 import android.content.res.Resources;
34 Resources mRes;
  /developers/build/prebuilts/gradle/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/
MainActivity.java 20 import android.content.res.Resources;
34 final Resources res = getResources();
  /developers/samples/android/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/
MainActivity.java 20 import android.content.res.Resources;
34 final Resources res = getResources();
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ResourcesSample.java 19 // Need the following import to get access to the app resources, since this
25 import android.content.res.Resources;
31 * Demonstration of loading resources.
34 * Each context has a resources object that you can access. Additionally,
46 // See res/any/layout/resources.xml for this view layout definition.
47 setContentView(R.layout.resources);
68 // ====== Using the Resources object =================================
75 // Get the Resources object from our context
76 Resources res = context.getResources();
83 // Note that the Resources class has methods like getColor()
    [all...]
  /development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
MainActivity.java 20 import android.content.res.Resources;
34 final Resources res = getResources();
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
RelayController.java 3 import android.content.res.Resources;
24 Resources res) {
  /external/flatbuffers/tests/FlatBuffers.Test/
NetTest.sh 8 rm Resources/monsterdata_cstest.mon
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
TablePage.java 22 import org.jacoco.report.internal.html.resources.Resources;
68 context.getResources().getLink(folder, Resources.SORT_SCRIPT));
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowImageViewTest.java 6 import android.content.res.Resources;
22 Resources resources = RuntimeEnvironment.application.getResources(); local
23 Bitmap bitmap = BitmapFactory.decodeResource(resources, R.drawable.an_image);
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowStateListDrawable.java 3 import android.content.res.Resources;
37 public void inflate(Resources r, XmlPullParser parser, AttributeSet attrs) throws XmlPullParserException, IOException {
  /frameworks/base/core/tests/benchmarks/src/android/content/res/
ResourcesBenchmark.java 32 private Resources mRes;
43 mRes = new Resources(mAsset, null, null);
  /frameworks/base/core/tests/coretests/src/android/graphics/
ColorStateListTest.java 20 import android.content.res.Resources;
32 private Resources mResources;
  /frameworks/base/core/tests/overlaytests/host/test-apps/UpdateOverlay/src/com/android/server/om/hosttest/update_overlay_test/
UpdateOverlayTest.java 21 import android.content.res.Resources;
35 private Resources mResources;
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DemoPresentation.java 24 import android.content.res.Resources;
37 * own {@link Context} whenever we load resources.
57 // Get the resources for the context of the presentation.
58 // Notice that we are getting the resources from the context of the presentation.
59 Resources r = getContext().getResources();
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewLayersActivity3.java 21 import android.content.res.Resources;
56 final Resources r = getContext().getResources();
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
BoundsCheckTest.java 21 import android.content.res.Resources;
42 Resources res = c.getResources();
  /frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
ArraysCheckWidget.java 20 import android.content.res.Resources;
26 * A widget to test obtaining arrays from resources.
39 Resources resources = context.getResources(); local
40 for (CharSequence chars : resources.getTextArray(R.array.array)) {
43 for (int i : resources.getIntArray(R.array.int_array)) {
46 for (String string : resources.getStringArray(R.array.string_array)) {
  /frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/
DimensionConsistencyTest.java 23 import android.content.res.Resources;
52 final Resources res = mContext.getResources();
  /frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
SimpleInflaterTest.java 22 import android.content.res.Resources;
49 protected TestInflater(@NonNull Resources resources) {
50 super(resources);
  /frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
LaunchTest.java 19 import android.content.res.Resources;
28 LaunchTest(RenderScript rs, Resources res) {
  /frameworks/rs/tests/java_api/LatencyBenchmark/src/com/example/android/rs/computebench/
Benchmark.java 19 import android.content.res.Resources;
28 public Benchmark(RenderScript rs, Resources res) {
  /frameworks/support/compat/src/main/java/androidx/core/view/
PointerIconCompat.java 24 import android.content.res.Resources;
171 * @param resources The resources object.
175 * @throws IllegalArgumentException if resources is null.
176 * @throws Resources.NotFoundException if the resource was not found or the drawable
179 public static PointerIconCompat load(Resources resources, int resourceId) {
181 return new PointerIconCompat(PointerIcon.load(resources, resourceId));

Completed in 1661 milliseconds

<<11121314151617181920>>