/frameworks/base/services/core/java/com/android/server/wm/ |
D | FadeAnimationController.java | 61 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()
|
D | AsyncRotationController.java | 267 private void finishOp(WindowToken windowToken) { in finishOp() argument 268 final Operation op = mTargetWindowTokens.remove(windowToken); in finishOp() 272 windowToken.getSyncTransaction().merge(op.mDrawTransaction); in finishOp() 274 if (DEBUG) Slog.d(TAG, "finishOp merge transaction " + windowToken.getTopChild()); in finishOp() 277 if (DEBUG) Slog.d(TAG, "finishOp fade-in IME " + windowToken.getTopChild()); in finishOp() 278 fadeWindowToken(true /* show */, windowToken, ANIMATION_TYPE_TOKEN_TRANSFORM, in finishOp() 282 if (DEBUG) Slog.d(TAG, "finishOp fade-in " + windowToken.getTopChild()); in finishOp() 285 fadeWindowToken(true /* show */, windowToken, ANIMATION_TYPE_TOKEN_TRANSFORM); in finishOp() 287 if (DEBUG) Slog.d(TAG, "finishOp undo seamless " + windowToken.getTopChild()); in finishOp() 288 final SurfaceControl.Transaction t = windowToken.getSyncTransaction(); in finishOp() [all …]
|
D | SensitiveContentPackages.java | 43 public boolean shouldBlockScreenCaptureForApp(String pkg, int uid, IBinder windowToken) { in shouldBlockScreenCaptureForApp() argument 54 if ((sensitiveContentAppProtection() && windowToken == info.getWindowToken()) in shouldBlockScreenCaptureForApp() 137 public PackageInfo(String pkg, int uid, IBinder windowToken) { in PackageInfo() argument 140 this.mWindowToken = windowToken; in PackageInfo()
|
D | NavBarFadeAnimationController.java | 71 boolean show, WindowToken windowToken) { in createAdapter() argument 73 animationSpec, windowToken.getSurfaceAnimationRunner(), show, windowToken, in createAdapter()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | ImeVisibilityStateComputer.java | 329 void requestImeVisibility(IBinder windowToken, boolean showIme) { in requestImeVisibility() argument 330 ImeTargetWindowState state = getOrCreateWindowState(windowToken); in requestImeVisibility() 341 setWindowStateInner(windowToken, state); in requestImeVisibility() 344 ImeTargetWindowState getOrCreateWindowState(IBinder windowToken) { in getOrCreateWindowState() argument 345 ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in getOrCreateWindowState() 352 ImeTargetWindowState getWindowStateOrNull(IBinder windowToken) { in getWindowStateOrNull() argument 353 ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in getWindowStateOrNull() 357 void setWindowState(IBinder windowToken, @NonNull ImeTargetWindowState newState) { in setWindowState() argument 358 final ImeTargetWindowState state = mRequestWindowStateMap.get(windowToken); in setWindowState() 365 setWindowStateInner(windowToken, newState); in setWindowState() [all …]
|
D | IInputMethodManagerImpl.java | 103 boolean showSoftInput(IInputMethodClient client, IBinder windowToken, in showSoftInput() argument 108 boolean hideSoftInput(IInputMethodClient client, IBinder windowToken, in hideSoftInput() argument 117 IBinder windowToken, @StartInputFlags int startInputFlags, in startInputOrWindowGainedFocusAsync() argument 126 IBinder windowToken, @StartInputFlags int startInputFlags, in startInputOrWindowGainedFocus() argument 151 void reportPerceptibleAsync(IBinder windowToken, boolean perceptible); in reportPerceptibleAsync() argument 156 void removeImeSurfaceFromWindowAsync(IBinder windowToken); in removeImeSurfaceFromWindowAsync() argument 268 public boolean showSoftInput(IInputMethodClient client, IBinder windowToken, in showSoftInput() argument 272 return mCallback.showSoftInput(client, windowToken, statsToken, flags, lastClickToolType, in showSoftInput() 277 public boolean hideSoftInput(IInputMethodClient client, IBinder windowToken, in hideSoftInput() argument 280 return mCallback.hideSoftInput(client, windowToken, statsToken, flags, resultReceiver, in hideSoftInput() [all …]
|
D | DefaultImeVisibilityApplier.java | 140 public void applyImeVisibility(IBinder windowToken, @NonNull ImeTracker.Token statsToken, in applyImeVisibility() argument 142 applyImeVisibility(windowToken, statsToken, state, in applyImeVisibility() 147 void applyImeVisibility(IBinder windowToken, @Nullable ImeTracker.Token statsToken, in applyImeVisibility() argument 158 mWindowManagerInternal.showImePostLayout(windowToken, statsToken); in applyImeVisibility() 171 mWindowManagerInternal.hideIme(windowToken, displayIdToShowIme, statsToken); in applyImeVisibility() 182 mService.hideCurrentInputLocked(windowToken, statsToken, in applyImeVisibility() 190 mService.hideCurrentInputLocked(windowToken, statsToken, in applyImeVisibility() 200 mService.showCurrentInputLocked(windowToken, statsToken, in applyImeVisibility() 206 showImeScreenshot(windowToken, displayIdToShowIme); in applyImeVisibility()
|
D | ImeVisibilityApplier.java | 66 default void applyImeVisibility(IBinder windowToken, @NonNull ImeTracker.Token statsToken, in applyImeVisibility() argument 77 default void updateImeLayeringByTarget(IBinder windowToken) { in updateImeLayeringByTarget() argument 89 default boolean showImeScreenshot(@NonNull IBinder windowToken, int displayId) { in showImeScreenshot() argument
|
D | ZeroJankProxy.java | 177 public boolean showSoftInput(IInputMethodClient client, IBinder windowToken, in showSoftInput() argument 185 windowToken, in showSoftInput() 198 public boolean hideSoftInput(IInputMethodClient client, IBinder windowToken, in hideSoftInput() argument 204 client, windowToken, statsToken, flags, resultReceiver, reason)) { in hideSoftInput() 235 IInputMethodClient client, IBinder windowToken, in startInputOrWindowGainedFocusAsync() argument 245 windowToken, startInputFlags, softInputMode, windowFlags, in startInputOrWindowGainedFocusAsync() 269 IInputMethodClient client, IBinder windowToken, in startInputOrWindowGainedFocus() argument 322 public void reportPerceptibleAsync(IBinder windowToken, boolean perceptible) { in reportPerceptibleAsync() argument 324 mInner.reportPerceptibleAsync(windowToken, perceptible); in reportPerceptibleAsync() 334 public void removeImeSurfaceFromWindowAsync(IBinder windowToken) { in removeImeSurfaceFromWindowAsync() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/toast/ |
D | ToastRecord.java | 37 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()
|
D | CustomToastRecord.java | 41 ITransientNotification callback, int duration, Binder windowToken, int displayId) { in CustomToastRecord() argument 43 windowToken, displayId); in CustomToastRecord() 53 callback.show(windowToken); in show()
|
D | TextToastRecord.java | 47 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/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SampleSidecarImpl.java | 63 for (IBinder windowToken : getWindowsListeningForLayoutChanges()) { in onDisplayFeaturesChanged() 64 SidecarWindowLayoutInfo newLayout = getWindowLayoutInfo(windowToken); in onDisplayFeaturesChanged() 65 updateWindowLayout(windowToken, newLayout); in onDisplayFeaturesChanged() 77 public SidecarWindowLayoutInfo getWindowLayoutInfo(@NonNull IBinder windowToken) { in getWindowLayoutInfo() argument 78 return SidecarHelper.calculateWindowLayoutInfo(windowToken, mStoredFeatures); in getWindowLayoutInfo()
|
D | StubSidecar.java | 75 void updateWindowLayout(@NonNull IBinder windowToken, in updateWindowLayout() argument 79 mSidecarCallback.onWindowLayoutChanged(windowToken, newLayout); in updateWindowLayout()
|
/frameworks/base/core/java/android/view/ |
D | InputWindowHandle.java | 91 private IBinder windowToken; field in InputWindowHandle 191 windowToken = other.windowToken; in InputWindowHandle() 225 .append(", windowToken=").append(windowToken) in toString() 264 windowToken = iwindow; in setWindowToken() 268 return windowToken; in getWindowToken()
|
D | IWindowSession.aidl | 230 … oneway void setWallpaperPosition(IBinder windowToken, float x, float y, float xstep, float ystep); in setWallpaperPosition() argument 236 oneway void setWallpaperZoomOut(IBinder windowToken, float scale); in setWallpaperZoomOut() argument 243 oneway void setShouldZoomOutWallpaper(IBinder windowToken, boolean shouldZoom); in setShouldZoomOutWallpaper() argument 251 oneway void setWallpaperDisplayOffset(IBinder windowToken, int x, int y); in setWallpaperDisplayOffset() argument 327 int inputFeatures, int type, in IBinder windowToken, in grantInputChannel() argument
|
/frameworks/layoutlib/bridge/src/android/view/inputmethod/ |
D | InputMethodManager_Delegate.java | 62 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/ |
D | WindowInfosListenerForTest.java | 56 public final IBinder windowToken; field in WindowInfosListenerForTest.WindowInfo 123 WindowInfo(@NonNull IBinder windowToken, @NonNull String name, int displayId, in WindowInfo() argument 125 this.windowToken = windowToken; in WindowInfo() 148 + ", token=" + windowToken in toString()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureContextTest.java | 42 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/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 77 boolean showSoftInput(in IInputMethodClient client, @nullable IBinder windowToken, in showSoftInput() argument 80 boolean hideSoftInput(in IInputMethodClient client, @nullable IBinder windowToken, in hideSoftInput() argument 101 in IInputMethodClient client, in @nullable IBinder windowToken, in startInputOrWindowGainedFocus() argument 116 in IInputMethodClient client, in @nullable IBinder windowToken, in startInputOrWindowGainedFocusAsync() argument 156 oneway void reportPerceptibleAsync(in IBinder windowToken, boolean perceptible); in reportPerceptibleAsync() argument 164 oneway void removeImeSurfaceFromWindowAsync(in IBinder windowToken); in removeImeSurfaceFromWindowAsync() argument
|
/frameworks/native/services/inputflinger/tests/ |
D | FocusResolver_test.cpp | 241 sp<IBinder> windowToken = sp<BBinder>::make(); in TEST() local 245 sp<FakeWindowHandle>::make("Test Window", windowToken, /*focusable=*/false, in TEST() 252 request.token = windowToken; in TEST() 261 ASSERT_FOCUS_CHANGE(changes, /*from*/ nullptr, /*to*/ windowToken); in TEST() 266 ASSERT_FOCUS_CHANGE(changes, /*from*/ windowToken, /*to*/ nullptr); in TEST() 271 ASSERT_FOCUS_CHANGE(changes, /*from*/ nullptr, /*to*/ windowToken); in TEST() 275 ASSERT_FOCUS_CHANGE(changes, /*from*/ windowToken, /*to*/ nullptr); in TEST() 279 ASSERT_FOCUS_CHANGE(changes, /*from*/ nullptr, /*to*/ windowToken); in TEST() 404 sp<IBinder> windowToken = sp<BBinder>::make(); in TEST() local 408 sp<FakeWindowHandle>::make("Test Window", windowToken, /*focusable=*/true, in TEST() [all …]
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | IWallpaperService.aidl | 28 IBinder windowToken, int windowType, boolean isPreview, in attach() argument 31 void detach(IBinder windowToken); in detach() argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | IInputMethodManagerGlobalInvoker.java | 317 static boolean showSoftInput(@NonNull IInputMethodClient client, @Nullable IBinder windowToken, in showSoftInput() argument 326 return service.showSoftInput(client, windowToken, statsToken, flags, lastClickToolType, in showSoftInput() 334 static boolean hideSoftInput(@NonNull IInputMethodClient client, @Nullable IBinder windowToken, in hideSoftInput() argument 342 return service.hideSoftInput(client, windowToken, statsToken, flags, resultReceiver, in hideSoftInput() 368 @NonNull IInputMethodClient client, @Nullable IBinder windowToken, in startInputOrWindowGainedFocus() argument 381 return service.startInputOrWindowGainedFocus(startInputReason, client, windowToken, in startInputOrWindowGainedFocus() 397 @NonNull IInputMethodClient client, @Nullable IBinder windowToken, in startInputOrWindowGainedFocusAsync() argument 410 service.startInputOrWindowGainedFocusAsync(startInputReason, client, windowToken, in startInputOrWindowGainedFocusAsync() 526 static void reportPerceptibleAsync(@NonNull IBinder windowToken, boolean perceptible) { in reportPerceptibleAsync() argument 532 service.reportPerceptibleAsync(windowToken, perceptible); in reportPerceptibleAsync() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | WallpaperController.kt | 68 if (root.isAttachedToWindow && root.windowToken != null) { in <lambda>() 69 wallpaperManager.setWallpaperZoomOut(root.windowToken, zoomOut) in <lambda>()
|
/frameworks/base/core/java/android/widget/ |
D | ToastPresenter.java | 162 private void adjustLayoutParams(WindowManager.LayoutParams params, IBinder windowToken, in adjustLayoutParams() argument 181 params.token = windowToken; in adjustLayoutParams() 234 public void show(View view, IBinder token, IBinder windowToken, int duration, int gravity, in show() argument 237 show(view, token, windowToken, duration, gravity, xOffset, yOffset, horizontalMargin, in show() 245 public void show(View view, IBinder token, IBinder windowToken, int duration, int gravity, in show() argument 252 adjustLayoutParams(mParams, windowToken, duration, gravity, xOffset, yOffset, in show()
|