Home
last modified time | relevance | path

Searched refs:ime (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java29 import static android.view.WindowInsets.Type.ime;
240 InsetsSourceControl ime = controls[2]; in testAnimationEndState() local
251 assertTrue(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testAnimationEndState()
258 assertFalse(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testAnimationEndState()
266 InsetsSourceControl ime = createControl(ITYPE_IME); in testApplyImeVisibility() local
267 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testApplyImeVisibility()
272 assertTrue(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testApplyImeVisibility()
275 assertFalse(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testApplyImeVisibility()
286 InsetsSourceControl ime = controls[2]; in testShowHideSelectively() local
299 assertFalse(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testShowHideSelectively()
[all …]
DImeInsetsSourceConsumerTest.java96 final InsetsSourceControl ime = new InsetsSourceControl(ITYPE_IME, mLeash, new Point()); in testImeVisibility() local
97 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
104 assertTrue(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testImeVisibility()
109 assertFalse(mController.getSourceConsumer(ime.getType()).isRequestedVisible()); in testImeVisibility()
128 eq(WindowInsets.Type.ime()), eq(true) /* show */, eq(true) /* fromIme */); in testImeRequestedVisibleAwaitingControl()
130 eq(WindowInsets.Type.ime()), eq(false) /* show */, eq(true) /* fromIme */); in testImeRequestedVisibleAwaitingControl()
DInsetsStateTest.java29 import static android.view.WindowInsets.Type.ime;
87 assertEquals(Insets.of(0, 0, 0, 100), insets.getInsets(Type.ime())); in testCalculateInsets()
106 assertEquals(Insets.of(0, 0, 0, 200), insets.getInsets(Type.ime())); in testCalculateInsets_imeAndNav()
137 assertEquals(100, insets.getInsets(ime()).bottom); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
138 assertTrue(insets.isVisible(ime())); in testCalculateInsets_imeIgnoredWithoutAdjustResize()
387 assertEquals(statusBars() | ime(), in testCalculateUncontrollableInsets()
DViewRootImplTest.java121 assertEquals(Type.systemBars() | Type.ime(), attrs.getFitInsetsTypes()); in adjustLayoutParamsForCompatibility_fitSystemBars()
/frameworks/base/cmds/ime/
DAndroid.bp5 name: "ime",
6 src: "ime",
Dime2 exec cmd input_method ime "$@"
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayAreaPolicyBuilderTest.java75 DisplayArea<WindowContainer> ime = new DisplayArea<>(wms, ABOVE_TASKS, "Ime"); in testBuilder() local
94 .build(wms, displayContent, root, ime, taskDisplayAreaList); in testBuilder()
111 assertThat(ime, in testBuilder()
113 assertThat(ime, in testBuilder()
117 Map<DisplayArea<?>, Set<Integer>> zSets = calculateZSets(policy, root, ime, in testBuilder()
144 DisplayArea<WindowContainer> ime, in calculateZSets() argument
154 recordLayer(ime, mPolicy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD), zSets); in calculateZSets()
DInsetsSourceProviderTest.java78 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testPostLayout_givenInsets() local
79 ime.getFrameLw().set(0, 0, 500, 100); in testPostLayout_givenInsets()
80 ime.getGivenContentInsetsLw().set(0, 0, 0, 60); in testPostLayout_givenInsets()
81 ime.getGivenVisibleInsetsLw().set(0, 0, 0, 75); in testPostLayout_givenInsets()
82 ime.mHasSurface = true; in testPostLayout_givenInsets()
83 mProvider.setWindow(ime, null, null); in testPostLayout_givenInsets()
DInsetsStateControllerTest.java95 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testStripForDispatch_navBar() local
98 ime.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testStripForDispatch_navBar()
102 getController().getSourceProvider(ITYPE_IME).setWindow(ime, null, null); in testStripForDispatch_navBar()
273 final WindowState ime = createWindow(null, TYPE_APPLICATION, "ime"); in testImeForDispatch() local
276 ime.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testImeForDispatch()
282 getController().getSourceProvider(ITYPE_IME).setWindow(ime, null, null); in testImeForDispatch()
287 final InsetsState state = getController().getInsetsForDispatch(ime); in testImeForDispatch()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DWindowInsetsActivity.java19 import static android.view.WindowInsets.Type.ime;
89 mDownInsets = v.getRootWindowInsets().getInsets(ime()); in onCreate()
90 mShownAtDown = v.getRootWindowInsets().isVisible(ime()); in onCreate()
101 v.getWindowInsetsController().controlWindowInsetsAnimation(ime(), in onCreate()
196 v -> v.getWindowInsetsController().controlWindowInsetsAnimation(ime(), -1, in onCreate()
248 if ((animation.getTypeMask() & ime()) != 0) { in onPrepare()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsImeTest.java19 import static android.view.WindowInsets.Type.ime;
173 wic.show(ime()); in showIme()
188 mControlsIme = (typeMask & ime()) != 0; in onControllableInsetsChanged()
199 mImeVisible = insets.isVisible(ime()); in onApplyWindowInsets()
/frameworks/base/core/java/android/inputmethodservice/
DExtractEditText.java49 void setIME(InputMethodService ime) { in setIME() argument
50 mIME = ime; in setIME()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java774 StringBuilder builder, Pair<String, ArrayList<String>> ime) { in buildEnabledInputMethodsSettingString() argument
775 builder.append(ime.first); in buildEnabledInputMethodsSettingString()
778 for (String subtypeId: ime.second) { in buildEnabledInputMethodsSettingString()
1038 for (Pair<String, String> ime: savedImes) { in saveSubtypeHistory()
1039 String imeId = ime.first; in saveSubtypeHistory()
1040 String subtypeId = ime.second; in saveSubtypeHistory()
1058 for (Pair<String, String> ime: subtypeHistory) { in addSubtypeToHistory()
1059 if (ime.first.equals(imeId)) { in addSubtypeToHistory()
1062 + ime.second); in addSubtypeToHistory()
1065 subtypeHistory.remove(ime); in addSubtypeToHistory()
[all …]
DInputMethodManagerService.java5771 nextEnabledImes.forEach(ime -> out.println(" Enabled: " + ime.getId())); in handleShellCommandResetInputMethod()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java19 import static android.view.WindowInsets.Type.ime;
115 verify(mWindowInsetsController).controlWindowInsetsAnimation(eq(ime()), anyLong(), any(), in startDisappearAnimation_animatesKeyboard()
/frameworks/base/core/java/android/view/
DWindowInsets.java31 import static android.view.WindowInsets.Type.ime;
312 ? getInsetsIgnoringVisibility(mCompatInsetsTypes & ~ime()) in getSystemWindowInsets()
316 if ((mCompatInsetsTypes & ime()) != 0 && mCompatIgnoreVisibility) { in getSystemWindowInsets()
317 result = Insets.max(result, getInsets(ime())); in getSystemWindowInsets()
1396 public static @InsetsType int ime() { in ime() method in WindowInsets.Type
1480 || (softInputMode != SOFT_INPUT_ADJUST_NOTHING && (type & Type.ime()) != 0); in isVisibleInsetsType()
DInsetsController.java24 import static android.view.WindowInsets.Type.ime;
369 if ((mRequestedTypes & ime()) != 0) { in getInterpolator()
383 if ((mRequestedTypes & ime()) != 0) { in getAlphaInterpolator()
411 if ((mRequestedTypes & ime()) != 0) { in calculateDurationMs()
912 if (fromIme && (disabledTypes & ime()) != 0 in controlAnimationUnchecked()
1084 if ((types & ime()) != 0) { in cancelExistingControllers()
/frameworks/base/services/core/java/com/android/server/wm/
DImeInsetsSourceProvider.java77 target.showInsets(WindowInsets.Type.ime(), true /* fromIme */); in scheduleShowImePostLayout()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java20 import static android.view.WindowInsets.Type.ime;
168 if ((animation.getTypeMask() & WindowInsets.Type.ime()) == 0) {
400 mSecurityViewFlipper.getWindowInsetsController().controlWindowInsetsAnimation(ime(), in startDisappearAnimation()
522 int imeInset = insets.getInsets(ime()).bottom; in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayImeController.java246 if ((types & WindowInsets.Type.ime()) == 0) { in showInsets()
255 if ((types & WindowInsets.Type.ime()) == 0) { in hideInsets()
/frameworks/base/core/proto/android/view/inputmethod/
Dinputmethodeditortrace.proto59 /* groups together the dump from ime related client side classes */
/frameworks/base/core/proto/android/service/
Dprocstats_enum.proto45 // Important foreground process (ime, wallpaper, etc).
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.java219 assertTrue((layoutParams.getFitInsetsTypes() & WindowInsets.Type.ime()) == 0); in testLayoutParams_excludesImeInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java636 lp.setFitInsetsTypes(lp.getFitInsetsTypes() & ~WindowInsets.Type.ime()); in getLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleStackView.java916 onImeVisibilityChanged.accept(insets.getInsets(WindowInsets.Type.ime()).bottom > 0); in BubbleStackView()

12