Searched refs:imeSource (Results 1 – 3 of 3) sorted by relevance
127 final InsetsSource imeSource = pd.mInsetsState.getSource(InsetsState.ITYPE_IME); in isImeShowing() local128 return imeSource != null && pd.mImeSourceControl != null && imeSource.isVisible(); in isImeShowing()277 private boolean calcIsFloating(InsetsSource imeSource) { in calcIsFloating() argument278 final Rect frame = imeSource.getFrame(); in calcIsFloating()292 final InsetsSource imeSource = mInsetsState.getSource(InsetsState.ITYPE_IME); in startAnimation() local293 if (imeSource == null || mImeSourceControl == null) { in startAnimation()296 final Rect newFrame = imeSource.getFrame(); in startAnimation()297 final boolean isFloating = calcIsFloating(imeSource) && show; in startAnimation()
192 InsetsSource imeSource = state.peekSource(ITYPE_IME); in getInsetsForDispatchInner() local193 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()
383 final InsetsSource imeSource = state.peekSource(ITYPE_IME); in testImeMinimalSourceFrame() local386 assertNotNull(imeSource); in testImeMinimalSourceFrame()388 assertFalse(imeSource.getFrame().isEmpty()); in testImeMinimalSourceFrame()390 assertTrue(imeSource.getFrame().contains(navBarSource.getFrame())); in testImeMinimalSourceFrame()