Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsAnimationControlImplTest.java78 private InsetsState mInsetsState; field in InsetsAnimationControlImplTest
104 mInsetsState = new InsetsState(); in setup()
105 mInsetsState.getSource(ITYPE_STATUS_BAR).setFrame(new Rect(0, 0, 500, 100)); in setup()
106 mInsetsState.getSource(ITYPE_NAVIGATION_BAR).setFrame(new Rect(400, 0, 500, 500)); in setup()
107 InsetsSourceConsumer topConsumer = new InsetsSourceConsumer(ITYPE_STATUS_BAR, mInsetsState, in setup()
114 mInsetsState, () -> mMockTransaction, mMockController); in setup()
123 new Rect(0, 0, 500, 500), mInsetsState, mMockListener, systemBars(), in setup()
183 when(mMockController.getState()).thenReturn(mInsetsState); in testFinishing()
185 mController.applyChangeInsets(mInsetsState); in testFinishing()
223 when(mMockController.getState()).thenReturn(mInsetsState); in testFinish_immediately()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayImeController.java127 final InsetsSource imeSource = pd.mInsetsState.getSource(InsetsState.ITYPE_IME); in isImeShowing()
185 final InsetsState mInsetsState = new InsetsState(); field in DisplayImeController.PerDisplay
202 if (mInsetsState.equals(insetsState)) { in insetsChanged()
208 final Rect oldFrame = mInsetsState.getSource(InsetsState.ITYPE_IME).getFrame(); in insetsChanged()
210 mInsetsState.set(insetsState, true /* copySources */); in insetsChanged()
266 mInsetsState.getSource(InsetsState.ITYPE_IME).setVisible(visible); in setVisibleDirectly()
268 mSystemWindows.mWmService.modifyDisplayWindowInsets(mDisplayId, mInsetsState); in setVisibleDirectly()
292 final InsetsSource imeSource = mInsetsState.getSource(InsetsState.ITYPE_IME); in startAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotSurface.java556 private final InsetsState mInsetsState; field in TaskSnapshotSurface.SystemBarBackgroundPainter
580 mInsetsState = insetsState; in SystemBarBackgroundPainter()
594 mInsetsState, mStatusBarColor, mWindowFlags, forceBarBackground)) { in getStatusBarColorViewHeight()
608 mInsetsState, mNavigationBarColor, mWindowFlags, forceBarBackground); in isNavigationBarColorViewVisible()
DWindowToken.java128 final InsetsState mInsetsState = new InsetsState(); field in WindowToken.FixedRotationTransformState
527 return isFixedRotationTransforming() ? mFixedRotationTransformState.mInsetsState : null; in getFixedRotationTransformInsetsState()
540 mFixedRotationTransformState.mInsetsState, in applyFixedRotationTransform()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java193 final InsetsState mInsetsState = new InsetsState(); field in WallpaperService.Engine
883 mInsetsState, mTempControls) < 0) { in updateSurface()
908 mInsetsState, mTempControls, mSurfaceSize, mTmpSurfaceControl); in updateSurface()