/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowManagerServiceTests.java | 27 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 D | DualDisplayAreaGroupPolicyTest.java | 28 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 D | ImeInsetsSourceProviderTest.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 72 WindowState ime = createWindow(null, TYPE_INPUT_METHOD, "ime"); in testIsImeShowing()
|
H A D | InsetsSourceProviderTest.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 177 final WindowState inputMethod = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in testUpdateSourceFrameForIme()
|
H A D | DisplayPolicyTests.java | 37 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 96 final WindowState win = createWindow(null, TYPE_INPUT_METHOD, "inputMethod"); in createInputMethodWindow()
|
H A D | DisplayAreaPolicyBuilderTest.java | 21 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 D | WindowStateTests.java | 43 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 D | WindowTestsBase.java | 45 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 D | WindowContextTest.java | 22 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 D | CarDisplayAreaPolicyProvider.java | 21 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 D | DisplayAreaPolicy.java | 20 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 D | RootDisplayArea.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 146 mAreaForLayer[policy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD)] = imeContainer; in updateImeContainerForLayers()
|
H A D | InsetsStateController.java | 33 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 154 case TYPE_INPUT_METHOD: in getInsetsTypeForLayoutParams()
|
H A D | DisplayAreaPolicyBuilder.java | 20 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 562 } else if (layer == policy.getWindowLayerFromTypeLw(TYPE_INPUT_METHOD) in typeOfLayer()
|
H A D | InputMonitor.java | 34 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 699 || type == TYPE_INPUT_METHOD || type == TYPE_INPUT_METHOD_DIALOG in isTrustedOverlay()
|
H A D | WindowStateAnimator.java | 23 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 D | AbstractInputMethodService.java | 305 return WindowManager.LayoutParams.TYPE_INPUT_METHOD; in getWindowType()
|
/aosp12/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | WindowManagerPolicy.java | 35 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 D | AccessibilityWindowInfo.java | 60 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 D | Navigator.java | 27 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 D | RotaryService.java | 49 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 D | NavigatorTest.java | 19 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 D | AccessibilityWindowManager.java | 744 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 D | WindowManager.java | 1109 @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 D | AccessibilityInteractionController.java | 19 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD; 871 if (windowType == TYPE_INPUT_METHOD) { in shouldBypassAdjustIsVisible()
|