/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | ActionBarPolicy.java | 44 return mContext.getResources().getInteger(R.integer.abc_max_action_buttons); 53 return mContext.getResources().getDisplayMetrics().widthPixels / 2; 59 return mContext.getResources().getBoolean(R.bool.abc_action_bar_embed_tabs_pre_jb); 66 Resources r = mContext.getResources(); 83 return mContext.getResources().getDimensionPixelSize(
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 44 return mContext.getResources().getInteger(R.integer.max_action_buttons); 52 return mContext.getResources().getDisplayMetrics().widthPixels / 2; 58 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs); 63 return mContext.getResources().getBoolean(R.bool.action_bar_embed_tabs_pre_jb); 70 Resources r = mContext.getResources(); 88 return mContext.getResources().getDimensionPixelSize(
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | MutateDrawable.java | 34 ok.setBackgroundDrawable(getResources().getDrawable( 39 cancel.setBackgroundDrawable(getResources().getDrawable(
|
H A D | DrawableBgMinSize.java | 58 mBackgroundDrawable = getResources().getDrawable(R.drawable.drawable_background); 59 mBigBackgroundDrawable = getResources().getDrawable(R.drawable.big_drawable_background);
|
/frameworks/base/core/java/android/view/ |
H A D | ContextThemeWrapper.java | 60 * calls to {@link #getResources()} are made. 64 throw new IllegalStateException("getResources() has already been called"); 73 public Resources getResources() { method in class:ContextThemeWrapper 78 mResources = super.getResources(); 82 mResources = resc.getResources(); 138 mTheme = getResources().newTheme();
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
H A D | ComputeBench.java | 34 mBenchmark = new Benchmark(mRS, getResources());
|
/frameworks/rs/java/tests/LatencyBenchmark/src/com/example/android/rs/computebench/ |
H A D | LatencyBench.java | 34 mBenchmark = new Benchmark(mRS, getResources());
|
/frameworks/base/core/java/android/content/ |
H A D | SyncActivityTooManyDeletes.java | 63 getResources().getText(R.string.sync_really_delete), 64 getResources().getText(R.string.sync_undo_deletes), 65 getResources().getText(R.string.sync_do_nothing) 80 getResources().getText(R.string.sync_too_many_deletes_desc); 98 // imageView.setImageDrawable(authContext.getResources().getDrawable(desc.iconId));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | StackActivity.java | 41 getResources().getDrawable(R.drawable.sunset1), 42 getResources().getDrawable(R.drawable.sunset2),
|
H A D | BitmapsAlphaActivity.java | 52 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); 54 mBitmap2 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset2); 58 mBitmap3 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset3, opts);
|
H A D | BitmapsSkewActivity.java | 44 mBitmap1 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1);
|
H A D | SimplePatchActivity.java | 41 mDrawable = context.getResources().getDrawable(R.drawable.expander_ic_minimized);
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/ |
H A D | DriverView.java.template | 44 mRender.init(mRS, getResources());
|
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/ |
H A D | ComputePerf.java | 44 mLT = new LaunchTest(mRS, getResources()); 59 mMandel = new Mandelbrot(mRS, getResources());
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 65 app.getResources().setCompatibilityInfo(new CompatibilityInfo(ai, 66 getResources().getConfiguration().screenLayout, 67 getResources().getConfiguration().smallestScreenWidthDp, false)); 170 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap); 171 if (!scale) d.setTargetDensity(getResources().getDisplayMetrics()); 182 final Drawable d = getResources().getDrawable(resource); 204 final Drawable d = getResources().getDrawable(resource); 217 bitmap = BitmapFactory.decodeResource(getResources(), id); 221 bitmap = BitmapFactory.decodeResource(getResources(), id, opts); 237 final DisplayMetrics metrics = getResources() [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | ImageSpan.java | 64 ? new BitmapDrawable(context.getResources(), b) 139 drawable = new BitmapDrawable(mContext.getResources(), bitmap); 148 drawable = mContext.getResources().getDrawable(mResourceId);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 50 Resources res = context.getResources(); 64 Resources res = context.getResources(); 80 Resources res = context.getResources();
|
/frameworks/base/core/java/android/text/method/ |
H A D | AllCapsTransformationMethod.java | 37 mLocale = context.getResources().getConfiguration().locale;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpStorage.java | 41 mDescription = context.getResources().getString(volume.getDescriptionId());
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | CompareActivity.java | 58 ResourceModifiers.init(getResources()); 65 int width = getResources().getDimensionPixelSize(R.dimen.layer_width); 66 int height = getResources().getDimensionPixelSize(R.dimen.layer_height); 70 mErrorCalculator = new ErrorCalculator(getApplicationContext(), getResources());
|
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/ |
H A D | HelloWorldView.java | 44 mRender.init(mRS, getResources());
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | PagerTitleStripIcs.java | 37 mLocale = context.getResources().getConfiguration().locale;
|
/frameworks/webview/chromium/tools/WebViewShell/src/com/android/webview/chromium/shell/ |
H A D | TelemetryActivity.java | 31 getResources().getString(R.string.title_activity_telemetry));
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceInflater.java | 77 intent = Intent.parseIntent(getContext().getResources(), parser, attrs); 91 getContext().getResources().parseBundleExtra(EXTRA_TAG_NAME, attrs,
|
/frameworks/base/core/java/android/service/dreams/ |
H A D | Sandman.java | 109 int def = context.getResources().getBoolean( 117 int def = context.getResources().getBoolean(
|