Files
frameworks_base/core/java/android/app
Tiger Huang 4a7835ffb6 Window Manager Flag Migration (7/n)
Introduce new APIs in Window/WindowManager.LayoutParams for developers
to decide which types of insets at which side a window should avoid:

    setFitWindowInsetsTypes(@InsetsType int types)
    setFitWindowInsetsSides(@InsetsSide int sides)
    setFitIgnoreVisibility(boolean ignore)

The existing logic in DisplayPolicy.layoutWindowLw uses combinations of
window types, window flags, and system UI flags to decide what frames a
window should have, which is very complex, difficult to maintain, and
should be replaced with the new APIs.

Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
            InsetsPolicyTest WindowStateTests CommandQueueTest
            RegisterStatusBarResultTest InsetsFlagsTest
            LightBarControllerTest RegisterStatusBarResultTest
            ViewRootImplTest DisplayPolicyLayoutTests
            DisplayPolicyInsetsTests DisplayPolicyTests
            TaskSnapshotSurfaceTest
Change-Id: I06ddc9d0d2887ba4ded7bb8adbf9c9c0da4bf7b4
2019-12-16 17:08:21 +08:00
..
2019-12-14 03:06:25 +00:00
2019-11-11 16:12:46 -08:00
2019-07-02 13:17:05 -07:00
2019-10-17 14:15:07 -07:00
2019-10-17 14:15:07 -07:00
2019-04-30 11:16:21 -07:00
2019-09-10 11:07:32 -07:00
2019-11-22 09:12:25 -08:00
2019-11-22 09:12:25 -08:00
2019-10-17 14:15:07 -07:00
2019-04-15 12:46:35 -07:00
2019-11-21 10:28:22 +00:00
2019-04-15 23:13:42 +00:00