Lines Matching refs:mMetrics
136 final DisplayMetrics mMetrics = new DisplayMetrics();
252 mMetrics.setToDefaults();
603 return TypedValue.complexToDimension(value.data, mMetrics);
639 value.data, mMetrics);
676 value.data, mMetrics);
863 value.density = mMetrics.densityDpi;
865 value.density = (value.density * mMetrics.densityDpi) / density;
1785 mMetrics.setTo(metrics);
1796 mCompatibilityInfo.applyToDisplayMetrics(mMetrics);
1804 mMetrics.densityDpi = mConfiguration.densityDpi;
1805 mMetrics.density = mConfiguration.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE;
1807 mMetrics.scaledDensity = mMetrics.density * mConfiguration.fontScale;
1814 if (mMetrics.widthPixels >= mMetrics.heightPixels) {
1815 width = mMetrics.widthPixels;
1816 height = mMetrics.heightPixels;
1819 width = mMetrics.heightPixels;
1821 height = mMetrics.widthPixels;
1869 density = mMetrics.noncompatDensityDpi;
1975 if (DEBUG_CONFIG) Slog.v(TAG, "Returning DisplayMetrics: " + mMetrics.widthPixels
1976 + "x" + mMetrics.heightPixels + " " + mMetrics.density);
1977 return mMetrics;
2008 updateConfiguration(mConfiguration, mMetrics);
2724 mMetrics.setToDefaults();