/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 239 public int heightPixels; field in DisplayMetrics 333 heightPixels = o.heightPixels; in setTo() 350 heightPixels = 0; in setToDefaults() 357 noncompatHeightPixels = heightPixels; in setToDefaults() 394 && heightPixels == other.heightPixels in equalsPhysical() 409 return widthPixels * heightPixels * densityDpi; in hashCode() 415 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity + in toString()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | CompactExtractEditLayout.java | 117 int heightPixels = dm.heightPixels; in onAttachedToWindow() local 130 if (cfg.isScreenRound() && heightPixels < widthPixels) { in onAttachedToWindow() 131 heightPixels = widthPixels; in onAttachedToWindow() 133 applyProportionalLayout(widthPixels, heightPixels); in onAttachedToWindow()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 36 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl() 39 new Mode(0, mMetrics.widthPixels, mMetrics.heightPixels, 60f) in WindowManagerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 56 return dm.heightPixels; in getWidth() 74 return dm.heightPixels; in getHeight()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | NavigationBar.java | 134 float sw = metrics.widthPixels < metrics.heightPixels ? in getShortestWidth() 135 metrics.widthPixels : metrics.heightPixels; in getShortestWidth()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 468 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics() 479 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics() 545 outDm.heightPixels = newHeight; in computeCompatibleScaling()
|
D | ResourcesImpl.java | 205 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics() 446 if (mMetrics.widthPixels >= mMetrics.heightPixels) { in updateConfiguration() 448 height = mMetrics.heightPixels; in updateConfiguration() 451 width = mMetrics.heightPixels; in updateConfiguration()
|
D | Configuration.java | 1302 if (metrics.widthPixels >= metrics.heightPixels) { in writeResConfigToProto() 1304 height = metrics.heightPixels; in writeResConfigToProto() 1307 width = metrics.heightPixels; in writeResConfigToProto() 2418 if (metrics.widthPixels >= metrics.heightPixels) { in resourceQualifierString() 2420 height = metrics.heightPixels; in resourceQualifierString() 2423 width = metrics.heightPixels; in resourceQualifierString()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ResizeHWLayerActivity.java | 38 int height = metrics.heightPixels; in onCreate()
|
D | BitmapUploadActivity.java | 59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
|
D | SlowNestedRecyclerViewActivity.java | 55 headerHeight = (int) (resources.getDisplayMetrics().heightPixels * 0.5f); in SizeData()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScaleGestureDetectorTest.java | 63 final int displayHeight = dm.heightPixels; in testScaleGestureDetector()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ |
D | ClassifierTest.java | 43 displayMetrics.heightPixels = 1000; in setup()
|
D | FalsingDataProviderTest.java | 51 displayMetrics.heightPixels = 1000; in setup()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | BitmapLoader.java | 64 int height = metrics.heightPixels; in getLruCache()
|
D | TestHelper.java | 232 int height = metrics.heightPixels; in initBackground()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 658 outSize.y = mTempMetrics.heightPixels; in getSize() 672 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); in getRectSize() 1153 mCachedAppHeightCompat = mTempMetrics.heightPixels; in updateCachedAppSizeIfNeededLocked()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | BitmapUploadActivity.java | 72 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 131 mPosY = metrics.heightPixels/2; in TransformView()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 106 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in DisplayDensityUtils()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | FalsingDataProvider.java | 57 mHeightPixels = displayMetrics.heightPixels; in FalsingDataProvider()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 121 metrics.heightPixels = metrics.noncompatHeightPixels = hardwareConfig.getScreenHeight(); in init()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ClockManager.java | 157 mHeight = dm.heightPixels; in ClockManager()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 133 mMaxBitmapDimension = Math.max(dm.widthPixels, dm.heightPixels); in RemoteController()
|