Documentation
¶
Index ¶
- Constants
- type AnimationRenderStats
- type AppTransitionAnimationSpec
- type AppTransitionAnimationSpecsFutureProxy
- type AppTransitionAnimationSpecsFutureStub
- type ContentRecordingSession
- type CrossWindowBlurEnabledListenerProxy
- type CrossWindowBlurEnabledListenerStub
- type DecorViewGestureListenerProxy
- type DecorViewGestureListenerStub
- type DisplayChangeWindowCallbackProxy
- type DisplayChangeWindowCallbackStub
- type DisplayChangeWindowControllerProxy
- type DisplayChangeWindowControllerStub
- type DisplayCutoutParcelableWrapper
- type DisplayFoldListenerProxy
- type DisplayFoldListenerStub
- type DisplayInfo
- type DisplayMode
- type DisplayShape
- type DisplayWindowInsetsControllerProxy
- func (p *DisplayWindowInsetsControllerProxy) AsBinder() binder.IBinder
- func (p *DisplayWindowInsetsControllerProxy) HideInsets(ctx context.Context, types int32, fromIme bool, ...) error
- func (p *DisplayWindowInsetsControllerProxy) InsetsChanged(ctx context.Context, insetsState InsetsState) error
- func (p *DisplayWindowInsetsControllerProxy) InsetsControlChanged(ctx context.Context, insetsState InsetsState, ...) error
- func (p *DisplayWindowInsetsControllerProxy) ShowInsets(ctx context.Context, types int32, fromIme bool, ...) error
- func (p *DisplayWindowInsetsControllerProxy) TopFocusedWindowChanged(ctx context.Context, component content.ComponentName, ...) error
- type DisplayWindowInsetsControllerStub
- type DisplayWindowListenerProxy
- func (p *DisplayWindowListenerProxy) AsBinder() binder.IBinder
- func (p *DisplayWindowListenerProxy) OnDisplayAdded(ctx context.Context, displayId int32) error
- func (p *DisplayWindowListenerProxy) OnDisplayConfigurationChanged(ctx context.Context, displayId int32, newConfig res.Configuration) error
- func (p *DisplayWindowListenerProxy) OnDisplayRemoved(ctx context.Context, displayId int32) error
- func (p *DisplayWindowListenerProxy) OnFixedRotationFinished(ctx context.Context, displayId int32) error
- func (p *DisplayWindowListenerProxy) OnFixedRotationStarted(ctx context.Context, displayId int32, newRotation int32) error
- func (p *DisplayWindowListenerProxy) OnKeepClearAreasChanged(ctx context.Context, displayId int32, restricted []graphics.Rect, ...) error
- type DisplayWindowListenerStub
- type DockedStackListenerProxy
- func (p *DockedStackListenerProxy) AsBinder() binder.IBinder
- func (p *DockedStackListenerProxy) OnAdjustedForImeChanged(ctx context.Context, adjustedForIme bool, animDuration int64) error
- func (p *DockedStackListenerProxy) OnDividerVisibilityChanged(ctx context.Context, visible bool) error
- func (p *DockedStackListenerProxy) OnDockSideChanged(ctx context.Context, newDockSide int32) error
- func (p *DockedStackListenerProxy) OnDockedStackExistsChanged(ctx context.Context, exists bool) error
- func (p *DockedStackListenerProxy) OnDockedStackMinimizedChanged(ctx context.Context, minimized bool, animDuration int64, ...) error
- type DockedStackListenerStub
- type DragEvent
- type GraphicsStatsCallbackProxy
- type GraphicsStatsCallbackStub
- type GraphicsStatsProxy
- type GraphicsStatsStub
- type IAppTransitionAnimationSpecsFuture
- type IAppTransitionAnimationSpecsFutureServer
- type ICrossWindowBlurEnabledListener
- type ICrossWindowBlurEnabledListenerServer
- type IDecorViewGestureListener
- type IDecorViewGestureListenerServer
- type IDisplayChangeWindowCallback
- type IDisplayChangeWindowCallbackServer
- type IDisplayChangeWindowController
- type IDisplayChangeWindowControllerServer
- type IDisplayFoldListener
- type IDisplayFoldListenerServer
- type IDisplayWindowInsetsController
- type IDisplayWindowInsetsControllerServer
- type IDisplayWindowListener
- type IDisplayWindowListenerServer
- type IDockedStackListener
- type IDockedStackListenerServer
- type IGraphicsStats
- type IGraphicsStatsCallback
- type IGraphicsStatsCallbackServer
- type IGraphicsStatsServer
- type IInputFilter
- type IInputFilterHost
- type IInputFilterHostServer
- type IInputFilterServer
- type IInputMonitorHost
- type IInputMonitorHostServer
- type IOnKeyguardExitResult
- type IOnKeyguardExitResultServer
- type IPinnedTaskListener
- type IPinnedTaskListenerServer
- type IRecentsAnimationController
- type IRecentsAnimationControllerServer
- type IRecentsAnimationRunner
- type IRecentsAnimationRunnerServer
- type IRemoteAnimationFinishedCallback
- type IRemoteAnimationFinishedCallbackServer
- type IRemoteAnimationRunner
- type IRemoteAnimationRunnerServer
- type IRotationWatcher
- type IRotationWatcherServer
- type IScrollCaptureCallbacks
- type IScrollCaptureCallbacksServer
- type IScrollCaptureConnection
- type IScrollCaptureConnectionServer
- type IScrollCaptureResponseListener
- type IScrollCaptureResponseListenerServer
- type ISensitiveContentProtectionManager
- type ISensitiveContentProtectionManagerServer
- type ISurfaceControlViewHost
- type ISurfaceControlViewHostParent
- type ISurfaceControlViewHostParentServer
- type ISurfaceControlViewHostServer
- type ISystemGestureExclusionListener
- type ISystemGestureExclusionListenerServer
- type IWallpaperVisibilityListener
- type IWallpaperVisibilityListenerServer
- type IWindow
- type IWindowFocusObserver
- type IWindowFocusObserverServer
- type IWindowId
- type IWindowIdServer
- type IWindowManager
- type IWindowManagerServer
- type IWindowServer
- type IWindowSession
- type IWindowSessionCallback
- type IWindowSessionCallbackServer
- type IWindowSessionServer
- type InputChannel
- type InputDevice
- type InputEvent
- type InputFilterHostProxy
- type InputFilterHostStub
- type InputFilterProxy
- func (p *InputFilterProxy) AsBinder() binder.IBinder
- func (p *InputFilterProxy) FilterInputEvent(ctx context.Context, event InputEvent, policyFlags int32) error
- func (p *InputFilterProxy) Install(ctx context.Context, host IInputFilterHost) error
- func (p *InputFilterProxy) Uninstall(ctx context.Context) error
- type InputFilterStub
- type InputMonitor
- type InputMonitorHostProxy
- type InputMonitorHostStub
- type InsetsSourceControl
- type InsetsSourceControlArray
- type InsetsState
- type KeyCharacterMap
- type KeyEvent
- type LayerMetadataKey
- type MagnificationSpec
- type MotionEvent
- type OnKeyguardExitResultProxy
- type OnKeyguardExitResultStub
- type PinnedTaskListenerProxy
- func (p *PinnedTaskListenerProxy) AsBinder() binder.IBinder
- func (p *PinnedTaskListenerProxy) OnActivityHidden(ctx context.Context, componentName content.ComponentName) error
- func (p *PinnedTaskListenerProxy) OnImeVisibilityChanged(ctx context.Context, imeVisible bool, imeHeight int32) error
- func (p *PinnedTaskListenerProxy) OnMovementBoundsChanged(ctx context.Context, fromImeAdjustment bool) error
- type PinnedTaskListenerStub
- type PointerIcon
- type RecentsAnimationControllerProxy
- func (p *RecentsAnimationControllerProxy) AnimateNavigationBarToApp(ctx context.Context, duration int64) error
- func (p *RecentsAnimationControllerProxy) AsBinder() binder.IBinder
- func (p *RecentsAnimationControllerProxy) CleanupScreenshot(ctx context.Context) error
- func (p *RecentsAnimationControllerProxy) DetachNavigationBarFromApp(ctx context.Context, moveHomeToTop bool) error
- func (p *RecentsAnimationControllerProxy) Finish(ctx context.Context, moveHomeToTop bool, sendUserLeaveHint bool, ...) error
- func (p *RecentsAnimationControllerProxy) RemoveTask(ctx context.Context, taskId int32) (bool, error)
- func (p *RecentsAnimationControllerProxy) ScreenshotTask(ctx context.Context, taskId int32) (WindowManagerTaskSnapshot, error)
- func (p *RecentsAnimationControllerProxy) SetAnimationTargetsBehindSystemBars(ctx context.Context, behindSystemBars bool) error
- func (p *RecentsAnimationControllerProxy) SetDeferCancelUntilNextTransition(ctx context.Context, defer_ bool, screenshot bool) error
- func (p *RecentsAnimationControllerProxy) SetFinishTaskTransaction(ctx context.Context, taskId int32, ...) error
- func (p *RecentsAnimationControllerProxy) SetInputConsumerEnabled(ctx context.Context, enabled bool) error
- func (p *RecentsAnimationControllerProxy) SetWillFinishToHome(ctx context.Context, willFinishToHome bool) error
- type RecentsAnimationControllerStub
- type RecentsAnimationRunnerProxy
- func (p *RecentsAnimationRunnerProxy) AsBinder() binder.IBinder
- func (p *RecentsAnimationRunnerProxy) OnAnimationCanceled(ctx context.Context, taskIds []int32, ...) error
- func (p *RecentsAnimationRunnerProxy) OnAnimationStart(ctx context.Context, controller IRecentsAnimationController, ...) error
- func (p *RecentsAnimationRunnerProxy) OnTasksAppeared(ctx context.Context, app []RemoteAnimationTarget) error
- type RecentsAnimationRunnerStub
- type RemoteAnimationAdapter
- type RemoteAnimationDefinition
- type RemoteAnimationFinishedCallbackProxy
- type RemoteAnimationFinishedCallbackStub
- type RemoteAnimationRunnerProxy
- type RemoteAnimationRunnerStub
- type RemoteAnimationTarget
- type RotationWatcherProxy
- type RotationWatcherStub
- type RoundedCorners
- type ScrollCaptureCallbacksProxy
- func (p *ScrollCaptureCallbacksProxy) AsBinder() binder.IBinder
- func (p *ScrollCaptureCallbacksProxy) OnCaptureEnded(ctx context.Context) error
- func (p *ScrollCaptureCallbacksProxy) OnCaptureStarted(ctx context.Context) error
- func (p *ScrollCaptureCallbacksProxy) OnImageRequestCompleted(ctx context.Context, flags int32, capturedArea graphics.Rect) error
- type ScrollCaptureCallbacksStub
- type ScrollCaptureConnectionProxy
- func (p *ScrollCaptureConnectionProxy) AsBinder() binder.IBinder
- func (p *ScrollCaptureConnectionProxy) Close(ctx context.Context) error
- func (p *ScrollCaptureConnectionProxy) EndCapture(ctx context.Context) (os.ICancellationSignal, error)
- func (p *ScrollCaptureConnectionProxy) RequestImage(ctx context.Context, captureArea graphics.Rect) (os.ICancellationSignal, error)
- func (p *ScrollCaptureConnectionProxy) StartCapture(ctx context.Context, surface Surface, callbacks IScrollCaptureCallbacks) (os.ICancellationSignal, error)
- type ScrollCaptureConnectionStub
- type ScrollCaptureResponse
- type ScrollCaptureResponseListenerProxy
- type ScrollCaptureResponseListenerStub
- type SensitiveContentProtectionManagerProxy
- type SensitiveContentProtectionManagerStub
- type Surface
- type SurfaceControl
- type SurfaceControlTransaction
- type SurfaceControlViewHostParentProxy
- func (p *SurfaceControlViewHostParentProxy) AsBinder() binder.IBinder
- func (p *SurfaceControlViewHostParentProxy) ForwardBackKeyToParent(ctx context.Context, keyEvent KeyEvent) error
- func (p *SurfaceControlViewHostParentProxy) UpdateParams(ctx context.Context, childAttrs []WindowManagerLayoutParams) error
- type SurfaceControlViewHostParentStub
- type SurfaceControlViewHostProxy
- func (p *SurfaceControlViewHostProxy) AsBinder() binder.IBinder
- func (p *SurfaceControlViewHostProxy) AttachParentInterface(ctx context.Context, parentInterface ISurfaceControlViewHostParent) error
- func (p *SurfaceControlViewHostProxy) GetSurfaceSyncGroup(ctx context.Context) (window.ISurfaceSyncGroup, error)
- func (p *SurfaceControlViewHostProxy) OnConfigurationChanged(ctx context.Context, newConfig res.Configuration) error
- func (p *SurfaceControlViewHostProxy) OnDispatchDetachedFromWindow(ctx context.Context) error
- func (p *SurfaceControlViewHostProxy) OnInsetsChanged(ctx context.Context, state InsetsState, insetFrame graphics.Rect) error
- type SurfaceControlViewHostStub
- type SurfaceControlViewHostSurfacePackage
- type SystemGestureExclusionListenerProxy
- type SystemGestureExclusionListenerStub
- type TaskTransitionSpec
- type VerifiedInputEvent
- type VerifiedKeyEvent
- type VerifiedMotionEvent
- type WallpaperVisibilityListenerProxy
- type WallpaperVisibilityListenerStub
- type WindowAnimationFrameStats
- type WindowContentFrameStats
- type WindowFocusObserverProxy
- type WindowFocusObserverStub
- type WindowIdProxy
- func (p *WindowIdProxy) AsBinder() binder.IBinder
- func (p *WindowIdProxy) IsFocused(ctx context.Context) (bool, error)
- func (p *WindowIdProxy) RegisterFocusObserver(ctx context.Context, observer IWindowFocusObserver) error
- func (p *WindowIdProxy) UnregisterFocusObserver(ctx context.Context, observer IWindowFocusObserver) error
- type WindowIdStub
- type WindowInfo
- type WindowManagerLayoutParams
- type WindowManagerProxy
- func (p *WindowManagerProxy) AddKeyguardLockedStateListener(ctx context.Context, listener policy.IKeyguardLockedStateListener) error
- func (p *WindowManagerProxy) AddShellRoot(ctx context.Context, displayId int32, client IWindow, shellRootLayer int32) (SurfaceControl, error)
- func (p *WindowManagerProxy) AddToSurfaceSyncGroup(ctx context.Context, syncGroupToken binder.IBinder, parentSyncGroupMerge bool, ...) (bool, error)
- func (p *WindowManagerProxy) AddWindowToken(ctx context.Context, token binder.IBinder, type_ int32, displayId int32, ...) error
- func (p *WindowManagerProxy) AsBinder() binder.IBinder
- func (p *WindowManagerProxy) AttachWindowContextToDisplayArea(ctx context.Context, appThread types.IApplicationThread, ...) (androidWindow.WindowContextInfo, error)
- func (p *WindowManagerProxy) AttachWindowContextToDisplayContent(ctx context.Context, appThread types.IApplicationThread, ...) (androidWindow.WindowContextInfo, error)
- func (p *WindowManagerProxy) AttachWindowContextToWindowToken(ctx context.Context, appThread types.IApplicationThread, ...) (androidWindow.WindowContextInfo, error)
- func (p *WindowManagerProxy) CaptureDisplay(ctx context.Context, displayId int32, ...) error
- func (p *WindowManagerProxy) ClearForcedDisplayDensityForUser(ctx context.Context, displayId int32) error
- func (p *WindowManagerProxy) ClearForcedDisplaySize(ctx context.Context, displayId int32) error
- func (p *WindowManagerProxy) ClearTaskTransitionSpec(ctx context.Context) error
- func (p *WindowManagerProxy) ClearWindowContentFrameStats(ctx context.Context, token binder.IBinder) (bool, error)
- func (p *WindowManagerProxy) CloseSystemDialogs(ctx context.Context, reason string) error
- func (p *WindowManagerProxy) CreateInputConsumer(ctx context.Context, token binder.IBinder, name string, displayId int32, ...) error
- func (p *WindowManagerProxy) DestroyInputConsumer(ctx context.Context, token binder.IBinder, displayId int32) (bool, error)
- func (p *WindowManagerProxy) DetachWindowContext(ctx context.Context, clientToken binder.IBinder) error
- func (p *WindowManagerProxy) DisableKeyguard(ctx context.Context, token binder.IBinder, tag string) error
- func (p *WindowManagerProxy) DismissKeyguard(ctx context.Context, callback policy.IKeyguardDismissCallback, message string) error
- func (p *WindowManagerProxy) EndProlongedAnimations(ctx context.Context) error
- func (p *WindowManagerProxy) ExitKeyguardSecurely(ctx context.Context, callback IOnKeyguardExitResult) error
- func (p *WindowManagerProxy) FreezeDisplayRotation(ctx context.Context, displayId int32, rotation int32, caller string) error
- func (p *WindowManagerProxy) FreezeRotation(ctx context.Context, rotation int32, caller string) error
- func (p *WindowManagerProxy) GetAnimationScale(ctx context.Context, which int32) (float32, error)
- func (p *WindowManagerProxy) GetAnimationScales(ctx context.Context) ([]float32, error)
- func (p *WindowManagerProxy) GetBaseDisplayDensity(ctx context.Context, displayId int32) (int32, error)
- func (p *WindowManagerProxy) GetBaseDisplaySize(ctx context.Context, displayId int32, size graphics.Point) error
- func (p *WindowManagerProxy) GetCurrentAnimatorScale(ctx context.Context) (float32, error)
- func (p *WindowManagerProxy) GetCurrentImeTouchRegion(ctx context.Context) (graphics.Region, error)
- func (p *WindowManagerProxy) GetDefaultDisplayRotation(ctx context.Context) (int32, error)
- func (p *WindowManagerProxy) GetDisplayIdByUniqueId(ctx context.Context, uniqueId string) (int32, error)
- func (p *WindowManagerProxy) GetDisplayImePolicy(ctx context.Context, displayId int32) (int32, error)
- func (p *WindowManagerProxy) GetDockedStackSide(ctx context.Context) (int32, error)
- func (p *WindowManagerProxy) GetImeDisplayId(ctx context.Context) (int32, error)
- func (p *WindowManagerProxy) GetInitialDisplayDensity(ctx context.Context, displayId int32) (int32, error)
- func (p *WindowManagerProxy) GetInitialDisplaySize(ctx context.Context, displayId int32, size graphics.Point) error
- func (p *WindowManagerProxy) GetLetterboxBackgroundColorInArgb(ctx context.Context) (int32, error)
- func (p *WindowManagerProxy) GetPossibleDisplayInfo(ctx context.Context, displayId int32) ([]DisplayInfo, error)
- func (p *WindowManagerProxy) GetPreferredOptionsPanelGravity(ctx context.Context, displayId int32) (int32, error)
- func (p *WindowManagerProxy) GetRemoveContentMode(ctx context.Context, displayId int32) (int32, error)
- func (p *WindowManagerProxy) GetStableInsets(ctx context.Context, displayId int32, outInsets graphics.Rect) error
- func (p *WindowManagerProxy) GetSupportedDisplayHashAlgorithms(ctx context.Context) ([]string, error)
- func (p *WindowManagerProxy) GetWindowContentFrameStats(ctx context.Context, token binder.IBinder) (WindowContentFrameStats, error)
- func (p *WindowManagerProxy) GetWindowInsets(ctx context.Context, displayId int32, token binder.IBinder, ...) (bool, error)
- func (p *WindowManagerProxy) GetWindowingMode(ctx context.Context, displayId int32) (int32, error)
- func (p *WindowManagerProxy) HasNavigationBar(ctx context.Context, displayId int32) (bool, error)
- func (p *WindowManagerProxy) HideTransientBars(ctx context.Context, displayId int32) error
- func (p *WindowManagerProxy) HoldLock(ctx context.Context, token binder.IBinder, durationMs int32) error
- func (p *WindowManagerProxy) IsDisplayRotationFrozen(ctx context.Context, displayId int32) (bool, error)
- func (p *WindowManagerProxy) IsGlobalKey(ctx context.Context, keyCode int32) (bool, error)
- func (p *WindowManagerProxy) IsInTouchMode(ctx context.Context, displayId int32) (bool, error)
- func (p *WindowManagerProxy) IsKeyguardLocked(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsKeyguardSecure(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsLayerTracing(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsLetterboxBackgroundMultiColored(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsRotationFrozen(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsSafeModeEnabled(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsTaskSnapshotSupported(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsTransitionTraceEnabled(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsViewServerRunning(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) IsWindowToken(ctx context.Context, binder_ binder.IBinder) (bool, error)
- func (p *WindowManagerProxy) IsWindowTraceEnabled(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) LockNow(ctx context.Context, options os.Bundle) error
- func (p *WindowManagerProxy) MarkSurfaceSyncGroupReady(ctx context.Context, syncGroupToken binder.IBinder) error
- func (p *WindowManagerProxy) MirrorDisplay(ctx context.Context, displayId int32, outSurfaceControl SurfaceControl) (bool, error)
- func (p *WindowManagerProxy) MirrorWallpaperSurface(ctx context.Context, displayId int32) (SurfaceControl, error)
- func (p *WindowManagerProxy) NotifyScreenshotListeners(ctx context.Context, displayId int32) ([]content.ComponentName, error)
- func (p *WindowManagerProxy) OpenSession(ctx context.Context, callback IWindowSessionCallback) (IWindowSession, error)
- func (p *WindowManagerProxy) OverridePendingAppTransitionMultiThumbFuture(ctx context.Context, specsFuture IAppTransitionAnimationSpecsFuture, ...) error
- func (p *WindowManagerProxy) OverridePendingAppTransitionRemote(ctx context.Context, remoteAnimationAdapter RemoteAnimationAdapter, ...) error
- func (p *WindowManagerProxy) ReenableKeyguard(ctx context.Context, token binder.IBinder) error
- func (p *WindowManagerProxy) RefreshScreenCaptureDisabled(ctx context.Context) error
- func (p *WindowManagerProxy) RegisterCrossWindowBlurEnabledListener(ctx context.Context, listener ICrossWindowBlurEnabledListener) (bool, error)
- func (p *WindowManagerProxy) RegisterDecorViewGestureListener(ctx context.Context, listener IDecorViewGestureListener, displayId int32) error
- func (p *WindowManagerProxy) RegisterDisplayFoldListener(ctx context.Context, listener IDisplayFoldListener) error
- func (p *WindowManagerProxy) RegisterDisplayWindowListener(ctx context.Context, listener IDisplayWindowListener) ([]int32, error)
- func (p *WindowManagerProxy) RegisterPinnedTaskListener(ctx context.Context, displayId int32, listener IPinnedTaskListener) error
- func (p *WindowManagerProxy) RegisterProposedRotationListener(ctx context.Context, contextToken binder.IBinder, listener IRotationWatcher) (int32, error)
- func (p *WindowManagerProxy) RegisterScreenRecordingCallback(ctx context.Context, callback androidWindow.IScreenRecordingCallback) (bool, error)
- func (p *WindowManagerProxy) RegisterShortcutKey(ctx context.Context, shortcutCode int64, ...) error
- func (p *WindowManagerProxy) RegisterSystemGestureExclusionListener(ctx context.Context, listener ISystemGestureExclusionListener, displayId int32) error
- func (p *WindowManagerProxy) RegisterTaskFpsCallback(ctx context.Context, taskId int32, callback androidWindow.ITaskFpsCallback) error
- func (p *WindowManagerProxy) RegisterTrustedPresentationListener(ctx context.Context, window binder.IBinder, ...) error
- func (p *WindowManagerProxy) RegisterWallpaperVisibilityListener(ctx context.Context, listener IWallpaperVisibilityListener, displayId int32) (bool, error)
- func (p *WindowManagerProxy) RemoveKeyguardLockedStateListener(ctx context.Context, listener policy.IKeyguardLockedStateListener) error
- func (p *WindowManagerProxy) RemoveRotationWatcher(ctx context.Context, watcher IRotationWatcher) error
- func (p *WindowManagerProxy) RemoveWindowToken(ctx context.Context, token binder.IBinder, displayId int32) error
- func (p *WindowManagerProxy) ReplaceContentOnDisplay(ctx context.Context, displayId int32, sc SurfaceControl) (bool, error)
- func (p *WindowManagerProxy) RequestAppKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
- func (p *WindowManagerProxy) RequestAssistScreenshot(ctx context.Context, receiver types.IAssistDataReceiver) (bool, error)
- func (p *WindowManagerProxy) RequestImeKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
- func (p *WindowManagerProxy) RequestScrollCapture(ctx context.Context, displayId int32, behindClient binder.IBinder, ...) error
- func (p *WindowManagerProxy) SaveWindowTraceToFile(ctx context.Context) error
- func (p *WindowManagerProxy) ScreenshotWallpaper(ctx context.Context) (graphics.Bitmap, error)
- func (p *WindowManagerProxy) SetActiveTransactionTracing(ctx context.Context, active bool) error
- func (p *WindowManagerProxy) SetAnimationScale(ctx context.Context, which int32, scale float32) error
- func (p *WindowManagerProxy) SetAnimationScales(ctx context.Context, scales []float32) error
- func (p *WindowManagerProxy) SetDisplayChangeWindowController(ctx context.Context, controller IDisplayChangeWindowController) error
- func (p *WindowManagerProxy) SetDisplayHashThrottlingEnabled(ctx context.Context, enable bool) error
- func (p *WindowManagerProxy) SetDisplayImePolicy(ctx context.Context, displayId int32, imePolicy int32) error
- func (p *WindowManagerProxy) SetDisplayWindowInsetsController(ctx context.Context, displayId int32, ...) error
- func (p *WindowManagerProxy) SetEventDispatching(ctx context.Context, enabled bool) error
- func (p *WindowManagerProxy) SetFixedToUserRotation(ctx context.Context, displayId int32, fixedToUserRotation int32) error
- func (p *WindowManagerProxy) SetForcedDisplayDensityForUser(ctx context.Context, displayId int32, density int32) error
- func (p *WindowManagerProxy) SetForcedDisplayScalingMode(ctx context.Context, displayId int32, mode int32) error
- func (p *WindowManagerProxy) SetForcedDisplaySize(ctx context.Context, displayId int32, width int32, height int32) error
- func (p *WindowManagerProxy) SetGlobalDragListener(ctx context.Context, listener androidWindow.IGlobalDragListener) error
- func (p *WindowManagerProxy) SetIgnoreOrientationRequest(ctx context.Context, displayId int32, ignoreOrientationRequest bool) error
- func (p *WindowManagerProxy) SetInTouchMode(ctx context.Context, inTouch bool, displayId int32) error
- func (p *WindowManagerProxy) SetInTouchModeOnAllDisplays(ctx context.Context, inTouch bool) error
- func (p *WindowManagerProxy) SetLayerTracing(ctx context.Context, enabled bool) error
- func (p *WindowManagerProxy) SetLayerTracingFlags(ctx context.Context, flags int32) error
- func (p *WindowManagerProxy) SetNavBarVirtualKeyHapticFeedbackEnabled(ctx context.Context, enabled bool) error
- func (p *WindowManagerProxy) SetRecentsAppBehindSystemBars(ctx context.Context, behindSystemBars bool) error
- func (p *WindowManagerProxy) SetRecentsVisibility(ctx context.Context, visible bool) error
- func (p *WindowManagerProxy) SetRemoveContentMode(ctx context.Context, displayId int32, mode int32) error
- func (p *WindowManagerProxy) SetShellRootAccessibilityWindow(ctx context.Context, displayId int32, shellRootLayer int32, target IWindow) error
- func (p *WindowManagerProxy) SetShouldShowSystemDecors(ctx context.Context, displayId int32, shouldShow bool) error
- func (p *WindowManagerProxy) SetShouldShowWithInsecureKeyguard(ctx context.Context, displayId int32, shouldShow bool) error
- func (p *WindowManagerProxy) SetStrictModeVisualIndicatorPreference(ctx context.Context, enabled string) error
- func (p *WindowManagerProxy) SetSwitchingUser(ctx context.Context, switching bool) error
- func (p *WindowManagerProxy) SetTaskSnapshotEnabled(ctx context.Context, enabled bool) error
- func (p *WindowManagerProxy) SetTaskTransitionSpec(ctx context.Context, spec TaskTransitionSpec) error
- func (p *WindowManagerProxy) SetWindowingMode(ctx context.Context, displayId int32, mode int32) error
- func (p *WindowManagerProxy) ShouldShowSystemDecors(ctx context.Context, displayId int32) (bool, error)
- func (p *WindowManagerProxy) ShouldShowWithInsecureKeyguard(ctx context.Context, displayId int32) (bool, error)
- func (p *WindowManagerProxy) ShowGlobalActions(ctx context.Context) error
- func (p *WindowManagerProxy) ShowStrictModeViolation(ctx context.Context, on bool) error
- func (p *WindowManagerProxy) SnapshotTaskForRecents(ctx context.Context, taskId int32) (graphics.Bitmap, error)
- func (p *WindowManagerProxy) StartFreezingScreen(ctx context.Context, exitAnim int32, enterAnim int32) error
- func (p *WindowManagerProxy) StartTransitionTrace(ctx context.Context) error
- func (p *WindowManagerProxy) StartViewServer(ctx context.Context, port int32) (bool, error)
- func (p *WindowManagerProxy) StartWindowTrace(ctx context.Context) error
- func (p *WindowManagerProxy) StopFreezingScreen(ctx context.Context) error
- func (p *WindowManagerProxy) StopTransitionTrace(ctx context.Context) error
- func (p *WindowManagerProxy) StopViewServer(ctx context.Context) (bool, error)
- func (p *WindowManagerProxy) StopWindowTrace(ctx context.Context) error
- func (p *WindowManagerProxy) SyncInputTransactions(ctx context.Context, waitForAnimations bool) error
- func (p *WindowManagerProxy) ThawDisplayRotation(ctx context.Context, displayId int32, caller string) error
- func (p *WindowManagerProxy) ThawRotation(ctx context.Context, caller string) error
- func (p *WindowManagerProxy) TransferTouchGesture(ctx context.Context, transferFromToken androidWindow.InputTransferToken, ...) (bool, error)
- func (p *WindowManagerProxy) UnregisterCrossWindowBlurEnabledListener(ctx context.Context, listener ICrossWindowBlurEnabledListener) error
- func (p *WindowManagerProxy) UnregisterDecorViewGestureListener(ctx context.Context, listener IDecorViewGestureListener, displayId int32) error
- func (p *WindowManagerProxy) UnregisterDisplayFoldListener(ctx context.Context, listener IDisplayFoldListener) error
- func (p *WindowManagerProxy) UnregisterDisplayWindowListener(ctx context.Context, listener IDisplayWindowListener) error
- func (p *WindowManagerProxy) UnregisterScreenRecordingCallback(ctx context.Context, callback androidWindow.IScreenRecordingCallback) error
- func (p *WindowManagerProxy) UnregisterSystemGestureExclusionListener(ctx context.Context, listener ISystemGestureExclusionListener, displayId int32) error
- func (p *WindowManagerProxy) UnregisterTaskFpsCallback(ctx context.Context, listener androidWindow.ITaskFpsCallback) error
- func (p *WindowManagerProxy) UnregisterTrustedPresentationListener(ctx context.Context, listener androidWindow.ITrustedPresentationListener, ...) error
- func (p *WindowManagerProxy) UnregisterWallpaperVisibilityListener(ctx context.Context, listener IWallpaperVisibilityListener, displayId int32) error
- func (p *WindowManagerProxy) UpdateDisplayWindowRequestedVisibleTypes(ctx context.Context, displayId int32, requestedVisibleTypes int32) error
- func (p *WindowManagerProxy) UpdateStaticPrivacyIndicatorBounds(ctx context.Context, displayId int32, staticBounds []graphics.Rect) error
- func (p *WindowManagerProxy) VerifyDisplayHash(ctx context.Context, displayHash displayhash.DisplayHash) (displayhash.VerifiedDisplayHash, error)
- func (p *WindowManagerProxy) WatchRotation(ctx context.Context, watcher IRotationWatcher, displayId int32) (int32, error)
- type WindowManagerStub
- type WindowManagerTaskSnapshot
- type WindowProxy
- func (p *WindowProxy) AsBinder() binder.IBinder
- func (p *WindowProxy) CloseSystemDialogs(ctx context.Context, reason string) error
- func (p *WindowProxy) DispatchAppVisibility(ctx context.Context, visible bool) error
- func (p *WindowProxy) DispatchDragEvent(ctx context.Context, event DragEvent) error
- func (p *WindowProxy) DispatchGetNewSurface(ctx context.Context) error
- func (p *WindowProxy) DispatchWallpaperCommand(ctx context.Context, action string, x int32, y int32, z int32, ...) error
- func (p *WindowProxy) DispatchWallpaperOffsets(ctx context.Context, x float32, y float32, xStep float32, yStep float32, ...) error
- func (p *WindowProxy) DispatchWindowShown(ctx context.Context) error
- func (p *WindowProxy) ExecuteCommand(ctx context.Context, command string, parameters string, descriptor int32) error
- func (p *WindowProxy) HideInsets(ctx context.Context, types int32, fromIme bool, ...) error
- func (p *WindowProxy) InsetsControlChanged(ctx context.Context, insetsState InsetsState, ...) error
- func (p *WindowProxy) Moved(ctx context.Context, newX int32, newY int32) error
- func (p *WindowProxy) RequestAppKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
- func (p *WindowProxy) RequestScrollCapture(ctx context.Context, callbacks IScrollCaptureResponseListener) error
- func (p *WindowProxy) Resized(ctx context.Context, frames window.ClientWindowFrames, reportDraw bool, ...) error
- func (p *WindowProxy) ShowInsets(ctx context.Context, types int32, fromIme bool, ...) error
- func (p *WindowProxy) UpdatePointerIcon(ctx context.Context, x float32, y float32) error
- type WindowSessionCallbackProxy
- type WindowSessionCallbackStub
- type WindowSessionProxy
- func (p *WindowSessionProxy) AddToDisplay(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, ...) (int32, error)
- func (p *WindowSessionProxy) AddToDisplayAsUser(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, ...) (int32, error)
- func (p *WindowSessionProxy) AddToDisplayWithoutInputChannel(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, ...) (int32, error)
- func (p *WindowSessionProxy) AsBinder() binder.IBinder
- func (p *WindowSessionProxy) CancelDragAndDrop(ctx context.Context, dragToken binder.IBinder, skipAnimation bool) error
- func (p *WindowSessionProxy) CancelDraw(ctx context.Context, window IWindow) (bool, error)
- func (p *WindowSessionProxy) ClearTouchableRegion(ctx context.Context, window IWindow) error
- func (p *WindowSessionProxy) DragRecipientEntered(ctx context.Context, window IWindow) error
- func (p *WindowSessionProxy) DragRecipientExited(ctx context.Context, window IWindow) error
- func (p *WindowSessionProxy) DropForAccessibility(ctx context.Context, window IWindow, x int32, y int32) (bool, error)
- func (p *WindowSessionProxy) FinishDrawing(ctx context.Context, window IWindow, ...) error
- func (p *WindowSessionProxy) FinishMovingTask(ctx context.Context, window IWindow) error
- func (p *WindowSessionProxy) GenerateDisplayHash(ctx context.Context, window IWindow, boundsInWindow graphics.Rect, ...) error
- func (p *WindowSessionProxy) GetWindowId(ctx context.Context, window binder.IBinder) (IWindowId, error)
- func (p *WindowSessionProxy) GrantEmbeddedWindowFocus(ctx context.Context, window IWindow, ...) error
- func (p *WindowSessionProxy) GrantInputChannel(ctx context.Context, displayId int32, surface SurfaceControl, ...) error
- func (p *WindowSessionProxy) MoveFocusToAdjacentWindow(ctx context.Context, fromWindow IWindow, direction int32) (bool, error)
- func (p *WindowSessionProxy) OnRectangleOnScreenRequested(ctx context.Context, token binder.IBinder, rectangle graphics.Rect) error
- func (p *WindowSessionProxy) OutOfMemory(ctx context.Context, window IWindow) (bool, error)
- func (p *WindowSessionProxy) PerformDrag(ctx context.Context, window IWindow, flags int32, surface SurfaceControl, ...) (binder.IBinder, error)
- func (p *WindowSessionProxy) PerformHapticFeedback(ctx context.Context, effectId int32, always bool, fromIme bool) (bool, error)
- func (p *WindowSessionProxy) PerformHapticFeedbackAsync(ctx context.Context, effectId int32, always bool, fromIme bool) error
- func (p *WindowSessionProxy) PokeDrawLock(ctx context.Context, window binder.IBinder) error
- func (p *WindowSessionProxy) Relayout(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, ...) (int32, error)
- func (p *WindowSessionProxy) RelayoutAsync(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, ...) error
- func (p *WindowSessionProxy) Remove(ctx context.Context, clientToken binder.IBinder) error
- func (p *WindowSessionProxy) ReportDecorViewGestureInterceptionChanged(ctx context.Context, window IWindow, intercepted bool) error
- func (p *WindowSessionProxy) ReportDropResult(ctx context.Context, window IWindow, consumed bool) error
- func (p *WindowSessionProxy) ReportKeepClearAreasChanged(ctx context.Context, window IWindow, restricted []graphics.Rect, ...) error
- func (p *WindowSessionProxy) ReportSystemGestureExclusionChanged(ctx context.Context, window IWindow, exclusionRects []graphics.Rect) error
- func (p *WindowSessionProxy) SendWallpaperCommand(ctx context.Context, window binder.IBinder, action string, x int32, y int32, ...) error
- func (p *WindowSessionProxy) SetInsets(ctx context.Context, window IWindow, touchableInsets int32, ...) error
- func (p *WindowSessionProxy) SetOnBackInvokedCallbackInfo(ctx context.Context, window IWindow, ...) error
- func (p *WindowSessionProxy) SetShouldZoomOutWallpaper(ctx context.Context, windowToken binder.IBinder, shouldZoom bool) error
- func (p *WindowSessionProxy) SetWallpaperDisplayOffset(ctx context.Context, windowToken binder.IBinder, x int32, y int32) error
- func (p *WindowSessionProxy) SetWallpaperPosition(ctx context.Context, windowToken binder.IBinder, x float32, y float32, ...) error
- func (p *WindowSessionProxy) SetWallpaperZoomOut(ctx context.Context, windowToken binder.IBinder, scale float32) error
- func (p *WindowSessionProxy) StartMovingTask(ctx context.Context, window IWindow, startX float32, startY float32) (bool, error)
- func (p *WindowSessionProxy) UpdateInputChannel(ctx context.Context, channelToken binder.IBinder, displayId int32, ...) error
- func (p *WindowSessionProxy) UpdatePointerIcon(ctx context.Context, window IWindow) error
- func (p *WindowSessionProxy) UpdateRequestedVisibleTypes(ctx context.Context, window IWindow, requestedVisibleTypes int32) error
- func (p *WindowSessionProxy) UpdateTapExcludeRegion(ctx context.Context, window IWindow, region graphics.Region) error
- func (p *WindowSessionProxy) WallpaperCommandComplete(ctx context.Context, window binder.IBinder, result os.Bundle) error
- func (p *WindowSessionProxy) WallpaperOffsetsComplete(ctx context.Context, window binder.IBinder) error
- type WindowSessionStub
- type WindowStub
Constants ¶
const ( TransactionIDisplayWindowInsetsControllerTopFocusedWindowChanged = binder.FirstCallTransaction + 0 TransactionIDisplayWindowInsetsControllerInsetsChanged = binder.FirstCallTransaction + 1 TransactionIDisplayWindowInsetsControllerInsetsControlChanged = binder.FirstCallTransaction + 2 TransactionIDisplayWindowInsetsControllerShowInsets = binder.FirstCallTransaction + 3 TransactionIDisplayWindowInsetsControllerHideInsets = binder.FirstCallTransaction + 4 )
const ( MethodIDisplayWindowInsetsControllerTopFocusedWindowChanged = "topFocusedWindowChanged" MethodIDisplayWindowInsetsControllerInsetsChanged = "insetsChanged" MethodIDisplayWindowInsetsControllerInsetsControlChanged = "insetsControlChanged" MethodIDisplayWindowInsetsControllerShowInsets = "showInsets" MethodIDisplayWindowInsetsControllerHideInsets = "hideInsets" )
const ( TransactionIDisplayWindowListenerOnDisplayAdded = binder.FirstCallTransaction + 0 TransactionIDisplayWindowListenerOnDisplayConfigurationChanged = binder.FirstCallTransaction + 1 TransactionIDisplayWindowListenerOnDisplayRemoved = binder.FirstCallTransaction + 2 TransactionIDisplayWindowListenerOnFixedRotationStarted = binder.FirstCallTransaction + 3 TransactionIDisplayWindowListenerOnFixedRotationFinished = binder.FirstCallTransaction + 4 TransactionIDisplayWindowListenerOnKeepClearAreasChanged = binder.FirstCallTransaction + 5 )
const ( MethodIDisplayWindowListenerOnDisplayAdded = "onDisplayAdded" MethodIDisplayWindowListenerOnDisplayConfigurationChanged = "onDisplayConfigurationChanged" MethodIDisplayWindowListenerOnDisplayRemoved = "onDisplayRemoved" MethodIDisplayWindowListenerOnFixedRotationStarted = "onFixedRotationStarted" MethodIDisplayWindowListenerOnFixedRotationFinished = "onFixedRotationFinished" MethodIDisplayWindowListenerOnKeepClearAreasChanged = "onKeepClearAreasChanged" )
const ( TransactionIDockedStackListenerOnDividerVisibilityChanged = binder.FirstCallTransaction + 0 TransactionIDockedStackListenerOnDockedStackExistsChanged = binder.FirstCallTransaction + 1 TransactionIDockedStackListenerOnDockedStackMinimizedChanged = binder.FirstCallTransaction + 2 TransactionIDockedStackListenerOnAdjustedForImeChanged = binder.FirstCallTransaction + 3 TransactionIDockedStackListenerOnDockSideChanged = binder.FirstCallTransaction + 4 )
const ( MethodIDockedStackListenerOnDividerVisibilityChanged = "onDividerVisibilityChanged" MethodIDockedStackListenerOnDockedStackExistsChanged = "onDockedStackExistsChanged" MethodIDockedStackListenerOnDockedStackMinimizedChanged = "onDockedStackMinimizedChanged" MethodIDockedStackListenerOnAdjustedForImeChanged = "onAdjustedForImeChanged" MethodIDockedStackListenerOnDockSideChanged = "onDockSideChanged" )
const ( TransactionIInputFilterInstall = binder.FirstCallTransaction + 0 TransactionIInputFilterUninstall = binder.FirstCallTransaction + 1 TransactionIInputFilterFilterInputEvent = binder.FirstCallTransaction + 2 )
const ( MethodIInputFilterInstall = "install" MethodIInputFilterUninstall = "uninstall" MethodIInputFilterFilterInputEvent = "filterInputEvent" )
const ( TransactionIInputMonitorHostPilferPointers = binder.FirstCallTransaction + 0 TransactionIInputMonitorHostDispose = binder.FirstCallTransaction + 1 )
const ( MethodIInputMonitorHostPilferPointers = "pilferPointers" MethodIInputMonitorHostDispose = "dispose" )
const ( TransactionIPinnedTaskListenerOnMovementBoundsChanged = binder.FirstCallTransaction + 0 TransactionIPinnedTaskListenerOnImeVisibilityChanged = binder.FirstCallTransaction + 1 TransactionIPinnedTaskListenerOnActivityHidden = binder.FirstCallTransaction + 2 )
const ( MethodIPinnedTaskListenerOnMovementBoundsChanged = "onMovementBoundsChanged" MethodIPinnedTaskListenerOnImeVisibilityChanged = "onImeVisibilityChanged" MethodIPinnedTaskListenerOnActivityHidden = "onActivityHidden" )
const ( TransactionIRecentsAnimationControllerScreenshotTask = binder.FirstCallTransaction + 0 TransactionIRecentsAnimationControllerSetFinishTaskTransaction = binder.FirstCallTransaction + 1 TransactionIRecentsAnimationControllerFinish = binder.FirstCallTransaction + 2 TransactionIRecentsAnimationControllerSetInputConsumerEnabled = binder.FirstCallTransaction + 3 TransactionIRecentsAnimationControllerSetAnimationTargetsBehindSystemBars = binder.FirstCallTransaction + 4 TransactionIRecentsAnimationControllerCleanupScreenshot = binder.FirstCallTransaction + 5 TransactionIRecentsAnimationControllerSetDeferCancelUntilNextTransition = binder.FirstCallTransaction + 6 TransactionIRecentsAnimationControllerSetWillFinishToHome = binder.FirstCallTransaction + 7 TransactionIRecentsAnimationControllerRemoveTask = binder.FirstCallTransaction + 8 )
const ( MethodIRecentsAnimationControllerScreenshotTask = "screenshotTask" MethodIRecentsAnimationControllerSetFinishTaskTransaction = "setFinishTaskTransaction" MethodIRecentsAnimationControllerFinish = "finish" MethodIRecentsAnimationControllerSetInputConsumerEnabled = "setInputConsumerEnabled" MethodIRecentsAnimationControllerSetAnimationTargetsBehindSystemBars = "setAnimationTargetsBehindSystemBars" MethodIRecentsAnimationControllerCleanupScreenshot = "cleanupScreenshot" MethodIRecentsAnimationControllerSetDeferCancelUntilNextTransition = "setDeferCancelUntilNextTransition" MethodIRecentsAnimationControllerSetWillFinishToHome = "setWillFinishToHome" MethodIRecentsAnimationControllerRemoveTask = "removeTask" )
const ( TransactionIRecentsAnimationRunnerOnAnimationCanceled = binder.FirstCallTransaction + 0 TransactionIRecentsAnimationRunnerOnAnimationStart = binder.FirstCallTransaction + 1 TransactionIRecentsAnimationRunnerOnTasksAppeared = binder.FirstCallTransaction + 2 )
const ( MethodIRecentsAnimationRunnerOnAnimationCanceled = "onAnimationCanceled" MethodIRecentsAnimationRunnerOnAnimationStart = "onAnimationStart" MethodIRecentsAnimationRunnerOnTasksAppeared = "onTasksAppeared" )
const ( TransactionIRemoteAnimationRunnerOnAnimationStart = binder.FirstCallTransaction + 0 TransactionIRemoteAnimationRunnerOnAnimationCancelled = binder.FirstCallTransaction + 1 )
const ( MethodIRemoteAnimationRunnerOnAnimationStart = "onAnimationStart" MethodIRemoteAnimationRunnerOnAnimationCancelled = "onAnimationCancelled" )
const ( TransactionIScrollCaptureCallbacksOnCaptureStarted = binder.FirstCallTransaction + 0 TransactionIScrollCaptureCallbacksOnImageRequestCompleted = binder.FirstCallTransaction + 1 TransactionIScrollCaptureCallbacksOnCaptureEnded = binder.FirstCallTransaction + 2 )
const ( MethodIScrollCaptureCallbacksOnCaptureStarted = "onCaptureStarted" MethodIScrollCaptureCallbacksOnImageRequestCompleted = "onImageRequestCompleted" MethodIScrollCaptureCallbacksOnCaptureEnded = "onCaptureEnded" )
const ( TransactionIScrollCaptureConnectionStartCapture = binder.FirstCallTransaction + 0 TransactionIScrollCaptureConnectionRequestImage = binder.FirstCallTransaction + 1 TransactionIScrollCaptureConnectionEndCapture = binder.FirstCallTransaction + 2 TransactionIScrollCaptureConnectionClose = binder.FirstCallTransaction + 3 )
const ( MethodIScrollCaptureConnectionStartCapture = "startCapture" MethodIScrollCaptureConnectionRequestImage = "requestImage" MethodIScrollCaptureConnectionEndCapture = "endCapture" MethodIScrollCaptureConnectionClose = "close" )
const ( TransactionISurfaceControlViewHostOnConfigurationChanged = binder.FirstCallTransaction + 0 TransactionISurfaceControlViewHostOnDispatchDetachedFromWindow = binder.FirstCallTransaction + 1 TransactionISurfaceControlViewHostOnInsetsChanged = binder.FirstCallTransaction + 2 TransactionISurfaceControlViewHostGetSurfaceSyncGroup = binder.FirstCallTransaction + 3 TransactionISurfaceControlViewHostAttachParentInterface = binder.FirstCallTransaction + 4 )
const ( MethodISurfaceControlViewHostOnConfigurationChanged = "onConfigurationChanged" MethodISurfaceControlViewHostOnDispatchDetachedFromWindow = "onDispatchDetachedFromWindow" MethodISurfaceControlViewHostOnInsetsChanged = "onInsetsChanged" MethodISurfaceControlViewHostGetSurfaceSyncGroup = "getSurfaceSyncGroup" MethodISurfaceControlViewHostAttachParentInterface = "attachParentInterface" )
const ( TransactionISurfaceControlViewHostParentUpdateParams = binder.FirstCallTransaction + 0 TransactionISurfaceControlViewHostParentForwardBackKeyToParent = binder.FirstCallTransaction + 1 )
const ( MethodISurfaceControlViewHostParentUpdateParams = "updateParams" MethodISurfaceControlViewHostParentForwardBackKeyToParent = "forwardBackKeyToParent" )
const ( TransactionIWindowExecuteCommand = binder.FirstCallTransaction + 0 TransactionIWindowResized = binder.FirstCallTransaction + 1 TransactionIWindowInsetsControlChanged = binder.FirstCallTransaction + 2 TransactionIWindowShowInsets = binder.FirstCallTransaction + 3 TransactionIWindowHideInsets = binder.FirstCallTransaction + 4 TransactionIWindowMoved = binder.FirstCallTransaction + 5 TransactionIWindowDispatchAppVisibility = binder.FirstCallTransaction + 6 TransactionIWindowDispatchGetNewSurface = binder.FirstCallTransaction + 7 TransactionIWindowCloseSystemDialogs = binder.FirstCallTransaction + 8 TransactionIWindowDispatchWallpaperOffsets = binder.FirstCallTransaction + 9 TransactionIWindowDispatchWallpaperCommand = binder.FirstCallTransaction + 10 TransactionIWindowDispatchDragEvent = binder.FirstCallTransaction + 11 TransactionIWindowUpdatePointerIcon = binder.FirstCallTransaction + 12 TransactionIWindowDispatchWindowShown = binder.FirstCallTransaction + 13 TransactionIWindowRequestAppKeyboardShortcuts = binder.FirstCallTransaction + 14 TransactionIWindowRequestScrollCapture = binder.FirstCallTransaction + 15 )
const ( MethodIWindowExecuteCommand = "executeCommand" MethodIWindowResized = "resized" MethodIWindowInsetsControlChanged = "insetsControlChanged" MethodIWindowShowInsets = "showInsets" MethodIWindowHideInsets = "hideInsets" MethodIWindowMoved = "moved" MethodIWindowDispatchAppVisibility = "dispatchAppVisibility" MethodIWindowDispatchGetNewSurface = "dispatchGetNewSurface" MethodIWindowCloseSystemDialogs = "closeSystemDialogs" MethodIWindowDispatchWallpaperOffsets = "dispatchWallpaperOffsets" MethodIWindowDispatchWallpaperCommand = "dispatchWallpaperCommand" MethodIWindowDispatchDragEvent = "dispatchDragEvent" MethodIWindowUpdatePointerIcon = "updatePointerIcon" MethodIWindowDispatchWindowShown = "dispatchWindowShown" MethodIWindowRequestAppKeyboardShortcuts = "requestAppKeyboardShortcuts" MethodIWindowRequestScrollCapture = "requestScrollCapture" )
const ( TransactionIWindowFocusObserverFocusGained = binder.FirstCallTransaction + 0 TransactionIWindowFocusObserverFocusLost = binder.FirstCallTransaction + 1 )
const ( MethodIWindowFocusObserverFocusGained = "focusGained" MethodIWindowFocusObserverFocusLost = "focusLost" )
const ( TransactionIWindowIdRegisterFocusObserver = binder.FirstCallTransaction + 0 TransactionIWindowIdUnregisterFocusObserver = binder.FirstCallTransaction + 1 TransactionIWindowIdIsFocused = binder.FirstCallTransaction + 2 )
const ( MethodIWindowIdRegisterFocusObserver = "registerFocusObserver" MethodIWindowIdUnregisterFocusObserver = "unregisterFocusObserver" MethodIWindowIdIsFocused = "isFocused" )
const ( TransactionIWindowManagerStartViewServer = binder.FirstCallTransaction + 0 TransactionIWindowManagerStopViewServer = binder.FirstCallTransaction + 1 TransactionIWindowManagerIsViewServerRunning = binder.FirstCallTransaction + 2 TransactionIWindowManagerOpenSession = binder.FirstCallTransaction + 3 TransactionIWindowManagerGetInitialDisplaySize = binder.FirstCallTransaction + 4 TransactionIWindowManagerGetBaseDisplaySize = binder.FirstCallTransaction + 5 TransactionIWindowManagerSetForcedDisplaySize = binder.FirstCallTransaction + 6 TransactionIWindowManagerClearForcedDisplaySize = binder.FirstCallTransaction + 7 TransactionIWindowManagerGetInitialDisplayDensity = binder.FirstCallTransaction + 8 TransactionIWindowManagerGetBaseDisplayDensity = binder.FirstCallTransaction + 9 TransactionIWindowManagerGetDisplayIdByUniqueId = binder.FirstCallTransaction + 10 TransactionIWindowManagerSetForcedDisplayDensityForUser = binder.FirstCallTransaction + 11 TransactionIWindowManagerClearForcedDisplayDensityForUser = binder.FirstCallTransaction + 12 TransactionIWindowManagerSetForcedDisplayScalingMode = binder.FirstCallTransaction + 13 TransactionIWindowManagerSetEventDispatching = binder.FirstCallTransaction + 14 TransactionIWindowManagerIsWindowToken = binder.FirstCallTransaction + 15 TransactionIWindowManagerAddWindowToken = binder.FirstCallTransaction + 16 TransactionIWindowManagerRemoveWindowToken = binder.FirstCallTransaction + 17 TransactionIWindowManagerSetDisplayChangeWindowController = binder.FirstCallTransaction + 18 TransactionIWindowManagerAddShellRoot = binder.FirstCallTransaction + 19 TransactionIWindowManagerSetShellRootAccessibilityWindow = binder.FirstCallTransaction + 20 TransactionIWindowManagerOverridePendingAppTransitionMultiThumbFuture = binder.FirstCallTransaction + 21 TransactionIWindowManagerOverridePendingAppTransitionRemote = binder.FirstCallTransaction + 22 TransactionIWindowManagerEndProlongedAnimations = binder.FirstCallTransaction + 23 TransactionIWindowManagerStartFreezingScreen = binder.FirstCallTransaction + 24 TransactionIWindowManagerStopFreezingScreen = binder.FirstCallTransaction + 25 TransactionIWindowManagerDisableKeyguard = binder.FirstCallTransaction + 26 TransactionIWindowManagerReenableKeyguard = binder.FirstCallTransaction + 27 TransactionIWindowManagerExitKeyguardSecurely = binder.FirstCallTransaction + 28 TransactionIWindowManagerIsKeyguardLocked = binder.FirstCallTransaction + 29 TransactionIWindowManagerIsKeyguardSecure = binder.FirstCallTransaction + 30 TransactionIWindowManagerDismissKeyguard = binder.FirstCallTransaction + 31 TransactionIWindowManagerAddKeyguardLockedStateListener = binder.FirstCallTransaction + 32 TransactionIWindowManagerRemoveKeyguardLockedStateListener = binder.FirstCallTransaction + 33 TransactionIWindowManagerSetSwitchingUser = binder.FirstCallTransaction + 34 TransactionIWindowManagerCloseSystemDialogs = binder.FirstCallTransaction + 35 TransactionIWindowManagerGetAnimationScale = binder.FirstCallTransaction + 36 TransactionIWindowManagerGetAnimationScales = binder.FirstCallTransaction + 37 TransactionIWindowManagerSetAnimationScale = binder.FirstCallTransaction + 38 TransactionIWindowManagerSetAnimationScales = binder.FirstCallTransaction + 39 TransactionIWindowManagerGetCurrentAnimatorScale = binder.FirstCallTransaction + 40 TransactionIWindowManagerSetInTouchMode = binder.FirstCallTransaction + 41 TransactionIWindowManagerSetInTouchModeOnAllDisplays = binder.FirstCallTransaction + 42 TransactionIWindowManagerIsInTouchMode = binder.FirstCallTransaction + 43 TransactionIWindowManagerShowStrictModeViolation = binder.FirstCallTransaction + 44 TransactionIWindowManagerSetStrictModeVisualIndicatorPreference = binder.FirstCallTransaction + 45 TransactionIWindowManagerRefreshScreenCaptureDisabled = binder.FirstCallTransaction + 46 TransactionIWindowManagerGetDefaultDisplayRotation = binder.FirstCallTransaction + 47 TransactionIWindowManagerWatchRotation = binder.FirstCallTransaction + 48 TransactionIWindowManagerRemoveRotationWatcher = binder.FirstCallTransaction + 49 TransactionIWindowManagerRegisterProposedRotationListener = binder.FirstCallTransaction + 50 TransactionIWindowManagerGetPreferredOptionsPanelGravity = binder.FirstCallTransaction + 51 TransactionIWindowManagerFreezeRotation = binder.FirstCallTransaction + 52 TransactionIWindowManagerThawRotation = binder.FirstCallTransaction + 53 TransactionIWindowManagerIsRotationFrozen = binder.FirstCallTransaction + 54 TransactionIWindowManagerFreezeDisplayRotation = binder.FirstCallTransaction + 55 TransactionIWindowManagerThawDisplayRotation = binder.FirstCallTransaction + 56 TransactionIWindowManagerIsDisplayRotationFrozen = binder.FirstCallTransaction + 57 TransactionIWindowManagerSetFixedToUserRotation = binder.FirstCallTransaction + 58 TransactionIWindowManagerSetIgnoreOrientationRequest = binder.FirstCallTransaction + 59 TransactionIWindowManagerScreenshotWallpaper = binder.FirstCallTransaction + 60 TransactionIWindowManagerMirrorWallpaperSurface = binder.FirstCallTransaction + 61 TransactionIWindowManagerRegisterWallpaperVisibilityListener = binder.FirstCallTransaction + 62 TransactionIWindowManagerUnregisterWallpaperVisibilityListener = binder.FirstCallTransaction + 63 TransactionIWindowManagerRegisterSystemGestureExclusionListener = binder.FirstCallTransaction + 64 TransactionIWindowManagerUnregisterSystemGestureExclusionListener = binder.FirstCallTransaction + 65 TransactionIWindowManagerRequestAssistScreenshot = binder.FirstCallTransaction + 66 TransactionIWindowManagerHideTransientBars = binder.FirstCallTransaction + 67 TransactionIWindowManagerSetRecentsVisibility = binder.FirstCallTransaction + 68 TransactionIWindowManagerUpdateStaticPrivacyIndicatorBounds = binder.FirstCallTransaction + 69 TransactionIWindowManagerLockNow = binder.FirstCallTransaction + 72 TransactionIWindowManagerIsSafeModeEnabled = binder.FirstCallTransaction + 73 TransactionIWindowManagerClearWindowContentFrameStats = binder.FirstCallTransaction + 74 TransactionIWindowManagerGetWindowContentFrameStats = binder.FirstCallTransaction + 75 TransactionIWindowManagerGetDockedStackSide = binder.FirstCallTransaction + 76 TransactionIWindowManagerRegisterPinnedTaskListener = binder.FirstCallTransaction + 77 TransactionIWindowManagerRequestAppKeyboardShortcuts = binder.FirstCallTransaction + 78 TransactionIWindowManagerRequestImeKeyboardShortcuts = binder.FirstCallTransaction + 79 TransactionIWindowManagerGetStableInsets = binder.FirstCallTransaction + 80 TransactionIWindowManagerRegisterShortcutKey = binder.FirstCallTransaction + 81 TransactionIWindowManagerCreateInputConsumer = binder.FirstCallTransaction + 82 TransactionIWindowManagerDestroyInputConsumer = binder.FirstCallTransaction + 83 TransactionIWindowManagerGetCurrentImeTouchRegion = binder.FirstCallTransaction + 84 TransactionIWindowManagerRegisterDisplayFoldListener = binder.FirstCallTransaction + 85 TransactionIWindowManagerUnregisterDisplayFoldListener = binder.FirstCallTransaction + 86 TransactionIWindowManagerRegisterDisplayWindowListener = binder.FirstCallTransaction + 87 TransactionIWindowManagerUnregisterDisplayWindowListener = binder.FirstCallTransaction + 88 TransactionIWindowManagerStartWindowTrace = binder.FirstCallTransaction + 89 TransactionIWindowManagerStopWindowTrace = binder.FirstCallTransaction + 90 TransactionIWindowManagerSaveWindowTraceToFile = binder.FirstCallTransaction + 91 TransactionIWindowManagerIsWindowTraceEnabled = binder.FirstCallTransaction + 92 TransactionIWindowManagerStartTransitionTrace = binder.FirstCallTransaction + 93 TransactionIWindowManagerStopTransitionTrace = binder.FirstCallTransaction + 94 TransactionIWindowManagerIsTransitionTraceEnabled = binder.FirstCallTransaction + 95 TransactionIWindowManagerGetWindowingMode = binder.FirstCallTransaction + 96 TransactionIWindowManagerSetWindowingMode = binder.FirstCallTransaction + 97 TransactionIWindowManagerGetRemoveContentMode = binder.FirstCallTransaction + 98 TransactionIWindowManagerSetRemoveContentMode = binder.FirstCallTransaction + 99 TransactionIWindowManagerShouldShowWithInsecureKeyguard = binder.FirstCallTransaction + 100 TransactionIWindowManagerSetShouldShowWithInsecureKeyguard = binder.FirstCallTransaction + 101 TransactionIWindowManagerShouldShowSystemDecors = binder.FirstCallTransaction + 102 TransactionIWindowManagerSetShouldShowSystemDecors = binder.FirstCallTransaction + 103 TransactionIWindowManagerGetDisplayImePolicy = binder.FirstCallTransaction + 104 TransactionIWindowManagerSetDisplayImePolicy = binder.FirstCallTransaction + 105 TransactionIWindowManagerSyncInputTransactions = binder.FirstCallTransaction + 106 TransactionIWindowManagerIsLayerTracing = binder.FirstCallTransaction + 107 TransactionIWindowManagerSetLayerTracing = binder.FirstCallTransaction + 108 TransactionIWindowManagerMirrorDisplay = binder.FirstCallTransaction + 109 TransactionIWindowManagerSetDisplayWindowInsetsController = binder.FirstCallTransaction + 110 TransactionIWindowManagerUpdateDisplayWindowRequestedVisibleTypes = binder.FirstCallTransaction + 111 TransactionIWindowManagerGetWindowInsets = binder.FirstCallTransaction + 112 TransactionIWindowManagerGetPossibleDisplayInfo = binder.FirstCallTransaction + 113 TransactionIWindowManagerShowGlobalActions = binder.FirstCallTransaction + 114 TransactionIWindowManagerSetLayerTracingFlags = binder.FirstCallTransaction + 115 TransactionIWindowManagerSetActiveTransactionTracing = binder.FirstCallTransaction + 116 TransactionIWindowManagerRequestScrollCapture = binder.FirstCallTransaction + 117 TransactionIWindowManagerHoldLock = binder.FirstCallTransaction + 118 TransactionIWindowManagerGetSupportedDisplayHashAlgorithms = binder.FirstCallTransaction + 119 TransactionIWindowManagerVerifyDisplayHash = binder.FirstCallTransaction + 120 TransactionIWindowManagerSetDisplayHashThrottlingEnabled = binder.FirstCallTransaction + 121 TransactionIWindowManagerAttachWindowContextToDisplayArea = binder.FirstCallTransaction + 122 TransactionIWindowManagerAttachWindowContextToWindowToken = binder.FirstCallTransaction + 123 TransactionIWindowManagerAttachWindowContextToDisplayContent = binder.FirstCallTransaction + 124 TransactionIWindowManagerDetachWindowContext = binder.FirstCallTransaction + 125 TransactionIWindowManagerRegisterCrossWindowBlurEnabledListener = binder.FirstCallTransaction + 126 TransactionIWindowManagerUnregisterCrossWindowBlurEnabledListener = binder.FirstCallTransaction + 127 TransactionIWindowManagerIsTaskSnapshotSupported = binder.FirstCallTransaction + 128 TransactionIWindowManagerGetImeDisplayId = binder.FirstCallTransaction + 129 TransactionIWindowManagerSetTaskSnapshotEnabled = binder.FirstCallTransaction + 130 TransactionIWindowManagerSetTaskTransitionSpec = binder.FirstCallTransaction + 131 TransactionIWindowManagerClearTaskTransitionSpec = binder.FirstCallTransaction + 132 TransactionIWindowManagerRegisterTaskFpsCallback = binder.FirstCallTransaction + 133 TransactionIWindowManagerUnregisterTaskFpsCallback = binder.FirstCallTransaction + 134 TransactionIWindowManagerSnapshotTaskForRecents = binder.FirstCallTransaction + 135 TransactionIWindowManagerSetRecentsAppBehindSystemBars = binder.FirstCallTransaction + 136 TransactionIWindowManagerGetLetterboxBackgroundColorInArgb = binder.FirstCallTransaction + 137 TransactionIWindowManagerIsLetterboxBackgroundMultiColored = binder.FirstCallTransaction + 138 TransactionIWindowManagerCaptureDisplay = binder.FirstCallTransaction + 139 TransactionIWindowManagerIsGlobalKey = binder.FirstCallTransaction + 140 TransactionIWindowManagerAddToSurfaceSyncGroup = binder.FirstCallTransaction + 141 TransactionIWindowManagerMarkSurfaceSyncGroupReady = binder.FirstCallTransaction + 142 TransactionIWindowManagerNotifyScreenshotListeners = binder.FirstCallTransaction + 143 TransactionIWindowManagerReplaceContentOnDisplay = binder.FirstCallTransaction + 144 TransactionIWindowManagerRegisterDecorViewGestureListener = binder.FirstCallTransaction + 145 TransactionIWindowManagerUnregisterDecorViewGestureListener = binder.FirstCallTransaction + 146 TransactionIWindowManagerRegisterTrustedPresentationListener = binder.FirstCallTransaction + 147 TransactionIWindowManagerUnregisterTrustedPresentationListener = binder.FirstCallTransaction + 148 TransactionIWindowManagerRegisterScreenRecordingCallback = binder.FirstCallTransaction + 149 TransactionIWindowManagerUnregisterScreenRecordingCallback = binder.FirstCallTransaction + 150 TransactionIWindowManagerSetGlobalDragListener = binder.FirstCallTransaction + 151 TransactionIWindowManagerTransferTouchGesture = binder.FirstCallTransaction + 152 )
const ( MethodIWindowManagerStartViewServer = "startViewServer" MethodIWindowManagerStopViewServer = "stopViewServer" MethodIWindowManagerIsViewServerRunning = "isViewServerRunning" MethodIWindowManagerOpenSession = "openSession" MethodIWindowManagerGetInitialDisplaySize = "getInitialDisplaySize" MethodIWindowManagerGetBaseDisplaySize = "getBaseDisplaySize" MethodIWindowManagerSetForcedDisplaySize = "setForcedDisplaySize" MethodIWindowManagerClearForcedDisplaySize = "clearForcedDisplaySize" MethodIWindowManagerGetInitialDisplayDensity = "getInitialDisplayDensity" MethodIWindowManagerGetBaseDisplayDensity = "getBaseDisplayDensity" MethodIWindowManagerGetDisplayIdByUniqueId = "getDisplayIdByUniqueId" MethodIWindowManagerSetForcedDisplayDensityForUser = "setForcedDisplayDensityForUser" MethodIWindowManagerClearForcedDisplayDensityForUser = "clearForcedDisplayDensityForUser" MethodIWindowManagerSetForcedDisplayScalingMode = "setForcedDisplayScalingMode" MethodIWindowManagerSetEventDispatching = "setEventDispatching" MethodIWindowManagerIsWindowToken = "isWindowToken" MethodIWindowManagerAddWindowToken = "addWindowToken" MethodIWindowManagerRemoveWindowToken = "removeWindowToken" MethodIWindowManagerSetDisplayChangeWindowController = "setDisplayChangeWindowController" MethodIWindowManagerAddShellRoot = "addShellRoot" MethodIWindowManagerSetShellRootAccessibilityWindow = "setShellRootAccessibilityWindow" MethodIWindowManagerOverridePendingAppTransitionMultiThumbFuture = "overridePendingAppTransitionMultiThumbFuture" MethodIWindowManagerOverridePendingAppTransitionRemote = "overridePendingAppTransitionRemote" MethodIWindowManagerEndProlongedAnimations = "endProlongedAnimations" MethodIWindowManagerStartFreezingScreen = "startFreezingScreen" MethodIWindowManagerStopFreezingScreen = "stopFreezingScreen" MethodIWindowManagerDisableKeyguard = "disableKeyguard" MethodIWindowManagerReenableKeyguard = "reenableKeyguard" MethodIWindowManagerExitKeyguardSecurely = "exitKeyguardSecurely" MethodIWindowManagerIsKeyguardLocked = "isKeyguardLocked" MethodIWindowManagerIsKeyguardSecure = "isKeyguardSecure" MethodIWindowManagerDismissKeyguard = "dismissKeyguard" MethodIWindowManagerAddKeyguardLockedStateListener = "addKeyguardLockedStateListener" MethodIWindowManagerRemoveKeyguardLockedStateListener = "removeKeyguardLockedStateListener" MethodIWindowManagerSetSwitchingUser = "setSwitchingUser" MethodIWindowManagerCloseSystemDialogs = "closeSystemDialogs" MethodIWindowManagerGetAnimationScale = "getAnimationScale" MethodIWindowManagerGetAnimationScales = "getAnimationScales" MethodIWindowManagerSetAnimationScale = "setAnimationScale" MethodIWindowManagerSetAnimationScales = "setAnimationScales" MethodIWindowManagerGetCurrentAnimatorScale = "getCurrentAnimatorScale" MethodIWindowManagerSetInTouchMode = "setInTouchMode" MethodIWindowManagerSetInTouchModeOnAllDisplays = "setInTouchModeOnAllDisplays" MethodIWindowManagerIsInTouchMode = "isInTouchMode" MethodIWindowManagerShowStrictModeViolation = "showStrictModeViolation" MethodIWindowManagerSetStrictModeVisualIndicatorPreference = "setStrictModeVisualIndicatorPreference" MethodIWindowManagerRefreshScreenCaptureDisabled = "refreshScreenCaptureDisabled" MethodIWindowManagerGetDefaultDisplayRotation = "getDefaultDisplayRotation" MethodIWindowManagerWatchRotation = "watchRotation" MethodIWindowManagerRemoveRotationWatcher = "removeRotationWatcher" MethodIWindowManagerRegisterProposedRotationListener = "registerProposedRotationListener" MethodIWindowManagerGetPreferredOptionsPanelGravity = "getPreferredOptionsPanelGravity" MethodIWindowManagerFreezeRotation = "freezeRotation" MethodIWindowManagerThawRotation = "thawRotation" MethodIWindowManagerIsRotationFrozen = "isRotationFrozen" MethodIWindowManagerFreezeDisplayRotation = "freezeDisplayRotation" MethodIWindowManagerThawDisplayRotation = "thawDisplayRotation" MethodIWindowManagerIsDisplayRotationFrozen = "isDisplayRotationFrozen" MethodIWindowManagerSetFixedToUserRotation = "setFixedToUserRotation" MethodIWindowManagerSetIgnoreOrientationRequest = "setIgnoreOrientationRequest" MethodIWindowManagerScreenshotWallpaper = "screenshotWallpaper" MethodIWindowManagerMirrorWallpaperSurface = "mirrorWallpaperSurface" MethodIWindowManagerRegisterWallpaperVisibilityListener = "registerWallpaperVisibilityListener" MethodIWindowManagerUnregisterWallpaperVisibilityListener = "unregisterWallpaperVisibilityListener" MethodIWindowManagerRegisterSystemGestureExclusionListener = "registerSystemGestureExclusionListener" MethodIWindowManagerUnregisterSystemGestureExclusionListener = "unregisterSystemGestureExclusionListener" MethodIWindowManagerRequestAssistScreenshot = "requestAssistScreenshot" MethodIWindowManagerHideTransientBars = "hideTransientBars" MethodIWindowManagerSetRecentsVisibility = "setRecentsVisibility" MethodIWindowManagerUpdateStaticPrivacyIndicatorBounds = "updateStaticPrivacyIndicatorBounds" MethodIWindowManagerLockNow = "lockNow" MethodIWindowManagerIsSafeModeEnabled = "isSafeModeEnabled" MethodIWindowManagerClearWindowContentFrameStats = "clearWindowContentFrameStats" MethodIWindowManagerGetWindowContentFrameStats = "getWindowContentFrameStats" MethodIWindowManagerGetDockedStackSide = "getDockedStackSide" MethodIWindowManagerRegisterPinnedTaskListener = "registerPinnedTaskListener" MethodIWindowManagerRequestAppKeyboardShortcuts = "requestAppKeyboardShortcuts" MethodIWindowManagerRequestImeKeyboardShortcuts = "requestImeKeyboardShortcuts" MethodIWindowManagerGetStableInsets = "getStableInsets" MethodIWindowManagerRegisterShortcutKey = "registerShortcutKey" MethodIWindowManagerCreateInputConsumer = "createInputConsumer" MethodIWindowManagerDestroyInputConsumer = "destroyInputConsumer" MethodIWindowManagerGetCurrentImeTouchRegion = "getCurrentImeTouchRegion" MethodIWindowManagerRegisterDisplayFoldListener = "registerDisplayFoldListener" MethodIWindowManagerUnregisterDisplayFoldListener = "unregisterDisplayFoldListener" MethodIWindowManagerRegisterDisplayWindowListener = "registerDisplayWindowListener" MethodIWindowManagerUnregisterDisplayWindowListener = "unregisterDisplayWindowListener" MethodIWindowManagerStartWindowTrace = "startWindowTrace" MethodIWindowManagerStopWindowTrace = "stopWindowTrace" MethodIWindowManagerSaveWindowTraceToFile = "saveWindowTraceToFile" MethodIWindowManagerIsWindowTraceEnabled = "isWindowTraceEnabled" MethodIWindowManagerStartTransitionTrace = "startTransitionTrace" MethodIWindowManagerStopTransitionTrace = "stopTransitionTrace" MethodIWindowManagerIsTransitionTraceEnabled = "isTransitionTraceEnabled" MethodIWindowManagerGetWindowingMode = "getWindowingMode" MethodIWindowManagerSetWindowingMode = "setWindowingMode" MethodIWindowManagerGetRemoveContentMode = "getRemoveContentMode" MethodIWindowManagerSetRemoveContentMode = "setRemoveContentMode" MethodIWindowManagerShouldShowWithInsecureKeyguard = "shouldShowWithInsecureKeyguard" MethodIWindowManagerSetShouldShowWithInsecureKeyguard = "setShouldShowWithInsecureKeyguard" MethodIWindowManagerShouldShowSystemDecors = "shouldShowSystemDecors" MethodIWindowManagerSetShouldShowSystemDecors = "setShouldShowSystemDecors" MethodIWindowManagerGetDisplayImePolicy = "getDisplayImePolicy" MethodIWindowManagerSetDisplayImePolicy = "setDisplayImePolicy" MethodIWindowManagerSyncInputTransactions = "syncInputTransactions" MethodIWindowManagerIsLayerTracing = "isLayerTracing" MethodIWindowManagerSetLayerTracing = "setLayerTracing" MethodIWindowManagerMirrorDisplay = "mirrorDisplay" MethodIWindowManagerSetDisplayWindowInsetsController = "setDisplayWindowInsetsController" MethodIWindowManagerUpdateDisplayWindowRequestedVisibleTypes = "updateDisplayWindowRequestedVisibleTypes" MethodIWindowManagerGetWindowInsets = "getWindowInsets" MethodIWindowManagerGetPossibleDisplayInfo = "getPossibleDisplayInfo" MethodIWindowManagerShowGlobalActions = "showGlobalActions" MethodIWindowManagerSetLayerTracingFlags = "setLayerTracingFlags" MethodIWindowManagerSetActiveTransactionTracing = "setActiveTransactionTracing" MethodIWindowManagerRequestScrollCapture = "requestScrollCapture" MethodIWindowManagerHoldLock = "holdLock" MethodIWindowManagerGetSupportedDisplayHashAlgorithms = "getSupportedDisplayHashAlgorithms" MethodIWindowManagerVerifyDisplayHash = "verifyDisplayHash" MethodIWindowManagerSetDisplayHashThrottlingEnabled = "setDisplayHashThrottlingEnabled" MethodIWindowManagerAttachWindowContextToDisplayArea = "attachWindowContextToDisplayArea" MethodIWindowManagerAttachWindowContextToWindowToken = "attachWindowContextToWindowToken" MethodIWindowManagerAttachWindowContextToDisplayContent = "attachWindowContextToDisplayContent" MethodIWindowManagerDetachWindowContext = "detachWindowContext" MethodIWindowManagerRegisterCrossWindowBlurEnabledListener = "registerCrossWindowBlurEnabledListener" MethodIWindowManagerUnregisterCrossWindowBlurEnabledListener = "unregisterCrossWindowBlurEnabledListener" MethodIWindowManagerIsTaskSnapshotSupported = "isTaskSnapshotSupported" MethodIWindowManagerGetImeDisplayId = "getImeDisplayId" MethodIWindowManagerSetTaskSnapshotEnabled = "setTaskSnapshotEnabled" MethodIWindowManagerSetTaskTransitionSpec = "setTaskTransitionSpec" MethodIWindowManagerClearTaskTransitionSpec = "clearTaskTransitionSpec" MethodIWindowManagerRegisterTaskFpsCallback = "registerTaskFpsCallback" MethodIWindowManagerUnregisterTaskFpsCallback = "unregisterTaskFpsCallback" MethodIWindowManagerSnapshotTaskForRecents = "snapshotTaskForRecents" MethodIWindowManagerSetRecentsAppBehindSystemBars = "setRecentsAppBehindSystemBars" MethodIWindowManagerGetLetterboxBackgroundColorInArgb = "getLetterboxBackgroundColorInArgb" MethodIWindowManagerIsLetterboxBackgroundMultiColored = "isLetterboxBackgroundMultiColored" MethodIWindowManagerCaptureDisplay = "captureDisplay" MethodIWindowManagerIsGlobalKey = "isGlobalKey" MethodIWindowManagerAddToSurfaceSyncGroup = "addToSurfaceSyncGroup" MethodIWindowManagerMarkSurfaceSyncGroupReady = "markSurfaceSyncGroupReady" MethodIWindowManagerNotifyScreenshotListeners = "notifyScreenshotListeners" MethodIWindowManagerReplaceContentOnDisplay = "replaceContentOnDisplay" MethodIWindowManagerRegisterDecorViewGestureListener = "registerDecorViewGestureListener" MethodIWindowManagerUnregisterDecorViewGestureListener = "unregisterDecorViewGestureListener" MethodIWindowManagerRegisterTrustedPresentationListener = "registerTrustedPresentationListener" MethodIWindowManagerUnregisterTrustedPresentationListener = "unregisterTrustedPresentationListener" MethodIWindowManagerRegisterScreenRecordingCallback = "registerScreenRecordingCallback" MethodIWindowManagerUnregisterScreenRecordingCallback = "unregisterScreenRecordingCallback" MethodIWindowManagerSetGlobalDragListener = "setGlobalDragListener" MethodIWindowManagerTransferTouchGesture = "transferTouchGesture" )
const ( IWindowManagerFixedToUserRotationDefault int32 = 0 IWindowManagerFixedToUserRotationDisabled int32 = 1 IWindowManagerFixedToUserRotationEnabled int32 = 2 IWindowManagerFixedToUserRotationIfNoAutoRotation int32 = 3 )
const ( TransactionIWindowSessionAddToDisplay = binder.FirstCallTransaction + 0 TransactionIWindowSessionAddToDisplayAsUser = binder.FirstCallTransaction + 1 TransactionIWindowSessionAddToDisplayWithoutInputChannel = binder.FirstCallTransaction + 2 TransactionIWindowSessionRemove = binder.FirstCallTransaction + 3 TransactionIWindowSessionRelayout = binder.FirstCallTransaction + 4 TransactionIWindowSessionRelayoutAsync = binder.FirstCallTransaction + 5 TransactionIWindowSessionOutOfMemory = binder.FirstCallTransaction + 6 TransactionIWindowSessionSetInsets = binder.FirstCallTransaction + 7 TransactionIWindowSessionFinishDrawing = binder.FirstCallTransaction + 8 TransactionIWindowSessionPerformHapticFeedback = binder.FirstCallTransaction + 9 TransactionIWindowSessionPerformHapticFeedbackAsync = binder.FirstCallTransaction + 10 TransactionIWindowSessionPerformDrag = binder.FirstCallTransaction + 11 TransactionIWindowSessionDropForAccessibility = binder.FirstCallTransaction + 12 TransactionIWindowSessionReportDropResult = binder.FirstCallTransaction + 13 TransactionIWindowSessionCancelDragAndDrop = binder.FirstCallTransaction + 14 TransactionIWindowSessionDragRecipientEntered = binder.FirstCallTransaction + 15 TransactionIWindowSessionDragRecipientExited = binder.FirstCallTransaction + 16 TransactionIWindowSessionSetWallpaperPosition = binder.FirstCallTransaction + 17 TransactionIWindowSessionSetWallpaperZoomOut = binder.FirstCallTransaction + 18 TransactionIWindowSessionSetShouldZoomOutWallpaper = binder.FirstCallTransaction + 19 TransactionIWindowSessionWallpaperOffsetsComplete = binder.FirstCallTransaction + 20 TransactionIWindowSessionSetWallpaperDisplayOffset = binder.FirstCallTransaction + 21 TransactionIWindowSessionSendWallpaperCommand = binder.FirstCallTransaction + 22 TransactionIWindowSessionWallpaperCommandComplete = binder.FirstCallTransaction + 23 TransactionIWindowSessionOnRectangleOnScreenRequested = binder.FirstCallTransaction + 24 TransactionIWindowSessionGetWindowId = binder.FirstCallTransaction + 25 TransactionIWindowSessionPokeDrawLock = binder.FirstCallTransaction + 26 TransactionIWindowSessionStartMovingTask = binder.FirstCallTransaction + 27 TransactionIWindowSessionFinishMovingTask = binder.FirstCallTransaction + 28 TransactionIWindowSessionUpdatePointerIcon = binder.FirstCallTransaction + 29 TransactionIWindowSessionUpdateTapExcludeRegion = binder.FirstCallTransaction + 30 TransactionIWindowSessionUpdateRequestedVisibleTypes = binder.FirstCallTransaction + 31 TransactionIWindowSessionReportSystemGestureExclusionChanged = binder.FirstCallTransaction + 32 TransactionIWindowSessionReportDecorViewGestureInterceptionChanged = binder.FirstCallTransaction + 33 TransactionIWindowSessionReportKeepClearAreasChanged = binder.FirstCallTransaction + 34 TransactionIWindowSessionGrantInputChannel = binder.FirstCallTransaction + 35 TransactionIWindowSessionUpdateInputChannel = binder.FirstCallTransaction + 36 TransactionIWindowSessionGrantEmbeddedWindowFocus = binder.FirstCallTransaction + 37 TransactionIWindowSessionGenerateDisplayHash = binder.FirstCallTransaction + 38 TransactionIWindowSessionSetOnBackInvokedCallbackInfo = binder.FirstCallTransaction + 39 TransactionIWindowSessionClearTouchableRegion = binder.FirstCallTransaction + 40 TransactionIWindowSessionCancelDraw = binder.FirstCallTransaction + 41 TransactionIWindowSessionMoveFocusToAdjacentWindow = binder.FirstCallTransaction + 42 )
const ( MethodIWindowSessionAddToDisplay = "addToDisplay" MethodIWindowSessionAddToDisplayAsUser = "addToDisplayAsUser" MethodIWindowSessionAddToDisplayWithoutInputChannel = "addToDisplayWithoutInputChannel" MethodIWindowSessionRemove = "remove" MethodIWindowSessionRelayout = "relayout" MethodIWindowSessionRelayoutAsync = "relayoutAsync" MethodIWindowSessionOutOfMemory = "outOfMemory" MethodIWindowSessionSetInsets = "setInsets" MethodIWindowSessionFinishDrawing = "finishDrawing" MethodIWindowSessionPerformHapticFeedback = "performHapticFeedback" MethodIWindowSessionPerformHapticFeedbackAsync = "performHapticFeedbackAsync" MethodIWindowSessionPerformDrag = "performDrag" MethodIWindowSessionDropForAccessibility = "dropForAccessibility" MethodIWindowSessionReportDropResult = "reportDropResult" MethodIWindowSessionCancelDragAndDrop = "cancelDragAndDrop" MethodIWindowSessionDragRecipientEntered = "dragRecipientEntered" MethodIWindowSessionDragRecipientExited = "dragRecipientExited" MethodIWindowSessionSetWallpaperPosition = "setWallpaperPosition" MethodIWindowSessionSetWallpaperZoomOut = "setWallpaperZoomOut" MethodIWindowSessionSetShouldZoomOutWallpaper = "setShouldZoomOutWallpaper" MethodIWindowSessionWallpaperOffsetsComplete = "wallpaperOffsetsComplete" MethodIWindowSessionSetWallpaperDisplayOffset = "setWallpaperDisplayOffset" MethodIWindowSessionSendWallpaperCommand = "sendWallpaperCommand" MethodIWindowSessionWallpaperCommandComplete = "wallpaperCommandComplete" MethodIWindowSessionOnRectangleOnScreenRequested = "onRectangleOnScreenRequested" MethodIWindowSessionGetWindowId = "getWindowId" MethodIWindowSessionPokeDrawLock = "pokeDrawLock" MethodIWindowSessionStartMovingTask = "startMovingTask" MethodIWindowSessionFinishMovingTask = "finishMovingTask" MethodIWindowSessionUpdatePointerIcon = "updatePointerIcon" MethodIWindowSessionUpdateTapExcludeRegion = "updateTapExcludeRegion" MethodIWindowSessionUpdateRequestedVisibleTypes = "updateRequestedVisibleTypes" MethodIWindowSessionReportSystemGestureExclusionChanged = "reportSystemGestureExclusionChanged" MethodIWindowSessionReportDecorViewGestureInterceptionChanged = "reportDecorViewGestureInterceptionChanged" MethodIWindowSessionReportKeepClearAreasChanged = "reportKeepClearAreasChanged" MethodIWindowSessionGrantInputChannel = "grantInputChannel" MethodIWindowSessionUpdateInputChannel = "updateInputChannel" MethodIWindowSessionGrantEmbeddedWindowFocus = "grantEmbeddedWindowFocus" MethodIWindowSessionGenerateDisplayHash = "generateDisplayHash" MethodIWindowSessionSetOnBackInvokedCallbackInfo = "setOnBackInvokedCallbackInfo" MethodIWindowSessionClearTouchableRegion = "clearTouchableRegion" MethodIWindowSessionCancelDraw = "cancelDraw" MethodIWindowSessionMoveFocusToAdjacentWindow = "moveFocusToAdjacentWindow" )
const DescriptorIAppTransitionAnimationSpecsFuture = "android.view.IAppTransitionAnimationSpecsFuture"
const DescriptorICrossWindowBlurEnabledListener = "android.view.ICrossWindowBlurEnabledListener"
const DescriptorIDecorViewGestureListener = "android.view.IDecorViewGestureListener"
const DescriptorIDisplayChangeWindowCallback = "android.view.IDisplayChangeWindowCallback"
const DescriptorIDisplayChangeWindowController = "android.view.IDisplayChangeWindowController"
const DescriptorIDisplayFoldListener = "android.view.IDisplayFoldListener"
const DescriptorIDisplayWindowInsetsController = "android.view.IDisplayWindowInsetsController"
const DescriptorIDisplayWindowListener = "android.view.IDisplayWindowListener"
const DescriptorIDockedStackListener = "android.view.IDockedStackListener"
const DescriptorIGraphicsStats = "android.view.IGraphicsStats"
const DescriptorIGraphicsStatsCallback = "android.view.IGraphicsStatsCallback"
const DescriptorIInputFilter = "android.view.IInputFilter"
const DescriptorIInputFilterHost = "android.view.IInputFilterHost"
const DescriptorIInputMonitorHost = "android.view.IInputMonitorHost"
const DescriptorIOnKeyguardExitResult = "android.view.IOnKeyguardExitResult"
const DescriptorIPinnedTaskListener = "android.view.IPinnedTaskListener"
const DescriptorIRecentsAnimationController = "android.view.IRecentsAnimationController"
const DescriptorIRecentsAnimationRunner = "android.view.IRecentsAnimationRunner"
const DescriptorIRemoteAnimationFinishedCallback = "android.view.IRemoteAnimationFinishedCallback"
const DescriptorIRemoteAnimationRunner = "android.view.IRemoteAnimationRunner"
const DescriptorIRotationWatcher = "android.view.IRotationWatcher"
const DescriptorIScrollCaptureCallbacks = "android.view.IScrollCaptureCallbacks"
const DescriptorIScrollCaptureConnection = "android.view.IScrollCaptureConnection"
const DescriptorIScrollCaptureResponseListener = "android.view.IScrollCaptureResponseListener"
const DescriptorISensitiveContentProtectionManager = "android.view.ISensitiveContentProtectionManager"
const DescriptorISurfaceControlViewHost = "android.view.ISurfaceControlViewHost"
const DescriptorISurfaceControlViewHostParent = "android.view.ISurfaceControlViewHostParent"
const DescriptorISystemGestureExclusionListener = "android.view.ISystemGestureExclusionListener"
const DescriptorIWallpaperVisibilityListener = "android.view.IWallpaperVisibilityListener"
const DescriptorIWindow = "android.view.IWindow"
const DescriptorIWindowFocusObserver = "android.view.IWindowFocusObserver"
const DescriptorIWindowId = "android.view.IWindowId"
const DescriptorIWindowManager = "android.view.IWindowManager"
const DescriptorIWindowSession = "android.view.IWindowSession"
const DescriptorIWindowSessionCallback = "android.view.IWindowSessionCallback"
const (
MethodIAppTransitionAnimationSpecsFutureGet = "get"
)
const (
MethodICrossWindowBlurEnabledListenerOnCrossWindowBlurEnabledChanged = "onCrossWindowBlurEnabledChanged"
)
const (
MethodIDecorViewGestureListenerOnInterceptionChanged = "onInterceptionChanged"
)
const (
MethodIDisplayChangeWindowCallbackContinueDisplayChange = "continueDisplayChange"
)
const (
MethodIDisplayChangeWindowControllerOnDisplayChange = "onDisplayChange"
)
const (
MethodIDisplayFoldListenerOnDisplayFoldChanged = "onDisplayFoldChanged"
)
const (
MethodIGraphicsStatsCallbackOnRotateGraphicsStatsBuffer = "onRotateGraphicsStatsBuffer"
)
const (
MethodIGraphicsStatsRequestBufferForProcess = "requestBufferForProcess"
)
const (
MethodIInputFilterHostSendInputEvent = "sendInputEvent"
)
const (
MethodIOnKeyguardExitResultOnKeyguardExitResult = "onKeyguardExitResult"
)
const (
MethodIRemoteAnimationFinishedCallbackOnAnimationFinished = "onAnimationFinished"
)
const (
MethodIRotationWatcherOnRotationChanged = "onRotationChanged"
)
const (
MethodIScrollCaptureResponseListenerOnScrollCaptureResponse = "onScrollCaptureResponse"
)
const (
MethodISensitiveContentProtectionManagerSetSensitiveContentProtection = "setSensitiveContentProtection"
)
const (
MethodISystemGestureExclusionListenerOnSystemGestureExclusionChanged = "onSystemGestureExclusionChanged"
)
const (
MethodIWallpaperVisibilityListenerOnWallpaperVisibilityChanged = "onWallpaperVisibilityChanged"
)
const (
MethodIWindowSessionCallbackOnAnimatorScaleChanged = "onAnimatorScaleChanged"
)
const (
TransactionIAppTransitionAnimationSpecsFutureGet = binder.FirstCallTransaction + 0
)
const (
TransactionICrossWindowBlurEnabledListenerOnCrossWindowBlurEnabledChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIDecorViewGestureListenerOnInterceptionChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIDisplayChangeWindowCallbackContinueDisplayChange = binder.FirstCallTransaction + 0
)
const (
TransactionIDisplayChangeWindowControllerOnDisplayChange = binder.FirstCallTransaction + 0
)
const (
TransactionIDisplayFoldListenerOnDisplayFoldChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIGraphicsStatsCallbackOnRotateGraphicsStatsBuffer = binder.FirstCallTransaction + 0
)
const (
TransactionIGraphicsStatsRequestBufferForProcess = binder.FirstCallTransaction + 0
)
const (
TransactionIInputFilterHostSendInputEvent = binder.FirstCallTransaction + 0
)
const (
TransactionIOnKeyguardExitResultOnKeyguardExitResult = binder.FirstCallTransaction + 0
)
const (
TransactionIRemoteAnimationFinishedCallbackOnAnimationFinished = binder.FirstCallTransaction + 0
)
const (
TransactionIRotationWatcherOnRotationChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIScrollCaptureResponseListenerOnScrollCaptureResponse = binder.FirstCallTransaction + 0
)
const (
TransactionISensitiveContentProtectionManagerSetSensitiveContentProtection = binder.FirstCallTransaction + 0
)
const (
TransactionISystemGestureExclusionListenerOnSystemGestureExclusionChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIWallpaperVisibilityListenerOnWallpaperVisibilityChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIWindowSessionCallbackOnAnimatorScaleChanged = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnimationRenderStats ¶
type AnimationRenderStats struct {
}
func (*AnimationRenderStats) MarshalParcel ¶
func (s *AnimationRenderStats) MarshalParcel( p *parcel.Parcel, ) error
func (*AnimationRenderStats) UnmarshalParcel ¶
func (s *AnimationRenderStats) UnmarshalParcel( p *parcel.Parcel, ) error
type AppTransitionAnimationSpec ¶
type AppTransitionAnimationSpec struct {
TaskId int32
}
func (*AppTransitionAnimationSpec) MarshalParcel ¶
func (s *AppTransitionAnimationSpec) MarshalParcel( p *parcel.Parcel, ) error
func (*AppTransitionAnimationSpec) UnmarshalParcel ¶
func (s *AppTransitionAnimationSpec) UnmarshalParcel( p *parcel.Parcel, ) error
type AppTransitionAnimationSpecsFutureProxy ¶
func NewAppTransitionAnimationSpecsFutureProxy ¶
func NewAppTransitionAnimationSpecsFutureProxy( remote binder.IBinder, ) *AppTransitionAnimationSpecsFutureProxy
func (*AppTransitionAnimationSpecsFutureProxy) AsBinder ¶
func (p *AppTransitionAnimationSpecsFutureProxy) AsBinder() binder.IBinder
func (*AppTransitionAnimationSpecsFutureProxy) Get ¶
func (p *AppTransitionAnimationSpecsFutureProxy) Get( ctx context.Context, ) ([]AppTransitionAnimationSpec, error)
type AppTransitionAnimationSpecsFutureStub ¶
type AppTransitionAnimationSpecsFutureStub struct {
Impl IAppTransitionAnimationSpecsFuture
Transport binder.VersionAwareTransport
}
AppTransitionAnimationSpecsFutureStub dispatches incoming binder transactions to a typed IAppTransitionAnimationSpecsFuture implementation.
func (*AppTransitionAnimationSpecsFutureStub) Descriptor ¶
func (s *AppTransitionAnimationSpecsFutureStub) Descriptor() string
func (*AppTransitionAnimationSpecsFutureStub) OnTransaction ¶
func (s *AppTransitionAnimationSpecsFutureStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ContentRecordingSession ¶
type ContentRecordingSession struct {
Flg int32
VirtualDisplayId int32
ContentToRecord int32
DisplayToRecord int32
TargetUid int32
}
func (*ContentRecordingSession) MarshalParcel ¶
func (s *ContentRecordingSession) MarshalParcel( p *parcel.Parcel, ) error
func (*ContentRecordingSession) UnmarshalParcel ¶
func (s *ContentRecordingSession) UnmarshalParcel( p *parcel.Parcel, ) error
type CrossWindowBlurEnabledListenerProxy ¶
func NewCrossWindowBlurEnabledListenerProxy ¶
func NewCrossWindowBlurEnabledListenerProxy( remote binder.IBinder, ) *CrossWindowBlurEnabledListenerProxy
func (*CrossWindowBlurEnabledListenerProxy) AsBinder ¶
func (p *CrossWindowBlurEnabledListenerProxy) AsBinder() binder.IBinder
func (*CrossWindowBlurEnabledListenerProxy) OnCrossWindowBlurEnabledChanged ¶
func (p *CrossWindowBlurEnabledListenerProxy) OnCrossWindowBlurEnabledChanged( ctx context.Context, enabled bool, ) error
type CrossWindowBlurEnabledListenerStub ¶
type CrossWindowBlurEnabledListenerStub struct {
Impl ICrossWindowBlurEnabledListener
Transport binder.VersionAwareTransport
}
CrossWindowBlurEnabledListenerStub dispatches incoming binder transactions to a typed ICrossWindowBlurEnabledListener implementation.
func (*CrossWindowBlurEnabledListenerStub) Descriptor ¶
func (s *CrossWindowBlurEnabledListenerStub) Descriptor() string
func (*CrossWindowBlurEnabledListenerStub) OnTransaction ¶
func (s *CrossWindowBlurEnabledListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DecorViewGestureListenerProxy ¶
func NewDecorViewGestureListenerProxy ¶
func NewDecorViewGestureListenerProxy( remote binder.IBinder, ) *DecorViewGestureListenerProxy
func (*DecorViewGestureListenerProxy) AsBinder ¶
func (p *DecorViewGestureListenerProxy) AsBinder() binder.IBinder
func (*DecorViewGestureListenerProxy) OnInterceptionChanged ¶
type DecorViewGestureListenerStub ¶
type DecorViewGestureListenerStub struct {
Impl IDecorViewGestureListener
Transport binder.VersionAwareTransport
}
DecorViewGestureListenerStub dispatches incoming binder transactions to a typed IDecorViewGestureListener implementation.
func (*DecorViewGestureListenerStub) Descriptor ¶
func (s *DecorViewGestureListenerStub) Descriptor() string
func (*DecorViewGestureListenerStub) OnTransaction ¶
func (s *DecorViewGestureListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DisplayChangeWindowCallbackProxy ¶
func NewDisplayChangeWindowCallbackProxy ¶
func NewDisplayChangeWindowCallbackProxy( remote binder.IBinder, ) *DisplayChangeWindowCallbackProxy
func (*DisplayChangeWindowCallbackProxy) AsBinder ¶
func (p *DisplayChangeWindowCallbackProxy) AsBinder() binder.IBinder
func (*DisplayChangeWindowCallbackProxy) ContinueDisplayChange ¶
func (p *DisplayChangeWindowCallbackProxy) ContinueDisplayChange( ctx context.Context, t window.WindowContainerTransaction, ) error
type DisplayChangeWindowCallbackStub ¶
type DisplayChangeWindowCallbackStub struct {
Impl IDisplayChangeWindowCallback
Transport binder.VersionAwareTransport
}
DisplayChangeWindowCallbackStub dispatches incoming binder transactions to a typed IDisplayChangeWindowCallback implementation.
func (*DisplayChangeWindowCallbackStub) Descriptor ¶
func (s *DisplayChangeWindowCallbackStub) Descriptor() string
func (*DisplayChangeWindowCallbackStub) OnTransaction ¶
func (s *DisplayChangeWindowCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DisplayChangeWindowControllerProxy ¶
func NewDisplayChangeWindowControllerProxy ¶
func NewDisplayChangeWindowControllerProxy( remote binder.IBinder, ) *DisplayChangeWindowControllerProxy
func (*DisplayChangeWindowControllerProxy) AsBinder ¶
func (p *DisplayChangeWindowControllerProxy) AsBinder() binder.IBinder
func (*DisplayChangeWindowControllerProxy) OnDisplayChange ¶
func (p *DisplayChangeWindowControllerProxy) OnDisplayChange( ctx context.Context, displayId int32, fromRotation int32, toRotation int32, newDisplayAreaInfo window.DisplayAreaInfo, callback IDisplayChangeWindowCallback, ) error
type DisplayChangeWindowControllerStub ¶
type DisplayChangeWindowControllerStub struct {
Impl IDisplayChangeWindowController
Transport binder.VersionAwareTransport
}
DisplayChangeWindowControllerStub dispatches incoming binder transactions to a typed IDisplayChangeWindowController implementation.
func (*DisplayChangeWindowControllerStub) Descriptor ¶
func (s *DisplayChangeWindowControllerStub) Descriptor() string
func (*DisplayChangeWindowControllerStub) OnTransaction ¶
func (s *DisplayChangeWindowControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DisplayCutoutParcelableWrapper ¶
type DisplayCutoutParcelableWrapper struct {
}
func (*DisplayCutoutParcelableWrapper) MarshalParcel ¶
func (s *DisplayCutoutParcelableWrapper) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayCutoutParcelableWrapper) UnmarshalParcel ¶
func (s *DisplayCutoutParcelableWrapper) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayFoldListenerProxy ¶
func NewDisplayFoldListenerProxy ¶
func NewDisplayFoldListenerProxy( remote binder.IBinder, ) *DisplayFoldListenerProxy
func (*DisplayFoldListenerProxy) AsBinder ¶
func (p *DisplayFoldListenerProxy) AsBinder() binder.IBinder
func (*DisplayFoldListenerProxy) OnDisplayFoldChanged ¶
type DisplayFoldListenerStub ¶
type DisplayFoldListenerStub struct {
Impl IDisplayFoldListener
Transport binder.VersionAwareTransport
}
DisplayFoldListenerStub dispatches incoming binder transactions to a typed IDisplayFoldListener implementation.
func (*DisplayFoldListenerStub) Descriptor ¶
func (s *DisplayFoldListenerStub) Descriptor() string
func (*DisplayFoldListenerStub) OnTransaction ¶
func (s *DisplayFoldListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DisplayInfo ¶
type DisplayInfo struct {
LayerStack int32
Type int32
DisplayId int32
DisplayGroupId int32
Name string
AppWidth int32
AppHeight int32
SmallestNominalAppWidth int32
SmallestNominalAppHeight int32
LargestNominalAppWidth int32
LargestNominalAppHeight int32
LogicalWidth int32
LogicalHeight int32
Rotation int32
ModeId int32
RenderFrameRate float32
DefaultModeId int32
UserPreferredModeId int32
ColorMode int32
MinimalPostProcessingSupported bool
LogicalDensityDpi int32
PhysicalXDpi float32
PhysicalYDpi float32
AppVsyncOffsetNanos int64
PresentationDeadlineNanos int64
State int32
CommittedState int32
OwnerUid int32
OwnerPackageName string
UniqueId string
RemoveMode int32
RefreshRateOverride float32
BrightnessMinimum float32
BrightnessMaximum float32
BrightnessDefault float32
InstallOrientation int32
HdrSdrRatio float32
ThermalBrightnessThrottlingDataId string
Address *types.Address
DeviceProductInfo *gui.DeviceProductInfo
RoundedCorners *RoundedCorners
DisplayShape *DisplayShape
}
func (*DisplayInfo) MarshalParcel ¶
func (s *DisplayInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayInfo) UnmarshalParcel ¶
func (s *DisplayInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayMode ¶
type DisplayMode struct {
}
func (*DisplayMode) MarshalParcel ¶
func (s *DisplayMode) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayMode) UnmarshalParcel ¶
func (s *DisplayMode) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayShape ¶
type DisplayShape struct {
DisplayShapeSpec string
DisplayWidth int32
DisplayHeight int32
PhysicalPixelDisplaySizeRatio float32
Rotation int32
OffsetX int32
OffsetY int32
Scale float32
}
func (*DisplayShape) MarshalParcel ¶
func (s *DisplayShape) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayShape) UnmarshalParcel ¶
func (s *DisplayShape) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayWindowInsetsControllerProxy ¶
func NewDisplayWindowInsetsControllerProxy ¶
func NewDisplayWindowInsetsControllerProxy( remote binder.IBinder, ) *DisplayWindowInsetsControllerProxy
func (*DisplayWindowInsetsControllerProxy) AsBinder ¶
func (p *DisplayWindowInsetsControllerProxy) AsBinder() binder.IBinder
func (*DisplayWindowInsetsControllerProxy) HideInsets ¶
func (p *DisplayWindowInsetsControllerProxy) HideInsets( ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken, ) error
func (*DisplayWindowInsetsControllerProxy) InsetsChanged ¶
func (p *DisplayWindowInsetsControllerProxy) InsetsChanged( ctx context.Context, insetsState InsetsState, ) error
func (*DisplayWindowInsetsControllerProxy) InsetsControlChanged ¶
func (p *DisplayWindowInsetsControllerProxy) InsetsControlChanged( ctx context.Context, insetsState InsetsState, activeControls []InsetsSourceControl, ) error
func (*DisplayWindowInsetsControllerProxy) ShowInsets ¶
func (p *DisplayWindowInsetsControllerProxy) ShowInsets( ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken, ) error
func (*DisplayWindowInsetsControllerProxy) TopFocusedWindowChanged ¶
func (p *DisplayWindowInsetsControllerProxy) TopFocusedWindowChanged( ctx context.Context, component content.ComponentName, requestedVisibleTypes int32, ) error
type DisplayWindowInsetsControllerStub ¶
type DisplayWindowInsetsControllerStub struct {
Impl IDisplayWindowInsetsController
Transport binder.VersionAwareTransport
}
DisplayWindowInsetsControllerStub dispatches incoming binder transactions to a typed IDisplayWindowInsetsController implementation.
func (*DisplayWindowInsetsControllerStub) Descriptor ¶
func (s *DisplayWindowInsetsControllerStub) Descriptor() string
func (*DisplayWindowInsetsControllerStub) OnTransaction ¶
func (s *DisplayWindowInsetsControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DisplayWindowListenerProxy ¶
func NewDisplayWindowListenerProxy ¶
func NewDisplayWindowListenerProxy( remote binder.IBinder, ) *DisplayWindowListenerProxy
func (*DisplayWindowListenerProxy) AsBinder ¶
func (p *DisplayWindowListenerProxy) AsBinder() binder.IBinder
func (*DisplayWindowListenerProxy) OnDisplayAdded ¶
func (p *DisplayWindowListenerProxy) OnDisplayAdded( ctx context.Context, displayId int32, ) error
func (*DisplayWindowListenerProxy) OnDisplayConfigurationChanged ¶
func (p *DisplayWindowListenerProxy) OnDisplayConfigurationChanged( ctx context.Context, displayId int32, newConfig res.Configuration, ) error
func (*DisplayWindowListenerProxy) OnDisplayRemoved ¶
func (p *DisplayWindowListenerProxy) OnDisplayRemoved( ctx context.Context, displayId int32, ) error
func (*DisplayWindowListenerProxy) OnFixedRotationFinished ¶
func (p *DisplayWindowListenerProxy) OnFixedRotationFinished( ctx context.Context, displayId int32, ) error
func (*DisplayWindowListenerProxy) OnFixedRotationStarted ¶
type DisplayWindowListenerStub ¶
type DisplayWindowListenerStub struct {
Impl IDisplayWindowListener
Transport binder.VersionAwareTransport
}
DisplayWindowListenerStub dispatches incoming binder transactions to a typed IDisplayWindowListener implementation.
func (*DisplayWindowListenerStub) Descriptor ¶
func (s *DisplayWindowListenerStub) Descriptor() string
func (*DisplayWindowListenerStub) OnTransaction ¶
func (s *DisplayWindowListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DockedStackListenerProxy ¶
func NewDockedStackListenerProxy ¶
func NewDockedStackListenerProxy( remote binder.IBinder, ) *DockedStackListenerProxy
func (*DockedStackListenerProxy) AsBinder ¶
func (p *DockedStackListenerProxy) AsBinder() binder.IBinder
func (*DockedStackListenerProxy) OnAdjustedForImeChanged ¶
func (*DockedStackListenerProxy) OnDividerVisibilityChanged ¶
func (p *DockedStackListenerProxy) OnDividerVisibilityChanged( ctx context.Context, visible bool, ) error
func (*DockedStackListenerProxy) OnDockSideChanged ¶
func (p *DockedStackListenerProxy) OnDockSideChanged( ctx context.Context, newDockSide int32, ) error
func (*DockedStackListenerProxy) OnDockedStackExistsChanged ¶
func (p *DockedStackListenerProxy) OnDockedStackExistsChanged( ctx context.Context, exists bool, ) error
func (*DockedStackListenerProxy) OnDockedStackMinimizedChanged ¶
type DockedStackListenerStub ¶
type DockedStackListenerStub struct {
Impl IDockedStackListener
Transport binder.VersionAwareTransport
}
DockedStackListenerStub dispatches incoming binder transactions to a typed IDockedStackListener implementation.
func (*DockedStackListenerStub) Descriptor ¶
func (s *DockedStackListenerStub) Descriptor() string
func (*DockedStackListenerStub) OnTransaction ¶
func (s *DockedStackListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type GraphicsStatsCallbackProxy ¶
func NewGraphicsStatsCallbackProxy ¶
func NewGraphicsStatsCallbackProxy( remote binder.IBinder, ) *GraphicsStatsCallbackProxy
func (*GraphicsStatsCallbackProxy) AsBinder ¶
func (p *GraphicsStatsCallbackProxy) AsBinder() binder.IBinder
func (*GraphicsStatsCallbackProxy) OnRotateGraphicsStatsBuffer ¶
func (p *GraphicsStatsCallbackProxy) OnRotateGraphicsStatsBuffer( ctx context.Context, ) error
type GraphicsStatsCallbackStub ¶
type GraphicsStatsCallbackStub struct {
Impl IGraphicsStatsCallback
Transport binder.VersionAwareTransport
}
GraphicsStatsCallbackStub dispatches incoming binder transactions to a typed IGraphicsStatsCallback implementation.
func (*GraphicsStatsCallbackStub) Descriptor ¶
func (s *GraphicsStatsCallbackStub) Descriptor() string
func (*GraphicsStatsCallbackStub) OnTransaction ¶
func (s *GraphicsStatsCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type GraphicsStatsProxy ¶
func NewGraphicsStatsProxy ¶
func NewGraphicsStatsProxy( remote binder.IBinder, ) *GraphicsStatsProxy
func (*GraphicsStatsProxy) AsBinder ¶
func (p *GraphicsStatsProxy) AsBinder() binder.IBinder
func (*GraphicsStatsProxy) RequestBufferForProcess ¶
func (p *GraphicsStatsProxy) RequestBufferForProcess( ctx context.Context, packageName string, callback IGraphicsStatsCallback, ) (int32, error)
type GraphicsStatsStub ¶
type GraphicsStatsStub struct {
Impl IGraphicsStats
Transport binder.VersionAwareTransport
}
GraphicsStatsStub dispatches incoming binder transactions to a typed IGraphicsStats implementation.
func (*GraphicsStatsStub) Descriptor ¶
func (s *GraphicsStatsStub) Descriptor() string
func (*GraphicsStatsStub) OnTransaction ¶
func (s *GraphicsStatsStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IAppTransitionAnimationSpecsFuture ¶
type IAppTransitionAnimationSpecsFuture interface {
AsBinder() binder.IBinder
Get(ctx context.Context) ([]AppTransitionAnimationSpec, error)
}
func NewAppTransitionAnimationSpecsFutureStub ¶
func NewAppTransitionAnimationSpecsFutureStub( impl IAppTransitionAnimationSpecsFutureServer, ) IAppTransitionAnimationSpecsFuture
NewAppTransitionAnimationSpecsFutureStub creates a server-side IAppTransitionAnimationSpecsFuture wrapping the given server implementation. The returned value satisfies IAppTransitionAnimationSpecsFuture and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IAppTransitionAnimationSpecsFutureServer ¶
type IAppTransitionAnimationSpecsFutureServer interface {
Get(ctx context.Context) ([]AppTransitionAnimationSpec, error)
}
IAppTransitionAnimationSpecsFutureServer is the server-side interface that user implementations provide to NewAppTransitionAnimationSpecsFutureStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ICrossWindowBlurEnabledListener ¶
type ICrossWindowBlurEnabledListener interface {
AsBinder() binder.IBinder
OnCrossWindowBlurEnabledChanged(ctx context.Context, enabled bool) error
}
func NewCrossWindowBlurEnabledListenerStub ¶
func NewCrossWindowBlurEnabledListenerStub( impl ICrossWindowBlurEnabledListenerServer, ) ICrossWindowBlurEnabledListener
NewCrossWindowBlurEnabledListenerStub creates a server-side ICrossWindowBlurEnabledListener wrapping the given server implementation. The returned value satisfies ICrossWindowBlurEnabledListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ICrossWindowBlurEnabledListenerServer ¶
type ICrossWindowBlurEnabledListenerServer interface {
OnCrossWindowBlurEnabledChanged(ctx context.Context, enabled bool) error
}
ICrossWindowBlurEnabledListenerServer is the server-side interface that user implementations provide to NewCrossWindowBlurEnabledListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDecorViewGestureListener ¶
type IDecorViewGestureListener interface {
AsBinder() binder.IBinder
OnInterceptionChanged(ctx context.Context, windowToken binder.IBinder, intercepted bool) error
}
func NewDecorViewGestureListenerStub ¶
func NewDecorViewGestureListenerStub( impl IDecorViewGestureListenerServer, ) IDecorViewGestureListener
NewDecorViewGestureListenerStub creates a server-side IDecorViewGestureListener wrapping the given server implementation. The returned value satisfies IDecorViewGestureListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDecorViewGestureListenerServer ¶
type IDecorViewGestureListenerServer interface {
OnInterceptionChanged(ctx context.Context, windowToken binder.IBinder, intercepted bool) error
}
IDecorViewGestureListenerServer is the server-side interface that user implementations provide to NewDecorViewGestureListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDisplayChangeWindowCallback ¶
type IDisplayChangeWindowCallback interface {
AsBinder() binder.IBinder
ContinueDisplayChange(ctx context.Context, t window.WindowContainerTransaction) error
}
func NewDisplayChangeWindowCallbackStub ¶
func NewDisplayChangeWindowCallbackStub( impl IDisplayChangeWindowCallbackServer, ) IDisplayChangeWindowCallback
NewDisplayChangeWindowCallbackStub creates a server-side IDisplayChangeWindowCallback wrapping the given server implementation. The returned value satisfies IDisplayChangeWindowCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDisplayChangeWindowCallbackServer ¶
type IDisplayChangeWindowCallbackServer interface {
ContinueDisplayChange(ctx context.Context, t window.WindowContainerTransaction) error
}
IDisplayChangeWindowCallbackServer is the server-side interface that user implementations provide to NewDisplayChangeWindowCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDisplayChangeWindowController ¶
type IDisplayChangeWindowController interface {
AsBinder() binder.IBinder
OnDisplayChange(ctx context.Context, displayId int32, fromRotation int32, toRotation int32, newDisplayAreaInfo window.DisplayAreaInfo, callback IDisplayChangeWindowCallback) error
}
func NewDisplayChangeWindowControllerStub ¶
func NewDisplayChangeWindowControllerStub( impl IDisplayChangeWindowControllerServer, ) IDisplayChangeWindowController
NewDisplayChangeWindowControllerStub creates a server-side IDisplayChangeWindowController wrapping the given server implementation. The returned value satisfies IDisplayChangeWindowController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDisplayChangeWindowControllerServer ¶
type IDisplayChangeWindowControllerServer interface {
OnDisplayChange(ctx context.Context, displayId int32, fromRotation int32, toRotation int32, newDisplayAreaInfo window.DisplayAreaInfo, callback IDisplayChangeWindowCallback) error
}
IDisplayChangeWindowControllerServer is the server-side interface that user implementations provide to NewDisplayChangeWindowControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDisplayFoldListener ¶
type IDisplayFoldListener interface {
AsBinder() binder.IBinder
OnDisplayFoldChanged(ctx context.Context, displayId int32, folded bool) error
}
func NewDisplayFoldListenerStub ¶
func NewDisplayFoldListenerStub( impl IDisplayFoldListenerServer, ) IDisplayFoldListener
NewDisplayFoldListenerStub creates a server-side IDisplayFoldListener wrapping the given server implementation. The returned value satisfies IDisplayFoldListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDisplayFoldListenerServer ¶
type IDisplayFoldListenerServer interface {
OnDisplayFoldChanged(ctx context.Context, displayId int32, folded bool) error
}
IDisplayFoldListenerServer is the server-side interface that user implementations provide to NewDisplayFoldListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDisplayWindowInsetsController ¶
type IDisplayWindowInsetsController interface {
AsBinder() binder.IBinder
TopFocusedWindowChanged(ctx context.Context, component content.ComponentName, requestedVisibleTypes int32) error
InsetsChanged(ctx context.Context, insetsState InsetsState) error
InsetsControlChanged(ctx context.Context, insetsState InsetsState, activeControls []InsetsSourceControl) error
ShowInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
HideInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
}
func NewDisplayWindowInsetsControllerStub ¶
func NewDisplayWindowInsetsControllerStub( impl IDisplayWindowInsetsControllerServer, ) IDisplayWindowInsetsController
NewDisplayWindowInsetsControllerStub creates a server-side IDisplayWindowInsetsController wrapping the given server implementation. The returned value satisfies IDisplayWindowInsetsController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDisplayWindowInsetsControllerServer ¶
type IDisplayWindowInsetsControllerServer interface {
TopFocusedWindowChanged(ctx context.Context, component content.ComponentName, requestedVisibleTypes int32) error
InsetsChanged(ctx context.Context, insetsState InsetsState) error
InsetsControlChanged(ctx context.Context, insetsState InsetsState, activeControls []InsetsSourceControl) error
ShowInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
HideInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
}
IDisplayWindowInsetsControllerServer is the server-side interface that user implementations provide to NewDisplayWindowInsetsControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDisplayWindowListener ¶
type IDisplayWindowListener interface {
AsBinder() binder.IBinder
OnDisplayAdded(ctx context.Context, displayId int32) error
OnDisplayConfigurationChanged(ctx context.Context, displayId int32, newConfig res.Configuration) error
OnDisplayRemoved(ctx context.Context, displayId int32) error
OnFixedRotationStarted(ctx context.Context, displayId int32, newRotation int32) error
OnFixedRotationFinished(ctx context.Context, displayId int32) error
OnKeepClearAreasChanged(ctx context.Context, displayId int32, restricted []graphics.Rect, unrestricted []graphics.Rect) error
}
func NewDisplayWindowListenerStub ¶
func NewDisplayWindowListenerStub( impl IDisplayWindowListenerServer, ) IDisplayWindowListener
NewDisplayWindowListenerStub creates a server-side IDisplayWindowListener wrapping the given server implementation. The returned value satisfies IDisplayWindowListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDisplayWindowListenerServer ¶
type IDisplayWindowListenerServer interface {
OnDisplayAdded(ctx context.Context, displayId int32) error
OnDisplayConfigurationChanged(ctx context.Context, displayId int32, newConfig res.Configuration) error
OnDisplayRemoved(ctx context.Context, displayId int32) error
OnFixedRotationStarted(ctx context.Context, displayId int32, newRotation int32) error
OnFixedRotationFinished(ctx context.Context, displayId int32) error
OnKeepClearAreasChanged(ctx context.Context, displayId int32, restricted []graphics.Rect, unrestricted []graphics.Rect) error
}
IDisplayWindowListenerServer is the server-side interface that user implementations provide to NewDisplayWindowListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IDockedStackListener ¶
type IDockedStackListener interface {
AsBinder() binder.IBinder
OnDividerVisibilityChanged(ctx context.Context, visible bool) error
OnDockedStackExistsChanged(ctx context.Context, exists bool) error
OnDockedStackMinimizedChanged(ctx context.Context, minimized bool, animDuration int64, isHomeStackResizable bool) error
OnAdjustedForImeChanged(ctx context.Context, adjustedForIme bool, animDuration int64) error
OnDockSideChanged(ctx context.Context, newDockSide int32) error
}
func NewDockedStackListenerStub ¶
func NewDockedStackListenerStub( impl IDockedStackListenerServer, ) IDockedStackListener
NewDockedStackListenerStub creates a server-side IDockedStackListener wrapping the given server implementation. The returned value satisfies IDockedStackListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDockedStackListenerServer ¶
type IDockedStackListenerServer interface {
OnDividerVisibilityChanged(ctx context.Context, visible bool) error
OnDockedStackExistsChanged(ctx context.Context, exists bool) error
OnDockedStackMinimizedChanged(ctx context.Context, minimized bool, animDuration int64, isHomeStackResizable bool) error
OnAdjustedForImeChanged(ctx context.Context, adjustedForIme bool, animDuration int64) error
OnDockSideChanged(ctx context.Context, newDockSide int32) error
}
IDockedStackListenerServer is the server-side interface that user implementations provide to NewDockedStackListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IGraphicsStats ¶
type IGraphicsStats interface {
AsBinder() binder.IBinder
RequestBufferForProcess(ctx context.Context, packageName string, callback IGraphicsStatsCallback) (int32, error)
}
func NewGraphicsStatsStub ¶
func NewGraphicsStatsStub( impl IGraphicsStatsServer, ) IGraphicsStats
NewGraphicsStatsStub creates a server-side IGraphicsStats wrapping the given server implementation. The returned value satisfies IGraphicsStats and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IGraphicsStatsCallback ¶
type IGraphicsStatsCallback interface {
AsBinder() binder.IBinder
OnRotateGraphicsStatsBuffer(ctx context.Context) error
}
func NewGraphicsStatsCallbackStub ¶
func NewGraphicsStatsCallbackStub( impl IGraphicsStatsCallbackServer, ) IGraphicsStatsCallback
NewGraphicsStatsCallbackStub creates a server-side IGraphicsStatsCallback wrapping the given server implementation. The returned value satisfies IGraphicsStatsCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IGraphicsStatsCallbackServer ¶
type IGraphicsStatsCallbackServer interface {
OnRotateGraphicsStatsBuffer(ctx context.Context) error
}
IGraphicsStatsCallbackServer is the server-side interface that user implementations provide to NewGraphicsStatsCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IGraphicsStatsServer ¶
type IGraphicsStatsServer interface {
RequestBufferForProcess(ctx context.Context, packageName string, callback IGraphicsStatsCallback) (int32, error)
}
IGraphicsStatsServer is the server-side interface that user implementations provide to NewGraphicsStatsStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputFilter ¶
type IInputFilter interface {
AsBinder() binder.IBinder
Install(ctx context.Context, host IInputFilterHost) error
Uninstall(ctx context.Context) error
FilterInputEvent(ctx context.Context, event InputEvent, policyFlags int32) error
}
func NewInputFilterStub ¶
func NewInputFilterStub( impl IInputFilterServer, ) IInputFilter
NewInputFilterStub creates a server-side IInputFilter wrapping the given server implementation. The returned value satisfies IInputFilter and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputFilterHost ¶
type IInputFilterHost interface {
AsBinder() binder.IBinder
SendInputEvent(ctx context.Context, event InputEvent, policyFlags int32) error
}
func NewInputFilterHostStub ¶
func NewInputFilterHostStub( impl IInputFilterHostServer, ) IInputFilterHost
NewInputFilterHostStub creates a server-side IInputFilterHost wrapping the given server implementation. The returned value satisfies IInputFilterHost and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputFilterHostServer ¶
type IInputFilterHostServer interface {
SendInputEvent(ctx context.Context, event InputEvent, policyFlags int32) error
}
IInputFilterHostServer is the server-side interface that user implementations provide to NewInputFilterHostStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputFilterServer ¶
type IInputFilterServer interface {
Install(ctx context.Context, host IInputFilterHost) error
Uninstall(ctx context.Context) error
FilterInputEvent(ctx context.Context, event InputEvent, policyFlags int32) error
}
IInputFilterServer is the server-side interface that user implementations provide to NewInputFilterStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMonitorHost ¶
type IInputMonitorHost interface {
AsBinder() binder.IBinder
PilferPointers(ctx context.Context) error
Dispose(ctx context.Context) error
}
func NewInputMonitorHostStub ¶
func NewInputMonitorHostStub( impl IInputMonitorHostServer, ) IInputMonitorHost
NewInputMonitorHostStub creates a server-side IInputMonitorHost wrapping the given server implementation. The returned value satisfies IInputMonitorHost and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputMonitorHostServer ¶
type IInputMonitorHostServer interface {
PilferPointers(ctx context.Context) error
Dispose(ctx context.Context) error
}
IInputMonitorHostServer is the server-side interface that user implementations provide to NewInputMonitorHostStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IOnKeyguardExitResult ¶
type IOnKeyguardExitResult interface {
AsBinder() binder.IBinder
OnKeyguardExitResult(ctx context.Context, success bool) error
}
func NewOnKeyguardExitResultStub ¶
func NewOnKeyguardExitResultStub( impl IOnKeyguardExitResultServer, ) IOnKeyguardExitResult
NewOnKeyguardExitResultStub creates a server-side IOnKeyguardExitResult wrapping the given server implementation. The returned value satisfies IOnKeyguardExitResult and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IOnKeyguardExitResultServer ¶
type IOnKeyguardExitResultServer interface {
OnKeyguardExitResult(ctx context.Context, success bool) error
}
IOnKeyguardExitResultServer is the server-side interface that user implementations provide to NewOnKeyguardExitResultStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IPinnedTaskListener ¶
type IPinnedTaskListener interface {
AsBinder() binder.IBinder
OnMovementBoundsChanged(ctx context.Context, fromImeAdjustment bool) error
OnImeVisibilityChanged(ctx context.Context, imeVisible bool, imeHeight int32) error
OnActivityHidden(ctx context.Context, componentName content.ComponentName) error
}
func NewPinnedTaskListenerStub ¶
func NewPinnedTaskListenerStub( impl IPinnedTaskListenerServer, ) IPinnedTaskListener
NewPinnedTaskListenerStub creates a server-side IPinnedTaskListener wrapping the given server implementation. The returned value satisfies IPinnedTaskListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IPinnedTaskListenerServer ¶
type IPinnedTaskListenerServer interface {
OnMovementBoundsChanged(ctx context.Context, fromImeAdjustment bool) error
OnImeVisibilityChanged(ctx context.Context, imeVisible bool, imeHeight int32) error
OnActivityHidden(ctx context.Context, componentName content.ComponentName) error
}
IPinnedTaskListenerServer is the server-side interface that user implementations provide to NewPinnedTaskListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRecentsAnimationController ¶
type IRecentsAnimationController interface {
AsBinder() binder.IBinder
ScreenshotTask(ctx context.Context, taskId int32) (WindowManagerTaskSnapshot, error)
SetFinishTaskTransaction(ctx context.Context, taskId int32, finishTransaction window.PictureInPictureSurfaceTransaction, overlay SurfaceControl) error
Finish(ctx context.Context, moveHomeToTop bool, sendUserLeaveHint bool, finishCb os.IResultReceiver) error
SetInputConsumerEnabled(ctx context.Context, enabled bool) error
SetAnimationTargetsBehindSystemBars(ctx context.Context, behindSystemBars bool) error
CleanupScreenshot(ctx context.Context) error
SetDeferCancelUntilNextTransition(ctx context.Context, defer_ bool, screenshot bool) error
SetWillFinishToHome(ctx context.Context, willFinishToHome bool) error
RemoveTask(ctx context.Context, taskId int32) (bool, error)
}
func NewRecentsAnimationControllerStub ¶
func NewRecentsAnimationControllerStub( impl IRecentsAnimationControllerServer, ) IRecentsAnimationController
NewRecentsAnimationControllerStub creates a server-side IRecentsAnimationController wrapping the given server implementation. The returned value satisfies IRecentsAnimationController and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRecentsAnimationControllerServer ¶
type IRecentsAnimationControllerServer interface {
ScreenshotTask(ctx context.Context, taskId int32) (WindowManagerTaskSnapshot, error)
SetFinishTaskTransaction(ctx context.Context, taskId int32, finishTransaction window.PictureInPictureSurfaceTransaction, overlay SurfaceControl) error
Finish(ctx context.Context, moveHomeToTop bool, sendUserLeaveHint bool, finishCb os.IResultReceiver) error
SetInputConsumerEnabled(ctx context.Context, enabled bool) error
SetAnimationTargetsBehindSystemBars(ctx context.Context, behindSystemBars bool) error
CleanupScreenshot(ctx context.Context) error
SetDeferCancelUntilNextTransition(ctx context.Context, defer_ bool, screenshot bool) error
SetWillFinishToHome(ctx context.Context, willFinishToHome bool) error
RemoveTask(ctx context.Context, taskId int32) (bool, error)
}
IRecentsAnimationControllerServer is the server-side interface that user implementations provide to NewRecentsAnimationControllerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRecentsAnimationRunner ¶
type IRecentsAnimationRunner interface {
AsBinder() binder.IBinder
OnAnimationCanceled(ctx context.Context, taskIds []int32, taskSnapshots []WindowManagerTaskSnapshot) error
OnAnimationStart(ctx context.Context, controller IRecentsAnimationController, apps []RemoteAnimationTarget, wallpapers []RemoteAnimationTarget, homeContentInsets graphics.Rect, minimizedHomeBounds graphics.Rect, extras os.Bundle) error
OnTasksAppeared(ctx context.Context, app []RemoteAnimationTarget) error
}
func NewRecentsAnimationRunnerStub ¶
func NewRecentsAnimationRunnerStub( impl IRecentsAnimationRunnerServer, ) IRecentsAnimationRunner
NewRecentsAnimationRunnerStub creates a server-side IRecentsAnimationRunner wrapping the given server implementation. The returned value satisfies IRecentsAnimationRunner and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRecentsAnimationRunnerServer ¶
type IRecentsAnimationRunnerServer interface {
OnAnimationCanceled(ctx context.Context, taskIds []int32, taskSnapshots []WindowManagerTaskSnapshot) error
OnAnimationStart(ctx context.Context, controller IRecentsAnimationController, apps []RemoteAnimationTarget, wallpapers []RemoteAnimationTarget, homeContentInsets graphics.Rect, minimizedHomeBounds graphics.Rect, extras os.Bundle) error
OnTasksAppeared(ctx context.Context, app []RemoteAnimationTarget) error
}
IRecentsAnimationRunnerServer is the server-side interface that user implementations provide to NewRecentsAnimationRunnerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRemoteAnimationFinishedCallback ¶
type IRemoteAnimationFinishedCallback interface {
AsBinder() binder.IBinder
OnAnimationFinished(ctx context.Context) error
}
func NewRemoteAnimationFinishedCallbackStub ¶
func NewRemoteAnimationFinishedCallbackStub( impl IRemoteAnimationFinishedCallbackServer, ) IRemoteAnimationFinishedCallback
NewRemoteAnimationFinishedCallbackStub creates a server-side IRemoteAnimationFinishedCallback wrapping the given server implementation. The returned value satisfies IRemoteAnimationFinishedCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRemoteAnimationFinishedCallbackServer ¶
type IRemoteAnimationFinishedCallbackServer interface {
OnAnimationFinished(ctx context.Context) error
}
IRemoteAnimationFinishedCallbackServer is the server-side interface that user implementations provide to NewRemoteAnimationFinishedCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRemoteAnimationRunner ¶
type IRemoteAnimationRunner interface {
AsBinder() binder.IBinder
OnAnimationStart(ctx context.Context, transit int32, apps []RemoteAnimationTarget, wallpapers []RemoteAnimationTarget, nonApps []RemoteAnimationTarget, finishedCallback IRemoteAnimationFinishedCallback) error
OnAnimationCancelled(ctx context.Context) error
}
func NewRemoteAnimationRunnerStub ¶
func NewRemoteAnimationRunnerStub( impl IRemoteAnimationRunnerServer, ) IRemoteAnimationRunner
NewRemoteAnimationRunnerStub creates a server-side IRemoteAnimationRunner wrapping the given server implementation. The returned value satisfies IRemoteAnimationRunner and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRemoteAnimationRunnerServer ¶
type IRemoteAnimationRunnerServer interface {
OnAnimationStart(ctx context.Context, transit int32, apps []RemoteAnimationTarget, wallpapers []RemoteAnimationTarget, nonApps []RemoteAnimationTarget, finishedCallback IRemoteAnimationFinishedCallback) error
OnAnimationCancelled(ctx context.Context) error
}
IRemoteAnimationRunnerServer is the server-side interface that user implementations provide to NewRemoteAnimationRunnerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRotationWatcher ¶
type IRotationWatcher interface {
AsBinder() binder.IBinder
OnRotationChanged(ctx context.Context, rotation int32) error
}
func NewRotationWatcherStub ¶
func NewRotationWatcherStub( impl IRotationWatcherServer, ) IRotationWatcher
NewRotationWatcherStub creates a server-side IRotationWatcher wrapping the given server implementation. The returned value satisfies IRotationWatcher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRotationWatcherServer ¶
type IRotationWatcherServer interface {
OnRotationChanged(ctx context.Context, rotation int32) error
}
IRotationWatcherServer is the server-side interface that user implementations provide to NewRotationWatcherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IScrollCaptureCallbacks ¶
type IScrollCaptureCallbacks interface {
AsBinder() binder.IBinder
OnCaptureStarted(ctx context.Context) error
OnImageRequestCompleted(ctx context.Context, flags int32, capturedArea graphics.Rect) error
OnCaptureEnded(ctx context.Context) error
}
func NewScrollCaptureCallbacksStub ¶
func NewScrollCaptureCallbacksStub( impl IScrollCaptureCallbacksServer, ) IScrollCaptureCallbacks
NewScrollCaptureCallbacksStub creates a server-side IScrollCaptureCallbacks wrapping the given server implementation. The returned value satisfies IScrollCaptureCallbacks and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IScrollCaptureCallbacksServer ¶
type IScrollCaptureCallbacksServer interface {
OnCaptureStarted(ctx context.Context) error
OnImageRequestCompleted(ctx context.Context, flags int32, capturedArea graphics.Rect) error
OnCaptureEnded(ctx context.Context) error
}
IScrollCaptureCallbacksServer is the server-side interface that user implementations provide to NewScrollCaptureCallbacksStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IScrollCaptureConnection ¶
type IScrollCaptureConnection interface {
AsBinder() binder.IBinder
StartCapture(ctx context.Context, surface Surface, callbacks IScrollCaptureCallbacks) (os.ICancellationSignal, error)
RequestImage(ctx context.Context, captureArea graphics.Rect) (os.ICancellationSignal, error)
EndCapture(ctx context.Context) (os.ICancellationSignal, error)
Close(ctx context.Context) error
}
func NewScrollCaptureConnectionStub ¶
func NewScrollCaptureConnectionStub( impl IScrollCaptureConnectionServer, ) IScrollCaptureConnection
NewScrollCaptureConnectionStub creates a server-side IScrollCaptureConnection wrapping the given server implementation. The returned value satisfies IScrollCaptureConnection and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IScrollCaptureConnectionServer ¶
type IScrollCaptureConnectionServer interface {
StartCapture(ctx context.Context, surface Surface, callbacks IScrollCaptureCallbacks) (os.ICancellationSignal, error)
RequestImage(ctx context.Context, captureArea graphics.Rect) (os.ICancellationSignal, error)
EndCapture(ctx context.Context) (os.ICancellationSignal, error)
Close(ctx context.Context) error
}
IScrollCaptureConnectionServer is the server-side interface that user implementations provide to NewScrollCaptureConnectionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IScrollCaptureResponseListener ¶
type IScrollCaptureResponseListener interface {
AsBinder() binder.IBinder
OnScrollCaptureResponse(ctx context.Context, response ScrollCaptureResponse) error
}
func NewScrollCaptureResponseListenerStub ¶
func NewScrollCaptureResponseListenerStub( impl IScrollCaptureResponseListenerServer, ) IScrollCaptureResponseListener
NewScrollCaptureResponseListenerStub creates a server-side IScrollCaptureResponseListener wrapping the given server implementation. The returned value satisfies IScrollCaptureResponseListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IScrollCaptureResponseListenerServer ¶
type IScrollCaptureResponseListenerServer interface {
OnScrollCaptureResponse(ctx context.Context, response ScrollCaptureResponse) error
}
IScrollCaptureResponseListenerServer is the server-side interface that user implementations provide to NewScrollCaptureResponseListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISensitiveContentProtectionManager ¶
type ISensitiveContentProtectionManager interface {
AsBinder() binder.IBinder
SetSensitiveContentProtection(ctx context.Context, windowToken binder.IBinder, packageName string, isShowingSensitiveContent bool) error
}
func NewSensitiveContentProtectionManagerStub ¶
func NewSensitiveContentProtectionManagerStub( impl ISensitiveContentProtectionManagerServer, ) ISensitiveContentProtectionManager
NewSensitiveContentProtectionManagerStub creates a server-side ISensitiveContentProtectionManager wrapping the given server implementation. The returned value satisfies ISensitiveContentProtectionManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISensitiveContentProtectionManagerServer ¶
type ISensitiveContentProtectionManagerServer interface {
SetSensitiveContentProtection(ctx context.Context, windowToken binder.IBinder, packageName string, isShowingSensitiveContent bool) error
}
ISensitiveContentProtectionManagerServer is the server-side interface that user implementations provide to NewSensitiveContentProtectionManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISurfaceControlViewHost ¶
type ISurfaceControlViewHost interface {
AsBinder() binder.IBinder
OnConfigurationChanged(ctx context.Context, newConfig res.Configuration) error
OnDispatchDetachedFromWindow(ctx context.Context) error
OnInsetsChanged(ctx context.Context, state InsetsState, insetFrame graphics.Rect) error
GetSurfaceSyncGroup(ctx context.Context) (window.ISurfaceSyncGroup, error)
AttachParentInterface(ctx context.Context, parentInterface ISurfaceControlViewHostParent) error
}
func NewSurfaceControlViewHostStub ¶
func NewSurfaceControlViewHostStub( impl ISurfaceControlViewHostServer, ) ISurfaceControlViewHost
NewSurfaceControlViewHostStub creates a server-side ISurfaceControlViewHost wrapping the given server implementation. The returned value satisfies ISurfaceControlViewHost and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISurfaceControlViewHostParent ¶
type ISurfaceControlViewHostParent interface {
AsBinder() binder.IBinder
UpdateParams(ctx context.Context, childAttrs []WindowManagerLayoutParams) error
ForwardBackKeyToParent(ctx context.Context, keyEvent KeyEvent) error
}
func NewSurfaceControlViewHostParentStub ¶
func NewSurfaceControlViewHostParentStub( impl ISurfaceControlViewHostParentServer, ) ISurfaceControlViewHostParent
NewSurfaceControlViewHostParentStub creates a server-side ISurfaceControlViewHostParent wrapping the given server implementation. The returned value satisfies ISurfaceControlViewHostParent and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISurfaceControlViewHostParentServer ¶
type ISurfaceControlViewHostParentServer interface {
UpdateParams(ctx context.Context, childAttrs []WindowManagerLayoutParams) error
ForwardBackKeyToParent(ctx context.Context, keyEvent KeyEvent) error
}
ISurfaceControlViewHostParentServer is the server-side interface that user implementations provide to NewSurfaceControlViewHostParentStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISurfaceControlViewHostServer ¶
type ISurfaceControlViewHostServer interface {
OnConfigurationChanged(ctx context.Context, newConfig res.Configuration) error
OnDispatchDetachedFromWindow(ctx context.Context) error
OnInsetsChanged(ctx context.Context, state InsetsState, insetFrame graphics.Rect) error
GetSurfaceSyncGroup(ctx context.Context) (window.ISurfaceSyncGroup, error)
AttachParentInterface(ctx context.Context, parentInterface ISurfaceControlViewHostParent) error
}
ISurfaceControlViewHostServer is the server-side interface that user implementations provide to NewSurfaceControlViewHostStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISystemGestureExclusionListener ¶
type ISystemGestureExclusionListener interface {
AsBinder() binder.IBinder
OnSystemGestureExclusionChanged(ctx context.Context, displayId int32, systemGestureExclusion graphics.Region, systemGestureExclusionUnrestricted graphics.Region) error
}
func NewSystemGestureExclusionListenerStub ¶
func NewSystemGestureExclusionListenerStub( impl ISystemGestureExclusionListenerServer, ) ISystemGestureExclusionListener
NewSystemGestureExclusionListenerStub creates a server-side ISystemGestureExclusionListener wrapping the given server implementation. The returned value satisfies ISystemGestureExclusionListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISystemGestureExclusionListenerServer ¶
type ISystemGestureExclusionListenerServer interface {
OnSystemGestureExclusionChanged(ctx context.Context, displayId int32, systemGestureExclusion graphics.Region, systemGestureExclusionUnrestricted graphics.Region) error
}
ISystemGestureExclusionListenerServer is the server-side interface that user implementations provide to NewSystemGestureExclusionListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWallpaperVisibilityListener ¶
type IWallpaperVisibilityListener interface {
AsBinder() binder.IBinder
OnWallpaperVisibilityChanged(ctx context.Context, visible bool, displayId int32) error
}
func NewWallpaperVisibilityListenerStub ¶
func NewWallpaperVisibilityListenerStub( impl IWallpaperVisibilityListenerServer, ) IWallpaperVisibilityListener
NewWallpaperVisibilityListenerStub creates a server-side IWallpaperVisibilityListener wrapping the given server implementation. The returned value satisfies IWallpaperVisibilityListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWallpaperVisibilityListenerServer ¶
type IWallpaperVisibilityListenerServer interface {
OnWallpaperVisibilityChanged(ctx context.Context, visible bool, displayId int32) error
}
IWallpaperVisibilityListenerServer is the server-side interface that user implementations provide to NewWallpaperVisibilityListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindow ¶
type IWindow interface {
AsBinder() binder.IBinder
ExecuteCommand(ctx context.Context, command string, parameters string, descriptor int32) error
Resized(ctx context.Context, frames window.ClientWindowFrames, reportDraw bool, newMergedConfiguration util.MergedConfiguration, insetsState InsetsState, forceLayout bool, alwaysConsumeSystemBars bool, displayId int32, syncSeqId int32, dragResizing bool) error
InsetsControlChanged(ctx context.Context, insetsState InsetsState, activeControls []InsetsSourceControl) error
ShowInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
HideInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
Moved(ctx context.Context, newX int32, newY int32) error
DispatchAppVisibility(ctx context.Context, visible bool) error
DispatchGetNewSurface(ctx context.Context) error
CloseSystemDialogs(ctx context.Context, reason string) error
DispatchWallpaperOffsets(ctx context.Context, x float32, y float32, xStep float32, yStep float32, zoom float32, sync bool) error
DispatchWallpaperCommand(ctx context.Context, action string, x int32, y int32, z int32, extras os.Bundle, sync bool) error
DispatchDragEvent(ctx context.Context, event DragEvent) error
UpdatePointerIcon(ctx context.Context, x float32, y float32) error
DispatchWindowShown(ctx context.Context) error
RequestAppKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
RequestScrollCapture(ctx context.Context, callbacks IScrollCaptureResponseListener) error
}
func NewWindowStub ¶
func NewWindowStub( impl IWindowServer, ) IWindow
NewWindowStub creates a server-side IWindow wrapping the given server implementation. The returned value satisfies IWindow and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowFocusObserver ¶
type IWindowFocusObserver interface {
AsBinder() binder.IBinder
FocusGained(ctx context.Context, inputToken binder.IBinder) error
FocusLost(ctx context.Context, inputToken binder.IBinder) error
}
func NewWindowFocusObserverStub ¶
func NewWindowFocusObserverStub( impl IWindowFocusObserverServer, ) IWindowFocusObserver
NewWindowFocusObserverStub creates a server-side IWindowFocusObserver wrapping the given server implementation. The returned value satisfies IWindowFocusObserver and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowFocusObserverServer ¶
type IWindowFocusObserverServer interface {
FocusGained(ctx context.Context, inputToken binder.IBinder) error
FocusLost(ctx context.Context, inputToken binder.IBinder) error
}
IWindowFocusObserverServer is the server-side interface that user implementations provide to NewWindowFocusObserverStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowId ¶
type IWindowId interface {
AsBinder() binder.IBinder
RegisterFocusObserver(ctx context.Context, observer IWindowFocusObserver) error
UnregisterFocusObserver(ctx context.Context, observer IWindowFocusObserver) error
IsFocused(ctx context.Context) (bool, error)
}
func NewWindowIdStub ¶
func NewWindowIdStub( impl IWindowIdServer, ) IWindowId
NewWindowIdStub creates a server-side IWindowId wrapping the given server implementation. The returned value satisfies IWindowId and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowIdServer ¶
type IWindowIdServer interface {
RegisterFocusObserver(ctx context.Context, observer IWindowFocusObserver) error
UnregisterFocusObserver(ctx context.Context, observer IWindowFocusObserver) error
IsFocused(ctx context.Context) (bool, error)
}
IWindowIdServer is the server-side interface that user implementations provide to NewWindowIdStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowManager ¶
type IWindowManager interface {
AsBinder() binder.IBinder
StartViewServer(ctx context.Context, port int32) (bool, error)
StopViewServer(ctx context.Context) (bool, error)
IsViewServerRunning(ctx context.Context) (bool, error)
OpenSession(ctx context.Context, callback IWindowSessionCallback) (IWindowSession, error)
GetInitialDisplaySize(ctx context.Context, displayId int32, size graphics.Point) error
GetBaseDisplaySize(ctx context.Context, displayId int32, size graphics.Point) error
SetForcedDisplaySize(ctx context.Context, displayId int32, width int32, height int32) error
ClearForcedDisplaySize(ctx context.Context, displayId int32) error
GetInitialDisplayDensity(ctx context.Context, displayId int32) (int32, error)
GetBaseDisplayDensity(ctx context.Context, displayId int32) (int32, error)
GetDisplayIdByUniqueId(ctx context.Context, uniqueId string) (int32, error)
SetForcedDisplayDensityForUser(ctx context.Context, displayId int32, density int32) error
ClearForcedDisplayDensityForUser(ctx context.Context, displayId int32) error
SetForcedDisplayScalingMode(ctx context.Context, displayId int32, mode int32) error
SetEventDispatching(ctx context.Context, enabled bool) error
IsWindowToken(ctx context.Context, binder_ binder.IBinder) (bool, error)
AddWindowToken(ctx context.Context, token binder.IBinder, type_ int32, displayId int32, options os.Bundle) error
RemoveWindowToken(ctx context.Context, token binder.IBinder, displayId int32) error
SetDisplayChangeWindowController(ctx context.Context, controller IDisplayChangeWindowController) error
AddShellRoot(ctx context.Context, displayId int32, client IWindow, shellRootLayer int32) (SurfaceControl, error)
SetShellRootAccessibilityWindow(ctx context.Context, displayId int32, shellRootLayer int32, target IWindow) error
OverridePendingAppTransitionMultiThumbFuture(ctx context.Context, specsFuture IAppTransitionAnimationSpecsFuture, startedCallback os.IRemoteCallback, scaleUp bool, displayId int32) error
OverridePendingAppTransitionRemote(ctx context.Context, remoteAnimationAdapter RemoteAnimationAdapter, displayId int32) error
EndProlongedAnimations(ctx context.Context) error
StartFreezingScreen(ctx context.Context, exitAnim int32, enterAnim int32) error
StopFreezingScreen(ctx context.Context) error
DisableKeyguard(ctx context.Context, token binder.IBinder, tag string) error
ReenableKeyguard(ctx context.Context, token binder.IBinder) error
ExitKeyguardSecurely(ctx context.Context, callback IOnKeyguardExitResult) error
IsKeyguardLocked(ctx context.Context) (bool, error)
IsKeyguardSecure(ctx context.Context) (bool, error)
DismissKeyguard(ctx context.Context, callback policy.IKeyguardDismissCallback, message string) error
AddKeyguardLockedStateListener(ctx context.Context, listener policy.IKeyguardLockedStateListener) error
RemoveKeyguardLockedStateListener(ctx context.Context, listener policy.IKeyguardLockedStateListener) error
SetSwitchingUser(ctx context.Context, switching bool) error
CloseSystemDialogs(ctx context.Context, reason string) error
GetAnimationScale(ctx context.Context, which int32) (float32, error)
GetAnimationScales(ctx context.Context) ([]float32, error)
SetAnimationScale(ctx context.Context, which int32, scale float32) error
SetAnimationScales(ctx context.Context, scales []float32) error
GetCurrentAnimatorScale(ctx context.Context) (float32, error)
SetInTouchMode(ctx context.Context, inTouch bool, displayId int32) error
SetInTouchModeOnAllDisplays(ctx context.Context, inTouch bool) error
IsInTouchMode(ctx context.Context, displayId int32) (bool, error)
ShowStrictModeViolation(ctx context.Context, on bool) error
SetStrictModeVisualIndicatorPreference(ctx context.Context, enabled string) error
RefreshScreenCaptureDisabled(ctx context.Context) error
GetDefaultDisplayRotation(ctx context.Context) (int32, error)
WatchRotation(ctx context.Context, watcher IRotationWatcher, displayId int32) (int32, error)
RemoveRotationWatcher(ctx context.Context, watcher IRotationWatcher) error
RegisterProposedRotationListener(ctx context.Context, contextToken binder.IBinder, listener IRotationWatcher) (int32, error)
GetPreferredOptionsPanelGravity(ctx context.Context, displayId int32) (int32, error)
FreezeRotation(ctx context.Context, rotation int32, caller string) error
ThawRotation(ctx context.Context, caller string) error
IsRotationFrozen(ctx context.Context) (bool, error)
FreezeDisplayRotation(ctx context.Context, displayId int32, rotation int32, caller string) error
ThawDisplayRotation(ctx context.Context, displayId int32, caller string) error
IsDisplayRotationFrozen(ctx context.Context, displayId int32) (bool, error)
SetFixedToUserRotation(ctx context.Context, displayId int32, fixedToUserRotation int32) error
SetIgnoreOrientationRequest(ctx context.Context, displayId int32, ignoreOrientationRequest bool) error
ScreenshotWallpaper(ctx context.Context) (graphics.Bitmap, error)
MirrorWallpaperSurface(ctx context.Context, displayId int32) (SurfaceControl, error)
RegisterWallpaperVisibilityListener(ctx context.Context, listener IWallpaperVisibilityListener, displayId int32) (bool, error)
UnregisterWallpaperVisibilityListener(ctx context.Context, listener IWallpaperVisibilityListener, displayId int32) error
RegisterSystemGestureExclusionListener(ctx context.Context, listener ISystemGestureExclusionListener, displayId int32) error
UnregisterSystemGestureExclusionListener(ctx context.Context, listener ISystemGestureExclusionListener, displayId int32) error
RequestAssistScreenshot(ctx context.Context, receiver types.IAssistDataReceiver) (bool, error)
HideTransientBars(ctx context.Context, displayId int32) error
SetRecentsVisibility(ctx context.Context, visible bool) error
UpdateStaticPrivacyIndicatorBounds(ctx context.Context, displayId int32, staticBounds []graphics.Rect) error
LockNow(ctx context.Context, options os.Bundle) error
IsSafeModeEnabled(ctx context.Context) (bool, error)
ClearWindowContentFrameStats(ctx context.Context, token binder.IBinder) (bool, error)
GetWindowContentFrameStats(ctx context.Context, token binder.IBinder) (WindowContentFrameStats, error)
GetDockedStackSide(ctx context.Context) (int32, error)
RegisterPinnedTaskListener(ctx context.Context, displayId int32, listener IPinnedTaskListener) error
RequestAppKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
RequestImeKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
GetStableInsets(ctx context.Context, displayId int32, outInsets graphics.Rect) error
RegisterShortcutKey(ctx context.Context, shortcutCode int64, keySubscriber pmTypes.IShortcutService) error
CreateInputConsumer(ctx context.Context, token binder.IBinder, name string, displayId int32, inputChannel InputChannel) error
DestroyInputConsumer(ctx context.Context, token binder.IBinder, displayId int32) (bool, error)
GetCurrentImeTouchRegion(ctx context.Context) (graphics.Region, error)
RegisterDisplayFoldListener(ctx context.Context, listener IDisplayFoldListener) error
UnregisterDisplayFoldListener(ctx context.Context, listener IDisplayFoldListener) error
RegisterDisplayWindowListener(ctx context.Context, listener IDisplayWindowListener) ([]int32, error)
UnregisterDisplayWindowListener(ctx context.Context, listener IDisplayWindowListener) error
StartWindowTrace(ctx context.Context) error
StopWindowTrace(ctx context.Context) error
SaveWindowTraceToFile(ctx context.Context) error
IsWindowTraceEnabled(ctx context.Context) (bool, error)
StartTransitionTrace(ctx context.Context) error
StopTransitionTrace(ctx context.Context) error
IsTransitionTraceEnabled(ctx context.Context) (bool, error)
GetWindowingMode(ctx context.Context, displayId int32) (int32, error)
SetWindowingMode(ctx context.Context, displayId int32, mode int32) error
GetRemoveContentMode(ctx context.Context, displayId int32) (int32, error)
SetRemoveContentMode(ctx context.Context, displayId int32, mode int32) error
ShouldShowWithInsecureKeyguard(ctx context.Context, displayId int32) (bool, error)
SetShouldShowWithInsecureKeyguard(ctx context.Context, displayId int32, shouldShow bool) error
ShouldShowSystemDecors(ctx context.Context, displayId int32) (bool, error)
SetShouldShowSystemDecors(ctx context.Context, displayId int32, shouldShow bool) error
GetDisplayImePolicy(ctx context.Context, displayId int32) (int32, error)
SetDisplayImePolicy(ctx context.Context, displayId int32, imePolicy int32) error
SyncInputTransactions(ctx context.Context, waitForAnimations bool) error
IsLayerTracing(ctx context.Context) (bool, error)
SetLayerTracing(ctx context.Context, enabled bool) error
MirrorDisplay(ctx context.Context, displayId int32, outSurfaceControl SurfaceControl) (bool, error)
SetDisplayWindowInsetsController(ctx context.Context, displayId int32, displayWindowInsetsController IDisplayWindowInsetsController) error
UpdateDisplayWindowRequestedVisibleTypes(ctx context.Context, displayId int32, requestedVisibleTypes int32) error
GetWindowInsets(ctx context.Context, displayId int32, token binder.IBinder, outInsetsState InsetsState) (bool, error)
GetPossibleDisplayInfo(ctx context.Context, displayId int32) ([]DisplayInfo, error)
ShowGlobalActions(ctx context.Context) error
SetLayerTracingFlags(ctx context.Context, flags int32) error
SetActiveTransactionTracing(ctx context.Context, active bool) error
RequestScrollCapture(ctx context.Context, displayId int32, behindClient binder.IBinder, taskId int32, listener IScrollCaptureResponseListener) error
HoldLock(ctx context.Context, token binder.IBinder, durationMs int32) error
GetSupportedDisplayHashAlgorithms(ctx context.Context) ([]string, error)
VerifyDisplayHash(ctx context.Context, displayHash displayhash.DisplayHash) (displayhash.VerifiedDisplayHash, error)
SetDisplayHashThrottlingEnabled(ctx context.Context, enable bool) error
AttachWindowContextToDisplayArea(ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, type_ int32, displayId int32, options *os.Bundle) (androidWindow.WindowContextInfo, error)
AttachWindowContextToWindowToken(ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, token binder.IBinder) (androidWindow.WindowContextInfo, error)
AttachWindowContextToDisplayContent(ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, displayId int32) (androidWindow.WindowContextInfo, error)
DetachWindowContext(ctx context.Context, clientToken binder.IBinder) error
RegisterCrossWindowBlurEnabledListener(ctx context.Context, listener ICrossWindowBlurEnabledListener) (bool, error)
UnregisterCrossWindowBlurEnabledListener(ctx context.Context, listener ICrossWindowBlurEnabledListener) error
IsTaskSnapshotSupported(ctx context.Context) (bool, error)
GetImeDisplayId(ctx context.Context) (int32, error)
SetTaskSnapshotEnabled(ctx context.Context, enabled bool) error
SetTaskTransitionSpec(ctx context.Context, spec TaskTransitionSpec) error
ClearTaskTransitionSpec(ctx context.Context) error
RegisterTaskFpsCallback(ctx context.Context, taskId int32, callback androidWindow.ITaskFpsCallback) error
UnregisterTaskFpsCallback(ctx context.Context, listener androidWindow.ITaskFpsCallback) error
SnapshotTaskForRecents(ctx context.Context, taskId int32) (graphics.Bitmap, error)
SetRecentsAppBehindSystemBars(ctx context.Context, behindSystemBars bool) error
GetLetterboxBackgroundColorInArgb(ctx context.Context) (int32, error)
IsLetterboxBackgroundMultiColored(ctx context.Context) (bool, error)
CaptureDisplay(ctx context.Context, displayId int32, captureArgs *androidWindow.ScreenCaptureCaptureArgs, listener androidWindow.ScreenCaptureScreenCaptureListener) error
IsGlobalKey(ctx context.Context, keyCode int32) (bool, error)
AddToSurfaceSyncGroup(ctx context.Context, syncGroupToken binder.IBinder, parentSyncGroupMerge bool, completedListener androidWindow.ISurfaceSyncGroupCompletedListener, addToSurfaceSyncGroupResult androidWindow.AddToSurfaceSyncGroupResult) (bool, error)
MarkSurfaceSyncGroupReady(ctx context.Context, syncGroupToken binder.IBinder) error
NotifyScreenshotListeners(ctx context.Context, displayId int32) ([]content.ComponentName, error)
ReplaceContentOnDisplay(ctx context.Context, displayId int32, sc SurfaceControl) (bool, error)
RegisterDecorViewGestureListener(ctx context.Context, listener IDecorViewGestureListener, displayId int32) error
UnregisterDecorViewGestureListener(ctx context.Context, listener IDecorViewGestureListener, displayId int32) error
RegisterTrustedPresentationListener(ctx context.Context, window binder.IBinder, listener androidWindow.ITrustedPresentationListener, thresholds gui.TrustedPresentationThresholds, id int32) error
UnregisterTrustedPresentationListener(ctx context.Context, listener androidWindow.ITrustedPresentationListener, id int32) error
RegisterScreenRecordingCallback(ctx context.Context, callback androidWindow.IScreenRecordingCallback) (bool, error)
UnregisterScreenRecordingCallback(ctx context.Context, callback androidWindow.IScreenRecordingCallback) error
SetGlobalDragListener(ctx context.Context, listener androidWindow.IGlobalDragListener) error
TransferTouchGesture(ctx context.Context, transferFromToken androidWindow.InputTransferToken, transferToToken androidWindow.InputTransferToken) (bool, error)
}
func NewWindowManagerStub ¶
func NewWindowManagerStub( impl IWindowManagerServer, ) IWindowManager
NewWindowManagerStub creates a server-side IWindowManager wrapping the given server implementation. The returned value satisfies IWindowManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowManagerServer ¶
type IWindowManagerServer interface {
StartViewServer(ctx context.Context, port int32) (bool, error)
StopViewServer(ctx context.Context) (bool, error)
IsViewServerRunning(ctx context.Context) (bool, error)
OpenSession(ctx context.Context, callback IWindowSessionCallback) (IWindowSession, error)
GetInitialDisplaySize(ctx context.Context, displayId int32, size graphics.Point) error
GetBaseDisplaySize(ctx context.Context, displayId int32, size graphics.Point) error
SetForcedDisplaySize(ctx context.Context, displayId int32, width int32, height int32) error
ClearForcedDisplaySize(ctx context.Context, displayId int32) error
GetInitialDisplayDensity(ctx context.Context, displayId int32) (int32, error)
GetBaseDisplayDensity(ctx context.Context, displayId int32) (int32, error)
GetDisplayIdByUniqueId(ctx context.Context, uniqueId string) (int32, error)
SetForcedDisplayDensityForUser(ctx context.Context, displayId int32, density int32) error
ClearForcedDisplayDensityForUser(ctx context.Context, displayId int32) error
SetForcedDisplayScalingMode(ctx context.Context, displayId int32, mode int32) error
SetEventDispatching(ctx context.Context, enabled bool) error
IsWindowToken(ctx context.Context, binder_ binder.IBinder) (bool, error)
AddWindowToken(ctx context.Context, token binder.IBinder, type_ int32, displayId int32, options os.Bundle) error
RemoveWindowToken(ctx context.Context, token binder.IBinder, displayId int32) error
SetDisplayChangeWindowController(ctx context.Context, controller IDisplayChangeWindowController) error
AddShellRoot(ctx context.Context, displayId int32, client IWindow, shellRootLayer int32) (SurfaceControl, error)
SetShellRootAccessibilityWindow(ctx context.Context, displayId int32, shellRootLayer int32, target IWindow) error
OverridePendingAppTransitionMultiThumbFuture(ctx context.Context, specsFuture IAppTransitionAnimationSpecsFuture, startedCallback os.IRemoteCallback, scaleUp bool, displayId int32) error
OverridePendingAppTransitionRemote(ctx context.Context, remoteAnimationAdapter RemoteAnimationAdapter, displayId int32) error
EndProlongedAnimations(ctx context.Context) error
StartFreezingScreen(ctx context.Context, exitAnim int32, enterAnim int32) error
StopFreezingScreen(ctx context.Context) error
DisableKeyguard(ctx context.Context, token binder.IBinder, tag string) error
ReenableKeyguard(ctx context.Context, token binder.IBinder) error
ExitKeyguardSecurely(ctx context.Context, callback IOnKeyguardExitResult) error
IsKeyguardLocked(ctx context.Context) (bool, error)
IsKeyguardSecure(ctx context.Context) (bool, error)
DismissKeyguard(ctx context.Context, callback policy.IKeyguardDismissCallback, message string) error
AddKeyguardLockedStateListener(ctx context.Context, listener policy.IKeyguardLockedStateListener) error
RemoveKeyguardLockedStateListener(ctx context.Context, listener policy.IKeyguardLockedStateListener) error
SetSwitchingUser(ctx context.Context, switching bool) error
CloseSystemDialogs(ctx context.Context, reason string) error
GetAnimationScale(ctx context.Context, which int32) (float32, error)
GetAnimationScales(ctx context.Context) ([]float32, error)
SetAnimationScale(ctx context.Context, which int32, scale float32) error
SetAnimationScales(ctx context.Context, scales []float32) error
GetCurrentAnimatorScale(ctx context.Context) (float32, error)
SetInTouchMode(ctx context.Context, inTouch bool, displayId int32) error
SetInTouchModeOnAllDisplays(ctx context.Context, inTouch bool) error
IsInTouchMode(ctx context.Context, displayId int32) (bool, error)
ShowStrictModeViolation(ctx context.Context, on bool) error
SetStrictModeVisualIndicatorPreference(ctx context.Context, enabled string) error
RefreshScreenCaptureDisabled(ctx context.Context) error
GetDefaultDisplayRotation(ctx context.Context) (int32, error)
WatchRotation(ctx context.Context, watcher IRotationWatcher, displayId int32) (int32, error)
RemoveRotationWatcher(ctx context.Context, watcher IRotationWatcher) error
RegisterProposedRotationListener(ctx context.Context, contextToken binder.IBinder, listener IRotationWatcher) (int32, error)
GetPreferredOptionsPanelGravity(ctx context.Context, displayId int32) (int32, error)
FreezeRotation(ctx context.Context, rotation int32, caller string) error
ThawRotation(ctx context.Context, caller string) error
IsRotationFrozen(ctx context.Context) (bool, error)
FreezeDisplayRotation(ctx context.Context, displayId int32, rotation int32, caller string) error
ThawDisplayRotation(ctx context.Context, displayId int32, caller string) error
IsDisplayRotationFrozen(ctx context.Context, displayId int32) (bool, error)
SetFixedToUserRotation(ctx context.Context, displayId int32, fixedToUserRotation int32) error
SetIgnoreOrientationRequest(ctx context.Context, displayId int32, ignoreOrientationRequest bool) error
ScreenshotWallpaper(ctx context.Context) (graphics.Bitmap, error)
MirrorWallpaperSurface(ctx context.Context, displayId int32) (SurfaceControl, error)
RegisterWallpaperVisibilityListener(ctx context.Context, listener IWallpaperVisibilityListener, displayId int32) (bool, error)
UnregisterWallpaperVisibilityListener(ctx context.Context, listener IWallpaperVisibilityListener, displayId int32) error
RegisterSystemGestureExclusionListener(ctx context.Context, listener ISystemGestureExclusionListener, displayId int32) error
UnregisterSystemGestureExclusionListener(ctx context.Context, listener ISystemGestureExclusionListener, displayId int32) error
RequestAssistScreenshot(ctx context.Context, receiver types.IAssistDataReceiver) (bool, error)
HideTransientBars(ctx context.Context, displayId int32) error
SetRecentsVisibility(ctx context.Context, visible bool) error
UpdateStaticPrivacyIndicatorBounds(ctx context.Context, displayId int32, staticBounds []graphics.Rect) error
LockNow(ctx context.Context, options os.Bundle) error
IsSafeModeEnabled(ctx context.Context) (bool, error)
ClearWindowContentFrameStats(ctx context.Context, token binder.IBinder) (bool, error)
GetWindowContentFrameStats(ctx context.Context, token binder.IBinder) (WindowContentFrameStats, error)
GetDockedStackSide(ctx context.Context) (int32, error)
RegisterPinnedTaskListener(ctx context.Context, displayId int32, listener IPinnedTaskListener) error
RequestAppKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
RequestImeKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
GetStableInsets(ctx context.Context, displayId int32, outInsets graphics.Rect) error
RegisterShortcutKey(ctx context.Context, shortcutCode int64, keySubscriber pmTypes.IShortcutService) error
CreateInputConsumer(ctx context.Context, token binder.IBinder, name string, displayId int32, inputChannel InputChannel) error
DestroyInputConsumer(ctx context.Context, token binder.IBinder, displayId int32) (bool, error)
GetCurrentImeTouchRegion(ctx context.Context) (graphics.Region, error)
RegisterDisplayFoldListener(ctx context.Context, listener IDisplayFoldListener) error
UnregisterDisplayFoldListener(ctx context.Context, listener IDisplayFoldListener) error
RegisterDisplayWindowListener(ctx context.Context, listener IDisplayWindowListener) ([]int32, error)
UnregisterDisplayWindowListener(ctx context.Context, listener IDisplayWindowListener) error
StartWindowTrace(ctx context.Context) error
StopWindowTrace(ctx context.Context) error
SaveWindowTraceToFile(ctx context.Context) error
IsWindowTraceEnabled(ctx context.Context) (bool, error)
StartTransitionTrace(ctx context.Context) error
StopTransitionTrace(ctx context.Context) error
IsTransitionTraceEnabled(ctx context.Context) (bool, error)
GetWindowingMode(ctx context.Context, displayId int32) (int32, error)
SetWindowingMode(ctx context.Context, displayId int32, mode int32) error
GetRemoveContentMode(ctx context.Context, displayId int32) (int32, error)
SetRemoveContentMode(ctx context.Context, displayId int32, mode int32) error
ShouldShowWithInsecureKeyguard(ctx context.Context, displayId int32) (bool, error)
SetShouldShowWithInsecureKeyguard(ctx context.Context, displayId int32, shouldShow bool) error
ShouldShowSystemDecors(ctx context.Context, displayId int32) (bool, error)
SetShouldShowSystemDecors(ctx context.Context, displayId int32, shouldShow bool) error
GetDisplayImePolicy(ctx context.Context, displayId int32) (int32, error)
SetDisplayImePolicy(ctx context.Context, displayId int32, imePolicy int32) error
SyncInputTransactions(ctx context.Context, waitForAnimations bool) error
IsLayerTracing(ctx context.Context) (bool, error)
SetLayerTracing(ctx context.Context, enabled bool) error
MirrorDisplay(ctx context.Context, displayId int32, outSurfaceControl SurfaceControl) (bool, error)
SetDisplayWindowInsetsController(ctx context.Context, displayId int32, displayWindowInsetsController IDisplayWindowInsetsController) error
UpdateDisplayWindowRequestedVisibleTypes(ctx context.Context, displayId int32, requestedVisibleTypes int32) error
GetWindowInsets(ctx context.Context, displayId int32, token binder.IBinder, outInsetsState InsetsState) (bool, error)
GetPossibleDisplayInfo(ctx context.Context, displayId int32) ([]DisplayInfo, error)
ShowGlobalActions(ctx context.Context) error
SetLayerTracingFlags(ctx context.Context, flags int32) error
SetActiveTransactionTracing(ctx context.Context, active bool) error
RequestScrollCapture(ctx context.Context, displayId int32, behindClient binder.IBinder, taskId int32, listener IScrollCaptureResponseListener) error
HoldLock(ctx context.Context, token binder.IBinder, durationMs int32) error
GetSupportedDisplayHashAlgorithms(ctx context.Context) ([]string, error)
VerifyDisplayHash(ctx context.Context, displayHash displayhash.DisplayHash) (displayhash.VerifiedDisplayHash, error)
SetDisplayHashThrottlingEnabled(ctx context.Context, enable bool) error
AttachWindowContextToDisplayArea(ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, type_ int32, displayId int32, options *os.Bundle) (androidWindow.WindowContextInfo, error)
AttachWindowContextToWindowToken(ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, token binder.IBinder) (androidWindow.WindowContextInfo, error)
AttachWindowContextToDisplayContent(ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, displayId int32) (androidWindow.WindowContextInfo, error)
DetachWindowContext(ctx context.Context, clientToken binder.IBinder) error
RegisterCrossWindowBlurEnabledListener(ctx context.Context, listener ICrossWindowBlurEnabledListener) (bool, error)
UnregisterCrossWindowBlurEnabledListener(ctx context.Context, listener ICrossWindowBlurEnabledListener) error
IsTaskSnapshotSupported(ctx context.Context) (bool, error)
GetImeDisplayId(ctx context.Context) (int32, error)
SetTaskSnapshotEnabled(ctx context.Context, enabled bool) error
SetTaskTransitionSpec(ctx context.Context, spec TaskTransitionSpec) error
ClearTaskTransitionSpec(ctx context.Context) error
RegisterTaskFpsCallback(ctx context.Context, taskId int32, callback androidWindow.ITaskFpsCallback) error
UnregisterTaskFpsCallback(ctx context.Context, listener androidWindow.ITaskFpsCallback) error
SnapshotTaskForRecents(ctx context.Context, taskId int32) (graphics.Bitmap, error)
SetRecentsAppBehindSystemBars(ctx context.Context, behindSystemBars bool) error
GetLetterboxBackgroundColorInArgb(ctx context.Context) (int32, error)
IsLetterboxBackgroundMultiColored(ctx context.Context) (bool, error)
CaptureDisplay(ctx context.Context, displayId int32, captureArgs *androidWindow.ScreenCaptureCaptureArgs, listener androidWindow.ScreenCaptureScreenCaptureListener) error
IsGlobalKey(ctx context.Context, keyCode int32) (bool, error)
AddToSurfaceSyncGroup(ctx context.Context, syncGroupToken binder.IBinder, parentSyncGroupMerge bool, completedListener androidWindow.ISurfaceSyncGroupCompletedListener, addToSurfaceSyncGroupResult androidWindow.AddToSurfaceSyncGroupResult) (bool, error)
MarkSurfaceSyncGroupReady(ctx context.Context, syncGroupToken binder.IBinder) error
NotifyScreenshotListeners(ctx context.Context, displayId int32) ([]content.ComponentName, error)
ReplaceContentOnDisplay(ctx context.Context, displayId int32, sc SurfaceControl) (bool, error)
RegisterDecorViewGestureListener(ctx context.Context, listener IDecorViewGestureListener, displayId int32) error
UnregisterDecorViewGestureListener(ctx context.Context, listener IDecorViewGestureListener, displayId int32) error
RegisterTrustedPresentationListener(ctx context.Context, window binder.IBinder, listener androidWindow.ITrustedPresentationListener, thresholds gui.TrustedPresentationThresholds, id int32) error
UnregisterTrustedPresentationListener(ctx context.Context, listener androidWindow.ITrustedPresentationListener, id int32) error
RegisterScreenRecordingCallback(ctx context.Context, callback androidWindow.IScreenRecordingCallback) (bool, error)
UnregisterScreenRecordingCallback(ctx context.Context, callback androidWindow.IScreenRecordingCallback) error
SetGlobalDragListener(ctx context.Context, listener androidWindow.IGlobalDragListener) error
TransferTouchGesture(ctx context.Context, transferFromToken androidWindow.InputTransferToken, transferToToken androidWindow.InputTransferToken) (bool, error)
}
IWindowManagerServer is the server-side interface that user implementations provide to NewWindowManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowServer ¶
type IWindowServer interface {
ExecuteCommand(ctx context.Context, command string, parameters string, descriptor int32) error
Resized(ctx context.Context, frames window.ClientWindowFrames, reportDraw bool, newMergedConfiguration util.MergedConfiguration, insetsState InsetsState, forceLayout bool, alwaysConsumeSystemBars bool, displayId int32, syncSeqId int32, dragResizing bool) error
InsetsControlChanged(ctx context.Context, insetsState InsetsState, activeControls []InsetsSourceControl) error
ShowInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
HideInsets(ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken) error
Moved(ctx context.Context, newX int32, newY int32) error
DispatchAppVisibility(ctx context.Context, visible bool) error
DispatchGetNewSurface(ctx context.Context) error
CloseSystemDialogs(ctx context.Context, reason string) error
DispatchWallpaperOffsets(ctx context.Context, x float32, y float32, xStep float32, yStep float32, zoom float32, sync bool) error
DispatchWallpaperCommand(ctx context.Context, action string, x int32, y int32, z int32, extras os.Bundle, sync bool) error
DispatchDragEvent(ctx context.Context, event DragEvent) error
UpdatePointerIcon(ctx context.Context, x float32, y float32) error
DispatchWindowShown(ctx context.Context) error
RequestAppKeyboardShortcuts(ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32) error
RequestScrollCapture(ctx context.Context, callbacks IScrollCaptureResponseListener) error
}
IWindowServer is the server-side interface that user implementations provide to NewWindowStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowSession ¶
type IWindowSession interface {
AsBinder() binder.IBinder
AddToDisplay(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, requestedVisibleTypes int32, outInputChannel InputChannel, insetsState InsetsState, activeControls InsetsSourceControlArray, attachedFrame graphics.Rect, sizeCompatScale []float32) (int32, error)
AddToDisplayAsUser(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, requestedVisibleTypes int32, outInputChannel InputChannel, insetsState InsetsState, activeControls InsetsSourceControlArray, attachedFrame graphics.Rect, sizeCompatScale []float32) (int32, error)
AddToDisplayWithoutInputChannel(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, insetsState InsetsState, attachedFrame graphics.Rect, sizeCompatScale []float32) (int32, error)
Remove(ctx context.Context, clientToken binder.IBinder) error
Relayout(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, requestedWidth int32, requestedHeight int32, viewVisibility int32, flags int32, seq int32, lastSyncSeqId int32, outFrames androidWindow.ClientWindowFrames, outMergedConfiguration util.MergedConfiguration, outSurfaceControl SurfaceControl, insetsState InsetsState, activeControls InsetsSourceControlArray, bundle os.Bundle) (int32, error)
RelayoutAsync(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, requestedWidth int32, requestedHeight int32, viewVisibility int32, flags int32, seq int32, lastSyncSeqId int32) error
OutOfMemory(ctx context.Context, window IWindow) (bool, error)
SetInsets(ctx context.Context, window IWindow, touchableInsets int32, contentInsets graphics.Rect, visibleInsets graphics.Rect, touchableRegion graphics.Region) error
FinishDrawing(ctx context.Context, window IWindow, postDrawTransaction SurfaceControlTransaction, seqId int32) error
PerformHapticFeedback(ctx context.Context, effectId int32, always bool, fromIme bool) (bool, error)
PerformHapticFeedbackAsync(ctx context.Context, effectId int32, always bool, fromIme bool) error
PerformDrag(ctx context.Context, window IWindow, flags int32, surface SurfaceControl, touchSource int32, touchDeviceId int32, touchPointerId int32, touchX float32, touchY float32, thumbCenterX float32, thumbCenterY float32, data content.ClipData) (binder.IBinder, error)
DropForAccessibility(ctx context.Context, window IWindow, x int32, y int32) (bool, error)
ReportDropResult(ctx context.Context, window IWindow, consumed bool) error
CancelDragAndDrop(ctx context.Context, dragToken binder.IBinder, skipAnimation bool) error
DragRecipientEntered(ctx context.Context, window IWindow) error
DragRecipientExited(ctx context.Context, window IWindow) error
SetWallpaperPosition(ctx context.Context, windowToken binder.IBinder, x float32, y float32, xstep float32, ystep float32) error
SetWallpaperZoomOut(ctx context.Context, windowToken binder.IBinder, scale float32) error
SetShouldZoomOutWallpaper(ctx context.Context, windowToken binder.IBinder, shouldZoom bool) error
WallpaperOffsetsComplete(ctx context.Context, window binder.IBinder) error
SetWallpaperDisplayOffset(ctx context.Context, windowToken binder.IBinder, x int32, y int32) error
SendWallpaperCommand(ctx context.Context, window binder.IBinder, action string, x int32, y int32, z int32, extras os.Bundle, sync bool) error
WallpaperCommandComplete(ctx context.Context, window binder.IBinder, result os.Bundle) error
OnRectangleOnScreenRequested(ctx context.Context, token binder.IBinder, rectangle graphics.Rect) error
GetWindowId(ctx context.Context, window binder.IBinder) (IWindowId, error)
PokeDrawLock(ctx context.Context, window binder.IBinder) error
StartMovingTask(ctx context.Context, window IWindow, startX float32, startY float32) (bool, error)
FinishMovingTask(ctx context.Context, window IWindow) error
UpdatePointerIcon(ctx context.Context, window IWindow) error
UpdateTapExcludeRegion(ctx context.Context, window IWindow, region graphics.Region) error
UpdateRequestedVisibleTypes(ctx context.Context, window IWindow, requestedVisibleTypes int32) error
ReportSystemGestureExclusionChanged(ctx context.Context, window IWindow, exclusionRects []graphics.Rect) error
ReportDecorViewGestureInterceptionChanged(ctx context.Context, window IWindow, intercepted bool) error
ReportKeepClearAreasChanged(ctx context.Context, window IWindow, restricted []graphics.Rect, unrestricted []graphics.Rect) error
GrantInputChannel(ctx context.Context, displayId int32, surface SurfaceControl, clientToken binder.IBinder, hostInputTransferToken *androidWindow.InputTransferToken, flags int32, privateFlags int32, inputFeatures int32, type_ int32, windowToken binder.IBinder, embeddedInputTransferToken androidWindow.InputTransferToken, inputHandleName string, outInputChannel InputChannel) error
UpdateInputChannel(ctx context.Context, channelToken binder.IBinder, displayId int32, surface SurfaceControl, flags int32, privateFlags int32, inputFeatures int32, region graphics.Region) error
GrantEmbeddedWindowFocus(ctx context.Context, window IWindow, inputToken androidWindow.InputTransferToken, grantFocus bool) error
GenerateDisplayHash(ctx context.Context, window IWindow, boundsInWindow graphics.Rect, hashAlgorithm string, callback os.RemoteCallback) error
SetOnBackInvokedCallbackInfo(ctx context.Context, window IWindow, callbackInfo androidWindow.OnBackInvokedCallbackInfo) error
ClearTouchableRegion(ctx context.Context, window IWindow) error
CancelDraw(ctx context.Context, window IWindow) (bool, error)
MoveFocusToAdjacentWindow(ctx context.Context, fromWindow IWindow, direction int32) (bool, error)
}
func NewWindowSessionStub ¶
func NewWindowSessionStub( impl IWindowSessionServer, ) IWindowSession
NewWindowSessionStub creates a server-side IWindowSession wrapping the given server implementation. The returned value satisfies IWindowSession and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowSessionCallback ¶
type IWindowSessionCallback interface {
AsBinder() binder.IBinder
OnAnimatorScaleChanged(ctx context.Context, scale float32) error
}
func NewWindowSessionCallbackStub ¶
func NewWindowSessionCallbackStub( impl IWindowSessionCallbackServer, ) IWindowSessionCallback
NewWindowSessionCallbackStub creates a server-side IWindowSessionCallback wrapping the given server implementation. The returned value satisfies IWindowSessionCallback and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowSessionCallbackServer ¶
type IWindowSessionCallbackServer interface {
OnAnimatorScaleChanged(ctx context.Context, scale float32) error
}
IWindowSessionCallbackServer is the server-side interface that user implementations provide to NewWindowSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowSessionServer ¶
type IWindowSessionServer interface {
AddToDisplay(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, requestedVisibleTypes int32, outInputChannel InputChannel, insetsState InsetsState, activeControls InsetsSourceControlArray, attachedFrame graphics.Rect, sizeCompatScale []float32) (int32, error)
AddToDisplayAsUser(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, requestedVisibleTypes int32, outInputChannel InputChannel, insetsState InsetsState, activeControls InsetsSourceControlArray, attachedFrame graphics.Rect, sizeCompatScale []float32) (int32, error)
AddToDisplayWithoutInputChannel(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, insetsState InsetsState, attachedFrame graphics.Rect, sizeCompatScale []float32) (int32, error)
Remove(ctx context.Context, clientToken binder.IBinder) error
Relayout(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, requestedWidth int32, requestedHeight int32, viewVisibility int32, flags int32, seq int32, lastSyncSeqId int32, outFrames androidWindow.ClientWindowFrames, outMergedConfiguration util.MergedConfiguration, outSurfaceControl SurfaceControl, insetsState InsetsState, activeControls InsetsSourceControlArray, bundle os.Bundle) (int32, error)
RelayoutAsync(ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, requestedWidth int32, requestedHeight int32, viewVisibility int32, flags int32, seq int32, lastSyncSeqId int32) error
OutOfMemory(ctx context.Context, window IWindow) (bool, error)
SetInsets(ctx context.Context, window IWindow, touchableInsets int32, contentInsets graphics.Rect, visibleInsets graphics.Rect, touchableRegion graphics.Region) error
FinishDrawing(ctx context.Context, window IWindow, postDrawTransaction SurfaceControlTransaction, seqId int32) error
PerformHapticFeedback(ctx context.Context, effectId int32, always bool, fromIme bool) (bool, error)
PerformHapticFeedbackAsync(ctx context.Context, effectId int32, always bool, fromIme bool) error
PerformDrag(ctx context.Context, window IWindow, flags int32, surface SurfaceControl, touchSource int32, touchDeviceId int32, touchPointerId int32, touchX float32, touchY float32, thumbCenterX float32, thumbCenterY float32, data content.ClipData) (binder.IBinder, error)
DropForAccessibility(ctx context.Context, window IWindow, x int32, y int32) (bool, error)
ReportDropResult(ctx context.Context, window IWindow, consumed bool) error
CancelDragAndDrop(ctx context.Context, dragToken binder.IBinder, skipAnimation bool) error
DragRecipientEntered(ctx context.Context, window IWindow) error
DragRecipientExited(ctx context.Context, window IWindow) error
SetWallpaperPosition(ctx context.Context, windowToken binder.IBinder, x float32, y float32, xstep float32, ystep float32) error
SetWallpaperZoomOut(ctx context.Context, windowToken binder.IBinder, scale float32) error
SetShouldZoomOutWallpaper(ctx context.Context, windowToken binder.IBinder, shouldZoom bool) error
WallpaperOffsetsComplete(ctx context.Context, window binder.IBinder) error
SetWallpaperDisplayOffset(ctx context.Context, windowToken binder.IBinder, x int32, y int32) error
SendWallpaperCommand(ctx context.Context, window binder.IBinder, action string, x int32, y int32, z int32, extras os.Bundle, sync bool) error
WallpaperCommandComplete(ctx context.Context, window binder.IBinder, result os.Bundle) error
OnRectangleOnScreenRequested(ctx context.Context, token binder.IBinder, rectangle graphics.Rect) error
GetWindowId(ctx context.Context, window binder.IBinder) (IWindowId, error)
PokeDrawLock(ctx context.Context, window binder.IBinder) error
StartMovingTask(ctx context.Context, window IWindow, startX float32, startY float32) (bool, error)
FinishMovingTask(ctx context.Context, window IWindow) error
UpdatePointerIcon(ctx context.Context, window IWindow) error
UpdateTapExcludeRegion(ctx context.Context, window IWindow, region graphics.Region) error
UpdateRequestedVisibleTypes(ctx context.Context, window IWindow, requestedVisibleTypes int32) error
ReportSystemGestureExclusionChanged(ctx context.Context, window IWindow, exclusionRects []graphics.Rect) error
ReportDecorViewGestureInterceptionChanged(ctx context.Context, window IWindow, intercepted bool) error
ReportKeepClearAreasChanged(ctx context.Context, window IWindow, restricted []graphics.Rect, unrestricted []graphics.Rect) error
GrantInputChannel(ctx context.Context, displayId int32, surface SurfaceControl, clientToken binder.IBinder, hostInputTransferToken *androidWindow.InputTransferToken, flags int32, privateFlags int32, inputFeatures int32, type_ int32, windowToken binder.IBinder, embeddedInputTransferToken androidWindow.InputTransferToken, inputHandleName string, outInputChannel InputChannel) error
UpdateInputChannel(ctx context.Context, channelToken binder.IBinder, displayId int32, surface SurfaceControl, flags int32, privateFlags int32, inputFeatures int32, region graphics.Region) error
GrantEmbeddedWindowFocus(ctx context.Context, window IWindow, inputToken androidWindow.InputTransferToken, grantFocus bool) error
GenerateDisplayHash(ctx context.Context, window IWindow, boundsInWindow graphics.Rect, hashAlgorithm string, callback os.RemoteCallback) error
SetOnBackInvokedCallbackInfo(ctx context.Context, window IWindow, callbackInfo androidWindow.OnBackInvokedCallbackInfo) error
ClearTouchableRegion(ctx context.Context, window IWindow) error
CancelDraw(ctx context.Context, window IWindow) (bool, error)
MoveFocusToAdjacentWindow(ctx context.Context, fromWindow IWindow, direction int32) (bool, error)
}
IWindowSessionServer is the server-side interface that user implementations provide to NewWindowSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type InputChannel ¶
type InputChannel struct {
}
func (*InputChannel) MarshalParcel ¶
func (s *InputChannel) MarshalParcel( p *parcel.Parcel, ) error
func (*InputChannel) UnmarshalParcel ¶
func (s *InputChannel) UnmarshalParcel( p *parcel.Parcel, ) error
type InputDevice ¶
type InputDevice struct {
Id int32
Generation int32
ControllerNumber int32
Name string
VendorId int32
ProductId int32
DeviceBus int32
Descriptor string
Sources int32
KeyboardType int32
KeyboardLanguageTag string
KeyboardLayoutType string
AssociatedDisplayId int32
NumRanges int32
}
func (*InputDevice) MarshalParcel ¶
func (s *InputDevice) MarshalParcel( p *parcel.Parcel, ) error
func (*InputDevice) UnmarshalParcel ¶
func (s *InputDevice) UnmarshalParcel( p *parcel.Parcel, ) error
type InputEvent ¶
type InputEvent struct {
}
func (*InputEvent) MarshalParcel ¶
func (s *InputEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*InputEvent) UnmarshalParcel ¶
func (s *InputEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type InputFilterHostProxy ¶
func NewInputFilterHostProxy ¶
func NewInputFilterHostProxy( remote binder.IBinder, ) *InputFilterHostProxy
func (*InputFilterHostProxy) AsBinder ¶
func (p *InputFilterHostProxy) AsBinder() binder.IBinder
func (*InputFilterHostProxy) SendInputEvent ¶
func (p *InputFilterHostProxy) SendInputEvent( ctx context.Context, event InputEvent, policyFlags int32, ) error
type InputFilterHostStub ¶
type InputFilterHostStub struct {
Impl IInputFilterHost
Transport binder.VersionAwareTransport
}
InputFilterHostStub dispatches incoming binder transactions to a typed IInputFilterHost implementation.
func (*InputFilterHostStub) Descriptor ¶
func (s *InputFilterHostStub) Descriptor() string
func (*InputFilterHostStub) OnTransaction ¶
func (s *InputFilterHostStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputFilterProxy ¶
func NewInputFilterProxy ¶
func NewInputFilterProxy( remote binder.IBinder, ) *InputFilterProxy
func (*InputFilterProxy) AsBinder ¶
func (p *InputFilterProxy) AsBinder() binder.IBinder
func (*InputFilterProxy) FilterInputEvent ¶
func (p *InputFilterProxy) FilterInputEvent( ctx context.Context, event InputEvent, policyFlags int32, ) error
func (*InputFilterProxy) Install ¶
func (p *InputFilterProxy) Install( ctx context.Context, host IInputFilterHost, ) error
type InputFilterStub ¶
type InputFilterStub struct {
Impl IInputFilter
Transport binder.VersionAwareTransport
}
InputFilterStub dispatches incoming binder transactions to a typed IInputFilter implementation.
func (*InputFilterStub) Descriptor ¶
func (s *InputFilterStub) Descriptor() string
func (*InputFilterStub) OnTransaction ¶
func (s *InputFilterStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMonitor ¶
type InputMonitor struct {
InputChannel *InputChannel
Surface *Surface
}
func (*InputMonitor) MarshalParcel ¶
func (s *InputMonitor) MarshalParcel( p *parcel.Parcel, ) error
func (*InputMonitor) UnmarshalParcel ¶
func (s *InputMonitor) UnmarshalParcel( p *parcel.Parcel, ) error
type InputMonitorHostProxy ¶
func NewInputMonitorHostProxy ¶
func NewInputMonitorHostProxy( remote binder.IBinder, ) *InputMonitorHostProxy
func (*InputMonitorHostProxy) AsBinder ¶
func (p *InputMonitorHostProxy) AsBinder() binder.IBinder
func (*InputMonitorHostProxy) Dispose ¶
func (p *InputMonitorHostProxy) Dispose( ctx context.Context, ) error
func (*InputMonitorHostProxy) PilferPointers ¶
func (p *InputMonitorHostProxy) PilferPointers( ctx context.Context, ) error
type InputMonitorHostStub ¶
type InputMonitorHostStub struct {
Impl IInputMonitorHost
Transport binder.VersionAwareTransport
}
InputMonitorHostStub dispatches incoming binder transactions to a typed IInputMonitorHost implementation.
func (*InputMonitorHostStub) Descriptor ¶
func (s *InputMonitorHostStub) Descriptor() string
func (*InputMonitorHostStub) OnTransaction ¶
func (s *InputMonitorHostStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InsetsSourceControl ¶
type InsetsSourceControl struct {
Id int32
Type int32
InitiallyVisible bool
SkipAnimationOnce bool
}
func (*InsetsSourceControl) MarshalParcel ¶
func (s *InsetsSourceControl) MarshalParcel( p *parcel.Parcel, ) error
func (*InsetsSourceControl) UnmarshalParcel ¶
func (s *InsetsSourceControl) UnmarshalParcel( p *parcel.Parcel, ) error
type InsetsSourceControlArray ¶
type InsetsSourceControlArray struct {
}
func (*InsetsSourceControlArray) MarshalParcel ¶
func (s *InsetsSourceControlArray) MarshalParcel( p *parcel.Parcel, ) error
func (*InsetsSourceControlArray) UnmarshalParcel ¶
func (s *InsetsSourceControlArray) UnmarshalParcel( p *parcel.Parcel, ) error
type InsetsState ¶
type InsetsState struct {
Size int32
RoundedCorners *RoundedCorners
DisplayShape *DisplayShape
}
func (*InsetsState) MarshalParcel ¶
func (s *InsetsState) MarshalParcel( p *parcel.Parcel, ) error
func (*InsetsState) UnmarshalParcel ¶
func (s *InsetsState) UnmarshalParcel( p *parcel.Parcel, ) error
type KeyCharacterMap ¶
type KeyCharacterMap struct {
}
func (*KeyCharacterMap) MarshalParcel ¶
func (s *KeyCharacterMap) MarshalParcel( p *parcel.Parcel, ) error
func (*KeyCharacterMap) UnmarshalParcel ¶
func (s *KeyCharacterMap) UnmarshalParcel( p *parcel.Parcel, ) error
type KeyEvent ¶
type LayerMetadataKey ¶
type LayerMetadataKey int32
const ( LayerMetadataKeyMetadataOwnerUid LayerMetadataKey = 1 LayerMetadataKeyMetadataWindowType LayerMetadataKey = 2 LayerMetadataKeyMetadataTaskId LayerMetadataKey = 3 LayerMetadataKeyMetadataMouseCursor LayerMetadataKey = 4 LayerMetadataKeyMetadataAccessibilityId LayerMetadataKey = 5 LayerMetadataKeyMetadataOwnerPid LayerMetadataKey = 6 LayerMetadataKeyMetadataDequeueTime LayerMetadataKey = 7 LayerMetadataKeyMetadataGameMode LayerMetadataKey = 8 )
type MagnificationSpec ¶
func (*MagnificationSpec) MarshalParcel ¶
func (s *MagnificationSpec) MarshalParcel( p *parcel.Parcel, ) error
func (*MagnificationSpec) UnmarshalParcel ¶
func (s *MagnificationSpec) UnmarshalParcel( p *parcel.Parcel, ) error
type MotionEvent ¶
type MotionEvent struct {
ParcelTokenMotionEvent int32
}
func (*MotionEvent) MarshalParcel ¶
func (s *MotionEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*MotionEvent) UnmarshalParcel ¶
func (s *MotionEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type OnKeyguardExitResultProxy ¶
func NewOnKeyguardExitResultProxy ¶
func NewOnKeyguardExitResultProxy( remote binder.IBinder, ) *OnKeyguardExitResultProxy
func (*OnKeyguardExitResultProxy) AsBinder ¶
func (p *OnKeyguardExitResultProxy) AsBinder() binder.IBinder
func (*OnKeyguardExitResultProxy) OnKeyguardExitResult ¶
func (p *OnKeyguardExitResultProxy) OnKeyguardExitResult( ctx context.Context, success bool, ) error
type OnKeyguardExitResultStub ¶
type OnKeyguardExitResultStub struct {
Impl IOnKeyguardExitResult
Transport binder.VersionAwareTransport
}
OnKeyguardExitResultStub dispatches incoming binder transactions to a typed IOnKeyguardExitResult implementation.
func (*OnKeyguardExitResultStub) Descriptor ¶
func (s *OnKeyguardExitResultStub) Descriptor() string
func (*OnKeyguardExitResultStub) OnTransaction ¶
func (s *OnKeyguardExitResultStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type PinnedTaskListenerProxy ¶
func NewPinnedTaskListenerProxy ¶
func NewPinnedTaskListenerProxy( remote binder.IBinder, ) *PinnedTaskListenerProxy
func (*PinnedTaskListenerProxy) AsBinder ¶
func (p *PinnedTaskListenerProxy) AsBinder() binder.IBinder
func (*PinnedTaskListenerProxy) OnActivityHidden ¶
func (p *PinnedTaskListenerProxy) OnActivityHidden( ctx context.Context, componentName content.ComponentName, ) error
func (*PinnedTaskListenerProxy) OnImeVisibilityChanged ¶
func (*PinnedTaskListenerProxy) OnMovementBoundsChanged ¶
func (p *PinnedTaskListenerProxy) OnMovementBoundsChanged( ctx context.Context, fromImeAdjustment bool, ) error
type PinnedTaskListenerStub ¶
type PinnedTaskListenerStub struct {
Impl IPinnedTaskListener
Transport binder.VersionAwareTransport
}
PinnedTaskListenerStub dispatches incoming binder transactions to a typed IPinnedTaskListener implementation.
func (*PinnedTaskListenerStub) Descriptor ¶
func (s *PinnedTaskListenerStub) Descriptor() string
func (*PinnedTaskListenerStub) OnTransaction ¶
func (s *PinnedTaskListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type PointerIcon ¶
func (*PointerIcon) MarshalParcel ¶
func (s *PointerIcon) MarshalParcel( p *parcel.Parcel, ) error
func (*PointerIcon) UnmarshalParcel ¶
func (s *PointerIcon) UnmarshalParcel( p *parcel.Parcel, ) error
type RecentsAnimationControllerProxy ¶
func NewRecentsAnimationControllerProxy ¶
func NewRecentsAnimationControllerProxy( remote binder.IBinder, ) *RecentsAnimationControllerProxy
func (*RecentsAnimationControllerProxy) AnimateNavigationBarToApp ¶
func (p *RecentsAnimationControllerProxy) AnimateNavigationBarToApp( ctx context.Context, duration int64, ) error
func (*RecentsAnimationControllerProxy) AsBinder ¶
func (p *RecentsAnimationControllerProxy) AsBinder() binder.IBinder
func (*RecentsAnimationControllerProxy) CleanupScreenshot ¶
func (p *RecentsAnimationControllerProxy) CleanupScreenshot( ctx context.Context, ) error
func (*RecentsAnimationControllerProxy) DetachNavigationBarFromApp ¶
func (p *RecentsAnimationControllerProxy) DetachNavigationBarFromApp( ctx context.Context, moveHomeToTop bool, ) error
func (*RecentsAnimationControllerProxy) Finish ¶
func (p *RecentsAnimationControllerProxy) Finish( ctx context.Context, moveHomeToTop bool, sendUserLeaveHint bool, finishCb os.IResultReceiver, ) error
func (*RecentsAnimationControllerProxy) RemoveTask ¶
func (*RecentsAnimationControllerProxy) ScreenshotTask ¶
func (p *RecentsAnimationControllerProxy) ScreenshotTask( ctx context.Context, taskId int32, ) (WindowManagerTaskSnapshot, error)
func (*RecentsAnimationControllerProxy) SetAnimationTargetsBehindSystemBars ¶
func (p *RecentsAnimationControllerProxy) SetAnimationTargetsBehindSystemBars( ctx context.Context, behindSystemBars bool, ) error
func (*RecentsAnimationControllerProxy) SetDeferCancelUntilNextTransition ¶
func (*RecentsAnimationControllerProxy) SetFinishTaskTransaction ¶
func (p *RecentsAnimationControllerProxy) SetFinishTaskTransaction( ctx context.Context, taskId int32, finishTransaction window.PictureInPictureSurfaceTransaction, overlay SurfaceControl, ) error
func (*RecentsAnimationControllerProxy) SetInputConsumerEnabled ¶
func (p *RecentsAnimationControllerProxy) SetInputConsumerEnabled( ctx context.Context, enabled bool, ) error
func (*RecentsAnimationControllerProxy) SetWillFinishToHome ¶
func (p *RecentsAnimationControllerProxy) SetWillFinishToHome( ctx context.Context, willFinishToHome bool, ) error
type RecentsAnimationControllerStub ¶
type RecentsAnimationControllerStub struct {
Impl IRecentsAnimationController
Transport binder.VersionAwareTransport
}
RecentsAnimationControllerStub dispatches incoming binder transactions to a typed IRecentsAnimationController implementation.
func (*RecentsAnimationControllerStub) Descriptor ¶
func (s *RecentsAnimationControllerStub) Descriptor() string
func (*RecentsAnimationControllerStub) OnTransaction ¶
func (s *RecentsAnimationControllerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RecentsAnimationRunnerProxy ¶
func NewRecentsAnimationRunnerProxy ¶
func NewRecentsAnimationRunnerProxy( remote binder.IBinder, ) *RecentsAnimationRunnerProxy
func (*RecentsAnimationRunnerProxy) AsBinder ¶
func (p *RecentsAnimationRunnerProxy) AsBinder() binder.IBinder
func (*RecentsAnimationRunnerProxy) OnAnimationCanceled ¶
func (p *RecentsAnimationRunnerProxy) OnAnimationCanceled( ctx context.Context, taskIds []int32, taskSnapshots []WindowManagerTaskSnapshot, ) error
func (*RecentsAnimationRunnerProxy) OnAnimationStart ¶
func (p *RecentsAnimationRunnerProxy) OnAnimationStart( ctx context.Context, controller IRecentsAnimationController, apps []RemoteAnimationTarget, wallpapers []RemoteAnimationTarget, homeContentInsets graphics.Rect, minimizedHomeBounds graphics.Rect, extras os.Bundle, ) error
func (*RecentsAnimationRunnerProxy) OnTasksAppeared ¶
func (p *RecentsAnimationRunnerProxy) OnTasksAppeared( ctx context.Context, app []RemoteAnimationTarget, ) error
type RecentsAnimationRunnerStub ¶
type RecentsAnimationRunnerStub struct {
Impl IRecentsAnimationRunner
Transport binder.VersionAwareTransport
}
RecentsAnimationRunnerStub dispatches incoming binder transactions to a typed IRecentsAnimationRunner implementation.
func (*RecentsAnimationRunnerStub) Descriptor ¶
func (s *RecentsAnimationRunnerStub) Descriptor() string
func (*RecentsAnimationRunnerStub) OnTransaction ¶
func (s *RecentsAnimationRunnerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RemoteAnimationAdapter ¶
type RemoteAnimationAdapter struct {
Duration int64
StatusBarTransitionDelay int64
ChangeNeedsSnapshot bool
}
func (*RemoteAnimationAdapter) MarshalParcel ¶
func (s *RemoteAnimationAdapter) MarshalParcel( p *parcel.Parcel, ) error
func (*RemoteAnimationAdapter) UnmarshalParcel ¶
func (s *RemoteAnimationAdapter) UnmarshalParcel( p *parcel.Parcel, ) error
type RemoteAnimationDefinition ¶
type RemoteAnimationDefinition struct {
Size int32
}
func (*RemoteAnimationDefinition) MarshalParcel ¶
func (s *RemoteAnimationDefinition) MarshalParcel( p *parcel.Parcel, ) error
func (*RemoteAnimationDefinition) UnmarshalParcel ¶
func (s *RemoteAnimationDefinition) UnmarshalParcel( p *parcel.Parcel, ) error
type RemoteAnimationFinishedCallbackProxy ¶
func NewRemoteAnimationFinishedCallbackProxy ¶
func NewRemoteAnimationFinishedCallbackProxy( remote binder.IBinder, ) *RemoteAnimationFinishedCallbackProxy
func (*RemoteAnimationFinishedCallbackProxy) AsBinder ¶
func (p *RemoteAnimationFinishedCallbackProxy) AsBinder() binder.IBinder
func (*RemoteAnimationFinishedCallbackProxy) OnAnimationFinished ¶
func (p *RemoteAnimationFinishedCallbackProxy) OnAnimationFinished( ctx context.Context, ) error
type RemoteAnimationFinishedCallbackStub ¶
type RemoteAnimationFinishedCallbackStub struct {
Impl IRemoteAnimationFinishedCallback
Transport binder.VersionAwareTransport
}
RemoteAnimationFinishedCallbackStub dispatches incoming binder transactions to a typed IRemoteAnimationFinishedCallback implementation.
func (*RemoteAnimationFinishedCallbackStub) Descriptor ¶
func (s *RemoteAnimationFinishedCallbackStub) Descriptor() string
func (*RemoteAnimationFinishedCallbackStub) OnTransaction ¶
func (s *RemoteAnimationFinishedCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RemoteAnimationRunnerProxy ¶
func NewRemoteAnimationRunnerProxy ¶
func NewRemoteAnimationRunnerProxy( remote binder.IBinder, ) *RemoteAnimationRunnerProxy
func (*RemoteAnimationRunnerProxy) AsBinder ¶
func (p *RemoteAnimationRunnerProxy) AsBinder() binder.IBinder
func (*RemoteAnimationRunnerProxy) OnAnimationCancelled ¶
func (p *RemoteAnimationRunnerProxy) OnAnimationCancelled( ctx context.Context, ) error
func (*RemoteAnimationRunnerProxy) OnAnimationStart ¶
func (p *RemoteAnimationRunnerProxy) OnAnimationStart( ctx context.Context, transit int32, apps []RemoteAnimationTarget, wallpapers []RemoteAnimationTarget, nonApps []RemoteAnimationTarget, finishedCallback IRemoteAnimationFinishedCallback, ) error
type RemoteAnimationRunnerStub ¶
type RemoteAnimationRunnerStub struct {
Impl IRemoteAnimationRunner
Transport binder.VersionAwareTransport
}
RemoteAnimationRunnerStub dispatches incoming binder transactions to a typed IRemoteAnimationRunner implementation.
func (*RemoteAnimationRunnerStub) Descriptor ¶
func (s *RemoteAnimationRunnerStub) Descriptor() string
func (*RemoteAnimationRunnerStub) OnTransaction ¶
func (s *RemoteAnimationRunnerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RemoteAnimationTarget ¶
type RemoteAnimationTarget struct {
TaskId int32
Mode int32
IsTranslucent bool
PrefixOrderIndex int32
IsNotInRecents bool
AllowEnterPip bool
WindowType int32
HasAnimatingParent bool
BackgroundColor int32
ShowBackdrop bool
WillShowImeOnTarget bool
RotationChange int32
WindowConfiguration *types.WindowConfiguration
}
func (*RemoteAnimationTarget) MarshalParcel ¶
func (s *RemoteAnimationTarget) MarshalParcel( p *parcel.Parcel, ) error
func (*RemoteAnimationTarget) UnmarshalParcel ¶
func (s *RemoteAnimationTarget) UnmarshalParcel( p *parcel.Parcel, ) error
type RotationWatcherProxy ¶
func NewRotationWatcherProxy ¶
func NewRotationWatcherProxy( remote binder.IBinder, ) *RotationWatcherProxy
func (*RotationWatcherProxy) AsBinder ¶
func (p *RotationWatcherProxy) AsBinder() binder.IBinder
func (*RotationWatcherProxy) OnRotationChanged ¶
func (p *RotationWatcherProxy) OnRotationChanged( ctx context.Context, rotation int32, ) error
type RotationWatcherStub ¶
type RotationWatcherStub struct {
Impl IRotationWatcher
Transport binder.VersionAwareTransport
}
RotationWatcherStub dispatches incoming binder transactions to a typed IRotationWatcher implementation.
func (*RotationWatcherStub) Descriptor ¶
func (s *RotationWatcherStub) Descriptor() string
func (*RotationWatcherStub) OnTransaction ¶
func (s *RotationWatcherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RoundedCorners ¶
type RoundedCorners struct {
}
func (*RoundedCorners) MarshalParcel ¶
func (s *RoundedCorners) MarshalParcel( p *parcel.Parcel, ) error
func (*RoundedCorners) UnmarshalParcel ¶
func (s *RoundedCorners) UnmarshalParcel( p *parcel.Parcel, ) error
type ScrollCaptureCallbacksProxy ¶
func NewScrollCaptureCallbacksProxy ¶
func NewScrollCaptureCallbacksProxy( remote binder.IBinder, ) *ScrollCaptureCallbacksProxy
func (*ScrollCaptureCallbacksProxy) AsBinder ¶
func (p *ScrollCaptureCallbacksProxy) AsBinder() binder.IBinder
func (*ScrollCaptureCallbacksProxy) OnCaptureEnded ¶
func (p *ScrollCaptureCallbacksProxy) OnCaptureEnded( ctx context.Context, ) error
func (*ScrollCaptureCallbacksProxy) OnCaptureStarted ¶
func (p *ScrollCaptureCallbacksProxy) OnCaptureStarted( ctx context.Context, ) error
func (*ScrollCaptureCallbacksProxy) OnImageRequestCompleted ¶
type ScrollCaptureCallbacksStub ¶
type ScrollCaptureCallbacksStub struct {
Impl IScrollCaptureCallbacks
Transport binder.VersionAwareTransport
}
ScrollCaptureCallbacksStub dispatches incoming binder transactions to a typed IScrollCaptureCallbacks implementation.
func (*ScrollCaptureCallbacksStub) Descriptor ¶
func (s *ScrollCaptureCallbacksStub) Descriptor() string
func (*ScrollCaptureCallbacksStub) OnTransaction ¶
func (s *ScrollCaptureCallbacksStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ScrollCaptureConnectionProxy ¶
func NewScrollCaptureConnectionProxy ¶
func NewScrollCaptureConnectionProxy( remote binder.IBinder, ) *ScrollCaptureConnectionProxy
func (*ScrollCaptureConnectionProxy) AsBinder ¶
func (p *ScrollCaptureConnectionProxy) AsBinder() binder.IBinder
func (*ScrollCaptureConnectionProxy) Close ¶
func (p *ScrollCaptureConnectionProxy) Close( ctx context.Context, ) error
func (*ScrollCaptureConnectionProxy) EndCapture ¶
func (p *ScrollCaptureConnectionProxy) EndCapture( ctx context.Context, ) (os.ICancellationSignal, error)
func (*ScrollCaptureConnectionProxy) RequestImage ¶
func (p *ScrollCaptureConnectionProxy) RequestImage( ctx context.Context, captureArea graphics.Rect, ) (os.ICancellationSignal, error)
func (*ScrollCaptureConnectionProxy) StartCapture ¶
func (p *ScrollCaptureConnectionProxy) StartCapture( ctx context.Context, surface Surface, callbacks IScrollCaptureCallbacks, ) (os.ICancellationSignal, error)
type ScrollCaptureConnectionStub ¶
type ScrollCaptureConnectionStub struct {
Impl IScrollCaptureConnection
Transport binder.VersionAwareTransport
}
ScrollCaptureConnectionStub dispatches incoming binder transactions to a typed IScrollCaptureConnection implementation.
func (*ScrollCaptureConnectionStub) Descriptor ¶
func (s *ScrollCaptureConnectionStub) Descriptor() string
func (*ScrollCaptureConnectionStub) OnTransaction ¶
func (s *ScrollCaptureConnectionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ScrollCaptureResponse ¶
func (*ScrollCaptureResponse) MarshalParcel ¶
func (s *ScrollCaptureResponse) MarshalParcel( p *parcel.Parcel, ) error
func (*ScrollCaptureResponse) UnmarshalParcel ¶
func (s *ScrollCaptureResponse) UnmarshalParcel( p *parcel.Parcel, ) error
type ScrollCaptureResponseListenerProxy ¶
func NewScrollCaptureResponseListenerProxy ¶
func NewScrollCaptureResponseListenerProxy( remote binder.IBinder, ) *ScrollCaptureResponseListenerProxy
func (*ScrollCaptureResponseListenerProxy) AsBinder ¶
func (p *ScrollCaptureResponseListenerProxy) AsBinder() binder.IBinder
func (*ScrollCaptureResponseListenerProxy) OnScrollCaptureResponse ¶
func (p *ScrollCaptureResponseListenerProxy) OnScrollCaptureResponse( ctx context.Context, response ScrollCaptureResponse, ) error
type ScrollCaptureResponseListenerStub ¶
type ScrollCaptureResponseListenerStub struct {
Impl IScrollCaptureResponseListener
Transport binder.VersionAwareTransport
}
ScrollCaptureResponseListenerStub dispatches incoming binder transactions to a typed IScrollCaptureResponseListener implementation.
func (*ScrollCaptureResponseListenerStub) Descriptor ¶
func (s *ScrollCaptureResponseListenerStub) Descriptor() string
func (*ScrollCaptureResponseListenerStub) OnTransaction ¶
func (s *ScrollCaptureResponseListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SensitiveContentProtectionManagerProxy ¶
func NewSensitiveContentProtectionManagerProxy ¶
func NewSensitiveContentProtectionManagerProxy( remote binder.IBinder, ) *SensitiveContentProtectionManagerProxy
func (*SensitiveContentProtectionManagerProxy) AsBinder ¶
func (p *SensitiveContentProtectionManagerProxy) AsBinder() binder.IBinder
func (*SensitiveContentProtectionManagerProxy) SetSensitiveContentProtection ¶
type SensitiveContentProtectionManagerStub ¶
type SensitiveContentProtectionManagerStub struct {
Impl ISensitiveContentProtectionManager
Transport binder.VersionAwareTransport
}
SensitiveContentProtectionManagerStub dispatches incoming binder transactions to a typed ISensitiveContentProtectionManager implementation.
func (*SensitiveContentProtectionManagerStub) Descriptor ¶
func (s *SensitiveContentProtectionManagerStub) Descriptor() string
func (*SensitiveContentProtectionManagerStub) OnTransaction ¶
func (s *SensitiveContentProtectionManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SurfaceControl ¶
func (*SurfaceControl) MarshalParcel ¶
func (s *SurfaceControl) MarshalParcel( p *parcel.Parcel, ) error
func (*SurfaceControl) UnmarshalParcel ¶
func (s *SurfaceControl) UnmarshalParcel( p *parcel.Parcel, ) error
type SurfaceControlTransaction ¶
type SurfaceControlTransaction struct {
}
func (*SurfaceControlTransaction) MarshalParcel ¶
func (s *SurfaceControlTransaction) MarshalParcel( p *parcel.Parcel, ) error
func (*SurfaceControlTransaction) UnmarshalParcel ¶
func (s *SurfaceControlTransaction) UnmarshalParcel( p *parcel.Parcel, ) error
type SurfaceControlViewHostParentProxy ¶
func NewSurfaceControlViewHostParentProxy ¶
func NewSurfaceControlViewHostParentProxy( remote binder.IBinder, ) *SurfaceControlViewHostParentProxy
func (*SurfaceControlViewHostParentProxy) AsBinder ¶
func (p *SurfaceControlViewHostParentProxy) AsBinder() binder.IBinder
func (*SurfaceControlViewHostParentProxy) ForwardBackKeyToParent ¶
func (p *SurfaceControlViewHostParentProxy) ForwardBackKeyToParent( ctx context.Context, keyEvent KeyEvent, ) error
func (*SurfaceControlViewHostParentProxy) UpdateParams ¶
func (p *SurfaceControlViewHostParentProxy) UpdateParams( ctx context.Context, childAttrs []WindowManagerLayoutParams, ) error
type SurfaceControlViewHostParentStub ¶
type SurfaceControlViewHostParentStub struct {
Impl ISurfaceControlViewHostParent
Transport binder.VersionAwareTransport
}
SurfaceControlViewHostParentStub dispatches incoming binder transactions to a typed ISurfaceControlViewHostParent implementation.
func (*SurfaceControlViewHostParentStub) Descriptor ¶
func (s *SurfaceControlViewHostParentStub) Descriptor() string
func (*SurfaceControlViewHostParentStub) OnTransaction ¶
func (s *SurfaceControlViewHostParentStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SurfaceControlViewHostProxy ¶
func NewSurfaceControlViewHostProxy ¶
func NewSurfaceControlViewHostProxy( remote binder.IBinder, ) *SurfaceControlViewHostProxy
func (*SurfaceControlViewHostProxy) AsBinder ¶
func (p *SurfaceControlViewHostProxy) AsBinder() binder.IBinder
func (*SurfaceControlViewHostProxy) AttachParentInterface ¶
func (p *SurfaceControlViewHostProxy) AttachParentInterface( ctx context.Context, parentInterface ISurfaceControlViewHostParent, ) error
func (*SurfaceControlViewHostProxy) GetSurfaceSyncGroup ¶
func (p *SurfaceControlViewHostProxy) GetSurfaceSyncGroup( ctx context.Context, ) (window.ISurfaceSyncGroup, error)
func (*SurfaceControlViewHostProxy) OnConfigurationChanged ¶
func (p *SurfaceControlViewHostProxy) OnConfigurationChanged( ctx context.Context, newConfig res.Configuration, ) error
func (*SurfaceControlViewHostProxy) OnDispatchDetachedFromWindow ¶
func (p *SurfaceControlViewHostProxy) OnDispatchDetachedFromWindow( ctx context.Context, ) error
func (*SurfaceControlViewHostProxy) OnInsetsChanged ¶
func (p *SurfaceControlViewHostProxy) OnInsetsChanged( ctx context.Context, state InsetsState, insetFrame graphics.Rect, ) error
type SurfaceControlViewHostStub ¶
type SurfaceControlViewHostStub struct {
Impl ISurfaceControlViewHost
Transport binder.VersionAwareTransport
}
SurfaceControlViewHostStub dispatches incoming binder transactions to a typed ISurfaceControlViewHost implementation.
func (*SurfaceControlViewHostStub) Descriptor ¶
func (s *SurfaceControlViewHostStub) Descriptor() string
func (*SurfaceControlViewHostStub) OnTransaction ¶
func (s *SurfaceControlViewHostStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SurfaceControlViewHostSurfacePackage ¶
type SurfaceControlViewHostSurfacePackage struct {
}
func (*SurfaceControlViewHostSurfacePackage) MarshalParcel ¶
func (s *SurfaceControlViewHostSurfacePackage) MarshalParcel( p *parcel.Parcel, ) error
func (*SurfaceControlViewHostSurfacePackage) UnmarshalParcel ¶
func (s *SurfaceControlViewHostSurfacePackage) UnmarshalParcel( p *parcel.Parcel, ) error
type SystemGestureExclusionListenerProxy ¶
func NewSystemGestureExclusionListenerProxy ¶
func NewSystemGestureExclusionListenerProxy( remote binder.IBinder, ) *SystemGestureExclusionListenerProxy
func (*SystemGestureExclusionListenerProxy) AsBinder ¶
func (p *SystemGestureExclusionListenerProxy) AsBinder() binder.IBinder
type SystemGestureExclusionListenerStub ¶
type SystemGestureExclusionListenerStub struct {
Impl ISystemGestureExclusionListener
Transport binder.VersionAwareTransport
}
SystemGestureExclusionListenerStub dispatches incoming binder transactions to a typed ISystemGestureExclusionListener implementation.
func (*SystemGestureExclusionListenerStub) Descriptor ¶
func (s *SystemGestureExclusionListenerStub) Descriptor() string
func (*SystemGestureExclusionListenerStub) OnTransaction ¶
func (s *SystemGestureExclusionListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TaskTransitionSpec ¶
type TaskTransitionSpec struct {
BackgroundColor int32
}
func (*TaskTransitionSpec) MarshalParcel ¶
func (s *TaskTransitionSpec) MarshalParcel( p *parcel.Parcel, ) error
func (*TaskTransitionSpec) UnmarshalParcel ¶
func (s *TaskTransitionSpec) UnmarshalParcel( p *parcel.Parcel, ) error
type VerifiedInputEvent ¶
type VerifiedInputEvent struct {
Type int32
DeviceId int32
EventTimeNanos int64
Source int32
DisplayId int32
}
func (*VerifiedInputEvent) MarshalParcel ¶
func (s *VerifiedInputEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VerifiedInputEvent) UnmarshalParcel ¶
func (s *VerifiedInputEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VerifiedKeyEvent ¶
type VerifiedKeyEvent struct {
Action int32
DownTimeNanos int64
Flags int32
KeyCode int32
ScanCode int32
MetaState int32
RepeatCount int32
}
func (*VerifiedKeyEvent) MarshalParcel ¶
func (s *VerifiedKeyEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VerifiedKeyEvent) UnmarshalParcel ¶
func (s *VerifiedKeyEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VerifiedMotionEvent ¶
type VerifiedMotionEvent struct {
RawX float32
RawY float32
ActionMasked int32
DownTimeNanos int64
Flags int32
MetaState int32
ButtonState int32
}
func (*VerifiedMotionEvent) MarshalParcel ¶
func (s *VerifiedMotionEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VerifiedMotionEvent) UnmarshalParcel ¶
func (s *VerifiedMotionEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type WallpaperVisibilityListenerProxy ¶
func NewWallpaperVisibilityListenerProxy ¶
func NewWallpaperVisibilityListenerProxy( remote binder.IBinder, ) *WallpaperVisibilityListenerProxy
func (*WallpaperVisibilityListenerProxy) AsBinder ¶
func (p *WallpaperVisibilityListenerProxy) AsBinder() binder.IBinder
func (*WallpaperVisibilityListenerProxy) OnWallpaperVisibilityChanged ¶
type WallpaperVisibilityListenerStub ¶
type WallpaperVisibilityListenerStub struct {
Impl IWallpaperVisibilityListener
Transport binder.VersionAwareTransport
}
WallpaperVisibilityListenerStub dispatches incoming binder transactions to a typed IWallpaperVisibilityListener implementation.
func (*WallpaperVisibilityListenerStub) Descriptor ¶
func (s *WallpaperVisibilityListenerStub) Descriptor() string
func (*WallpaperVisibilityListenerStub) OnTransaction ¶
func (s *WallpaperVisibilityListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowAnimationFrameStats ¶
type WindowAnimationFrameStats struct {
RefreshPeriodNano int64
}
func (*WindowAnimationFrameStats) MarshalParcel ¶
func (s *WindowAnimationFrameStats) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowAnimationFrameStats) UnmarshalParcel ¶
func (s *WindowAnimationFrameStats) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowContentFrameStats ¶
type WindowContentFrameStats struct {
RefreshPeriodNano int64
}
func (*WindowContentFrameStats) MarshalParcel ¶
func (s *WindowContentFrameStats) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowContentFrameStats) UnmarshalParcel ¶
func (s *WindowContentFrameStats) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowFocusObserverProxy ¶
func NewWindowFocusObserverProxy ¶
func NewWindowFocusObserverProxy( remote binder.IBinder, ) *WindowFocusObserverProxy
func (*WindowFocusObserverProxy) AsBinder ¶
func (p *WindowFocusObserverProxy) AsBinder() binder.IBinder
func (*WindowFocusObserverProxy) FocusGained ¶
type WindowFocusObserverStub ¶
type WindowFocusObserverStub struct {
Impl IWindowFocusObserver
Transport binder.VersionAwareTransport
}
WindowFocusObserverStub dispatches incoming binder transactions to a typed IWindowFocusObserver implementation.
func (*WindowFocusObserverStub) Descriptor ¶
func (s *WindowFocusObserverStub) Descriptor() string
func (*WindowFocusObserverStub) OnTransaction ¶
func (s *WindowFocusObserverStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowIdProxy ¶
func NewWindowIdProxy ¶
func NewWindowIdProxy( remote binder.IBinder, ) *WindowIdProxy
func (*WindowIdProxy) AsBinder ¶
func (p *WindowIdProxy) AsBinder() binder.IBinder
func (*WindowIdProxy) IsFocused ¶
func (p *WindowIdProxy) IsFocused( ctx context.Context, ) (bool, error)
func (*WindowIdProxy) RegisterFocusObserver ¶
func (p *WindowIdProxy) RegisterFocusObserver( ctx context.Context, observer IWindowFocusObserver, ) error
func (*WindowIdProxy) UnregisterFocusObserver ¶
func (p *WindowIdProxy) UnregisterFocusObserver( ctx context.Context, observer IWindowFocusObserver, ) error
type WindowIdStub ¶
type WindowIdStub struct {
Impl IWindowId
Transport binder.VersionAwareTransport
}
WindowIdStub dispatches incoming binder transactions to a typed IWindowId implementation.
func (*WindowIdStub) Descriptor ¶
func (s *WindowIdStub) Descriptor() string
func (*WindowIdStub) OnTransaction ¶
func (s *WindowIdStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowInfo ¶
type WindowInfo struct {
DisplayId int32
TaskId int32
Type int32
Layer int32
AccessibilityIdOfAnchor int64
}
func (*WindowInfo) MarshalParcel ¶
func (s *WindowInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowInfo) UnmarshalParcel ¶
func (s *WindowInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowManagerLayoutParams ¶
type WindowManagerLayoutParams struct {
}
func (*WindowManagerLayoutParams) MarshalParcel ¶
func (s *WindowManagerLayoutParams) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowManagerLayoutParams) UnmarshalParcel ¶
func (s *WindowManagerLayoutParams) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowManagerProxy ¶
func NewWindowManagerProxy ¶
func NewWindowManagerProxy( remote binder.IBinder, ) *WindowManagerProxy
func (*WindowManagerProxy) AddKeyguardLockedStateListener ¶
func (p *WindowManagerProxy) AddKeyguardLockedStateListener( ctx context.Context, listener policy.IKeyguardLockedStateListener, ) error
func (*WindowManagerProxy) AddShellRoot ¶
func (p *WindowManagerProxy) AddShellRoot( ctx context.Context, displayId int32, client IWindow, shellRootLayer int32, ) (SurfaceControl, error)
func (*WindowManagerProxy) AddToSurfaceSyncGroup ¶
func (p *WindowManagerProxy) AddToSurfaceSyncGroup( ctx context.Context, syncGroupToken binder.IBinder, parentSyncGroupMerge bool, completedListener androidWindow.ISurfaceSyncGroupCompletedListener, addToSurfaceSyncGroupResult androidWindow.AddToSurfaceSyncGroupResult, ) (bool, error)
func (*WindowManagerProxy) AddWindowToken ¶
func (*WindowManagerProxy) AsBinder ¶
func (p *WindowManagerProxy) AsBinder() binder.IBinder
func (*WindowManagerProxy) AttachWindowContextToDisplayArea ¶
func (p *WindowManagerProxy) AttachWindowContextToDisplayArea( ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, type_ int32, displayId int32, options *os.Bundle, ) (androidWindow.WindowContextInfo, error)
func (*WindowManagerProxy) AttachWindowContextToDisplayContent ¶
func (p *WindowManagerProxy) AttachWindowContextToDisplayContent( ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, displayId int32, ) (androidWindow.WindowContextInfo, error)
func (*WindowManagerProxy) AttachWindowContextToWindowToken ¶
func (p *WindowManagerProxy) AttachWindowContextToWindowToken( ctx context.Context, appThread types.IApplicationThread, clientToken binder.IBinder, token binder.IBinder, ) (androidWindow.WindowContextInfo, error)
func (*WindowManagerProxy) CaptureDisplay ¶
func (p *WindowManagerProxy) CaptureDisplay( ctx context.Context, displayId int32, captureArgs *androidWindow.ScreenCaptureCaptureArgs, listener androidWindow.ScreenCaptureScreenCaptureListener, ) error
func (*WindowManagerProxy) ClearForcedDisplayDensityForUser ¶
func (p *WindowManagerProxy) ClearForcedDisplayDensityForUser( ctx context.Context, displayId int32, ) error
func (*WindowManagerProxy) ClearForcedDisplaySize ¶
func (p *WindowManagerProxy) ClearForcedDisplaySize( ctx context.Context, displayId int32, ) error
func (*WindowManagerProxy) ClearTaskTransitionSpec ¶
func (p *WindowManagerProxy) ClearTaskTransitionSpec( ctx context.Context, ) error
func (*WindowManagerProxy) ClearWindowContentFrameStats ¶
func (*WindowManagerProxy) CloseSystemDialogs ¶
func (p *WindowManagerProxy) CloseSystemDialogs( ctx context.Context, reason string, ) error
func (*WindowManagerProxy) CreateInputConsumer ¶
func (p *WindowManagerProxy) CreateInputConsumer( ctx context.Context, token binder.IBinder, name string, displayId int32, inputChannel InputChannel, ) error
func (*WindowManagerProxy) DestroyInputConsumer ¶
func (*WindowManagerProxy) DetachWindowContext ¶
func (*WindowManagerProxy) DisableKeyguard ¶
func (*WindowManagerProxy) DismissKeyguard ¶
func (p *WindowManagerProxy) DismissKeyguard( ctx context.Context, callback policy.IKeyguardDismissCallback, message string, ) error
func (*WindowManagerProxy) EndProlongedAnimations ¶
func (p *WindowManagerProxy) EndProlongedAnimations( ctx context.Context, ) error
func (*WindowManagerProxy) ExitKeyguardSecurely ¶
func (p *WindowManagerProxy) ExitKeyguardSecurely( ctx context.Context, callback IOnKeyguardExitResult, ) error
func (*WindowManagerProxy) FreezeDisplayRotation ¶
func (*WindowManagerProxy) FreezeRotation ¶
func (*WindowManagerProxy) GetAnimationScale ¶
func (*WindowManagerProxy) GetAnimationScales ¶
func (p *WindowManagerProxy) GetAnimationScales( ctx context.Context, ) ([]float32, error)
func (*WindowManagerProxy) GetBaseDisplayDensity ¶
func (*WindowManagerProxy) GetBaseDisplaySize ¶
func (*WindowManagerProxy) GetCurrentAnimatorScale ¶
func (p *WindowManagerProxy) GetCurrentAnimatorScale( ctx context.Context, ) (float32, error)
func (*WindowManagerProxy) GetCurrentImeTouchRegion ¶
func (*WindowManagerProxy) GetDefaultDisplayRotation ¶
func (p *WindowManagerProxy) GetDefaultDisplayRotation( ctx context.Context, ) (int32, error)
func (*WindowManagerProxy) GetDisplayIdByUniqueId ¶
func (*WindowManagerProxy) GetDisplayImePolicy ¶
func (*WindowManagerProxy) GetDockedStackSide ¶
func (p *WindowManagerProxy) GetDockedStackSide( ctx context.Context, ) (int32, error)
func (*WindowManagerProxy) GetImeDisplayId ¶
func (p *WindowManagerProxy) GetImeDisplayId( ctx context.Context, ) (int32, error)
func (*WindowManagerProxy) GetInitialDisplayDensity ¶
func (*WindowManagerProxy) GetInitialDisplaySize ¶
func (*WindowManagerProxy) GetLetterboxBackgroundColorInArgb ¶
func (p *WindowManagerProxy) GetLetterboxBackgroundColorInArgb( ctx context.Context, ) (int32, error)
func (*WindowManagerProxy) GetPossibleDisplayInfo ¶
func (p *WindowManagerProxy) GetPossibleDisplayInfo( ctx context.Context, displayId int32, ) ([]DisplayInfo, error)
func (*WindowManagerProxy) GetPreferredOptionsPanelGravity ¶
func (*WindowManagerProxy) GetRemoveContentMode ¶
func (*WindowManagerProxy) GetStableInsets ¶
func (*WindowManagerProxy) GetSupportedDisplayHashAlgorithms ¶
func (p *WindowManagerProxy) GetSupportedDisplayHashAlgorithms( ctx context.Context, ) ([]string, error)
func (*WindowManagerProxy) GetWindowContentFrameStats ¶
func (p *WindowManagerProxy) GetWindowContentFrameStats( ctx context.Context, token binder.IBinder, ) (WindowContentFrameStats, error)
func (*WindowManagerProxy) GetWindowInsets ¶
func (p *WindowManagerProxy) GetWindowInsets( ctx context.Context, displayId int32, token binder.IBinder, outInsetsState InsetsState, ) (bool, error)
func (*WindowManagerProxy) GetWindowingMode ¶
func (*WindowManagerProxy) HasNavigationBar ¶
func (*WindowManagerProxy) HideTransientBars ¶
func (p *WindowManagerProxy) HideTransientBars( ctx context.Context, displayId int32, ) error
func (*WindowManagerProxy) IsDisplayRotationFrozen ¶
func (*WindowManagerProxy) IsGlobalKey ¶
func (*WindowManagerProxy) IsInTouchMode ¶
func (*WindowManagerProxy) IsKeyguardLocked ¶
func (p *WindowManagerProxy) IsKeyguardLocked( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsKeyguardSecure ¶
func (p *WindowManagerProxy) IsKeyguardSecure( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsLayerTracing ¶
func (p *WindowManagerProxy) IsLayerTracing( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsLetterboxBackgroundMultiColored ¶
func (p *WindowManagerProxy) IsLetterboxBackgroundMultiColored( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsRotationFrozen ¶
func (p *WindowManagerProxy) IsRotationFrozen( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsSafeModeEnabled ¶
func (p *WindowManagerProxy) IsSafeModeEnabled( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsTaskSnapshotSupported ¶
func (p *WindowManagerProxy) IsTaskSnapshotSupported( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsTransitionTraceEnabled ¶
func (p *WindowManagerProxy) IsTransitionTraceEnabled( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsViewServerRunning ¶
func (p *WindowManagerProxy) IsViewServerRunning( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) IsWindowToken ¶
func (*WindowManagerProxy) IsWindowTraceEnabled ¶
func (p *WindowManagerProxy) IsWindowTraceEnabled( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) MarkSurfaceSyncGroupReady ¶
func (*WindowManagerProxy) MirrorDisplay ¶
func (p *WindowManagerProxy) MirrorDisplay( ctx context.Context, displayId int32, outSurfaceControl SurfaceControl, ) (bool, error)
func (*WindowManagerProxy) MirrorWallpaperSurface ¶
func (p *WindowManagerProxy) MirrorWallpaperSurface( ctx context.Context, displayId int32, ) (SurfaceControl, error)
func (*WindowManagerProxy) NotifyScreenshotListeners ¶
func (p *WindowManagerProxy) NotifyScreenshotListeners( ctx context.Context, displayId int32, ) ([]content.ComponentName, error)
func (*WindowManagerProxy) OpenSession ¶
func (p *WindowManagerProxy) OpenSession( ctx context.Context, callback IWindowSessionCallback, ) (IWindowSession, error)
func (*WindowManagerProxy) OverridePendingAppTransitionMultiThumbFuture ¶
func (p *WindowManagerProxy) OverridePendingAppTransitionMultiThumbFuture( ctx context.Context, specsFuture IAppTransitionAnimationSpecsFuture, startedCallback os.IRemoteCallback, scaleUp bool, displayId int32, ) error
func (*WindowManagerProxy) OverridePendingAppTransitionRemote ¶
func (p *WindowManagerProxy) OverridePendingAppTransitionRemote( ctx context.Context, remoteAnimationAdapter RemoteAnimationAdapter, displayId int32, ) error
func (*WindowManagerProxy) ReenableKeyguard ¶
func (*WindowManagerProxy) RefreshScreenCaptureDisabled ¶
func (p *WindowManagerProxy) RefreshScreenCaptureDisabled( ctx context.Context, ) error
func (*WindowManagerProxy) RegisterCrossWindowBlurEnabledListener ¶
func (p *WindowManagerProxy) RegisterCrossWindowBlurEnabledListener( ctx context.Context, listener ICrossWindowBlurEnabledListener, ) (bool, error)
func (*WindowManagerProxy) RegisterDecorViewGestureListener ¶
func (p *WindowManagerProxy) RegisterDecorViewGestureListener( ctx context.Context, listener IDecorViewGestureListener, displayId int32, ) error
func (*WindowManagerProxy) RegisterDisplayFoldListener ¶
func (p *WindowManagerProxy) RegisterDisplayFoldListener( ctx context.Context, listener IDisplayFoldListener, ) error
func (*WindowManagerProxy) RegisterDisplayWindowListener ¶
func (p *WindowManagerProxy) RegisterDisplayWindowListener( ctx context.Context, listener IDisplayWindowListener, ) ([]int32, error)
func (*WindowManagerProxy) RegisterPinnedTaskListener ¶
func (p *WindowManagerProxy) RegisterPinnedTaskListener( ctx context.Context, displayId int32, listener IPinnedTaskListener, ) error
func (*WindowManagerProxy) RegisterProposedRotationListener ¶
func (p *WindowManagerProxy) RegisterProposedRotationListener( ctx context.Context, contextToken binder.IBinder, listener IRotationWatcher, ) (int32, error)
func (*WindowManagerProxy) RegisterScreenRecordingCallback ¶
func (p *WindowManagerProxy) RegisterScreenRecordingCallback( ctx context.Context, callback androidWindow.IScreenRecordingCallback, ) (bool, error)
func (*WindowManagerProxy) RegisterShortcutKey ¶
func (p *WindowManagerProxy) RegisterShortcutKey( ctx context.Context, shortcutCode int64, keySubscriber pmTypes.IShortcutService, ) error
func (*WindowManagerProxy) RegisterSystemGestureExclusionListener ¶
func (p *WindowManagerProxy) RegisterSystemGestureExclusionListener( ctx context.Context, listener ISystemGestureExclusionListener, displayId int32, ) error
func (*WindowManagerProxy) RegisterTaskFpsCallback ¶
func (p *WindowManagerProxy) RegisterTaskFpsCallback( ctx context.Context, taskId int32, callback androidWindow.ITaskFpsCallback, ) error
func (*WindowManagerProxy) RegisterTrustedPresentationListener ¶
func (p *WindowManagerProxy) RegisterTrustedPresentationListener( ctx context.Context, window binder.IBinder, listener androidWindow.ITrustedPresentationListener, thresholds gui.TrustedPresentationThresholds, id int32, ) error
func (*WindowManagerProxy) RegisterWallpaperVisibilityListener ¶
func (p *WindowManagerProxy) RegisterWallpaperVisibilityListener( ctx context.Context, listener IWallpaperVisibilityListener, displayId int32, ) (bool, error)
func (*WindowManagerProxy) RemoveKeyguardLockedStateListener ¶
func (p *WindowManagerProxy) RemoveKeyguardLockedStateListener( ctx context.Context, listener policy.IKeyguardLockedStateListener, ) error
func (*WindowManagerProxy) RemoveRotationWatcher ¶
func (p *WindowManagerProxy) RemoveRotationWatcher( ctx context.Context, watcher IRotationWatcher, ) error
func (*WindowManagerProxy) RemoveWindowToken ¶
func (*WindowManagerProxy) ReplaceContentOnDisplay ¶
func (p *WindowManagerProxy) ReplaceContentOnDisplay( ctx context.Context, displayId int32, sc SurfaceControl, ) (bool, error)
func (*WindowManagerProxy) RequestAppKeyboardShortcuts ¶
func (p *WindowManagerProxy) RequestAppKeyboardShortcuts( ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32, ) error
func (*WindowManagerProxy) RequestAssistScreenshot ¶
func (p *WindowManagerProxy) RequestAssistScreenshot( ctx context.Context, receiver types.IAssistDataReceiver, ) (bool, error)
func (*WindowManagerProxy) RequestImeKeyboardShortcuts ¶
func (p *WindowManagerProxy) RequestImeKeyboardShortcuts( ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32, ) error
func (*WindowManagerProxy) RequestScrollCapture ¶
func (p *WindowManagerProxy) RequestScrollCapture( ctx context.Context, displayId int32, behindClient binder.IBinder, taskId int32, listener IScrollCaptureResponseListener, ) error
func (*WindowManagerProxy) SaveWindowTraceToFile ¶
func (p *WindowManagerProxy) SaveWindowTraceToFile( ctx context.Context, ) error
func (*WindowManagerProxy) ScreenshotWallpaper ¶
func (*WindowManagerProxy) SetActiveTransactionTracing ¶
func (p *WindowManagerProxy) SetActiveTransactionTracing( ctx context.Context, active bool, ) error
func (*WindowManagerProxy) SetAnimationScale ¶
func (*WindowManagerProxy) SetAnimationScales ¶
func (p *WindowManagerProxy) SetAnimationScales( ctx context.Context, scales []float32, ) error
func (*WindowManagerProxy) SetDisplayChangeWindowController ¶
func (p *WindowManagerProxy) SetDisplayChangeWindowController( ctx context.Context, controller IDisplayChangeWindowController, ) error
func (*WindowManagerProxy) SetDisplayHashThrottlingEnabled ¶
func (p *WindowManagerProxy) SetDisplayHashThrottlingEnabled( ctx context.Context, enable bool, ) error
func (*WindowManagerProxy) SetDisplayImePolicy ¶
func (*WindowManagerProxy) SetDisplayWindowInsetsController ¶
func (p *WindowManagerProxy) SetDisplayWindowInsetsController( ctx context.Context, displayId int32, displayWindowInsetsController IDisplayWindowInsetsController, ) error
func (*WindowManagerProxy) SetEventDispatching ¶
func (p *WindowManagerProxy) SetEventDispatching( ctx context.Context, enabled bool, ) error
func (*WindowManagerProxy) SetFixedToUserRotation ¶
func (*WindowManagerProxy) SetForcedDisplayDensityForUser ¶
func (*WindowManagerProxy) SetForcedDisplayScalingMode ¶
func (*WindowManagerProxy) SetForcedDisplaySize ¶
func (*WindowManagerProxy) SetGlobalDragListener ¶
func (p *WindowManagerProxy) SetGlobalDragListener( ctx context.Context, listener androidWindow.IGlobalDragListener, ) error
func (*WindowManagerProxy) SetIgnoreOrientationRequest ¶
func (*WindowManagerProxy) SetInTouchMode ¶
func (*WindowManagerProxy) SetInTouchModeOnAllDisplays ¶
func (p *WindowManagerProxy) SetInTouchModeOnAllDisplays( ctx context.Context, inTouch bool, ) error
func (*WindowManagerProxy) SetLayerTracing ¶
func (p *WindowManagerProxy) SetLayerTracing( ctx context.Context, enabled bool, ) error
func (*WindowManagerProxy) SetLayerTracingFlags ¶
func (p *WindowManagerProxy) SetLayerTracingFlags( ctx context.Context, flags int32, ) error
func (*WindowManagerProxy) SetNavBarVirtualKeyHapticFeedbackEnabled ¶
func (p *WindowManagerProxy) SetNavBarVirtualKeyHapticFeedbackEnabled( ctx context.Context, enabled bool, ) error
func (*WindowManagerProxy) SetRecentsAppBehindSystemBars ¶
func (p *WindowManagerProxy) SetRecentsAppBehindSystemBars( ctx context.Context, behindSystemBars bool, ) error
func (*WindowManagerProxy) SetRecentsVisibility ¶
func (p *WindowManagerProxy) SetRecentsVisibility( ctx context.Context, visible bool, ) error
func (*WindowManagerProxy) SetRemoveContentMode ¶
func (*WindowManagerProxy) SetShellRootAccessibilityWindow ¶
func (*WindowManagerProxy) SetShouldShowSystemDecors ¶
func (*WindowManagerProxy) SetShouldShowWithInsecureKeyguard ¶
func (*WindowManagerProxy) SetStrictModeVisualIndicatorPreference ¶
func (p *WindowManagerProxy) SetStrictModeVisualIndicatorPreference( ctx context.Context, enabled string, ) error
func (*WindowManagerProxy) SetSwitchingUser ¶
func (p *WindowManagerProxy) SetSwitchingUser( ctx context.Context, switching bool, ) error
func (*WindowManagerProxy) SetTaskSnapshotEnabled ¶
func (p *WindowManagerProxy) SetTaskSnapshotEnabled( ctx context.Context, enabled bool, ) error
func (*WindowManagerProxy) SetTaskTransitionSpec ¶
func (p *WindowManagerProxy) SetTaskTransitionSpec( ctx context.Context, spec TaskTransitionSpec, ) error
func (*WindowManagerProxy) SetWindowingMode ¶
func (*WindowManagerProxy) ShouldShowSystemDecors ¶
func (*WindowManagerProxy) ShouldShowWithInsecureKeyguard ¶
func (*WindowManagerProxy) ShowGlobalActions ¶
func (p *WindowManagerProxy) ShowGlobalActions( ctx context.Context, ) error
func (*WindowManagerProxy) ShowStrictModeViolation ¶
func (p *WindowManagerProxy) ShowStrictModeViolation( ctx context.Context, on bool, ) error
func (*WindowManagerProxy) SnapshotTaskForRecents ¶
func (*WindowManagerProxy) StartFreezingScreen ¶
func (*WindowManagerProxy) StartTransitionTrace ¶
func (p *WindowManagerProxy) StartTransitionTrace( ctx context.Context, ) error
func (*WindowManagerProxy) StartViewServer ¶
func (*WindowManagerProxy) StartWindowTrace ¶
func (p *WindowManagerProxy) StartWindowTrace( ctx context.Context, ) error
func (*WindowManagerProxy) StopFreezingScreen ¶
func (p *WindowManagerProxy) StopFreezingScreen( ctx context.Context, ) error
func (*WindowManagerProxy) StopTransitionTrace ¶
func (p *WindowManagerProxy) StopTransitionTrace( ctx context.Context, ) error
func (*WindowManagerProxy) StopViewServer ¶
func (p *WindowManagerProxy) StopViewServer( ctx context.Context, ) (bool, error)
func (*WindowManagerProxy) StopWindowTrace ¶
func (p *WindowManagerProxy) StopWindowTrace( ctx context.Context, ) error
func (*WindowManagerProxy) SyncInputTransactions ¶
func (p *WindowManagerProxy) SyncInputTransactions( ctx context.Context, waitForAnimations bool, ) error
func (*WindowManagerProxy) ThawDisplayRotation ¶
func (*WindowManagerProxy) ThawRotation ¶
func (p *WindowManagerProxy) ThawRotation( ctx context.Context, caller string, ) error
func (*WindowManagerProxy) TransferTouchGesture ¶
func (p *WindowManagerProxy) TransferTouchGesture( ctx context.Context, transferFromToken androidWindow.InputTransferToken, transferToToken androidWindow.InputTransferToken, ) (bool, error)
func (*WindowManagerProxy) UnregisterCrossWindowBlurEnabledListener ¶
func (p *WindowManagerProxy) UnregisterCrossWindowBlurEnabledListener( ctx context.Context, listener ICrossWindowBlurEnabledListener, ) error
func (*WindowManagerProxy) UnregisterDecorViewGestureListener ¶
func (p *WindowManagerProxy) UnregisterDecorViewGestureListener( ctx context.Context, listener IDecorViewGestureListener, displayId int32, ) error
func (*WindowManagerProxy) UnregisterDisplayFoldListener ¶
func (p *WindowManagerProxy) UnregisterDisplayFoldListener( ctx context.Context, listener IDisplayFoldListener, ) error
func (*WindowManagerProxy) UnregisterDisplayWindowListener ¶
func (p *WindowManagerProxy) UnregisterDisplayWindowListener( ctx context.Context, listener IDisplayWindowListener, ) error
func (*WindowManagerProxy) UnregisterScreenRecordingCallback ¶
func (p *WindowManagerProxy) UnregisterScreenRecordingCallback( ctx context.Context, callback androidWindow.IScreenRecordingCallback, ) error
func (*WindowManagerProxy) UnregisterSystemGestureExclusionListener ¶
func (p *WindowManagerProxy) UnregisterSystemGestureExclusionListener( ctx context.Context, listener ISystemGestureExclusionListener, displayId int32, ) error
func (*WindowManagerProxy) UnregisterTaskFpsCallback ¶
func (p *WindowManagerProxy) UnregisterTaskFpsCallback( ctx context.Context, listener androidWindow.ITaskFpsCallback, ) error
func (*WindowManagerProxy) UnregisterTrustedPresentationListener ¶
func (p *WindowManagerProxy) UnregisterTrustedPresentationListener( ctx context.Context, listener androidWindow.ITrustedPresentationListener, id int32, ) error
func (*WindowManagerProxy) UnregisterWallpaperVisibilityListener ¶
func (p *WindowManagerProxy) UnregisterWallpaperVisibilityListener( ctx context.Context, listener IWallpaperVisibilityListener, displayId int32, ) error
func (*WindowManagerProxy) UpdateDisplayWindowRequestedVisibleTypes ¶
func (*WindowManagerProxy) UpdateStaticPrivacyIndicatorBounds ¶
func (*WindowManagerProxy) VerifyDisplayHash ¶
func (p *WindowManagerProxy) VerifyDisplayHash( ctx context.Context, displayHash displayhash.DisplayHash, ) (displayhash.VerifiedDisplayHash, error)
func (*WindowManagerProxy) WatchRotation ¶
func (p *WindowManagerProxy) WatchRotation( ctx context.Context, watcher IRotationWatcher, displayId int32, ) (int32, error)
type WindowManagerStub ¶
type WindowManagerStub struct {
Impl IWindowManager
Transport binder.VersionAwareTransport
}
WindowManagerStub dispatches incoming binder transactions to a typed IWindowManager implementation.
func (*WindowManagerStub) Descriptor ¶
func (s *WindowManagerStub) Descriptor() string
func (*WindowManagerStub) OnTransaction ¶
func (s *WindowManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowManagerTaskSnapshot ¶
type WindowManagerTaskSnapshot struct {
}
func (*WindowManagerTaskSnapshot) MarshalParcel ¶
func (s *WindowManagerTaskSnapshot) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowManagerTaskSnapshot) UnmarshalParcel ¶
func (s *WindowManagerTaskSnapshot) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowProxy ¶
func NewWindowProxy ¶
func NewWindowProxy( remote binder.IBinder, ) *WindowProxy
func (*WindowProxy) AsBinder ¶
func (p *WindowProxy) AsBinder() binder.IBinder
func (*WindowProxy) CloseSystemDialogs ¶
func (p *WindowProxy) CloseSystemDialogs( ctx context.Context, reason string, ) error
func (*WindowProxy) DispatchAppVisibility ¶
func (p *WindowProxy) DispatchAppVisibility( ctx context.Context, visible bool, ) error
func (*WindowProxy) DispatchDragEvent ¶
func (p *WindowProxy) DispatchDragEvent( ctx context.Context, event DragEvent, ) error
func (*WindowProxy) DispatchGetNewSurface ¶
func (p *WindowProxy) DispatchGetNewSurface( ctx context.Context, ) error
func (*WindowProxy) DispatchWallpaperCommand ¶
func (*WindowProxy) DispatchWallpaperOffsets ¶
func (*WindowProxy) DispatchWindowShown ¶
func (p *WindowProxy) DispatchWindowShown( ctx context.Context, ) error
func (*WindowProxy) ExecuteCommand ¶
func (*WindowProxy) HideInsets ¶
func (p *WindowProxy) HideInsets( ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken, ) error
func (*WindowProxy) InsetsControlChanged ¶
func (p *WindowProxy) InsetsControlChanged( ctx context.Context, insetsState InsetsState, activeControls []InsetsSourceControl, ) error
func (*WindowProxy) RequestAppKeyboardShortcuts ¶
func (p *WindowProxy) RequestAppKeyboardShortcuts( ctx context.Context, receiver internalOs.IResultReceiver, deviceId int32, ) error
func (*WindowProxy) RequestScrollCapture ¶
func (p *WindowProxy) RequestScrollCapture( ctx context.Context, callbacks IScrollCaptureResponseListener, ) error
func (*WindowProxy) Resized ¶
func (p *WindowProxy) Resized( ctx context.Context, frames window.ClientWindowFrames, reportDraw bool, newMergedConfiguration util.MergedConfiguration, insetsState InsetsState, forceLayout bool, alwaysConsumeSystemBars bool, displayId int32, syncSeqId int32, dragResizing bool, ) error
func (*WindowProxy) ShowInsets ¶
func (p *WindowProxy) ShowInsets( ctx context.Context, types int32, fromIme bool, statsToken *inputmethod.ImeTrackerToken, ) error
func (*WindowProxy) UpdatePointerIcon ¶
type WindowSessionCallbackProxy ¶
func NewWindowSessionCallbackProxy ¶
func NewWindowSessionCallbackProxy( remote binder.IBinder, ) *WindowSessionCallbackProxy
func (*WindowSessionCallbackProxy) AsBinder ¶
func (p *WindowSessionCallbackProxy) AsBinder() binder.IBinder
func (*WindowSessionCallbackProxy) OnAnimatorScaleChanged ¶
func (p *WindowSessionCallbackProxy) OnAnimatorScaleChanged( ctx context.Context, scale float32, ) error
type WindowSessionCallbackStub ¶
type WindowSessionCallbackStub struct {
Impl IWindowSessionCallback
Transport binder.VersionAwareTransport
}
WindowSessionCallbackStub dispatches incoming binder transactions to a typed IWindowSessionCallback implementation.
func (*WindowSessionCallbackStub) Descriptor ¶
func (s *WindowSessionCallbackStub) Descriptor() string
func (*WindowSessionCallbackStub) OnTransaction ¶
func (s *WindowSessionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowSessionProxy ¶
func NewWindowSessionProxy ¶
func NewWindowSessionProxy( remote binder.IBinder, ) *WindowSessionProxy
func (*WindowSessionProxy) AddToDisplay ¶
func (p *WindowSessionProxy) AddToDisplay( ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, requestedVisibleTypes int32, outInputChannel InputChannel, insetsState InsetsState, activeControls InsetsSourceControlArray, attachedFrame graphics.Rect, sizeCompatScale []float32, ) (int32, error)
func (*WindowSessionProxy) AddToDisplayAsUser ¶
func (p *WindowSessionProxy) AddToDisplayAsUser( ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, requestedVisibleTypes int32, outInputChannel InputChannel, insetsState InsetsState, activeControls InsetsSourceControlArray, attachedFrame graphics.Rect, sizeCompatScale []float32, ) (int32, error)
func (*WindowSessionProxy) AddToDisplayWithoutInputChannel ¶
func (p *WindowSessionProxy) AddToDisplayWithoutInputChannel( ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, viewVisibility int32, layerStackId int32, insetsState InsetsState, attachedFrame graphics.Rect, sizeCompatScale []float32, ) (int32, error)
func (*WindowSessionProxy) AsBinder ¶
func (p *WindowSessionProxy) AsBinder() binder.IBinder
func (*WindowSessionProxy) CancelDragAndDrop ¶
func (*WindowSessionProxy) CancelDraw ¶
func (*WindowSessionProxy) ClearTouchableRegion ¶
func (p *WindowSessionProxy) ClearTouchableRegion( ctx context.Context, window IWindow, ) error
func (*WindowSessionProxy) DragRecipientEntered ¶
func (p *WindowSessionProxy) DragRecipientEntered( ctx context.Context, window IWindow, ) error
func (*WindowSessionProxy) DragRecipientExited ¶
func (p *WindowSessionProxy) DragRecipientExited( ctx context.Context, window IWindow, ) error
func (*WindowSessionProxy) DropForAccessibility ¶
func (*WindowSessionProxy) FinishDrawing ¶
func (p *WindowSessionProxy) FinishDrawing( ctx context.Context, window IWindow, postDrawTransaction SurfaceControlTransaction, seqId int32, ) error
func (*WindowSessionProxy) FinishMovingTask ¶
func (p *WindowSessionProxy) FinishMovingTask( ctx context.Context, window IWindow, ) error
func (*WindowSessionProxy) GenerateDisplayHash ¶
func (p *WindowSessionProxy) GenerateDisplayHash( ctx context.Context, window IWindow, boundsInWindow graphics.Rect, hashAlgorithm string, callback os.RemoteCallback, ) error
func (*WindowSessionProxy) GetWindowId ¶
func (*WindowSessionProxy) GrantEmbeddedWindowFocus ¶
func (p *WindowSessionProxy) GrantEmbeddedWindowFocus( ctx context.Context, window IWindow, inputToken androidWindow.InputTransferToken, grantFocus bool, ) error
func (*WindowSessionProxy) GrantInputChannel ¶
func (p *WindowSessionProxy) GrantInputChannel( ctx context.Context, displayId int32, surface SurfaceControl, clientToken binder.IBinder, hostInputTransferToken *androidWindow.InputTransferToken, flags int32, privateFlags int32, inputFeatures int32, type_ int32, windowToken binder.IBinder, embeddedInputTransferToken androidWindow.InputTransferToken, inputHandleName string, outInputChannel InputChannel, ) error
func (*WindowSessionProxy) MoveFocusToAdjacentWindow ¶
func (*WindowSessionProxy) OnRectangleOnScreenRequested ¶
func (*WindowSessionProxy) OutOfMemory ¶
func (*WindowSessionProxy) PerformDrag ¶
func (p *WindowSessionProxy) PerformDrag( ctx context.Context, window IWindow, flags int32, surface SurfaceControl, touchSource int32, touchDeviceId int32, touchPointerId int32, touchX float32, touchY float32, thumbCenterX float32, thumbCenterY float32, data content.ClipData, ) (binder.IBinder, error)
func (*WindowSessionProxy) PerformHapticFeedback ¶
func (*WindowSessionProxy) PerformHapticFeedbackAsync ¶
func (*WindowSessionProxy) PokeDrawLock ¶
func (*WindowSessionProxy) Relayout ¶
func (p *WindowSessionProxy) Relayout( ctx context.Context, window IWindow, attrs WindowManagerLayoutParams, requestedWidth int32, requestedHeight int32, viewVisibility int32, flags int32, seq int32, lastSyncSeqId int32, outFrames androidWindow.ClientWindowFrames, outMergedConfiguration util.MergedConfiguration, outSurfaceControl SurfaceControl, insetsState InsetsState, activeControls InsetsSourceControlArray, bundle os.Bundle, ) (int32, error)
func (*WindowSessionProxy) RelayoutAsync ¶
func (*WindowSessionProxy) ReportDecorViewGestureInterceptionChanged ¶
func (*WindowSessionProxy) ReportDropResult ¶
func (*WindowSessionProxy) ReportKeepClearAreasChanged ¶
func (*WindowSessionProxy) ReportSystemGestureExclusionChanged ¶
func (*WindowSessionProxy) SendWallpaperCommand ¶
func (*WindowSessionProxy) SetOnBackInvokedCallbackInfo ¶
func (p *WindowSessionProxy) SetOnBackInvokedCallbackInfo( ctx context.Context, window IWindow, callbackInfo androidWindow.OnBackInvokedCallbackInfo, ) error
func (*WindowSessionProxy) SetShouldZoomOutWallpaper ¶
func (*WindowSessionProxy) SetWallpaperDisplayOffset ¶
func (*WindowSessionProxy) SetWallpaperPosition ¶
func (*WindowSessionProxy) SetWallpaperZoomOut ¶
func (*WindowSessionProxy) StartMovingTask ¶
func (*WindowSessionProxy) UpdateInputChannel ¶
func (*WindowSessionProxy) UpdatePointerIcon ¶
func (p *WindowSessionProxy) UpdatePointerIcon( ctx context.Context, window IWindow, ) error
func (*WindowSessionProxy) UpdateRequestedVisibleTypes ¶
func (*WindowSessionProxy) UpdateTapExcludeRegion ¶
func (*WindowSessionProxy) WallpaperCommandComplete ¶
func (*WindowSessionProxy) WallpaperOffsetsComplete ¶
type WindowSessionStub ¶
type WindowSessionStub struct {
Impl IWindowSession
Transport binder.VersionAwareTransport
}
WindowSessionStub dispatches incoming binder transactions to a typed IWindowSession implementation.
func (*WindowSessionStub) Descriptor ¶
func (s *WindowSessionStub) Descriptor() string
func (*WindowSessionStub) OnTransaction ¶
func (s *WindowSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowStub ¶
type WindowStub struct {
Impl IWindow
Transport binder.VersionAwareTransport
}
WindowStub dispatches incoming binder transactions to a typed IWindow implementation.
func (*WindowStub) Descriptor ¶
func (s *WindowStub) Descriptor() string
func (*WindowStub) OnTransaction ¶
func (s *WindowStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
Source Files
¶
- animationrenderstats.go
- apptransitionanimationspec.go
- contentrecordingsession.go
- display.mode.go
- displaycutout.parcelablewrapper.go
- displayinfo.go
- displayshape.go
- dragevent.go
- iapptransitionanimationspecsfuture.go
- icrosswindowblurenabledlistener.go
- idecorviewgesturelistener.go
- idisplaychangewindowcallback.go
- idisplaychangewindowcontroller.go
- idisplayfoldlistener.go
- idisplaywindowinsetscontroller.go
- idisplaywindowlistener.go
- idockedstacklistener.go
- igraphicsstats.go
- igraphicsstatscallback.go
- iinputfilter.go
- iinputfilterhost.go
- iinputmonitorhost.go
- inputchannel.go
- inputdevice.go
- inputevent.go
- inputmonitor.go
- insetssourcecontrol.array.go
- insetssourcecontrol.go
- insetsstate.go
- ionkeyguardexitresult.go
- ipinnedtasklistener.go
- irecentsanimationcontroller.go
- irecentsanimationrunner.go
- iremoteanimationfinishedcallback.go
- iremoteanimationrunner.go
- irotationwatcher.go
- iscrollcapturecallbacks.go
- iscrollcaptureconnection.go
- iscrollcaptureresponselistener.go
- isensitivecontentprotectionmanager.go
- isurfacecontrolviewhost.go
- isurfacecontrolviewhostparent.go
- isystemgestureexclusionlistener.go
- iwallpapervisibilitylistener.go
- iwindow.go
- iwindowfocusobserver.go
- iwindowid.go
- iwindowmanager.go
- iwindowsession.go
- iwindowsessioncallback.go
- keycharactermap.go
- keyevent.go
- layermetadatakey.go
- magnificationspec.go
- motionevent.go
- pointericon.go
- remoteanimationadapter.go
- remoteanimationdefinition.go
- remoteanimationtarget.go
- roundedcorners.go
- scrollcaptureresponse.go
- surface.go
- surfacecontrol.go
- surfacecontrol.transaction.go
- surfacecontrolviewhost.surfacepackage.go
- tasktransitionspec.go
- verifiedinputevent.go
- verifiedkeyevent.go
- verifiedmotionevent.go
- windowanimationframestats.go
- windowcontentframestats.go
- windowinfo.go
- windowmanager.layoutparams.go
- windowmanager.tasksnapshot.go