/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 27 private final DisplayMetrics mMetrics; field in WindowManagerImpl 31 mMetrics = metrics; in WindowManagerImpl() 34 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl() 35 info.logicalWidth = mMetrics.widthPixels; in WindowManagerImpl()
|
/frameworks/base/core/java/android/app/ |
D | ActivityView.java | 48 DisplayMetrics mMetrics; field in ActivityView 98 mMetrics = new DisplayMetrics(); in ActivityView() 99 wm.getDefaultDisplay().getMetrics(mMetrics); in ActivityView() 118 mActivityContainer.setSurface(null, mWidth, mHeight, mMetrics.densityDpi); in onVisibilityChanged() 121 mActivityContainer.setSurface(mSurface, mWidth, mHeight, mMetrics.densityDpi); in onVisibilityChanged() 240 mActivityContainer.setSurface(mSurface, mWidth, mHeight, mMetrics.densityDpi); in attachToSurfaceWhenReady() 309 mActivityContainer.setSurface(null, mWidth, mHeight, mMetrics.densityDpi); in onSurfaceTextureDestroyed()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 129 final DisplayMetrics mMetrics = new DisplayMetrics(); field in Resources 227 mMetrics.setToDefaults(); in Resources() 578 return TypedValue.complexToDimension(value.data, mMetrics); in getDimension() 614 value.data, mMetrics); in getDimensionPixelOffset() 651 value.data, mMetrics); in getDimensionPixelSize() 830 value.density = mMetrics.densityDpi; in getDrawableForDensity() 832 value.density = (value.density * mMetrics.densityDpi) / density; in getDrawableForDensity() 1751 mMetrics.setTo(metrics); in updateConfiguration() 1762 mCompatibilityInfo.applyToDisplayMetrics(mMetrics); in updateConfiguration() 1769 density = mMetrics.noncompatDensityDpi; in updateConfiguration() [all …]
|
D | TypedArray.java | 63 private final DisplayMetrics mMetrics; field in TypedArray 490 data[index+AssetManager.STYLE_DATA], mMetrics); in getDimension() 528 data[index+AssetManager.STYLE_DATA], mMetrics); in getDimensionPixelOffset() 567 data[index+AssetManager.STYLE_DATA], mMetrics); in getDimensionPixelSize() 601 data[index+AssetManager.STYLE_DATA], mMetrics); in getLayoutDimension() 636 data[index+AssetManager.STYLE_DATA], mMetrics); in getLayoutDimension() 977 mMetrics = mResources.mMetrics; in TypedArray()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 41 private final DisplayMetrics mMetrics; field in IWindowManagerImpl 48 mMetrics = metrics; in IWindowManagerImpl() 56 return mMetrics; in getMetrics()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 60 java.awt.FontMetrics mMetrics; field in Paint_Delegate.FontInfo 537 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in ascent() 554 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in descent() 582 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in getFontMetricsInt() 1190 info.mMetrics = Toolkit.getDefaultToolkit().getFontMetrics(info.mFont); in updateFontObject() 1213 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics; in getFontMetrics()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 99 private final DisplayMetrics mMetrics; field in BridgeContext 141 mMetrics = metrics; in BridgeContext() 153 mWindowManager = new WindowManagerImpl(mMetrics); in BridgeContext() 169 mMetrics, in initResources() 199 return mMetrics; in getMetrics()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 187 private DisplayMetrics mMetrics; field in PackageParser 336 mMetrics = new DisplayMetrics(); in PackageParser() 337 mMetrics.setToDefaults(); in PackageParser() 354 mMetrics = metrics; in setDisplayMetrics() 862 res = new Resources(assets, mMetrics, null); in parseBaseApk() 904 res = new Resources(assets, mMetrics, null); in parseSplitApk()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 332 final DisplayMetrics mMetrics; field in PackageManagerService 1282 mMetrics = new DisplayMetrics(); in PackageManagerService() 1316 getDefaultDisplayMetrics(context, mMetrics); in PackageManagerService() 4224 pp.setDisplayMetrics(mMetrics); in scanPackageLI() 10397 pp.setDisplayMetrics(mMetrics); in installPackageLI()
|