{
  "schema": "https://windowinsets.info/schemas/device-window-insets-v1.schema.json",
  "schemaVersion": 1,
  "device": {
    "slug": "galaxy-z-flip4",
    "name": "Galaxy Z Flip4",
    "brand": "Samsung",
    "series": "Galaxy Z Flip",
    "formFactor": "foldable-flip",
    "foldAnimation": true,
    "releaseYear": 2022
  },
  "screens": [
    {
      "id": "main",
      "label": "Main",
      "specifications": {
        "evidence": "registered",
        "diagonalInch": 6.7,
        "resolutionPx": {
          "width": 1080,
          "height": 2640
        },
        "ppi": 425
      },
      "capture": {
        "status": "measured",
        "value": {
          "evidence": "measured",
          "logicalSize": {
            "dp": {
              "width": 360,
              "height": 880
            },
            "px": {
              "width": 1080,
              "height": 2640
            }
          },
          "densityDpi": 480,
          "orientation": "portrait",
          "displayRotation": 0,
          "cornerRadii": {
            "dp": {
              "topLeft": 36,
              "topRight": 36,
              "bottomRight": 36,
              "bottomLeft": 36
            },
            "px": {
              "topLeft": 108,
              "topRight": 108,
              "bottomRight": 108,
              "bottomLeft": 108
            }
          }
        }
      },
      "navigationModes": {
        "gesture": {
          "status": "measured",
          "value": {
            "evidence": "measured",
            "raw": {
              "systemBars": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 15,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 45,
                  "left": 0
                }
              },
              "statusBars": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                }
              },
              "navigationBars": {
                "dp": {
                  "top": 0,
                  "right": 0,
                  "bottom": 15,
                  "left": 0
                },
                "px": {
                  "top": 0,
                  "right": 0,
                  "bottom": 45,
                  "left": 0
                }
              },
              "systemGestures": {
                "dp": {
                  "top": 43.33,
                  "right": 30,
                  "bottom": 32,
                  "left": 30
                },
                "px": {
                  "top": 130,
                  "right": 90,
                  "bottom": 96,
                  "left": 90
                }
              },
              "mandatorySystemGestures": {
                "dp": {
                  "top": 43.33,
                  "right": 0,
                  "bottom": 32,
                  "left": 0
                },
                "px": {
                  "top": 130,
                  "right": 0,
                  "bottom": 96,
                  "left": 0
                }
              },
              "tappableElement": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                }
              },
              "displayCutoutInsets": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                }
              },
              "displayCutoutBounds": {
                "dp": {
                  "left": 168.33,
                  "top": 0,
                  "width": 23.67,
                  "height": 31.33,
                  "right": 168,
                  "bottom": 848.67
                },
                "px": {
                  "left": 505,
                  "top": 0,
                  "width": 71,
                  "height": 94,
                  "right": 504,
                  "bottom": 2546
                }
              }
            },
            "derived": {
              "safeAreaInsets": {
                "evidence": "derived",
                "method": "max(systemBars, displayCutoutInsets) per edge",
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 15,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 45,
                  "left": 0
                }
              },
              "safeAreaSize": {
                "evidence": "derived",
                "method": "logicalSize - safeAreaInsets",
                "dp": {
                  "width": 360,
                  "height": 833.67
                },
                "px": {
                  "width": 1080,
                  "height": 2501
                }
              }
            },
            "condition": {
              "oneUi": "6.1.1",
              "android": "14",
              "note": "Samsung RTL Vietnam/Hanoi, SM-F721BE-VN1, physically unfolded in portrait (rotation 0). Active and maximum windows both 1080×2640 px at 480 dpi, font scale 1. A horizontal FLAT folding feature crossed y=1320. Captures report matching navigation mode from Android insets, Settings and configuration. View rotation does not supply landscape insets.",
              "emulator": null
            },
            "sources": [
              {
                "kind": "measured",
                "label": "InsetsProbe 1.3.0 on Samsung RTL Galaxy Z Flip4 main, gesture (SM-F721B)",
                "url": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-gesture.json",
                "retrievedAt": "2026-09-25",
                "note": null
              }
            ]
          }
        },
        "threeButton": {
          "status": "measured",
          "value": {
            "evidence": "measured",
            "raw": {
              "systemBars": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 48,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 144,
                  "left": 0
                }
              },
              "statusBars": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                }
              },
              "navigationBars": {
                "dp": {
                  "top": 0,
                  "right": 0,
                  "bottom": 48,
                  "left": 0
                },
                "px": {
                  "top": 0,
                  "right": 0,
                  "bottom": 144,
                  "left": 0
                }
              },
              "systemGestures": {
                "dp": {
                  "top": 43.33,
                  "right": 0,
                  "bottom": 48,
                  "left": 0
                },
                "px": {
                  "top": 130,
                  "right": 0,
                  "bottom": 144,
                  "left": 0
                }
              },
              "mandatorySystemGestures": {
                "dp": {
                  "top": 43.33,
                  "right": 0,
                  "bottom": 48,
                  "left": 0
                },
                "px": {
                  "top": 130,
                  "right": 0,
                  "bottom": 144,
                  "left": 0
                }
              },
              "tappableElement": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 48,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 144,
                  "left": 0
                }
              },
              "displayCutoutInsets": {
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 0,
                  "left": 0
                }
              },
              "displayCutoutBounds": {
                "dp": {
                  "left": 168.33,
                  "top": 0,
                  "width": 23.67,
                  "height": 31.33,
                  "right": 168,
                  "bottom": 848.67
                },
                "px": {
                  "left": 505,
                  "top": 0,
                  "width": 71,
                  "height": 94,
                  "right": 504,
                  "bottom": 2546
                }
              }
            },
            "derived": {
              "safeAreaInsets": {
                "evidence": "derived",
                "method": "max(systemBars, displayCutoutInsets) per edge",
                "dp": {
                  "top": 31.33,
                  "right": 0,
                  "bottom": 48,
                  "left": 0
                },
                "px": {
                  "top": 94,
                  "right": 0,
                  "bottom": 144,
                  "left": 0
                }
              },
              "safeAreaSize": {
                "evidence": "derived",
                "method": "logicalSize - safeAreaInsets",
                "dp": {
                  "width": 360,
                  "height": 800.67
                },
                "px": {
                  "width": 1080,
                  "height": 2402
                }
              }
            },
            "condition": {
              "oneUi": "6.1.1",
              "android": "14",
              "note": "Samsung RTL Vietnam/Hanoi, SM-F721BE-VN1, physically unfolded in portrait (rotation 0). Active and maximum windows both 1080×2640 px at 480 dpi, font scale 1. A horizontal FLAT folding feature crossed y=1320. Captures report matching navigation mode from Android insets, Settings and configuration. View rotation does not supply landscape insets.",
              "emulator": null
            },
            "sources": [
              {
                "kind": "measured",
                "label": "InsetsProbe 1.3.0 on Samsung RTL Galaxy Z Flip4 main, threeButton (SM-F721B)",
                "url": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-threeButton.json",
                "retrievedAt": "2026-09-25",
                "note": null
              }
            ]
          }
        }
      },
      "sources": [
        {
          "kind": "official",
          "label": "Samsung Galaxy Z Flip4 Specifications",
          "url": "https://news.samsung.com/us/samsung-galaxy-z-flip4-galaxy-z-fold4-unpacked-2022-most-versatile-smartphones",
          "retrievedAt": "2026-09-25",
          "note": null
        },
        {
          "kind": "measured",
          "label": "InsetsProbe 1.3.0 on Samsung RTL Galaxy Z Flip4 main, gesture (SM-F721B)",
          "url": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-gesture.json",
          "retrievedAt": "2026-09-25",
          "note": null
        },
        {
          "kind": "measured",
          "label": "InsetsProbe 1.3.0 on Samsung RTL Galaxy Z Flip4 main, threeButton (SM-F721B)",
          "url": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-threeButton.json",
          "retrievedAt": "2026-09-25",
          "note": null
        }
      ]
    }
  ],
  "sources": [
    {
      "kind": "official",
      "label": "Samsung Galaxy Z Flip4 Specifications",
      "url": "https://news.samsung.com/us/samsung-galaxy-z-flip4-galaxy-z-fold4-unpacked-2022-most-versatile-smartphones",
      "retrievedAt": "2026-09-25",
      "note": null
    },
    {
      "kind": "measured",
      "label": "InsetsProbe 1.3.0 on Samsung RTL Galaxy Z Flip4 main, gesture (SM-F721B)",
      "url": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-gesture.json",
      "retrievedAt": "2026-09-25",
      "note": null
    },
    {
      "kind": "measured",
      "label": "InsetsProbe 1.3.0 on Samsung RTL Galaxy Z Flip4 main, threeButton (SM-F721B)",
      "url": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-threeButton.json",
      "retrievedAt": "2026-09-25",
      "note": null
    }
  ],
  "development": {
    "captures": [
      {
        "screen": "main",
        "rotation": 0,
        "navigation": "gesture",
        "displaySizePx": {
          "width": 1080,
          "height": 2640
        },
        "densityDpi": 480,
        "windowSizeDp": {
          "width": 360,
          "height": 880
        },
        "windowSizeClass": {
          "width": "Compact",
          "widthExtended": null,
          "height": "Medium"
        },
        "displayCutout": true,
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "HORIZONTAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 0,
              "top": 440,
              "right": 360,
              "bottom": 440
            }
          }
        ],
        "composePreview": "@Preview(device = \"spec:width=1080px,height=2640px,dpi=480,cutout=punch_hole,navigation=gesture\")",
        "capturedAt": "2026-09-25",
        "rawCapture": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-gesture.json"
      },
      {
        "screen": "main",
        "rotation": 0,
        "navigation": "threeButton",
        "displaySizePx": {
          "width": 1080,
          "height": 2640
        },
        "densityDpi": 480,
        "windowSizeDp": {
          "width": 360,
          "height": 880
        },
        "windowSizeClass": {
          "width": "Compact",
          "widthExtended": null,
          "height": "Medium"
        },
        "displayCutout": true,
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "HORIZONTAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 0,
              "top": 440,
              "right": 360,
              "bottom": 440
            }
          }
        ],
        "composePreview": "@Preview(device = \"spec:width=1080px,height=2640px,dpi=480,cutout=punch_hole,navigation=buttons\")",
        "capturedAt": "2026-09-25",
        "rawCapture": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/main-threeButton.json"
      },
      {
        "screen": "main",
        "rotation": 1,
        "navigation": "gesture",
        "displaySizePx": {
          "width": 2640,
          "height": 1080
        },
        "densityDpi": 480,
        "windowSizeDp": {
          "width": 880,
          "height": 360
        },
        "windowSizeClass": {
          "width": "Expanded",
          "widthExtended": null,
          "height": "Compact"
        },
        "displayCutout": true,
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "VERTICAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 440,
              "top": 0,
              "right": 440,
              "bottom": 360
            }
          }
        ],
        "composePreview": "@Preview(device = \"spec:width=2640px,height=1080px,dpi=480,cutout=punch_hole,navigation=gesture\")",
        "capturedAt": "2026-09-28",
        "rawCapture": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/recapture-2026-09-28-rotation/main-landscape-1-gesture.json"
      },
      {
        "screen": "main",
        "rotation": 1,
        "navigation": "threeButton",
        "displaySizePx": {
          "width": 2640,
          "height": 1080
        },
        "densityDpi": 480,
        "windowSizeDp": {
          "width": 880,
          "height": 360
        },
        "windowSizeClass": {
          "width": "Expanded",
          "widthExtended": null,
          "height": "Compact"
        },
        "displayCutout": true,
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "VERTICAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 440,
              "top": 0,
              "right": 440,
              "bottom": 360
            }
          }
        ],
        "composePreview": "@Preview(device = \"spec:width=2640px,height=1080px,dpi=480,cutout=punch_hole,navigation=buttons\")",
        "capturedAt": "2026-09-28",
        "rawCapture": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/recapture-2026-09-28-rotation/main-landscape-1-threeButton.json"
      },
      {
        "screen": "main",
        "rotation": 3,
        "navigation": "gesture",
        "displaySizePx": {
          "width": 2640,
          "height": 1080
        },
        "densityDpi": 480,
        "windowSizeDp": {
          "width": 880,
          "height": 360
        },
        "windowSizeClass": {
          "width": "Expanded",
          "widthExtended": null,
          "height": "Compact"
        },
        "displayCutout": true,
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "VERTICAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 440,
              "top": 0,
              "right": 440,
              "bottom": 360
            }
          }
        ],
        "composePreview": "@Preview(device = \"spec:width=2640px,height=1080px,dpi=480,cutout=punch_hole,navigation=gesture\")",
        "capturedAt": "2026-09-28",
        "rawCapture": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/recapture-2026-09-28-rotation/main-landscape-3-gesture.json"
      },
      {
        "screen": "main",
        "rotation": 3,
        "navigation": "threeButton",
        "displaySizePx": {
          "width": 2640,
          "height": 1080
        },
        "densityDpi": 480,
        "windowSizeDp": {
          "width": 880,
          "height": 360
        },
        "windowSizeClass": {
          "width": "Expanded",
          "widthExtended": null,
          "height": "Compact"
        },
        "displayCutout": true,
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "VERTICAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 440,
              "top": 0,
              "right": 440,
              "bottom": 360
            }
          }
        ],
        "composePreview": "@Preview(device = \"spec:width=2640px,height=1080px,dpi=480,cutout=punch_hole,navigation=buttons\")",
        "capturedAt": "2026-09-28",
        "rawCapture": "https://github.com/easyhooon/windowinsets.info/blob/main/measurements/galaxy-flip/galaxy-z-flip4/recapture-2026-09-28-rotation/main-landscape-3-threeButton.json"
      }
    ],
    "windowSizeClasses": [
      {
        "screen": "main",
        "rotation": 0,
        "status": "measured",
        "windowSizeDp": {
          "width": 360,
          "height": 880
        },
        "windowSizeClass": {
          "width": "Compact",
          "widthExtended": null,
          "height": "Medium"
        },
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "HORIZONTAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 0,
              "top": 440,
              "right": 360,
              "bottom": 440
            }
          }
        ],
        "capturedAt": "2026-09-25"
      },
      {
        "screen": "main",
        "rotation": 1,
        "status": "measured",
        "windowSizeDp": {
          "width": 880,
          "height": 360
        },
        "windowSizeClass": {
          "width": "Expanded",
          "widthExtended": null,
          "height": "Compact"
        },
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "VERTICAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 440,
              "top": 0,
              "right": 440,
              "bottom": 360
            }
          }
        ],
        "capturedAt": "2026-09-28"
      },
      {
        "screen": "main",
        "rotation": 3,
        "status": "measured",
        "windowSizeDp": {
          "width": 880,
          "height": 360
        },
        "windowSizeClass": {
          "width": "Expanded",
          "widthExtended": null,
          "height": "Compact"
        },
        "hingeAngleDegrees": null,
        "foldingFeatures": [
          {
            "state": "FLAT",
            "orientation": "VERTICAL",
            "isSeparating": false,
            "occlusionType": "NONE",
            "boundsDp": {
              "left": 440,
              "top": 0,
              "right": 440,
              "bottom": 360
            }
          }
        ],
        "capturedAt": "2026-09-28"
      }
    ]
  }
}
