Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/util/
DDisplayMetrics.java78 public int heightPixels; field in DisplayMetrics
159 heightPixels = o.heightPixels; in setTo()
175 heightPixels = 0; in setToDefaults()
188 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity + in toString()
/frameworks/base/core/java/android/view/
DDisplay.java111 outSize.y = mTmpMetrics.heightPixels; in getSizeInternal()
317 + outMetrics.widthPixels + "x" + outMetrics.heightPixels in getMetrics()
359 outMetrics.noncompatHeightPixels = outMetrics.heightPixels = height; in getMetricsWithSize()
DViewConfiguration.java287 mMaximumDrawingCacheSize = 4 * metrics.widthPixels * metrics.heightPixels; in ViewConfiguration()
DScaleGestureDetector.java212 mBottomSlopEdge = metrics.heightPixels - mEdgeSlop; in onTouchEvent()
DViewDebug.java1083 metrics.heightPixels, Bitmap.Config.RGB_565) : null; in profileViewAndChildren()
DViewRootImpl.java907 desiredWindowHeight = packageMetrics.heightPixels; in performTraversals()
993 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.java1466 if (mMetrics.widthPixels >= mMetrics.heightPixels) { in updateConfiguration()
1468 height = mMetrics.heightPixels; in updateConfiguration()
1471 width = mMetrics.heightPixels; in updateConfiguration()
1574 + "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/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DHeightReceiver.java89 final int shortSide = Math.min(metrics.widthPixels, metrics.heightPixels); in updateHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1204 y = mDisplayMetrics.heightPixels-1; in animateCollapse()
1263 if (mAnimY >= mDisplayMetrics.heightPixels-1) { in doAnimation()
1370 || (y > (mDisplayMetrics.heightPixels*(1f-mCollapseMinDisplayFraction)) && in performFling()
1389 || (y > (mDisplayMetrics.heightPixels*(1f-mExpandMinDisplayFraction)) && in performFling()
1449 (mExpanded && y > (mDisplayMetrics.heightPixels-hitSize))) { in interceptTouchEvent()
1836 mTrackingPosition = lp.y = mDisplayMetrics.heightPixels; // sufficiently large negative
1873 mTrackingPosition = -mDisplayMetrics.heightPixels;
1880 mExpandedParams.y = -mDisplayMetrics.heightPixels;
1893 int disph = mDisplayMetrics.heightPixels;
1946 mExpandedParams.y = -mDisplayMetrics.heightPixels;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java357 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in takeScreenshot()
372 mDisplayMetrics.heightPixels, Bitmap.Config.ARGB_8888); in takeScreenshot()
394 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 w.getResources().getDisplayMetrics().heightPixels; in ViewManager()
/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()
DTextView.java9482 View.MeasureSpec.makeMeasureSpec(displayMetrics.heightPixels, in measureContent()
9727 displayMetrics.heightPixels, View.MeasureSpec.AT_MOST); in measureContent()
9766 return Math.min(positionY, displayMetrics.heightPixels - height); in clipVertically()
DAbsListView.java5013 int screenHeight = getResources().getDisplayMetrics().heightPixels; in positionPopup()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2068 final boolean isPortrait = metrics.widthPixels < metrics.heightPixels;
/frameworks/base/api/
Dcurrent.txt21251 field public int heightPixels;
D14.txt21251 field public int heightPixels;