Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java21 import static android.view.InsetsState.TYPE_IME;
70 mState.getSource(TYPE_IME).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets()
71 mState.getSource(TYPE_IME).setVisible(true); in testCalculateInsets()
78 assertEquals(INSET_SIDE_BOTTOM, typeSideMap.get(TYPE_IME)); in testCalculateInsets()
90 mState.getSource(TYPE_IME).setFrame(new Rect(0, 100, 100, 300)); in testCalculateInsets_imeAndNav()
91 mState.getSource(TYPE_IME).setVisible(true); in testCalculateInsets_imeAndNav()
123 mState.getSource(TYPE_IME).setFrame(new Rect(0, 200, 100, 300)); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
124 mState.getSource(TYPE_IME).setVisible(true); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
135 mState.getSource(TYPE_IME).setFrame(new Rect(0, 200, 100, 300)); in testStripForDispatch()
136 mState.getSource(TYPE_IME).setVisible(true); in testStripForDispatch()
[all …]
DImeInsetsSourceConsumerTest.java20 import static android.view.InsetsState.TYPE_IME;
85 final InsetsSourceControl ime = new InsetsSourceControl(TYPE_IME, mLeash, new Point()); in testImeVisibility()
DInsetsControllerTest.java19 import static android.view.InsetsState.TYPE_IME;
169 final InsetsSourceControl ime = new InsetsSourceControl(TYPE_IME, mLeash, new Point()); in testApplyImeVisibility()
352 final InsetsSourceControl ime = new InsetsSourceControl(TYPE_IME, mLeash, new Point()); in prepareControls()
/frameworks/base/core/java/android/view/
DInsetsState.java67 TYPE_IME
93 public static final int TYPE_IME = 10; field in InsetsState
95 static final int LAST_TYPE = TYPE_IME;
166 boolean skipIme = source.getType() == TYPE_IME in calculateInsets()
180 if (source.getType() != TYPE_IME) { in calculateInsets()
314 result.add(TYPE_IME); in toInternalType()
327 case TYPE_IME: in toPublicType()
350 case TYPE_IME: in getDefaultVisibility()
DImeInsetsSourceConsumer.java19 import static android.view.InsetsState.TYPE_IME;
50 super(TYPE_IME, state, transactionSupplier, controller); in ImeInsetsSourceConsumer()
DInsetsController.java19 import static android.view.InsetsState.TYPE_IME;
347 mPendingTypesToShow &= ~InsetsState.toPublicType(TYPE_IME); in collectConsumers()
439 getSourceConsumer(TYPE_IME).onWindowFocusGained(); in onWindowFocusGained()
446 getSourceConsumer(TYPE_IME).onWindowFocusLost(); in onWindowFocusLost()
467 if (type == TYPE_IME) { in createConsumerOfType()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsStateController.java19 import static android.view.InsetsState.TYPE_IME;
84 state.removeSource(TYPE_IME); in getInsetsForDispatch()
141 onControlChanged(TYPE_IME, imeTarget); in onImeTargetChanged()
DInsetsSourceProvider.java19 import static android.view.InsetsState.TYPE_IME;
80 } else if (type == TYPE_IME) { in InsetsSourceProvider()
DDisplayContent.java38 import static android.view.InsetsState.TYPE_IME;
3240 mInsetsStateController.getSourceProvider(TYPE_IME).setWindow(win, in setInputMethodWindowLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java19 import static android.view.InsetsState.TYPE_IME;
88 getController().getSourceProvider(TYPE_IME).setWindow(ime, null); in testStripForDispatch_navBar()