Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayImeController.java127 final InsetsSource imeSource = pd.mInsetsState.getSource(InsetsState.ITYPE_IME); in isImeShowing() local
128 return imeSource != null && pd.mImeSourceControl != null && imeSource.isVisible(); in isImeShowing()
277 private boolean calcIsFloating(InsetsSource imeSource) { in calcIsFloating() argument
278 final Rect frame = imeSource.getFrame(); in calcIsFloating()
292 final InsetsSource imeSource = mInsetsState.getSource(InsetsState.ITYPE_IME); in startAnimation() local
293 if (imeSource == null || mImeSourceControl == null) { in startAnimation()
296 final Rect newFrame = imeSource.getFrame(); in startAnimation()
297 final boolean isFloating = calcIsFloating(imeSource) && show; in startAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsStateController.java192 InsetsSource imeSource = state.peekSource(ITYPE_IME); in getInsetsForDispatchInner() local
193 if (imeSource != null && imeSource.isVisible()) { in getInsetsForDispatchInner()
194 imeSource = new InsetsSource(imeSource); in getInsetsForDispatchInner()
195 imeSource.setVisible(false); in getInsetsForDispatchInner()
196 imeSource.setFrame(0, 0, 0, 0); in getInsetsForDispatchInner()
198 state.addSource(imeSource); in getInsetsForDispatchInner()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java383 final InsetsSource imeSource = state.peekSource(ITYPE_IME); in testImeMinimalSourceFrame() local
386 assertNotNull(imeSource); in testImeMinimalSourceFrame()
388 assertFalse(imeSource.getFrame().isEmpty()); in testImeMinimalSourceFrame()
390 assertTrue(imeSource.getFrame().contains(navBarSource.getFrame())); in testImeMinimalSourceFrame()