/frameworks/base/core/java/android/util/ |
D | DisplayMetrics.java | 185 public int heightPixels; field in DisplayMetrics 276 heightPixels = o.heightPixels; in setTo() 293 heightPixels = 0; in setToDefaults() 300 noncompatHeightPixels = heightPixels; in setToDefaults() 337 && heightPixels == other.heightPixels in equalsPhysical() 352 return widthPixels * heightPixels * densityDpi; in hashCode() 358 ", 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 35 info.logicalHeight = mMetrics.heightPixels; in WindowManagerImpl() 38 new Mode(0, mMetrics.widthPixels, mMetrics.heightPixels, 60f) in WindowManagerImpl()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ContentFrameLayout.java | 96 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels; in onMeasure() 128 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels); in onMeasure()
|
D | TooltipPopup.java | 155 mTmpDisplayFrame.set(0, statusBarHeight, metrics.widthPixels, metrics.heightPixels); in computePosition()
|
/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 | 450 inoutDm.heightPixels = inoutDm.noncompatHeightPixels; in applyToDisplayMetrics() 461 inoutDm.heightPixels = (int) (inoutDm.heightPixels * invertedRatio + 0.5f); in applyToDisplayMetrics() 526 outDm.heightPixels = newHeight; in computeCompatibleScaling()
|
D | ResourcesImpl.java | 164 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics() 397 if (mMetrics.widthPixels >= mMetrics.heightPixels) { in updateConfiguration() 399 height = mMetrics.heightPixels; in updateConfiguration() 402 width = mMetrics.heightPixels; in updateConfiguration()
|
/frameworks/support/wear/src/android/support/wear/internal/widget/ |
D | ResourcesUtil.java | 43 return context.getResources().getDisplayMetrics().heightPixels; in getScreenHeightPx()
|
/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/support/wear/tests/src/android/support/wear/widget/ |
D | BoxInsetLayoutTest.java | 71 int boxInset = (int) (FACTOR * Math.min(dm.widthPixels, dm.heightPixels)); in testCase1() 121 int boxInset = (int) (FACTOR * Math.min(dm.widthPixels, dm.heightPixels)); in testCase2() 231 int boxInset = (int) (FACTOR * Math.min(dm.widthPixels, dm.heightPixels)); in testCase3() 331 int boxInset = (int) (FACTOR * Math.min(dm.widthPixels, dm.heightPixels)); in testCase4()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WeightedLinearLayout.java | 60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
|
D | ResolverDrawerLayout.java | 173 public void setCollapsibleHeightReserved(int heightPixels) { in setCollapsibleHeightReserved() argument 175 mCollapsibleHeightReserved = heightPixels; in setCollapsibleHeightReserved()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScaleGestureDetectorTest.java | 70 final int displayHeight = dm.heightPixels; in testScaleGestureDetector()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | OverlayDisplayWindow.java | 323 0 : mDefaultDisplayMetrics.heightPixels; in createWindow() 335 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); in updateWindowParams() 344 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height)); in updateWindowParams()
|
/frameworks/base/core/java/android/view/ |
D | Display.java | 596 outSize.y = mTempMetrics.heightPixels; in getSize() 610 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); in getRectSize() 1051 mCachedAppHeightCompat = mTempMetrics.heightPixels; in updateCachedAppSizeIfNeededLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 557 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in takeScreenshot() 581 mDisplayMetrics.heightPixels, Bitmap.Config.ARGB_8888); in takeScreenshot() 593 if (width != mDisplayMetrics.widthPixels || height != mDisplayMetrics.heightPixels) { in takeScreenshot() 605 startAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels, in takeScreenshot() 612 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/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 | 107 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in DisplayDensityUtils()
|
/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 117 metrics.heightPixels = metrics.noncompatHeightPixels = hardwareConfig.getScreenHeight(); in init()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 133 mMaxBitmapDimension = Math.max(dm.widthPixels, dm.heightPixels); in RemoteController()
|