HomeSort by relevance Sort by last modified time
    Searched refs:getResources (Results 26 - 50 of 2117) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/view/
MutateDrawable.java 34 ok.setBackgroundDrawable(getResources().getDrawable(
39 cancel.setBackgroundDrawable(getResources().getDrawable(
  /cts/tests/src/android/provider/cts/
PhotoUtil.java 29 InputStream input = context.getResources().openRawResource(R.drawable.testimage);
  /cts/tests/tests/text/src/android/text/cts/
AutoTextTest.java 34 Configuration config = getContext().getResources().getConfiguration();
37 getContext().getResources().updateConfiguration(config, null);
80 Configuration config = getContext().getResources().getConfiguration();
83 getContext().getResources().updateConfiguration(config, null);
  /external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/shell/
AwShellResourceProvider.java 19 AwResource.setResources(context.getResources());
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFFormXObject.h 51 virtual void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
  /external/emma/core/java12/com/vladium/util/
ResourceLoader.java 71 * @see java.lang.ClassLoader#getResources(java.lang.String)
73 public static Enumeration getResources (final String name)
80 return loader.getResources (name);
108 public static Enumeration getResources (final String name, final ClassLoader loader)
112 return loader.getResources (name);
  /external/skia/src/pdf/
SkPDFFormXObject.h 51 virtual void getResources(const SkTSet<SkPDFObject*>& knownResourceObjects,
  /frameworks/base/core/java/android/view/
ContextThemeWrapper.java 60 * calls to {@link #getResources()} are made.
64 throw new IllegalStateException("getResources() has already been called");
73 public Resources getResources() {
78 mResources = super.getResources();
82 mResources = resc.getResources();
138 mTheme = getResources().newTheme();
  /frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
ComputeBench.java 34 mBenchmark = new Benchmark(mRS, getResources());
  /frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/
LatencyBench.java 34 mBenchmark = new Benchmark(mRS, getResources());
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPresenceIconUtil.java 40 return context.getResources().getDrawable(
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
GalleryContext.java 32 public Resources getResources();
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
PipelineInterface.java 26 public Resources getResources();
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactPresenceIconUtil.java 40 return context.getResources().getDrawable(
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 74 new BitmapDrawable(mContext.getResources());
76 new BitmapDrawable(mContext.getResources(), bitmap);
85 new BitmapDrawable(mContext.getResources(), (String) null);
89 new BitmapDrawable(mContext.getResources(), (InputStream) null);
95 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
111 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
124 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
137 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
151 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
191 InputStream source = mContext.getResources().openRawResource(R.raw.testimage)
    [all...]
  /development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
ExpandingCells.java 50 getResources().getString(R.string.short_lorem_ipsum)),
52 getResources().getString(R.string.medium_lorem_ipsum)),
54 getResources().getString(R.string.long_lorem_ipsum)),
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
FragmentTest.java 27 int id = fragment.getResources().getIdentifier("hello", "string", "com.xtremelabs.robolectric");
30 String hello = fragment.getResources().getString(id);
39 new TestFragment().getResources();
ResourcesTest.java 38 resources = new Activity().getResources();
127 assertThat(activity.getResources().getDisplayMetrics().density, equalTo(1f));
129 shadowOf(activity.getResources()).setDensity(1.5f);
130 assertThat(activity.getResources().getDisplayMetrics().density, equalTo(1.5f));
133 assertThat(anotherActivity.getResources().getDisplayMetrics().density, equalTo(1.5f));
139 assertThat(activity.getResources().getDisplayMetrics().heightPixels, equalTo(800));
140 assertThat(activity.getResources().getDisplayMetrics().widthPixels, equalTo(480));
  /packages/apps/Mms/src/com/android/mms/layout/
HVGALayoutParameters.java 48 float scale = context.getResources().getDisplayMetrics().density;
49 mMaxWidth = (int) (context.getResources().getConfiguration().screenWidthDp * scale + 0.5f);
51 (int) (context.getResources().getConfiguration().screenHeightDp * scale + 0.5f);
  /cts/tests/tests/graphics/src/android/graphics/cts/
MovieTest.java 46 mMovie = getActivity().getResources().getMovie(MOVIE);
82 source = getActivity().getResources().openRawResource(MOVIE);
115 InputStream is = getActivity().getResources().openRawResource(MOVIE);
126 InputStream is = getActivity().getResources()
147 int expectedHeight = getActivity().getResources().getDrawable(MOVIE).getIntrinsicHeight();
151 int expectedWidth = getActivity().getResources().getDrawable(MOVIE).getIntrinsicWidth();
  /packages/apps/DeskClock/src/com/android/deskclock/
CircleButtonsLayout.java 53 mLeftButtonPadding = mContext.getResources().getDimension(leftButtonPaddingDimenId);
54 mRightButtonPadding = mContext.getResources().getDimension(rightButtonPaddingDimenId);
56 float dotStrokeSize = mContext.getResources().getDimension(R.dimen.circletimer_dot_size);
58 mContext.getResources().getDimension(R.dimen.circletimer_marker_size);
59 mStrokeSize = mContext.getResources().getDimension(R.dimen.circletimer_circle_size);
166 - (int) mContext.getResources().getDimension(R.dimen.timer_button_extra_offset);
  /cts/tests/tests/content/src/android/content/res/cts/
Resources_ThemeTest.java 39 mResTheme = getContext().getResources().newTheme();
66 XmlPullParser parser = getContext().getResources().getXml(R.xml.colors);
77 getContext().getResources().getValue(R.raw.testmp3, value, true);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Hover.java 80 mMessageTextView.setText(Hover.this.getResources().getString(
85 mMessageTextView.setText(Hover.this.getResources().getString(
90 mMessageTextView.setText(Hover.this.getResources().getString(
  /development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/
BitmapAllocation.java 62 BitmapFactory.decodeResource(getResources(), R.drawable.a, mBitmapOptions);
68 BitmapFactory.decodeResource(getResources(), R.drawable.a, mBitmapOptions);
84 mCurrentBitmap = BitmapFactory.decodeResource(getResources(),
  /packages/apps/UnifiedEmail/src/com/android/mail/
MinTimeProgressDialog.java 63 sMinShowTime = context.getResources()
65 sMinDelay = context.getResources()
68 + context.getResources().getInteger(R.integer.dialog_animationDefaultDur);

Completed in 399 milliseconds

12 3 4 5 6 7 8 91011>>