/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayShapeTest.java | 48 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/ |
D | DisplayFrames.java | 65 DisplayShape displayShape) { in DisplayFrames() argument 68 indicatorBounds, displayShape); in DisplayFrames() 83 @NonNull DisplayShape displayShape) { in update() argument 101 state.setDisplayShape(displayShape); in update()
|
D | DeferredDisplayUpdater.java | 444 || !Objects.equals(first.displayShape, second.displayShape) in calculateDisplayInfoDiff()
|
D | DisplayContent.java | 2065 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/ |
D | DisplayDeviceInfo.java | 383 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()
|
D | LogicalDisplay.java | 549 mBaseDisplayInfo.displayShape = deviceInfo.displayShape; in updateLocked()
|
D | OverlayDisplayAdapter.java | 369 mInfo.displayShape = in getDisplayDeviceInfoLocked()
|
D | WifiDisplayAdapter.java | 669 mInfo.displayShape = in getDisplayDeviceInfoLocked()
|
D | VirtualDisplayAdapter.java | 568 mInfo.displayShape = in getDisplayDeviceInfoLocked()
|
D | LocalDisplayAdapter.java | 750 mInfo.displayShape = DisplayShape.fromResources( in getDisplayDeviceInfoLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | DisplayInfoOverrides.java | 48 out.displayShape = source.displayShape;
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 355 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()
|
D | Display.java | 1158 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()
|
D | WindowInsets.java | 151 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()
|
D | InsetsState.java | 528 public void setDisplayShape(DisplayShape displayShape) { in setDisplayShape() argument 529 mDisplayShape = displayShape; in setDisplayShape()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyLayoutTests.java | 133 new PrivacyIndicatorBounds(), info.displayShape); in createDisplayFrames()
|