windowinsets.info

Galaxy Z Flip Window Insets

Metrics

MarkdownJSON

Dimensions

Logical Size
360 × 878.67 dp
Resolution
1080 × 2636 px
Aspect Ratio
5:12
sw600dp
No
Physical Density
425 ppi
Android Density
480 dpi
Scale
3×
What does sw600dp mean?

“sw” means smallest width. Android's sw600dp resource qualifier applies when the app's smallest available width is at least 600 dp. The Yes/No value here compares the selected display's shorter measured logical dimension with 600 dp; exactly 600 dp counts as Yes.

Why do outer and inner sizes differ?

The diagram is drawn in Android layout units, not millimeters. Each display has its own pixel resolution and Android density, so a smaller px or dp value does not mean a physically shorter display.

  • Inner: 1080 × 2636 px ÷ 3 (480 dpi) = 360 × 878.67 dp

Safe Area Insets

Top
30.67 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

With the keyboard hidden, Compose's WindowInsets.safeDrawing and a View's systemBars() or displayCutout() insets resolve to these values.Compose · Views guide →

Display Cutout Bounds

Size
30.33 × 30.33 dp
Left
165 dp
Top
0 dp
Right
164.67 dp
Bottom
848.33 dp

Android-reported exclusion rectangle. Camera lenses may share one region; individual lens diameters and spacing are not measured.Cutout measurement limits →

Corner Radii · Portrait

Top Left
36 dp
Top Right
36 dp
Bottom Right
36 dp
Bottom Left
36 dp
Use in development Preview spec, size class, AVD, adb

Compose Preview

Kotlin
// Galaxy Z Flip · 3-button · ROTATION_0 (captured 2026-09-24)
@Preview(device = "spec:width=1080px,height=2636px,dpi=480,cutout=punch_hole,navigation=buttons")
@Composable
fun ZFlipPreview() {
    // Your screen here
}

Size and density match this capture exactly. Compose Preview draws its own generic system bars and cutout, not One UI's: check layouts against the measured insets above.

Window Size Class

Window
360 × 878.67 dp
Width / Height
Compact / Medium
FoldingFeature
FLAT
  • ROTATION_0Compact / Medium
    360 × 878.67 dpFLAT · HORIZONTAL · y=439.33dp
  • ROTATION_90Expanded / Compact
    878.67 × 360 dpFLAT · VERTICAL · x=439.33dp
  • ROTATION_270Expanded / Compact
    878.67 × 360 dpFLAT · VERTICAL · x=439.33dp

From WindowMetrics' maximum window in each capture (breakpoints: width 600 / 840 dp, height 480 / 900 dp; Large ≥ 1200 dp). Rotations without a capture are never derived by swapping width and height. HALF_OPENED (tabletop and book postures) is not measured yet: Remote Test Lab devices cannot be folded.

Emulator

Screen from this capture and the official diagonal; other hardware entries are emulator defaults. Import in Device Manager › Create Virtual Device › Import Hardware Profiles. Android Studio profiles describe a single screen; each display gets its own profile.

Shell
# Galaxy Z Flip · 3-button · ROTATION_0 (captured 2026-09-24)
adb shell wm size 1080x2636
adb shell wm density 480
adb shell cmd overlay enable-exclusive --category com.android.internal.systemui.navbar.threebutton
adb shell cmd overlay enable-exclusive --category com.android.internal.display.cutout.emulation.hole
adb shell settings put system accelerometer_rotation 0
adb shell settings put system user_rotation 0

# Restore the emulator's defaults
adb shell wm size reset
adb shell wm density reset
adb shell cmd overlay enable-exclusive --category com.android.internal.systemui.navbar.gestural
adb shell cmd overlay disable com.android.internal.display.cutout.emulation.hole
adb shell settings put system user_rotation 0
adb shell settings put system accelerometer_rotation 1

Runs your app at this capture's window size and density in the selected navigation mode and rotation; open your app first, since a portrait-locked launcher keeps the display upright. The cutout is AOSP's generic punch hole and the system bars stay the emulator's own, so the measured insets above are not reproduced.

Official Samsung emulator skins ↗
Android details & sources All insets, test fixture, captures
Reservable on RTL ↗

A live Samsung RTL reservation was opened successfully. Measurement coverage is shown separately for each screen and navigation mode.

Checked 2026-09-25 · Measured selection

System Bars · 3-button

Top
30.67 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

Display Cutout Insets

Top
30.33 dp
Bottom
0 dp
Left
0 dp
Right
0 dp

Status Bars

Top
30.67 dp
Bottom
0 dp
Left
0 dp
Right
0 dp

Navigation Bars

Top
0 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

System Gestures

Top
42.33 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

Mandatory System Gestures

Top
42.33 dp
Bottom
48 dp
Left
0 dp
Right
0 dp

Tappable Element

Top
30.67 dp
Bottom
48 dp
Left
0 dp
Right
0 dp
Test fixture · WindowInsetsCompat

Exact px of this capture for JVM UI tests (Robolectric, Paparazzi, Roborazzi).

Measured On

One UI
5.1.1
Android
13

Galaxy Z Flip · Main · Captured portrait. Rotation changes the view, not the recorded Android insets.

Samsung RTL India/Noida, SM-F700F-IN5, unfolded in portrait (rotation 0). Active and maximum windows both 1080×2636 px; density 480 dpi matched the default and font scale was 1. A horizontal FLAT folding feature crossed y=1318; the hinge-angle sensor was unavailable. Android Settings and InsetsProbe agreed on each navigation mode. View rotation does not supply landscape insets.

How these values are measured →
180°

Scroll or drag to pan · Pinch to zoom · + / − to zoom · 0 to fit · ? for shortcuts

Keyboard shortcuts

Switch navigation mode
n
Rotate clockwise
r
Rotate counterclockwise
R
Switch dp / px
u
Show frame
f
Show regions
g
Show dimensions
d
Search devices (Enter opens the first match)
⌘K / Ctrl K, /
Zoom in / out
+ / −
Fit to canvas
0
Show this help
?

They never fire while typing. Turn them off if they conflict with a screen reader or speech input.