Home
last modified time | relevance | path

Searched refs:mPhysicalDisplayWidth (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DCutoutSpecification.java206 private final int mPhysicalDisplayWidth; field in CutoutSpecification.Parser
256 mPhysicalDisplayWidth = physicalDisplayWidth; in Parser()
260 mIsShortEdgeOnTop = mPhysicalDisplayWidth < mPhysicalDisplayHeight; in Parser()
285 offsetX = mPhysicalDisplayWidth;
289 offsetX = mPhysicalDisplayWidth / 2f;
309 if (gravity == LEFT && rect.right > 0 && rect.right < mPhysicalDisplayWidth) {
313 } else if (gravity == RIGHT && rect.left > 0 && rect.left < mPhysicalDisplayWidth) {
314 return mPhysicalDisplayWidth - rect.left;
422 mIsTouchShortEdgeEnd = mTmpRect.right >= mPhysicalDisplayWidth;
423 mIsCloserToStartSide = mTmpRect.centerX() < mPhysicalDisplayWidth / 2;
DDisplayCutout.java281 private final int mPhysicalDisplayWidth; field in DisplayCutout.CutoutPathParserInfo
294 mPhysicalDisplayWidth = physicalDisplayWidth; in CutoutPathParserInfo()
306 mPhysicalDisplayWidth = cutoutPathParserInfo.mPhysicalDisplayWidth; in CutoutPathParserInfo()
324 return mPhysicalDisplayWidth; in getPhysicalDisplayWidth()
365 result = result * 48271 + Integer.hashCode(mPhysicalDisplayWidth); in hashCode()
378 && mPhysicalDisplayWidth == c.mPhysicalDisplayWidth in equals()
391 + " physicalDisplayWidth=" + mPhysicalDisplayWidth in toString()