Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java75 private InsetsState mInsetsState; field in InsetsAnimationControlImplTest
102 mInsetsState = new InsetsState(); in setup()
103 mInsetsState.getSource(TYPE_TOP_BAR).setFrame(new Rect(0, 0, 500, 100)); in setup()
104 mInsetsState.getSource(TYPE_NAVIGATION_BAR).setFrame(new Rect(400, 0, 500, 500)); in setup()
105 InsetsSourceConsumer topConsumer = new InsetsSourceConsumer(TYPE_TOP_BAR, mInsetsState, in setup()
110 mInsetsState, () -> mMockTransaction, mMockController); in setup()
119 new Rect(0, 0, 500, 500), mInsetsState, mMockListener, systemBars(), in setup()
151 when(mMockController.getState()).thenReturn(mInsetsState); in testFinishing()
153 mController.applyChangeInsets(mInsetsState); in testFinishing()
154 assertFalse(mInsetsState.getSource(TYPE_TOP_BAR).isVisible()); in testFinishing()
[all …]
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java193 final InsetsState mInsetsState = new InsetsState(); field in WallpaperService.Engine
827 mInsetsState) < 0) { in updateSurface()
854 mInsetsState); in updateSurface()