HomeSort by relevance Sort by last modified time
    Searched refs:mDefaultDisplayMetrics (Results 1 - 2 of 2) sorted by null

  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
OverlayDisplayWindow.java 190 private final DisplayMetrics mDefaultDisplayMetrics = new DisplayMetrics();
274 mDefaultDisplay.getMetrics(mDefaultDisplayMetrics);
318 0 : mDefaultDisplayMetrics.widthPixels;
320 0 : mDefaultDisplayMetrics.heightPixels;
321 Log.d(TAG, mDefaultDisplayMetrics.toString());
331 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth);
332 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight);
340 x = Math.max(0, Math.min(x, mDefaultDisplayMetrics.widthPixels - width));
341 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height));
  /frameworks/base/core/java/android/app/
ResourcesManager.java 48 final ArrayMap<DisplayAdjustments, DisplayMetrics> mDefaultDisplayMetrics
70 mDefaultDisplayMetrics.clear();
79 DisplayMetrics dm = isDefaultDisplay ? mDefaultDisplayMetrics.get(daj) : null;
93 mDefaultDisplayMetrics.put(daj, dm);

Completed in 159 milliseconds