/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/tests/UiBench/src/com/android/test/uibench/ |
D | BitmapUploadActivity.java | 35 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in BitmapUploadActivity.UploadView 58 getDisplay().getMetrics(mMetrics); in onAttachedToWindow() 59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesImpl.java | 116 private final DisplayMetrics mMetrics = new DisplayMetrics(); field in ResourcesImpl 143 mMetrics.setToDefaults(); in ResourcesImpl() 158 if (DEBUG_CONFIG) Slog.v(TAG, "Returning DisplayMetrics: " + mMetrics.widthPixels in getDisplayMetrics() 159 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics() 160 return mMetrics; in getDisplayMetrics() 336 mMetrics.setTo(metrics); in updateConfiguration() 347 mDisplayAdjustments.getCompatibilityInfo().applyToDisplayMetrics(mMetrics); in updateConfiguration() 382 mMetrics.densityDpi = mConfiguration.densityDpi; in updateConfiguration() 383 mMetrics.density = in updateConfiguration() 386 mMetrics.scaledDensity = mMetrics.density * mConfiguration.fontScale; in updateConfiguration() [all …]
|
D | TypedArray.java | 72 private final DisplayMetrics mMetrics; field in TypedArray 613 data[index + AssetManager.STYLE_DATA], mMetrics); in getDimension() 662 data[index + AssetManager.STYLE_DATA], mMetrics); in getDimensionPixelOffset() 712 data[index+AssetManager.STYLE_DATA], mMetrics); in getDimensionPixelSize() 757 data[index+AssetManager.STYLE_DATA], mMetrics); in getLayoutDimension() 796 data[index + AssetManager.STYLE_DATA], mMetrics); in getLayoutDimension() 1222 mMetrics = mResources.getDisplayMetrics(); in TypedArray()
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
D | IWindowManagerImpl.java | 46 private final DisplayMetrics mMetrics; field in IWindowManagerImpl 53 mMetrics = metrics; in IWindowManagerImpl() 61 return mMetrics; in getMetrics()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 64 java.awt.FontMetrics mMetrics; field in Paint_Delegate.FontInfo 560 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nAscent() 577 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nDescent() 607 java.awt.FontMetrics javaMetrics = delegate.mFonts.get(0).mMetrics; in nGetFontMetricsInt() 1290 info.mMetrics = Toolkit.getDefaultToolkit().getFontMetrics(info.mFont); in updateFontObject() 1313 java.awt.FontMetrics javaMetrics = mFonts.get(0).mMetrics; in getFontMetrics()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 125 private final DisplayMetrics mMetrics; field in BridgeContext 195 mMetrics = metrics; in BridgeContext() 214 mWindowManager = new WindowManagerImpl(mMetrics); in BridgeContext() 230 mMetrics, in initResources() 268 return mMetrics; in getMetrics()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 98 private final Metrics mMetrics = new Metrics(); field in ZenModeHelper 116 addCallback(mMetrics); in ZenModeHelper() 1133 mMetrics.emit(); in handleMessage()
|
/frameworks/base/docs/html/training/tv/playback/ |
D | browse.jd | 118 mMetrics = new DisplayMetrics(); 119 getActivity().getWindowManager().getDefaultDisplay().getMetrics(mMetrics);
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 256 private DisplayMetrics mMetrics; field in PackageParser 425 mMetrics = new DisplayMetrics(); in PackageParser() 426 mMetrics.setToDefaults(); in PackageParser() 443 mMetrics = metrics; in setDisplayMetrics() 926 res = new Resources(assets, mMetrics, null); in parseBaseApk() 969 res = new Resources(assets, mMetrics, null); in parseSplitApk()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 531 final DisplayMetrics mMetrics; field in PackageManagerService 2232 mMetrics = new DisplayMetrics(); in PackageManagerService() 2272 getDefaultDisplayMetrics(context, mMetrics); in PackageManagerService() 6818 pp.setDisplayMetrics(mMetrics); 14878 pp.setDisplayMetrics(mMetrics);
|