Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/util/
DDisplayMetrics.java95 public int heightPixels; field in DisplayMetrics
176 heightPixels = o.heightPixels; in setTo()
192 heightPixels = 0; in setToDefaults()
205 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity + in toString()
/frameworks/base/core/java/android/view/
DDisplay.java111 outSize.y = mTmpMetrics.heightPixels; in getSizeInternal()
360 + outMetrics.widthPixels + "x" + outMetrics.heightPixels in getMetrics()
411 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height; in getMetricsWithSize()
DViewDebug.java521 metrics.heightPixels, Bitmap.Config.RGB_565) : null; in profileViewAndChildren()
DViewRootImpl.java1181 desiredWindowHeight = packageMetrics.heightPixels; in performTraversals()
1267 desiredWindowHeight = packageMetrics.heightPixels; in performTraversals()
/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()
508 outDm.heightPixels = newHeight; in computeCompatibleScaling()
DResources.java1459 if (mMetrics.widthPixels >= mMetrics.heightPixels) { in updateConfiguration()
1461 height = mMetrics.heightPixels; in updateConfiguration()
1464 width = mMetrics.heightPixels; in updateConfiguration()
1567 + "x" + mMetrics.heightPixels + " " + mMetrics.density); in getDisplayMetrics()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DDisplay_Delegate.java59 return RenderAction.getCurrentContext().getIWindowManager().getMetrics().heightPixels; in getRawHeightNative()
/frameworks/base/core/java/com/android/internal/widget/
DWeightedLinearLayout.java60 final boolean isPortrait = screenWidth < metrics.heightPixels; in onMeasure()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DUiDevice.java127 if(metrics.heightPixels > metrics.widthPixels) in isPhone()
131 if(metrics.heightPixels < metrics.widthPixels) in isPhone()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsVerticalScrollView.java369 MeasureSpec.makeMeasureSpec(dm.heightPixels, MeasureSpec.AT_MOST); in setAdapter()
373 (int) FloatMath.ceil(dm.heightPixels / (float) child.getMeasuredHeight()); in setAdapter()
DRecentsHorizontalScrollView.java360 MeasureSpec.makeMeasureSpec(dm.heightPixels, MeasureSpec.AT_MOST); in setAdapter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java384 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in takeScreenshot()
407 mDisplayMetrics.heightPixels, Bitmap.Config.ARGB_8888); in takeScreenshot()
422 startAnimation(finisher, mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels, in takeScreenshot()
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
DTransformTestActivity.java131 mPosY = metrics.heightPixels/2; in TransformView()
/frameworks/base/core/java/android/webkit/
DViewManager.java105 int pixelArea = metrics.widthPixels * metrics.heightPixels; in ViewManager()
DWebViewClassic.java663 View.MeasureSpec.makeMeasureSpec(displayMetrics.heightPixels, in measureContent()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java111 metrics.heightPixels = metrics.noncompatHeightPixels = mParams.getScreenHeight(); in init()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java546 mDisplayHeight = dm.heightPixels; in Keyboard()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1227 bottomEdge = res.getDisplayMetrics().heightPixels; in getMaxAvailableHeight()
DEditor.java2112 View.MeasureSpec.makeMeasureSpec(displayMetrics.heightPixels, in measureContent()
2359 displayMetrics.heightPixels, View.MeasureSpec.AT_MOST); in measureContent()
2398 return Math.min(positionY, displayMetrics.heightPixels - height); in clipVertically()
DAbsListView.java5505 int screenHeight = getResources().getDisplayMetrics().heightPixels; in positionPopup()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2101 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels;
2135 h = (int) tvh.getFraction(metrics.heightPixels, metrics.heightPixels);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java2038 mTrackingPosition = -mDisplayMetrics.heightPixels;
2047 return mDisplayMetrics.heightPixels - mNotificationPanelMarginBottomPx;
/frameworks/base/api/
D14.txt21251 field public int heightPixels;
D15.txt21393 field public int heightPixels;
Dcurrent.txt22392 field public int heightPixels;

12