/frameworks/support/v4/donut/android/support/v4/content/res/ |
H A D | ConfigurationHelperDonut.java | 27 final DisplayMetrics metrics = resources.getDisplayMetrics(); 32 final DisplayMetrics metrics = resources.getDisplayMetrics(); 42 return resources.getDisplayMetrics().densityDpi;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | InterestingConfigChanges.java | 29 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi; 32 mLastDensity = res.getDisplayMetrics().densityDpi;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | Display.java | 41 return context.getResources().getDisplayMetrics().density; 52 context.getResources().getDisplayMetrics());
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Font.java | 162 int dpi = res.getDisplayMetrics().densityDpi; 186 int dpi = res.getDisplayMetrics().densityDpi; 210 int dpi = res.getDisplayMetrics().densityDpi;
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ConfigurationBoundResourceCacheTest.java | 84 float staticDim = TypedValue.complexToDimension(staticValue.data, res.getDisplayMetrics()); 106 res.getDisplayMetrics()); 129 float staticDim = TypedValue.complexToDimension(staticValue.data, res.getDisplayMetrics()); 131 res.getDisplayMetrics()); 165 .complexToDimension(staticValues[i].data, res.getDisplayMetrics()); 170 res.getDisplayMetrics());
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NotificationExpandButton.java | 56 int touchTargetSize = (int) (getResources().getDisplayMetrics().density * 48);
|
H A D | WeightedLinearLayout.java | 58 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsConfiguration.java | 70 float screenDensity = context.getResources().getDisplayMetrics().density;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | SpTexts.java | 44 final float density = res.getDisplayMetrics().density;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | RotationActivity.java | 39 return (int) (c.getResources().getDisplayMetrics().density * dip + 0.5f);
|
H A D | ViewLayersActivity3.java | 57 final DisplayMetrics metrics = r.getDisplayMetrics();
|
H A D | ListActivity.java | 115 final DisplayMetrics metrics = r.getDisplayMetrics();
|
H A D | TransparentListActivity.java | 113 final DisplayMetrics metrics = r.getDisplayMetrics();
|
H A D | ViewLayersActivity2.java | 60 final DisplayMetrics metrics = r.getDisplayMetrics();
|
H A D | ViewLayersActivity4.java | 64 final DisplayMetrics metrics = r.getDisplayMetrics();
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 107 tpaint.density = getResources().getDisplayMetrics().density; 110 tpaint.setTextSize(18 * getResources().getDisplayMetrics().scaledDensity); 111 tpaint.setShadowLayer(4 * getResources().getDisplayMetrics().density, 0, 0, 0xff000000); 115 mPadding = (int)(16 * getResources().getDisplayMetrics().density);
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | BitmapView.java | 38 mDensity = getResources().getDisplayMetrics().density;
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | IllustrationTest.java | 41 context.getResources().getDisplayMetrics().density = 2.0f;
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | VectorEnabledTintResources.java | 50 super(res.getAssets(), res.getDisplayMetrics(), res.getConfiguration());
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
H A D | TintResourcesTest.java | 56 super(res.getAssets(), res.getDisplayMetrics(), res.getConfiguration());
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 70 return mContext.getResources().getDisplayMetrics().widthPixels / 2;
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | FormatterTest.java | 50 res.updateConfiguration(config, res.getDisplayMetrics());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | FakeShadowView.java | 60 (int) (48 * getResources().getDisplayMetrics().density)));
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionBarPolicy.java | 84 return mContext.getResources().getDisplayMetrics().widthPixels / 2;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ResourcesWrapper.java | 46 super(resources.getAssets(), resources.getDisplayMetrics(), resources.getConfiguration()); 233 public DisplayMetrics getDisplayMetrics() { method in class:ResourcesWrapper 234 return mResources.getDisplayMetrics();
|