/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 163 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/ |
D | CompactExtractEditLayout.java | 113 int heightPixels = dm.heightPixels; in onAttachedToWindow() local 115 applyProportionalLayout(widthPixels, heightPixels); in onAttachedToWindow()
|
D | Keyboard.java | 559 mDisplayHeight = dm.heightPixels; in Keyboard()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ContentFrameLayout.java | 92 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/ |
D | NavigationBar.java | 128 float sw = metrics.widthPixels < metrics.heightPixels ? in getShortestWidth() 129 metrics.widthPixels : metrics.heightPixels; in getShortestWidth()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 436 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics() 447 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics() 512 outDm.heightPixels = newHeight; in computeCompatibleScaling()
|
D | ResourcesImpl.java | 159 + "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/ |
D | ConfigurationHelperDonut.java | 28 return (int) (metrics.heightPixels / metrics.density); in getScreenHeightDp()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 34 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
|
D | ResolverDrawerLayout.java | 171 public void setCollapsibleHeightReserved(int heightPixels) { in setCollapsibleHeightReserved() argument 173 mCollapsibleHeightReserved = heightPixels; in setCollapsibleHeightReserved()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 489 outSize.y = mTempMetrics.heightPixels; in getSize() 503 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); in getRectSize() 912 mCachedAppHeightCompat = mTempMetrics.heightPixels; in updateCachedAppSizeIfNeededLocked()
|
D | DisplayInfo.java | 570 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height; in getMetricsWithSize()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | BitmapUploadActivity.java | 59 int minDisplayDimen = Math.min(mMetrics.widthPixels, mMetrics.heightPixels); in onAttachedToWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 549 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/ |
D | MediaRouteDialogHelper.java | 44 boolean isPortrait = metrics.widthPixels < metrics.heightPixels; in getDialogWidth()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
D | DisplayDensityUtils.java | 103 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in DisplayDensityUtils()
|
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/ |
D | TransformTestActivity.java | 131 mPosY = metrics.heightPixels/2; in TransformView()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | PlatLogoActivity.java | 77 (Math.min(Math.min(dm.widthPixels, dm.heightPixels), 600*dp) - 100*dp); in onAttachedToWindow()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | FloatingActionMode.java | 216 mContext.getResources().getDisplayMetrics().heightPixels); in isContentRectWithinBounds()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 117 metrics.heightPixels = metrics.noncompatHeightPixels = hardwareConfig.getScreenHeight(); in init()
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 176 config.screenHeightDp = (int) (dm.heightPixels / dm.density); in applyNonDefaultDisplayMetricsToConfiguration() 178 if (dm.widthPixels > dm.heightPixels) { in applyNonDefaultDisplayMetricsToConfiguration()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 133 mMaxBitmapDimension = Math.max(dm.widthPixels, dm.heightPixels); in RemoteController()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
D | PhotoViewController.java | 379 … 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/ |
D | TiledImageRenderer.java | 170 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()
|