Home
last modified time | relevance | path

Searched refs:createDefaultDisplayShape (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayShapeTest.java60 final DisplayShape displayShape = DisplayShape.createDefaultDisplayShape(100, 100, true); in testDefaultShape_screenIsRound()
69 final DisplayShape displayShape = DisplayShape.createDefaultDisplayShape(100, 200, false); in testDefaultShape_screenIsNotRound()
DInsetsStateTest.java675 mState.setDisplayShape(DisplayShape.createDefaultDisplayShape(200, 400, false)); in testCalculateRelativeDisplayShape()
681 DisplayShape.createDefaultDisplayShape(200, 400, false).setOffset(-10, -20); in testCalculateRelativeDisplayShape()
/frameworks/base/core/java/android/view/
DDisplayShape.java94 return createDefaultDisplayShape(displayWidth, displayHeight, isScreenRound); in fromResources()
105 public static DisplayShape createDefaultDisplayShape( in createDefaultDisplayShape() method in DisplayShape
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeferredDisplayUpdaterDiffTest.java215 field.set(first, DisplayShape.createDefaultDisplayShape(100, 200, false)); in setDifferentFieldValues()
216 field.set(second, DisplayShape.createDefaultDisplayShape(50, 100, false)); in setDifferentFieldValues()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayAdapter.java370 DisplayShape.createDefaultDisplayShape(mInfo.width, mInfo.height, false); in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java670 DisplayShape.createDefaultDisplayShape(mInfo.width, mInfo.height, false); in getDisplayDeviceInfoLocked()
DVirtualDisplayAdapter.java569 DisplayShape.createDefaultDisplayShape(mInfo.width, mInfo.height, false); in getDisplayDeviceInfoLocked()