Home
last modified time | relevance | path

Searched refs:heightPixels (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/java/android/util/
DDisplayMetrics.java239 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/
DCompactExtractEditLayout.java117 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/
DWindowManagerImpl.java36 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/
DDisplayUtils.java56 return dm.heightPixels; in getWidth()
74 return dm.heightPixels; in getHeight()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DNavigationBar.java134 float sw = metrics.widthPixels < metrics.heightPixels ? in getShortestWidth()
135 metrics.widthPixels : metrics.heightPixels; in getShortestWidth()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java468 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics()
479 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics()
545 outDm.heightPixels = newHeight; in computeCompatibleScaling()
DResourcesImpl.java205 + "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()
DConfiguration.java1302 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/
DResizeHWLayerActivity.java38 int height = metrics.heightPixels; in onCreate()
DBitmapUploadActivity.java59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
DSlowNestedRecyclerViewActivity.java55 headerHeight = (int) (resources.getDisplayMetrics().heightPixels * 0.5f); in SizeData()
/frameworks/base/core/tests/coretests/src/android/view/
DScaleGestureDetectorTest.java63 final int displayHeight = dm.heightPixels; in testScaleGestureDetector()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java43 displayMetrics.heightPixels = 1000; in setup()
DFalsingDataProviderTest.java51 displayMetrics.heightPixels = 1000; in setup()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DBitmapLoader.java64 int height = metrics.heightPixels; in getLruCache()
DTestHelper.java232 int height = metrics.heightPixels; in initBackground()
/frameworks/base/core/java/android/view/
DDisplay.java658 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/
DBitmapUploadActivity.java72 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java131 mPosY = metrics.heightPixels/2; in TransformView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java106 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in DisplayDensityUtils()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java57 mHeightPixels = displayMetrics.heightPixels; in FalsingDataProvider()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java121 metrics.heightPixels = metrics.noncompatHeightPixels = hardwareConfig.getScreenHeight(); in init()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DClockManager.java157 mHeight = dm.heightPixels; in ClockManager()
/frameworks/base/media/java/android/media/
DRemoteController.java133 mMaxBitmapDimension = Math.max(dm.widthPixels, dm.heightPixels); in RemoteController()

12