Home
last modified time | relevance | path

Searched refs:DisplayShape (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DDisplayShapeTest.java48 final DisplayShape displayShape = DisplayShape.fromSpecString( in testGetPath()
60 final DisplayShape displayShape = DisplayShape.createDefaultDisplayShape(100, 100, true); in testDefaultShape_screenIsRound()
69 final DisplayShape displayShape = DisplayShape.createDefaultDisplayShape(100, 200, false); in testDefaultShape_screenIsNotRound()
78 final DisplayShape cached = DisplayShape.fromSpecString( in testFromSpecString_cache()
80 assertThat(DisplayShape.fromSpecString(SPEC_RECTANGULAR_SHAPE, 1f, 100, 200), in testFromSpecString_cache()
86 final Path cached = DisplayShape.fromSpecString( in testGetPath_cache()
88 assertThat(DisplayShape.fromSpecString( in testGetPath_cache()
95 DisplayShape displayShape = DisplayShape.fromSpecString( in testRotate_90()
108 DisplayShape displayShape = DisplayShape.fromSpecString( in testRotate_270()
121 DisplayShape displayShape = DisplayShape.fromSpecString( in testOffset()
[all …]
DWindowInsetsTest.java67 0, null, null, null, DisplayShape.NONE, systemBars(), in compatInsets_layoutStable()
DInsetsStateTest.java675 mState.setDisplayShape(DisplayShape.createDefaultDisplayShape(200, 400, false)); in testCalculateRelativeDisplayShape()
680 final DisplayShape expect = in testCalculateRelativeDisplayShape()
681 DisplayShape.createDefaultDisplayShape(200, 400, false).setOffset(-10, -20); in testCalculateRelativeDisplayShape()
/frameworks/base/core/java/android/view/
DDisplayShape.java47 public final class DisplayShape implements Parcelable { class
50 public static final DisplayShape NONE = new DisplayShape("" /* displayShapeSpec */,
65 private DisplayShape(@NonNull String displayShapeSpec, int displayWidth, int displayHeight, in DisplayShape() method in DisplayShape
71 private DisplayShape(@NonNull String displayShapeSpec, int displayWidth, int displayHeight, in DisplayShape() method in DisplayShape
88 public static DisplayShape fromResources( in fromResources()
105 public static DisplayShape createDefaultDisplayShape( in createDefaultDisplayShape()
116 public static DisplayShape fromSpecString(@NonNull String spec, in fromSpecString()
175 public DisplayShape setRotation(int rotation) { in setRotation()
176 return new DisplayShape(mDisplayShapeSpec, mDisplayWidth, mDisplayHeight, in setRotation()
183 public DisplayShape setOffset(int offsetX, int offsetY) { in setOffset()
[all …]
DDisplayShape.aidl19 parcelable DisplayShape;
DInsetsState.java96 private DisplayShape mDisplayShape = DisplayShape.NONE;
246 private DisplayShape calculateRelativeDisplayShape(Rect frame) { in calculateRelativeDisplayShape()
251 return DisplayShape.NONE; in calculateRelativeDisplayShape()
528 public void setDisplayShape(DisplayShape displayShape) { in setDisplayShape()
532 public DisplayShape getDisplayShape() { in getDisplayShape()
805 mDisplayShape = in.readTypedObject(DisplayShape.CREATOR);
DWindowInsets.java95 @Nullable private final DisplayShape mDisplayShape;
151 DisplayShape displayShape, in WindowInsets()
660 public DisplayShape getDisplayShape() { in getDisplayShape()
1366 private DisplayShape mDisplayShape = DisplayShape.NONE;
1661 public Builder setDisplayShape(@NonNull DisplayShape displayShape) { in setDisplayShape()
DDisplayInfo.java355 public DisplayShape displayShape;
592 displayShape = source.readTypedObject(DisplayShape.CREATOR); in readFromParcel()
DDisplay.java1155 public DisplayShape getShape() { in getShape()
1158 final DisplayShape displayShape = mDisplayInfo.displayShape; in getShape()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java27 import android.view.DisplayShape;
65 DisplayShape displayShape) { in DisplayFrames()
83 @NonNull DisplayShape displayShape) { in update()
DDisplayContent.java221 import android.view.DisplayShape;
423 DisplayShape mInitialDisplayShape;
424 private final RotationCache<DisplayShape, DisplayShape> mDisplayShapeCache =
2065 final DisplayShape displayShape = calculateDisplayShapeForRotation(rotation); in startFixedRotationTransform()
2277 final DisplayShape displayShape = calculateDisplayShapeForRotation(rotation); in updateDisplayAndOrientation()
2401 DisplayShape calculateDisplayShapeForRotation(int rotation) { in calculateDisplayShapeForRotation()
2405 private DisplayShape calculateDisplayShapeForRotationUncached( in calculateDisplayShapeForRotationUncached()
2406 DisplayShape displayShape, int rotation) { in calculateDisplayShapeForRotationUncached()
2408 return DisplayShape.NONE; in calculateDisplayShapeForRotationUncached()
3039 final DisplayShape newDisplayShape = mDisplayInfo.displayShape; in updateBaseDisplayMetricsIfNeeded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeferredDisplayUpdaterDiffTest.java41 import android.view.DisplayShape;
214 } else if (type.equals(DisplayShape.class)) { in setDifferentFieldValues()
215 field.set(first, DisplayShape.createDefaultDisplayShape(100, 200, false)); in setDifferentFieldValues()
216 field.set(second, DisplayShape.createDefaultDisplayShape(50, 100, false)); in setDifferentFieldValues()
DWallpaperControllerTests.java60 import android.view.DisplayShape;
162 DisplayShape.NONE); in testWallpaperSizeWithFixedTransform()
DDisplayPolicyTests.java61 import android.view.DisplayShape;
506 DisplayShape.NONE); in testImeMinimalSourceFrame()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt24 import android.view.DisplayShape
341 /* displayShape = */ DisplayShape.NONE,
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java28 import android.view.DisplayShape;
383 public DisplayShape displayShape;
DOverlayDisplayAdapter.java32 import android.view.DisplayShape;
370 DisplayShape.createDefaultDisplayShape(mInfo.width, mInfo.height, false); in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java38 import android.view.DisplayShape;
670 DisplayShape.createDefaultDisplayShape(mInfo.width, mInfo.height, false); in getDisplayDeviceInfoLocked()
DVirtualDisplayAdapter.java59 import android.view.DisplayShape;
569 DisplayShape.createDefaultDisplayShape(mInfo.width, mInfo.height, false); in getDisplayDeviceInfoLocked()
DLocalDisplayAdapter.java47 import android.view.DisplayShape;
750 mInfo.displayShape = DisplayShape.fromResources( in getDisplayDeviceInfoLocked()
/frameworks/base/core/api/
Dtest-current.txt3646 public final class DisplayShape implements android.os.Parcelable {
3647 …method @NonNull public static android.view.DisplayShape fromSpecString(@NonNull String, float, int…
/frameworks/base/boot/
Dboot-image-profile.txt16103 HSPLandroid/view/DisplayShape$1;-><init>()V
16104 HSPLandroid/view/DisplayShape$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/DisplayShape;
16105 HSPLandroid/view/DisplayShape$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
16106 HSPLandroid/view/DisplayShape;-><clinit>()V
16107 HSPLandroid/view/DisplayShape;-><init>(Ljava/lang/String;IIFI)V
16108 HSPLandroid/view/DisplayShape;-><init>(Ljava/lang/String;IIFIIIF)V
16109 HSPLandroid/view/DisplayShape;-><init>(Ljava/lang/String;IIFIIIFLandroid/view/DisplayShape-IA;)V
16110 HSPLandroid/view/DisplayShape;->equals(Ljava/lang/Object;)Z
16475 …iew/InsetsState;->calculateRelativeDisplayShape(Landroid/graphics/Rect;)Landroid/view/DisplayShape;
16487 HSPLandroid/view/InsetsState;->getDisplayShape()Landroid/view/DisplayShape;
[all …]
Dpreloaded-classes8611 android.view.DisplayShape$1
8612 android.view.DisplayShape-IA
8613 android.view.DisplayShape
/frameworks/base/config/
Dboot-image-profile.txt16167 HSPLandroid/view/DisplayShape$1;-><init>()V
16168 HSPLandroid/view/DisplayShape$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/DisplayShape;
16169 HSPLandroid/view/DisplayShape$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
16170 HSPLandroid/view/DisplayShape;-><clinit>()V
16171 HSPLandroid/view/DisplayShape;-><init>(Ljava/lang/String;IIFI)V
16172 HSPLandroid/view/DisplayShape;-><init>(Ljava/lang/String;IIFIIIF)V
16173 HSPLandroid/view/DisplayShape;-><init>(Ljava/lang/String;IIFIIIFLandroid/view/DisplayShape-IA;)V
16174 HSPLandroid/view/DisplayShape;->equals(Ljava/lang/Object;)Z
16539 …iew/InsetsState;->calculateRelativeDisplayShape(Landroid/graphics/Rect;)Landroid/view/DisplayShape;
16551 HSPLandroid/view/InsetsState;->getDisplayShape()Landroid/view/DisplayShape;
[all …]
Dpreloaded-classes8642 android.view.DisplayShape$1
8643 android.view.DisplayShape-IA
8644 android.view.DisplayShape

12