Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72dbb9b3 authored by Wale Ogunwale's avatar Wale Ogunwale Committed by Android Git Automerger
Browse files

am 7e003ba7: Merge "Added documentation for various window frame types." into...

am 7e003ba7: Merge "Added documentation for various window frame types." into lmp-mr1-dev automerge: 674f55e5 automerge: e1c6d898

* commit '7e003ba7':
  Added documentation for various window frame types.
parents b21e2e39 7e003ba7
Loading
Loading
Loading
Loading
+23 −3
Original line number Diff line number Diff line
@@ -227,13 +227,33 @@ final class WindowState implements WindowManagerPolicy.WindowState {
    final Rect mCompatFrame = new Rect();

    final Rect mContainingFrame = new Rect();

    final Rect mParentFrame = new Rect();

    // The entire screen area of the device.
    final Rect mDisplayFrame = new Rect();

    // The region of the display frame that the display type supports displaying content on. This
    // is mostly a special case for TV where some displays don’t have the entire display usable.
    // {@link WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN} flag can be used to allow
    // window display contents to extend into the overscan region.
    final Rect mOverscanFrame = new Rect();

    // The display frame minus the stable insets. This value is always constant regardless of if
    // the status bar or navigation bar is visible.
    final Rect mStableFrame = new Rect();

    // The area not occupied by the status and navigation bars. So, if both status and navigation
    // bars are visible, the decor frame is equal to the stable frame.
    final Rect mDecorFrame = new Rect();

    // Equal to the decor frame if the IME (e.g. keyboard) is not present. Equal to the decor frame
    // minus the area occupied by the IME if the IME is present.
    final Rect mContentFrame = new Rect();
    final Rect mParentFrame = new Rect();

    // Legacy stuff. Generally equal to the content frame expect when the IME for older apps
    // displays hint text.
    final Rect mVisibleFrame = new Rect();
    final Rect mDecorFrame = new Rect();
    final Rect mStableFrame = new Rect();

    boolean mContentChanged;