Home
last modified time | relevance | path

Searched refs:windowToken (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/services/core/java/com/android/server/wm/
DFadeAnimationController.java61 public void fadeWindowToken(boolean show, WindowToken windowToken, int animationType) { in fadeWindowToken() argument
62 fadeWindowToken(show, windowToken, animationType, null); in fadeWindowToken()
73 public void fadeWindowToken(boolean show, WindowToken windowToken, int animationType, in fadeWindowToken() argument
75 if (windowToken == null || windowToken.getParent() == null) { in fadeWindowToken()
81 ? createAdapter(createAnimationSpec(animation), show, windowToken) : null; in fadeWindowToken()
85 windowToken.startAnimation(windowToken.getPendingTransaction(), animationAdapter, in fadeWindowToken()
90 boolean show, WindowToken windowToken) { in createAdapter() argument
91 return new FadeAnimationAdapter(animationSpec, windowToken.getSurfaceAnimationRunner(), in createAdapter()
92 show, windowToken); in createAdapter()
DAsyncRotationController.java259 private void finishOp(WindowToken windowToken) { in finishOp() argument
260 final Operation op = mTargetWindowTokens.remove(windowToken); in finishOp()
264 windowToken.getSyncTransaction().merge(op.mDrawTransaction); in finishOp()
266 if (DEBUG) Slog.d(TAG, "finishOp merge transaction " + windowToken.getTopChild()); in finishOp()
269 if (DEBUG) Slog.d(TAG, "finishOp fade-in IME " + windowToken.getTopChild()); in finishOp()
270 fadeWindowToken(true /* show */, windowToken, ANIMATION_TYPE_TOKEN_TRANSFORM, in finishOp()
274 if (DEBUG) Slog.d(TAG, "finishOp fade-in " + windowToken.getTopChild()); in finishOp()
277 fadeWindowToken(true /* show */, windowToken, ANIMATION_TYPE_TOKEN_TRANSFORM); in finishOp()
280 if (DEBUG) Slog.d(TAG, "finishOp undo seamless " + windowToken.getTopChild()); in finishOp()
281 final SurfaceControl.Transaction t = windowToken.getSyncTransaction(); in finishOp()
[all …]
DWindowManagerInternal.java470 public abstract void requestWindowFocus(IBinder windowToken); in requestWindowFocus() argument
684 public abstract int getWindowOwnerUserId(IBinder windowToken); in getWindowOwnerUserId() argument
695 public abstract void setWallpaperShowWhenLocked(IBinder windowToken, boolean showWhenLocked); in setWallpaperShowWhenLocked() argument
713 public abstract @ImeClientFocusResult int hasInputMethodClientFocus(IBinder windowToken, in hasInputMethodClientFocus() argument
742 public abstract int getDisplayIdForWindow(IBinder windowToken); in getDisplayIdForWindow() argument
822 IBinder windowToken, int accessibilityWindowId); in setAccessibilityIdToSurfaceMetadata() argument
939 @NonNull IBinder windowToken, int displayId, float displayX, float displayY); in isPointInsideWindow()
DNavBarFadeAnimationController.java71 boolean show, WindowToken windowToken) { in createAdapter() argument
73 animationSpec, windowToken.getSurfaceAnimationRunner(), show, windowToken, in createAdapter()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DImeVisibilityStateComputer.java326 void requestImeVisibility(IBinder windowToken, boolean showIme) { in requestImeVisibility() argument
327 ImeTargetWindowState state = getOrCreateWindowState(windowToken); in requestImeVisibility()
338 setWindowStateInner(windowToken, state); in requestImeVisibility()
341 ImeTargetWindowState getOrCreateWindowState(IBinder windowToken) { in getOrCreateWindowState() argument
342 ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in getOrCreateWindowState()
349 ImeTargetWindowState getWindowStateOrNull(IBinder windowToken) { in getWindowStateOrNull() argument
350 ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in getWindowStateOrNull()
354 void setWindowState(IBinder windowToken, @NonNull ImeTargetWindowState newState) { in setWindowState() argument
355 final ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in setWindowState()
362 setWindowStateInner(windowToken, newState); in setWindowState()
[all …]
DDefaultImeVisibilityApplier.java135 public void applyImeVisibility(IBinder windowToken, @Nullable ImeTracker.Token statsToken, in applyImeVisibility() argument
137 applyImeVisibility(windowToken, statsToken, state, -1 /* ignore reason */); in applyImeVisibility()
141 void applyImeVisibility(IBinder windowToken, @Nullable ImeTracker.Token statsToken, in applyImeVisibility() argument
148 mWindowManagerInternal.showImePostLayout(windowToken, statsToken); in applyImeVisibility()
159 mWindowManagerInternal.hideIme(windowToken, in applyImeVisibility()
167 mService.hideCurrentInputLocked(windowToken, statsToken, 0, null, reason); in applyImeVisibility()
170 mService.hideCurrentInputLocked(windowToken, statsToken, in applyImeVisibility()
174 mService.showCurrentInputLocked(windowToken, statsToken, in applyImeVisibility()
178 showImeScreenshot(windowToken, mService.getDisplayIdToShowImeLocked(), null); in applyImeVisibility()
DImeVisibilityApplier.java66 default void applyImeVisibility(IBinder windowToken, @Nullable ImeTracker.Token statsToken, in applyImeVisibility() argument
77 default void updateImeLayeringByTarget(IBinder windowToken) { in updateImeLayeringByTarget() argument
90 default boolean showImeScreenshot(@NonNull IBinder windowToken, int displayId, in showImeScreenshot() argument
/frameworks/opt/car/services/builtInServices/src_imms/com/android/server/inputmethod/
DCarImeVisibilityStateComputer.java303 void requestImeVisibility(IBinder windowToken, boolean showIme) { in requestImeVisibility() argument
304 ImeTargetWindowState state = getOrCreateWindowState(windowToken); in requestImeVisibility()
315 setWindowStateInner(windowToken, state); in requestImeVisibility()
318 ImeTargetWindowState getOrCreateWindowState(IBinder windowToken) { in getOrCreateWindowState() argument
319 ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in getOrCreateWindowState()
326 ImeTargetWindowState getWindowStateOrNull(IBinder windowToken) { in getWindowStateOrNull() argument
327 ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in getWindowStateOrNull()
331 void setWindowState(IBinder windowToken, @NonNull ImeTargetWindowState newState) { in setWindowState() argument
332 final ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in setWindowState()
338 setWindowStateInner(windowToken, newState); in setWindowState()
[all …]
DCarDefaultImeVisibilityApplier.java125 public void applyImeVisibility(IBinder windowToken, @Nullable ImeTracker.Token statsToken, in applyImeVisibility() argument
127 applyImeVisibility(windowToken, statsToken, state, -1 /* ignore reason */); in applyImeVisibility()
131 void applyImeVisibility(IBinder windowToken, @Nullable ImeTracker.Token statsToken, in applyImeVisibility() argument
138 mWindowManagerInternal.showImePostLayout(windowToken, statsToken); in applyImeVisibility()
150 mWindowManagerInternal.hideIme(windowToken, in applyImeVisibility()
158 mService.hideCurrentInputLocked(windowToken, statsToken, 0, null, reason); in applyImeVisibility()
161 mService.hideCurrentInputLocked(windowToken, statsToken, in applyImeVisibility()
165 mService.showCurrentInputLocked(windowToken, statsToken, in applyImeVisibility()
169 showImeScreenshot(windowToken, mService.getDisplayIdToShowImeLocked(), null); in applyImeVisibility()
/frameworks/base/core/java/android/view/
DInputWindowHandle.java87 private IBinder windowToken; field in InputWindowHandle
181 windowToken = other.windowToken; in InputWindowHandle()
217 .append(", windowToken=").append(windowToken) in toString()
253 windowToken = iwindow.asBinder(); in setWindowToken()
258 return windowToken; in getWindowToken()
265 window = IWindow.Stub.asInterface(windowToken); in getWindow()
DIWindowSession.aidl206 … oneway void setWallpaperPosition(IBinder windowToken, float x, float y, float xstep, float ystep); in setWallpaperPosition() argument
212 oneway void setWallpaperZoomOut(IBinder windowToken, float scale); in setWallpaperZoomOut() argument
219 oneway void setShouldZoomOutWallpaper(IBinder windowToken, boolean shouldZoom); in setShouldZoomOutWallpaper() argument
227 oneway void setWallpaperDisplayOffset(IBinder windowToken, int x, int y); in setWallpaperDisplayOffset() argument
298 in IBinder windowToken, in IBinder focusGrantToken, String inputHandleName, in grantInputChannel() argument
/frameworks/base/services/core/java/com/android/server/notification/toast/
DToastRecord.java37 public final Binder windowToken; field in ToastRecord
42 String pkg, boolean isSystemToast, IBinder token, int duration, Binder windowToken, in ToastRecord() argument
50 this.windowToken = windowToken; in ToastRecord()
DCustomToastRecord.java41 ITransientNotification callback, int duration, Binder windowToken, int displayId) { in CustomToastRecord() argument
43 windowToken, displayId); in CustomToastRecord()
53 callback.show(windowToken); in show()
DTextToastRecord.java47 int duration, Binder windowToken, int displayId, in TextToastRecord() argument
50 windowToken, displayId); in TextToastRecord()
65 mStatusBar.showToast(uid, pkg, token, text, windowToken, getDuration(), mCallback, in show()
/frameworks/native/services/inputflinger/tests/
DFocusResolver_test.cpp203 sp<IBinder> windowToken = sp<BBinder>::make(); in TEST() local
207 sp<FakeWindowHandle>::make("Test Window", windowToken, /*focusable=*/false, in TEST()
214 request.token = windowToken; in TEST()
223 ASSERT_FOCUS_CHANGE(changes, /*from*/ nullptr, /*to*/ windowToken); in TEST()
228 ASSERT_FOCUS_CHANGE(changes, /*from*/ windowToken, /*to*/ nullptr); in TEST()
233 ASSERT_FOCUS_CHANGE(changes, /*from*/ nullptr, /*to*/ windowToken); in TEST()
237 ASSERT_FOCUS_CHANGE(changes, /*from*/ windowToken, /*to*/ nullptr); in TEST()
241 ASSERT_FOCUS_CHANGE(changes, /*from*/ nullptr, /*to*/ windowToken); in TEST()
366 sp<IBinder> windowToken = sp<BBinder>::make(); in TEST() local
370 sp<FakeWindowHandle>::make("Test Window", windowToken, /*focusable=*/true, in TEST()
[all …]
/frameworks/layoutlib/bridge/src/android/view/inputmethod/
DInputMethodManager_Delegate.java62 IBinder windowToken, int flags) { in hideSoftInputFromWindow() argument
68 IBinder windowToken, int flags, ResultReceiver resultReceiver) { in hideSoftInputFromWindow() argument
74 IBinder windowToken, int flags, ResultReceiver resultReceiver, int reason) { in hideSoftInputFromWindow() argument
/frameworks/base/core/java/android/window/
DWindowInfosListenerForTest.java54 public final IBinder windowToken; field in WindowInfosListenerForTest.WindowInfo
83 WindowInfo(@NonNull IBinder windowToken, @NonNull String name, int displayId, in WindowInfo() argument
85 this.windowToken = windowToken; in WindowInfo()
98 + ", token=" + windowToken; in toString()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl64 boolean showSoftInput(in IInputMethodClient client, @nullable IBinder windowToken, in showSoftInput() argument
67 boolean hideSoftInput(in IInputMethodClient client, @nullable IBinder windowToken, in hideSoftInput() argument
77 in IInputMethodClient client, in @nullable IBinder windowToken, in startInputOrWindowGainedFocus() argument
120 oneway void reportPerceptibleAsync(in IBinder windowToken, boolean perceptible); in reportPerceptibleAsync() argument
128 oneway void removeImeSurfaceFromWindowAsync(in IBinder windowToken); in removeImeSurfaceFromWindowAsync() argument
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/
DSampleSidecarImpl.java67 for (IBinder windowToken : getWindowsListeningForLayoutChanges()) { in onDisplayFeaturesChanged()
68 SidecarWindowLayoutInfo newLayout = getWindowLayoutInfo(windowToken); in onDisplayFeaturesChanged()
69 updateWindowLayout(windowToken, newLayout); in onDisplayFeaturesChanged()
99 public SidecarWindowLayoutInfo getWindowLayoutInfo(@NonNull IBinder windowToken) { in getWindowLayoutInfo() argument
100 Activity activity = ActivityThread.currentActivityThread().getActivity(windowToken); in getWindowLayoutInfo()
DStubSidecar.java68 void updateWindowLayout(@NonNull IBinder windowToken, in updateWindowLayout() argument
71 mSidecarCallback.onWindowLayoutChanged(windowToken, newLayout); in updateWindowLayout()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureContextTest.java42 final IBinder windowToken = new Binder(); in testConstructorAdditionalFlags() local
45 42, windowToken, /* flags= */ 1); in testConstructorAdditionalFlags()
54 assertThat(newCtx.getWindowToken()).isEqualTo(windowToken); in testConstructorAdditionalFlags()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerServiceTests.java145 WindowToken windowToken = mWm.mRoot.getWindowToken(token); in testAddWindowToken() local
146 assertFalse(windowToken.mRoundedCornerOverlay); in testAddWindowToken()
147 assertFalse(windowToken.isFromClient()); in testAddWindowToken()
408 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD_DIALOG, in testMoveWindowTokenToDisplay_SameDisplay_DoNothing() local
411 mWm.moveWindowTokenToDisplay(windowToken.token, mDisplayContent.getDisplayId()); in testMoveWindowTokenToDisplay_SameDisplay_DoNothing()
418 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD_DIALOG, in testMoveWindowTokenToDisplay_DifferentDisplay_DoMoveDisplay() local
421 mWm.moveWindowTokenToDisplay(windowToken.token, DEFAULT_DISPLAY); in testMoveWindowTokenToDisplay_DifferentDisplay_DoMoveDisplay()
423 assertThat(windowToken.getDisplayContent()).isEqualTo(mDefaultDisplay); in testMoveWindowTokenToDisplay_DifferentDisplay_DoMoveDisplay()
439 final WindowToken windowToken = createTestWindowToken(TYPE_INPUT_METHOD, mDefaultDisplay); in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException() local
443 mWm.attachWindowContextToWindowToken(new Binder(), windowToken.token); in testAttachWindowContextToWindowToken_InvalidWindowType_ThrowException()
[all …]
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl27 IBinder windowToken, int windowType, boolean isPreview, in attach() argument
29 void detach(IBinder windowToken); in detach() argument
/frameworks/base/core/java/android/view/inputmethod/
DIInputMethodManagerGlobalInvoker.java297 static boolean showSoftInput(@NonNull IInputMethodClient client, @Nullable IBinder windowToken, in showSoftInput() argument
306 return service.showSoftInput(client, windowToken, statsToken, flags, lastClickToolType, in showSoftInput()
314 static boolean hideSoftInput(@NonNull IInputMethodClient client, @Nullable IBinder windowToken, in hideSoftInput() argument
322 return service.hideSoftInput(client, windowToken, statsToken, flags, resultReceiver, in hideSoftInput()
333 @NonNull IInputMethodClient client, @Nullable IBinder windowToken, in startInputOrWindowGainedFocus() argument
346 return service.startInputOrWindowGainedFocus(startInputReason, client, windowToken, in startInputOrWindowGainedFocus()
470 static void reportPerceptibleAsync(@NonNull IBinder windowToken, boolean perceptible) { in reportPerceptibleAsync() argument
476 service.reportPerceptibleAsync(windowToken, perceptible); in reportPerceptibleAsync()
483 static void removeImeSurfaceFromWindowAsync(@NonNull IBinder windowToken) { in removeImeSurfaceFromWindowAsync() argument
489 service.removeImeSurfaceFromWindowAsync(windowToken); in removeImeSurfaceFromWindowAsync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DWallpaperController.kt68 if (root.isAttachedToWindow && root.windowToken != null) { in <lambda>()
69 wallpaperManager.setWallpaperZoomOut(root.windowToken, zoomOut) in <lambda>()

12345