Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java230 final WindowState imeWindow = task.getDisplayContent().mInputMethodWindow; in createImeSnapshot() local
232 if (imeWindow != null && imeWindow.isVisible()) { in createImeSnapshot()
233 final Rect bounds = imeWindow.getParentFrame(); in createImeSnapshot()
235 imeBuffer = ScreenCapture.captureLayersExcluding(imeWindow.getSurfaceControl(), in createImeSnapshot()
DAbsAppSnapshotController.java254 final WindowState imeWindow = source.getDisplayContent().mInputMethodWindow; in createSnapshot() local
256 final boolean excludeIme = imeWindow != null && imeWindow.getSurfaceControl() != null in createSnapshot()
266 excludeLayers[0] = imeWindow.getSurfaceControl(); in createSnapshot()
271 excludeIme ? imeWindow.getSurfaceControl() : navWindow.getSurfaceControl(); in createSnapshot()
275 builder.setHasImeSurface(!excludeIme && imeWindow != null && imeWindow.isVisible()); in createSnapshot()
DDisplayPolicy.java2452 static WindowState chooseNavigationColorWindowLw(WindowState candidate, WindowState imeWindow,
2456 final boolean imeWindowCanNavColorWindow = imeWindow != null
2457 && imeWindow.isVisible()
2459 && (imeWindow.mAttrs.flags
2471 return imeWindow;
2478 return imeWindow;
2707 WindowState imeWindow, @NavigationBarPosition int navBarPosition) {
2708 if (imeWindow != null && imeWindow.isVisible() && navBarPosition == NAV_BAR_BOTTOM
2709 && drawsBarBackground(imeWindow)) {
2710 return imeWindow;
DBackgroundActivityStartController.java834 final WindowState imeWindow = in checkBackgroundActivityStartAllowedByCaller() local
836 if (imeWindow != null && callingAppId == imeWindow.mOwnerUid) { in checkBackgroundActivityStartAllowedByCaller()
DWindowManagerService.java6904 final WindowState imeWindow = mRoot.getCurrentInputMethodWindow(); in dumpDebugLocked() local
6905 if (imeWindow != null) { in dumpDebugLocked()
6906 imeWindow.writeIdentifierToProto(proto, INPUT_METHOD_WINDOW); in dumpDebugLocked()
7043 final WindowState imeWindow = mRoot.getCurrentInputMethodWindow(); in dumpWindowsLocked() local
7044 if (imeWindow != null) { in dumpWindowsLocked()
7045 pw.print(" mInputMethodWindow="); pw.println(imeWindow); in dumpWindowsLocked()
7496 WindowState imeWindow = mRoot.getCurrentInputMethodWindow(); in requestImeKeyboardShortcuts() local
7497 if (imeWindow == null || imeWindow.mClient == null) { in requestImeKeyboardShortcuts()
7502 imeWindow.mClient.requestAppKeyboardShortcuts(receiver, deviceId); in requestImeKeyboardShortcuts()
DTransition.java1580 final WindowState imeWindow = dc.mInputMethodWindow; in updateImeForVisibleTransientLaunch() local
1581 if (imeWindow == null || imeTarget == null in updateImeForVisibleTransientLaunch()
1589 final InsetsSourceProvider sourceProvider = imeWindow.getControllableInsetProvider(); in updateImeForVisibleTransientLaunch()
DDisplayContent.java4442 final WindowState imeWindow = mImeTarget.getDisplayContent().mInputMethodWindow; in createImeSurface() local
4461 InputMonitor.setTrustedOverlayInputInfo(imeSurface, t, imeWindow.getDisplayId(), in createImeSurface()
4467 final Point surfacePosition = new Point(imeWindow.getFrame().left, in createImeSurface()
4468 imeWindow.getFrame().top); in createImeSurface()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java267 final WindowState imeWindow = createWindow(null, TYPE_INPUT_METHOD, "imeWindow"); in testCanBeImeTarget() local
271 imeWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testCanBeImeTarget()
275 imeWindow.setHasSurface(true); in testCanBeImeTarget()
279 assertFalse(imeWindow.canBeImeTarget()); in testCanBeImeTarget()
283 imeWindow.mAttrs.flags |= (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM); in testCanBeImeTarget()
288 assertFalse(imeWindow.canBeImeTarget()); in testCanBeImeTarget()
303 imeWindow.hide(false /* doAnimation */, false /* requestAnim */); in testCanBeImeTarget()
307 assertFalse(imeWindow.canBeImeTarget()); in testCanBeImeTarget()
1110 final WindowState imeWindow = createWindow(null, TYPE_APPLICATION, "imeWindow"); in testAdjustImeInsetsVisibilityWhenSwitchingApps() local
1111 spyOn(imeWindow); in testAdjustImeInsetsVisibilityWhenSwitchingApps()
[all …]
DDualDisplayAreaGroupPolicyTest.java549 final WindowState imeWindow = createWindow(null /* parent */, in setupImeWindow() local
551 imeWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in setupImeWindow()
552 mDisplay.mInputMethodWindow = imeWindow; in setupImeWindow()
DActivityStarterTests.java363 final WindowState imeWindow = createWindow(null, W_INPUT_METHOD, in setupImeWindow() local
365 mDisplayContent.mInputMethodWindow = imeWindow; in setupImeWindow()