Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java384 final WindowState imeWindow = task.getDisplayContent().mInputMethodWindow;
386 if (imeWindow != null && imeWindow.isWinVisibleLw()) {
387 final Rect bounds = imeWindow.getContainingFrame();
389 imeBuffer = SurfaceControl.captureLayersExcluding(imeWindow.getSurfaceControl(),
425 final WindowState imeWindow = task.getDisplayContent().mInputMethodWindow;
427 final boolean excludeIme = imeWindow != null && imeWindow.getSurfaceControl() != null
437 excludeLayers[0] = imeWindow.getSurfaceControl();
442 excludeIme ? imeWindow.getSurfaceControl() : navWindow.getSurfaceControl();
446 builder.setHasImeSurface(!excludeIme && imeWindow != null && imeWindow.isVisible());
DDisplayPolicy.java2580 WindowState opaqueOrDimming, WindowState imeWindow,
2584 final boolean imeWindowCanNavColorWindow = imeWindow != null
2585 && imeWindow.isVisible()
2587 && (imeWindow.mAttrs.flags
2595 return imeWindowCanNavColorWindow ? imeWindow : opaque;
2600 return imeWindowCanNavColorWindow ? imeWindow : null;
2612 return imeWindow;
2621 WindowState opaqueOrDimming, WindowState imeWindow, WindowState navColorWin) {
2624 if (navColorWin == imeWindow || navColorWin == opaque) {
DActivityStarter.java1262 final WindowState imeWindow = mRootWindowContainer.getCurrentInputMethodWindow(); in shouldAbortBackgroundActivityStart() local
1263 if (imeWindow != null && callingAppId == imeWindow.mOwnerUid) { in shouldAbortBackgroundActivityStart()
DWindowManagerService.java6193 final WindowState imeWindow = mRoot.getCurrentInputMethodWindow(); in dumpDebugLocked() local
6194 if (imeWindow != null) { in dumpDebugLocked()
6195 imeWindow.writeIdentifierToProto(proto, INPUT_METHOD_WINDOW); in dumpDebugLocked()
6349 final WindowState imeWindow = mRoot.getCurrentInputMethodWindow(); in dumpWindowsNoHeaderLocked() local
6350 if (imeWindow != null) { in dumpWindowsNoHeaderLocked()
6351 pw.print(" mInputMethodWindow="); pw.println(imeWindow); in dumpWindowsNoHeaderLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowStateTests.java223 final WindowState imeWindow = createWindow(null, TYPE_INPUT_METHOD, "imeWindow"); in testCanBeImeTarget() local
227 imeWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in testCanBeImeTarget()
231 imeWindow.setHasSurface(true); in testCanBeImeTarget()
235 assertFalse(imeWindow.canBeImeTarget()); in testCanBeImeTarget()
239 imeWindow.mAttrs.flags |= (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM); in testCanBeImeTarget()
244 assertFalse(imeWindow.canBeImeTarget()); in testCanBeImeTarget()
254 imeWindow.hide(false /* doAnimation */, false /* requestAnim */); in testCanBeImeTarget()
258 assertFalse(imeWindow.canBeImeTarget()); in testCanBeImeTarget()
281 final WindowState imeWindow = createWindow(null, TYPE_INPUT_METHOD, "imeWindow"); in testCanWindowWithEmbeddedDisplayBeImeTarget() local
283 imeWindow.setHasSurface(true); in testCanWindowWithEmbeddedDisplayBeImeTarget()
DDualDisplayAreaGroupPolicyTest.java386 final WindowState imeWindow = createWindow(null /* parent */, in setupImeWindow() local
388 imeWindow.mAttrs.flags |= FLAG_NOT_FOCUSABLE; in setupImeWindow()
389 mDisplay.mInputMethodWindow = imeWindow; in setupImeWindow()
DActivityStarterTests.java311 final WindowState imeWindow = createWindow(null, W_INPUT_METHOD, in setupImeWindow() local
313 mDisplayContent.mInputMethodWindow = imeWindow; in setupImeWindow()