Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DDisplayMetrics.java163 public int heightPixels; field in DisplayMetrics
250 heightPixels = o.heightPixels; in setTo()
267 heightPixels = 0; in setToDefaults()
274 noncompatHeightPixels = heightPixels; in setToDefaults()
311 && heightPixels == other.heightPixels in equalsPhysical()
326 return widthPixels * heightPixels * densityDpi; in hashCode()
332 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity + in toString()
/frameworks/base/core/java/android/inputmethodservice/
DCompactExtractEditLayout.java113 int heightPixels = dm.heightPixels; in onAttachedToWindow() local
115 applyProportionalLayout(widthPixels, heightPixels); in onAttachedToWindow()
DKeyboard.java559 mDisplayHeight = dm.heightPixels; in Keyboard()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DContentFrameLayout.java92 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels; in onMeasure()
124 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels); in onMeasure()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DNavigationBar.java128 float sw = metrics.widthPixels < metrics.heightPixels ? in getShortestWidth()
129 metrics.widthPixels : metrics.heightPixels; in getShortestWidth()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java436 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics()
447 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics()
512 outDm.heightPixels = newHeight; in computeCompatibleScaling()
DResourcesImpl.java159 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics()
389 if (mMetrics.widthPixels >= mMetrics.heightPixels) { in updateConfiguration()
391 height = mMetrics.heightPixels; in updateConfiguration()
394 width = mMetrics.heightPixels; in updateConfiguration()
/frameworks/support/v4/donut/android/support/v4/content/res/
DConfigurationHelperDonut.java28 return (int) (metrics.heightPixels / metrics.density); in getScreenHeightDp()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java34 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
DResolverDrawerLayout.java171 public void setCollapsibleHeightReserved(int heightPixels) { in setCollapsibleHeightReserved() argument
173 mCollapsibleHeightReserved = heightPixels; in setCollapsibleHeightReserved()
/frameworks/base/core/java/android/view/
DDisplay.java489 outSize.y = mTempMetrics.heightPixels; in getSize()
503 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); in getRectSize()
912 mCachedAppHeightCompat = mTempMetrics.heightPixels; in updateCachedAppSizeIfNeededLocked()
DDisplayInfo.java570 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height; in getMetricsWithSize()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DBitmapUploadActivity.java59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java549 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in takeScreenshot()
573 mDisplayMetrics.heightPixels, Bitmap.Config.ARGB_8888); in takeScreenshot()
585 if (width != mDisplayMetrics.widthPixels || height != mDisplayMetrics.heightPixels) { in takeScreenshot()
597 startAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels, in takeScreenshot()
604 mDisplayMetrics.heightPixels); in takeScreenshot()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteDialogHelper.java44 boolean isPortrait = metrics.widthPixels < metrics.heightPixels; in getDialogWidth()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java103 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in DisplayDensityUtils()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java131 mPosY = metrics.heightPixels/2; in TransformView()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java77 (Math.min(Math.min(dm.widthPixels, dm.heightPixels), 600*dp) - 100*dp); in onAttachedToWindow()
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java216 mContext.getResources().getDisplayMetrics().heightPixels); in isContentRectWithinBounds()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java117 metrics.heightPixels = metrics.noncompatHeightPixels = hardwareConfig.getScreenHeight(); in init()
/frameworks/base/core/java/android/app/
DResourcesManager.java176 config.screenHeightDp = (int) (dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration()
178 if (dm.widthPixels > dm.heightPixels) { in applyNonDefaultDisplayMetricsToConfiguration()
/frameworks/base/media/java/android/media/
DRemoteController.java133 mMaxBitmapDimension = Math.max(dm.widthPixels, dm.heightPixels); in RemoteController()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java379 … sMaxPhotoSize = (Math.min(metrics.heightPixels, metrics.widthPixels) * 800) / 1000; in initMaxPhotoSize()
386 sMaxPhotoSize = Math.min(metrics.heightPixels, metrics.widthPixels); in initMaxPhotoSize()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java170 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()

12