Home
last modified time | relevance | path

Searched refs:TYPE_INPUT_METHOD (Results 1 – 25 of 38) sorted by relevance

12

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowManagerServiceTests.java27 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
198 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException()
209 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_DifferentWindowType_ThrowException()
220 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn()
221 doReturn(TYPE_INPUT_METHOD).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_CallerNotValid_EarlyReturn()
236 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_CallerValid_DoRegister()
237 doReturn(TYPE_INPUT_METHOD).when(mWm.mWindowContextListenerController) in testAttachWindowContextToWindowToken_CallerValid_DoRegister()
246 eq(clientToken), eq(windowToken), anyInt(), eq(TYPE_INPUT_METHOD), in testAttachWindowContextToWindowToken_CallerValid_DoRegister()
254 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAddWindowWithSubWindowTypeByWindowContext()
266 doReturn(TYPE_INPUT_METHOD).when(mWm.mWindowContextListenerController) in testAddWindowWithSubWindowTypeByWindowContext()
H A DDualDisplayAreaGroupPolicyTest.java28 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
267 final WindowToken imeToken = tokenOfType(TYPE_INPUT_METHOD); in testPlaceImeContainer_reparentToTargetDisplayAreaGroup()
317 final WindowToken imeToken = tokenOfType(TYPE_INPUT_METHOD); in testPlaceImeContainer_hidesImeWhenParentChanges()
387 TYPE_INPUT_METHOD, mDisplay, "mImeWindow"); in setupImeWindow()
508 .and(TYPE_INPUT_METHOD, TYPE_INPUT_METHOD_DIALOG) in instantiate()
524 .and(TYPE_INPUT_METHOD, TYPE_INPUT_METHOD_DIALOG) in instantiate()
540 .and(TYPE_INPUT_METHOD, TYPE_INPUT_METHOD_DIALOG) in instantiate()
H A DImeInsetsSourceProviderTest.java21 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
72 WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testIsImeShowing()
H A DInsetsSourceProviderTest.java22 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
177 final WindowState inputMethod = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in testUpdateSourceFrameForIme()
H A DDisplayPolicyTests.java37 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
96 final WindowState win = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in createInputMethodWindow()
H A DDisplayAreaPolicyBuilderTest.java21 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
161 assertThat(policy.findAreaForToken(tokenOfType(TYPE_INPUT_METHOD))) in testBuilder()
766 recordLayer(ime, mPolicy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD), zSets); in calculateZSets()
H A DWindowStateTests.java43 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
225 final WindowState imeWindow = createWindow(null, TYPE_INPUT_METHOD, "imeWindow"); in testCanBeImeTarget()
283 final WindowState imeWindow = createWindow(null, TYPE_INPUT_METHOD, "imeWindow"); in testCanWindowWithEmbeddedDisplayBeImeTarget()
H A DWindowTestsBase.java45 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
285 mImeWindow = createCommonWindow(null, TYPE_INPUT_METHOD, "mImeWindow"); in createTestDisplay()
838 static final int W_INPUT_METHOD = TYPE_INPUT_METHOD;
/aosp12/frameworks/base/core/tests/coretests/src/android/window/
H A DWindowContextTest.java22 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
190 final WindowContext windowContext = createWindowContext(TYPE_INPUT_METHOD); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
194 mWms.addWindowToken(existingToken, TYPE_INPUT_METHOD, windowContext.getDisplayId(), in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
198 new WindowManager.LayoutParams(TYPE_INPUT_METHOD); in testCreateWindowContext_AttachWindowToken_TokenNotRemovedAfterRelease()
218 final WindowContext windowContext = createWindowContext(TYPE_INPUT_METHOD); in testWindowContextAddViewWithSubWindowType_NotCrash()
223 mWms.addWindowToken(existingToken, TYPE_INPUT_METHOD, windowContext.getDisplayId(), in testWindowContextAddViewWithSubWindowType_NotCrash()
227 new WindowManager.LayoutParams(TYPE_INPUT_METHOD); in testWindowContextAddViewWithSubWindowType_NotCrash()
/aosp12/frameworks/opt/car/services/src/com/android/server/wm/
H A DCarDisplayAreaPolicyProvider.java21 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
101 .and(TYPE_INPUT_METHOD, TYPE_INPUT_METHOD_DIALOG) in instantiate()
123 .and(TYPE_INPUT_METHOD, TYPE_INPUT_METHOD_DIALOG) in instantiate()
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayAreaPolicy.java20 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
152 .except(TYPE_ACCESSIBILITY_MAGNIFICATION_OVERLAY, TYPE_INPUT_METHOD, in configureTrustedHierarchyBuilder()
158 .and(TYPE_INPUT_METHOD, TYPE_INPUT_METHOD_DIALOG) in configureTrustedHierarchyBuilder()
H A DRootDisplayArea.java19 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
146 mAreaForLayer[policy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD)] = imeContainer; in updateImeContainerForLayers()
H A DInsetsStateController.java33 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
154 case TYPE_INPUT_METHOD: in getInsetsTypeForLayoutParams()
H A DDisplayAreaPolicyBuilder.java20 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
562 } else if (layer == policy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD) in typeOfLayer()
H A DInputMonitor.java34 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
699 || type == TYPE_INPUT_METHOD || type == TYPE_INPUT_METHOD_DIALOG in isTrustedOverlay()
H A DWindowStateAnimator.java23 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
701 final boolean isImeWindow = mWin.mAttrs.type == TYPE_INPUT_METHOD; in applyAnimationLocked()
/aosp12/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java305 return WindowManager.LayoutParams.TYPE_INPUT_METHOD; in getWindowType()
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowManagerPolicy.java35 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
572 case TYPE_INPUT_METHOD: in getWindowLayerFromTypeLw()
/aosp12/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java60 public static final int TYPE_INPUT_METHOD = 2; field in AccessibilityWindowInfo
792 case TYPE_INPUT_METHOD: { in typeToString()
/aosp12/packages/apps/Car/RotaryController/src/com/android/car/rotary/
H A DNavigator.java27 import static android.view.accessibility.AccessibilityWindowInfo.TYPE_INPUT_METHOD;
439 if (currentWindow.getType() != TYPE_INPUT_METHOD in findNudgeTargetFocusArea()
542 && (!isSourceNodeEditable || window.getType() != TYPE_INPUT_METHOD)) { in addWindowsInDirection()
H A DRotaryService.java49 import static android.view.accessibility.AccessibilityWindowInfo.TYPE_INPUT_METHOD;
1306 if (type == TYPE_INPUT_METHOD) { in handleWindowRemovedEvent()
1376 if (window.getType() != TYPE_INPUT_METHOD) { in handleWindowAddedEvent()
1663 if (fromWindow != null && fromWindow.getType() == TYPE_INPUT_METHOD) { in nudgeTo()
2309 if (windowType != null && windowType == TYPE_INPUT_METHOD) { in maybeClearFocusInCurrentWindow()
2514 if (nextWindow != null && nextWindow.getType() == TYPE_INPUT_METHOD) { in maybeCloseIme()
/aosp12/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
H A DNavigatorTest.java19 import static android.view.accessibility.AccessibilityWindowInfo.TYPE_INPUT_METHOD;
1052 .setType(TYPE_INPUT_METHOD) in testFindNudgeTargetFocusArea3()
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityWindowManager.java744 case WindowManager.LayoutParams.TYPE_INPUT_METHOD: { in getTypeForWindowManagerWindowType()
745 return AccessibilityWindowInfo.TYPE_INPUT_METHOD; in getTypeForWindowManagerWindowType()
/aosp12/frameworks/base/core/java/android/view/
H A DWindowManager.java1109 @ViewDebug.IntToString(from = TYPE_INPUT_METHOD,
1359 public static final int TYPE_INPUT_METHOD = FIRST_SYSTEM_WINDOW+11; field in WindowManager.LayoutParams
1612 TYPE_INPUT_METHOD,
H A DAccessibilityInteractionController.java19 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
871 if (windowType == TYPE_INPUT_METHOD) { in shouldBypassAdjustIsVisible()

12