History log of /frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f7b7426d81c5365473d00362cf158aa5ae35cee3 22-Nov-2017 Adrian Roos <roosa@google.com> Display Cutout: Fix ActionBarOverlayLayout to properly dispatch cutout

ActionBarOverlayLayout used to drop WindowInsets, extract the content insets
as a rect, and then dispatch a modified rect to the content view; this because
there was no way to retarget the WindowInsets to the content view, and the
WindowInsets were not truly immutable. That means however, that other kinds of
insets than the content insets do not get dispatched, such as the display cutout.

To fix this, we add APIs to inset WindowInsets, make them immutable. Note that
a similar change is needed for the support lib.

Bug: 79733300
Test: atest ActionBarOverlayLayoutTest
Change-Id: I6a69d8462163ca5e66fdb53f83def6bc4063f8aa
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
ac7e2552fd0abcb936813ea1cb0d4ce35fb4ab4b 07-Mar-2018 Wale Ogunwale <ogunwale@google.com> Removed @FlakyTest from ScreenDecorWindowTests

Issues causing test to be flaky have been fixed.

Change-Id: Ie167c89bf32d24adb20766d2a36773b3f268d9ee
Fixes: 68957554
Test: this
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
7a561ea05ed5ef73a9009e2bdf70a032803d669a 06-Feb-2018 Wale Ogunwale <ogunwale@google.com> Made ScreenDecorWindowTests less flaky

Wait for insets to change before asserting.

Bug: 68957554
Test: self
Change-Id: I3fcddc6604da43ca9e94094039362bdc63bebf2d
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
828ff7e3ef032f3c3b149be9961fa39a979d2fd2 14-Nov-2017 Wale Ogunwale <ogunwale@google.com> Support insets on secondary displays

Indroduced DisplayFrames object to track frames used to calculate
window insets per display vs. at a global level in PhoneWindowManager.

Bug: 64148922
Change-Id: I19f166920eba0a4f933a223a77e096bcc8dab0c1
Test: bit FrameworksServicesTests:com.android.server.wm.ScreenDecorWindowTests
Test: go/wm-smoke
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
7bb06e012a33c94c68b173bc8f276f78e0d60764 13-Nov-2017 Wale Ogunwale <ogunwale@google.com> Revert "Support insets on secondary displays"

This reverts commit 9bc2692939d4dececbfde5ea67df4594a7842bd1.

Change-Id: Ia065372e9e220e653b4729a290663c3536d99307
Fixes: 69241956
Bug: 64148922
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
9bc2692939d4dececbfde5ea67df4594a7842bd1 06-Nov-2017 Wale Ogunwale <ogunwale@google.com> Support insets on secondary displays

Indroduced DisplayFrames object to track frames used to calculate
window insets per display vs. at a global level in PhoneWindowManager.

Bug: 64148922
Test: bit FrameworksServicesTests:com.android.server.wm.ScreenDecorWindowTests
Test: go/wm-smoke
Change-Id: I4a668d6c2dd0bfa666cb6acecf663cf83545ea87
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
9b24193e4d2e93c6e43b0f5e288b97842c22be57 07-Nov-2017 Wale Ogunwale <ogunwale@google.com> Removed ScreenDecorWindowTests from @Presubmit

Test is currently flaky...

Test: this
Bug: 68957554
Change-Id: I31d4fd7e0c3f06ea942dab94067cb03dfb7f7c87
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java
c0b0f93e96a290c819b77da169fc41e789027d21 01-Nov-2017 Wale Ogunwale <ogunwale@google.com> Support for WM.LayoutParams.PRIVATE_FLAG_IS_SCREEN_DECOR.

Allow any process with the STATUS_BAR_SERVICE permission to add a
window that would be considered a screen decoration by the system
similar to the nav bar or status bar.

Test: bit FrameworksServicesTests:com.android.server.wm.ScreenDecorWindowTests
Bug: 68002203
Bug: 64148922
Change-Id: I8c78b82c10c638b54a528a77b96f5bf8dd18bf6f
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ScreenDecorWindowTests.java