getStatusBarVisibleRect

Returns the window coordinates of the currently visible StatusBar area.
Uses WindowInsetsCompat with visibility detection. Returns empty Rect if StatusBar is hidden.

현재 보이는 StatusBar 영역의 윈도우 좌표를 반환합니다.
WindowInsetsCompat과 가시성 감지를 사용합니다. StatusBar가 숨겨진 경우 빈 Rect를 반환합니다.

Return

Rect with window coordinates relative to decorView (left=0, top=0, right=decorViewWidth, bottom=statusBarHeight), or null if WindowInsets not ready (early initialization before view measurement).

decorView 기준 윈도우 좌표를 가진 Rect (left=0, top=0, right=decorView너비, bottom=상태바높이), WindowInsets 미준비 시 (뷰 측정 전 초기화 단계) null.