HomeSort by relevance Sort by last modified time
    Searched refs:getDisplayMetrics (Results 101 - 125 of 354) sorted by null

1 2 3 45 6 7 8 91011>>

  /frameworks/base/core/java/android/view/
ViewConfiguration.java 278 final DisplayMetrics metrics = res.getDisplayMetrics();
352 final DisplayMetrics metrics = context.getResources().getDisplayMetrics();
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java 74 final float density = res.getDisplayMetrics().density;
238 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
HeadsUpNotificationView.java 125 float densityScale = getResources().getDisplayMetrics().density;
169 float densityScale = getResources().getDisplayMetrics().density;
NotificationRowLayout.java 96 float densityScale = getResources().getDisplayMetrics().density;
220 float densityScale = getResources().getDisplayMetrics().density;
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 112 bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics());
237 final DisplayMetrics metrics = resources.getDisplayMetrics();
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentTile.java 173 final int scaledWidth = width * getResources().getDisplayMetrics().densityDpi
175 final int scaledHeight = height * getResources().getDisplayMetrics().densityDpi
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 839 ? res.getDisplayMetrics().noncompatDensityDpi : DisplayMetrics.DENSITY_DEVICE;
    [all...]
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardWidgetFrame.java 106 float density = res.getDisplayMetrics().density;
107 int padding = (int) (res.getDisplayMetrics().density * 8);
476 float density = getResources().getDisplayMetrics().density;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
RecentsVerticalScrollView.java 59 float densityScale = getResources().getDisplayMetrics().density;
307 float densityScale = getResources().getDisplayMetrics().density;
356 DisplayMetrics dm = getResources().getDisplayMetrics();
  /development/apps/NinePatchLab/src/com/android/ninepatch/
NinePatchLab.java 107 mScale = res.getDisplayMetrics().density;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentLayout.java 216 4, getActivity().getResources().getDisplayMetrics());
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Gallery1.java 102 mDensity = c.getResources().getDisplayMetrics().density;
  /development/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentLayoutSupport.java 215 4, getActivity().getResources().getDisplayMetrics());
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
ContentWrapperView.java 99 float density = context.getResources().getDisplayMetrics().density;
  /frameworks/base/core/java/android/app/
Presentation.java 284 return dm.equalsPhysical(getResources().getDisplayMetrics());
  /frameworks/base/core/java/android/preference/
PreferenceFrameLayout.java 53 float density = context.getResources().getDisplayMetrics().density;
  /frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/
OverlayBaseTest.java 36 mResources.updateConfiguration(config, mResources.getDisplayMetrics());
  /frameworks/base/graphics/java/android/renderscript/
RenderScriptGL.java 188 int dpi = ctx.getResources().getDisplayMetrics().densityDpi;
  /frameworks/base/test-runner/src/android/test/mock/
MockResources.java 189 public DisplayMetrics getDisplayMetrics() {
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewLayersActivity.java 110 final DisplayMetrics metrics = r.getDisplayMetrics();
ViewLayersActivity5.java 129 final DisplayMetrics metrics = r.getDisplayMetrics();
  /frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
TransformTestActivity.java 129 DisplayMetrics metrics = context.getResources().getDisplayMetrics();
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthListView.java 85 mScale = c.getResources().getDisplayMetrics().density;
  /packages/apps/Settings/src/com/android/settings/
AppWidgetPickActivity.java 103 final int density = res.getDisplayMetrics().densityDpi;
Display.java 68 DisplayMetrics metrics = getResources().getDisplayMetrics();

Completed in 1069 milliseconds

1 2 3 45 6 7 8 91011>>