Home
last modified time | relevance | path

Searched refs:displayShape (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayShapeTest.java48 final DisplayShape displayShape = DisplayShape.fromSpecString( in testGetPath() local
50 final Path path = displayShape.getPath(); in testGetPath()
60 final DisplayShape displayShape = DisplayShape.createDefaultDisplayShape(100, 100, true); in testDefaultShape_screenIsRound() local
64 assertEquals(displayShape.mDisplayShapeSpec, expect); in testDefaultShape_screenIsRound()
69 final DisplayShape displayShape = DisplayShape.createDefaultDisplayShape(100, 200, false); in testDefaultShape_screenIsNotRound() local
73 assertEquals(displayShape.mDisplayShapeSpec, expect); in testDefaultShape_screenIsNotRound()
95 DisplayShape displayShape = DisplayShape.fromSpecString( in testRotate_90() local
97 displayShape = displayShape.setRotation(ROTATION_90); in testRotate_90()
98 final Path path = displayShape.getPath(); in testRotate_90()
108 DisplayShape displayShape = DisplayShape.fromSpecString( in testRotate_270() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java65 DisplayShape displayShape) { in DisplayFrames() argument
68 indicatorBounds, displayShape); in DisplayFrames()
83 @NonNull DisplayShape displayShape) { in update() argument
101 state.setDisplayShape(displayShape); in update()
DDeferredDisplayUpdater.java444 || !Objects.equals(first.displayShape, second.displayShape) in calculateDisplayInfoDiff()
DDisplayContent.java2065 final DisplayShape displayShape = calculateDisplayShapeForRotation(rotation); in startFixedRotationTransform() local
2067 cutout, roundedCorners, indicatorBounds, displayShape); in startFixedRotationTransform()
2277 final DisplayShape displayShape = calculateDisplayShapeForRotation(rotation); in updateDisplayAndOrientation() local
2294 mDisplayInfo.displayShape = displayShape; in updateDisplayAndOrientation()
2406 DisplayShape displayShape, int rotation) { in calculateDisplayShapeForRotationUncached() argument
2407 if (displayShape == null) { in calculateDisplayShapeForRotationUncached()
2412 return displayShape; in calculateDisplayShapeForRotationUncached()
2415 return displayShape.setRotation(rotation); in calculateDisplayShapeForRotationUncached()
3011 mInitialDisplayShape = mDisplayInfo.displayShape; in initializeDisplayBaseInfo()
3039 final DisplayShape newDisplayShape = mDisplayInfo.displayShape; in updateBaseDisplayMetricsIfNeeded()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java383 public DisplayShape displayShape; field in DisplayDeviceInfo
539 || !Objects.equals(displayShape, other.displayShape)) { in diff()
588 displayShape = other.displayShape; in copyFrom()
641 if (displayShape != null) { in toString()
642 sb.append(", displayShape ").append(displayShape); in toString()
DLogicalDisplay.java549 mBaseDisplayInfo.displayShape = deviceInfo.displayShape; in updateLocked()
DOverlayDisplayAdapter.java369 mInfo.displayShape = in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java669 mInfo.displayShape = in getDisplayDeviceInfoLocked()
DVirtualDisplayAdapter.java568 mInfo.displayShape = in getDisplayDeviceInfoLocked()
DLocalDisplayAdapter.java750 mInfo.displayShape = DisplayShape.fromResources( in getDisplayDeviceInfoLocked()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DDisplayInfoOverrides.java48 out.displayShape = source.displayShape;
/frameworks/base/core/java/android/view/
DDisplayInfo.java355 public DisplayShape displayShape; field in DisplayInfo
460 && Objects.equals(displayShape, other.displayShape) in equals()
522 displayShape = other.displayShape; in copyFrom()
592 displayShape = source.readTypedObject(DisplayShape.CREATOR); in readFromParcel()
660 dest.writeTypedObject(displayShape, flags); in writeToParcel()
DDisplay.java1158 final DisplayShape displayShape = mDisplayInfo.displayShape; in getShape() local
1160 if (displayShape != null && rotation != mDisplayInfo.rotation) { in getShape()
1161 return displayShape.setRotation(rotation); in getShape()
1163 return displayShape; in getShape()
DWindowInsets.java151 DisplayShape displayShape, in WindowInsets() argument
179 mDisplayShape = displayShape; in WindowInsets()
1661 public Builder setDisplayShape(@NonNull DisplayShape displayShape) { in setDisplayShape() argument
1662 mDisplayShape = displayShape; in setDisplayShape()
DInsetsState.java528 public void setDisplayShape(DisplayShape displayShape) { in setDisplayShape() argument
529 mDisplayShape = displayShape; in setDisplayShape()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java133 new PrivacyIndicatorBounds(), info.displayShape); in createDisplayFrames()