Home
last modified time | relevance | path

Searched refs:mContentInsetsListener (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java71 private FakeOnApplyWindowListener mContentInsetsListener; field in ActionBarOverlayLayoutTest
84 mContentInsetsListener = new FakeOnApplyWindowListener(); in setUp()
85 mContent.setOnApplyWindowInsetsListener(mContentInsetsListener); in setUp()
103 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_stable()
108 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, CONSUMED_CUTOUT))); in topInset_consumedCutout_stable()
115 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_notStable()
119 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, CONSUMED_CUTOUT))); in topInset_consumedCutout_notStable()
127 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_stable()
132 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, NO_CUTOUT))); in topInset_noCutout_stable()
139 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_notStable()
[all …]