Documentation
¶
Index ¶
- Constants
- type AccessibilityInputMethodSessionCallbackProxy
- type AccessibilityInputMethodSessionCallbackStub
- type AccessibilityInputMethodSessionProxy
- func (p *AccessibilityInputMethodSessionProxy) AsBinder() binder.IBinder
- func (p *AccessibilityInputMethodSessionProxy) FinishInput(ctx context.Context) error
- func (p *AccessibilityInputMethodSessionProxy) FinishSession(ctx context.Context) error
- func (p *AccessibilityInputMethodSessionProxy) InvalidateInput(ctx context.Context, editorInfo viewInputmethod.EditorInfo, ...) error
- func (p *AccessibilityInputMethodSessionProxy) UpdateSelection(ctx context.Context, oldSelStart int32, oldSelEnd int32, newSelStart int32, ...) error
- type AccessibilityInputMethodSessionStub
- type BooleanListenerProxy
- type BooleanListenerStub
- type ConnectionlessHandwritingCallbackProxy
- type ConnectionlessHandwritingCallbackStub
- type IAccessibilityInputMethodSession
- type IAccessibilityInputMethodSessionCallback
- type IAccessibilityInputMethodSessionCallbackServer
- type IAccessibilityInputMethodSessionServer
- type IBooleanListener
- type IBooleanListenerServer
- type IConnectionlessHandwritingCallback
- type IConnectionlessHandwritingCallbackServer
- type IImeTracker
- type IImeTrackerServer
- type IInlineSuggestionsRequestCallback
- type IInlineSuggestionsRequestCallbackServer
- type IInlineSuggestionsResponseCallback
- type IInlineSuggestionsResponseCallbackServer
- type IInputContentUriToken
- type IInputContentUriTokenServer
- type IInputMethod
- type IInputMethodClient
- type IInputMethodClientServer
- type IInputMethodInitParams
- type IInputMethodPrivilegedOperations
- type IInputMethodPrivilegedOperationsServer
- type IInputMethodServer
- type IInputMethodSession
- type IInputMethodSessionCallback
- type IInputMethodSessionCallbackServer
- type IInputMethodSessionServer
- type IInputMethodStartInputParams
- type IRemoteAccessibilityInputConnection
- type IRemoteAccessibilityInputConnectionServer
- type IRemoteInputConnection
- type IRemoteInputConnectionServer
- type ImeTrackerProxy
- func (p *ImeTrackerProxy) AsBinder() binder.IBinder
- func (p *ImeTrackerProxy) HasPendingImeVisibilityRequests(ctx context.Context) (bool, error)
- func (p *ImeTrackerProxy) OnCancelled(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32) error
- func (p *ImeTrackerProxy) OnFailed(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32) error
- func (p *ImeTrackerProxy) OnHidden(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
- func (p *ImeTrackerProxy) OnProgress(ctx context.Context, binder_ binder.IBinder, phase int32) error
- func (p *ImeTrackerProxy) OnShown(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
- func (p *ImeTrackerProxy) OnStart(ctx context.Context, tag string, uid int32, type_ int32, origin int32, ...) (viewInputmethod.ImeTrackerToken, error)
- type ImeTrackerStub
- type InlineSuggestionsRequestCallbackProxy
- func (p *InlineSuggestionsRequestCallbackProxy) AsBinder() binder.IBinder
- func (p *InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsRequest(ctx context.Context, request viewInputmethod.InlineSuggestionsRequest, ...) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsSessionInvalidated(ctx context.Context) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsUnsupported(ctx context.Context) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodFinishInput(ctx context.Context) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodFinishInputView(ctx context.Context) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodShowInputRequested(ctx context.Context, requestResult bool) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInput(ctx context.Context, imeFieldId autofill.AutofillId) error
- func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInputView(ctx context.Context) error
- type InlineSuggestionsRequestCallbackStub
- type InlineSuggestionsRequestInfo
- type InlineSuggestionsResponseCallbackProxy
- type InlineSuggestionsResponseCallbackStub
- type InputBindResult
- type InputConnectionCommandHeader
- type InputContentUriTokenProxy
- type InputContentUriTokenStub
- type InputMethodClientProxy
- func (p *InputMethodClientProxy) AsBinder() binder.IBinder
- func (p *InputMethodClientProxy) OnBindAccessibilityService(ctx context.Context, res InputBindResult, id int32) error
- func (p *InputMethodClientProxy) OnBindMethod(ctx context.Context, res InputBindResult) error
- func (p *InputMethodClientProxy) OnStartInputResult(ctx context.Context, res InputBindResult, startInputSeq int32) error
- func (p *InputMethodClientProxy) OnUnbindAccessibilityService(ctx context.Context, sequence int32, id int32) error
- func (p *InputMethodClientProxy) OnUnbindMethod(ctx context.Context, sequence int32, unbindReason int32) error
- func (p *InputMethodClientProxy) ReportFullscreenMode(ctx context.Context, fullscreen bool) error
- func (p *InputMethodClientProxy) ScheduleStartInputIfNecessary(ctx context.Context, fullscreen bool) error
- func (p *InputMethodClientProxy) SetActive(ctx context.Context, active bool, fullscreen bool) error
- func (p *InputMethodClientProxy) SetImeTraceEnabled(ctx context.Context, enabled bool) error
- func (p *InputMethodClientProxy) SetInteractive(ctx context.Context, active bool, fullscreen bool) error
- func (p *InputMethodClientProxy) ThrowExceptionFromSystem(ctx context.Context, message string) error
- type InputMethodClientStub
- type InputMethodPrivilegedOperationsProxy
- func (p *InputMethodPrivilegedOperationsProxy) ApplyImeVisibilityAsync(ctx context.Context, showOrHideInputToken binder.IBinder, setVisible bool, ...) error
- func (p *InputMethodPrivilegedOperationsProxy) AsBinder() binder.IBinder
- func (p *InputMethodPrivilegedOperationsProxy) CreateInputContentUriToken(ctx context.Context, contentUri net.Uri, packageName string, ...) error
- func (p *InputMethodPrivilegedOperationsProxy) HideMySoftInput(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, ...) error
- func (p *InputMethodPrivilegedOperationsProxy) NotifyUserActionAsync(ctx context.Context) error
- func (p *InputMethodPrivilegedOperationsProxy) OnStylusHandwritingReady(ctx context.Context, requestId int32, pid int32) error
- func (p *InputMethodPrivilegedOperationsProxy) ReportFullscreenModeAsync(ctx context.Context, fullscreen bool) error
- func (p *InputMethodPrivilegedOperationsProxy) ReportStartInputAsync(ctx context.Context, startInputToken binder.IBinder) error
- func (p *InputMethodPrivilegedOperationsProxy) ResetStylusHandwriting(ctx context.Context, requestId int32) error
- func (p *InputMethodPrivilegedOperationsProxy) SetImeWindowStatusAsync(ctx context.Context, vis int32, backDisposition int32) error
- func (p *InputMethodPrivilegedOperationsProxy) SetInputMethod(ctx context.Context, id string, future infra.AndroidFuture) error
- func (p *InputMethodPrivilegedOperationsProxy) SetInputMethodAndSubtype(ctx context.Context, id string, subtype viewInputmethod.InputMethodSubtype, ...) error
- func (p *InputMethodPrivilegedOperationsProxy) ShouldOfferSwitchingToNextInputMethod(ctx context.Context, future infra.AndroidFuture) error
- func (p *InputMethodPrivilegedOperationsProxy) ShowMySoftInput(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, ...) error
- func (p *InputMethodPrivilegedOperationsProxy) SwitchKeyboardLayoutAsync(ctx context.Context, direction int32) error
- func (p *InputMethodPrivilegedOperationsProxy) SwitchToNextInputMethod(ctx context.Context, onlyCurrentIme bool, future infra.AndroidFuture) error
- func (p *InputMethodPrivilegedOperationsProxy) SwitchToPreviousInputMethod(ctx context.Context, future infra.AndroidFuture) error
- func (p *InputMethodPrivilegedOperationsProxy) UpdateStatusIconAsync(ctx context.Context, packageName string, iconId int32) error
- type InputMethodPrivilegedOperationsStub
- type InputMethodProxy
- func (p *InputMethodProxy) AsBinder() binder.IBinder
- func (p *InputMethodProxy) BindInput(ctx context.Context, binding viewInputmethod.InputBinding) error
- func (p *InputMethodProxy) CanStartStylusHandwriting(ctx context.Context, requestId int32, ...) error
- func (p *InputMethodProxy) ChangeInputMethodSubtype(ctx context.Context, subtype viewInputmethod.InputMethodSubtype) error
- func (p *InputMethodProxy) CommitHandwritingDelegationTextIfAvailable(ctx context.Context) error
- func (p *InputMethodProxy) CreateSession(ctx context.Context, channel view.InputChannel, ...) error
- func (p *InputMethodProxy) DiscardHandwritingDelegationText(ctx context.Context) error
- func (p *InputMethodProxy) FinishStylusHandwriting(ctx context.Context) error
- func (p *InputMethodProxy) HideSoftInput(ctx context.Context, hideInputToken binder.IBinder, ...) error
- func (p *InputMethodProxy) InitInkWindow(ctx context.Context) error
- func (p *InputMethodProxy) InitializeInternal(ctx context.Context, params IInputMethodInitParams) error
- func (p *InputMethodProxy) OnCreateInlineSuggestionsRequest(ctx context.Context, requestInfo InlineSuggestionsRequestInfo, ...) error
- func (p *InputMethodProxy) OnNavButtonFlagsChanged(ctx context.Context, navButtonFlags int32) error
- func (p *InputMethodProxy) RemoveStylusHandwritingWindow(ctx context.Context) error
- func (p *InputMethodProxy) SetSessionEnabled(ctx context.Context, session IInputMethodSession, enabled bool) error
- func (p *InputMethodProxy) SetStylusWindowIdleTimeoutForTest(ctx context.Context, timeout int64) error
- func (p *InputMethodProxy) ShowSoftInput(ctx context.Context, showInputToken binder.IBinder, ...) error
- func (p *InputMethodProxy) StartInput(ctx context.Context, params IInputMethodStartInputParams) error
- func (p *InputMethodProxy) StartStylusHandwriting(ctx context.Context, requestId int32, channel view.InputChannel, ...) error
- func (p *InputMethodProxy) UnbindInput(ctx context.Context) error
- func (p *InputMethodProxy) UpdateEditorToolType(ctx context.Context, toolType int32) error
- type InputMethodSessionCallbackProxy
- type InputMethodSessionCallbackStub
- type InputMethodSessionProxy
- func (p *InputMethodSessionProxy) AppPrivateCommand(ctx context.Context, action string, data os.Bundle) error
- func (p *InputMethodSessionProxy) AsBinder() binder.IBinder
- func (p *InputMethodSessionProxy) DisplayCompletions(ctx context.Context, completions []viewInputmethod.CompletionInfo) error
- func (p *InputMethodSessionProxy) FinishInput(ctx context.Context) error
- func (p *InputMethodSessionProxy) FinishSession(ctx context.Context) error
- func (p *InputMethodSessionProxy) InvalidateInput(ctx context.Context, editorInfo viewInputmethod.EditorInfo, ...) error
- func (p *InputMethodSessionProxy) RemoveImeSurface(ctx context.Context) error
- func (p *InputMethodSessionProxy) UpdateCursor(ctx context.Context, newCursor graphics.Rect) error
- func (p *InputMethodSessionProxy) UpdateCursorAnchorInfo(ctx context.Context, cursorAnchorInfo viewInputmethod.CursorAnchorInfo) error
- func (p *InputMethodSessionProxy) UpdateExtractedText(ctx context.Context, token int32, text viewInputmethod.ExtractedText) error
- func (p *InputMethodSessionProxy) UpdateSelection(ctx context.Context, oldSelStart int32, oldSelEnd int32, newSelStart int32, ...) error
- func (p *InputMethodSessionProxy) ViewClicked(ctx context.Context, focusChanged bool) error
- type InputMethodSessionStub
- type InputMethodStub
- type InputMethodSubtypeHandle
- type RemoteAccessibilityInputConnectionProxy
- func (p *RemoteAccessibilityInputConnectionProxy) AsBinder() binder.IBinder
- func (p *RemoteAccessibilityInputConnectionProxy) ClearMetaKeyStates(ctx context.Context, header InputConnectionCommandHeader, states int32) error
- func (p *RemoteAccessibilityInputConnectionProxy) CommitText(ctx context.Context, header InputConnectionCommandHeader, text string, ...) error
- func (p *RemoteAccessibilityInputConnectionProxy) DeleteSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, ...) error
- func (p *RemoteAccessibilityInputConnectionProxy) GetCursorCapsMode(ctx context.Context, header InputConnectionCommandHeader, reqModes int32, ...) error
- func (p *RemoteAccessibilityInputConnectionProxy) GetSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, ...) error
- func (p *RemoteAccessibilityInputConnectionProxy) PerformContextMenuAction(ctx context.Context, header InputConnectionCommandHeader, id int32) error
- func (p *RemoteAccessibilityInputConnectionProxy) PerformEditorAction(ctx context.Context, header InputConnectionCommandHeader, actionCode int32) error
- func (p *RemoteAccessibilityInputConnectionProxy) SendKeyEvent(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteAccessibilityInputConnectionProxy) SetSelection(ctx context.Context, header InputConnectionCommandHeader, start int32, ...) error
- type RemoteAccessibilityInputConnectionStub
- type RemoteInputConnectionProxy
- func (p *RemoteInputConnectionProxy) AsBinder() binder.IBinder
- func (p *RemoteInputConnectionProxy) BeginBatchEdit(ctx context.Context, header InputConnectionCommandHeader) error
- func (p *RemoteInputConnectionProxy) CancelCancellationSignal(ctx context.Context, token binder.IBinder) error
- func (p *RemoteInputConnectionProxy) ClearMetaKeyStates(ctx context.Context, header InputConnectionCommandHeader, states int32) error
- func (p *RemoteInputConnectionProxy) CommitCompletion(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) CommitContent(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) CommitCorrection(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) CommitText(ctx context.Context, header InputConnectionCommandHeader, text string, ...) error
- func (p *RemoteInputConnectionProxy) CommitTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text string, ...) error
- func (p *RemoteInputConnectionProxy) DeleteSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, ...) error
- func (p *RemoteInputConnectionProxy) DeleteSurroundingTextInCodePoints(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, ...) error
- func (p *RemoteInputConnectionProxy) EndBatchEdit(ctx context.Context, header InputConnectionCommandHeader) error
- func (p *RemoteInputConnectionProxy) FinishComposingText(ctx context.Context, header InputConnectionCommandHeader) error
- func (p *RemoteInputConnectionProxy) ForgetCancellationSignal(ctx context.Context, token binder.IBinder) error
- func (p *RemoteInputConnectionProxy) GetCursorCapsMode(ctx context.Context, header InputConnectionCommandHeader, reqModes int32, ...) error
- func (p *RemoteInputConnectionProxy) GetExtractedText(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) GetSelectedText(ctx context.Context, header InputConnectionCommandHeader, flags int32, ...) error
- func (p *RemoteInputConnectionProxy) GetSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, ...) error
- func (p *RemoteInputConnectionProxy) GetTextAfterCursor(ctx context.Context, header InputConnectionCommandHeader, length int32, ...) error
- func (p *RemoteInputConnectionProxy) GetTextBeforeCursor(ctx context.Context, header InputConnectionCommandHeader, length int32, ...) error
- func (p *RemoteInputConnectionProxy) PerformContextMenuAction(ctx context.Context, header InputConnectionCommandHeader, id int32) error
- func (p *RemoteInputConnectionProxy) PerformEditorAction(ctx context.Context, header InputConnectionCommandHeader, actionCode int32) error
- func (p *RemoteInputConnectionProxy) PerformHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) PerformPrivateCommand(ctx context.Context, header InputConnectionCommandHeader, action string, ...) error
- func (p *RemoteInputConnectionProxy) PerformSpellCheck(ctx context.Context, header InputConnectionCommandHeader) error
- func (p *RemoteInputConnectionProxy) PreviewHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) ReplaceText(ctx context.Context, header InputConnectionCommandHeader, start int32, ...) error
- func (p *RemoteInputConnectionProxy) RequestCursorUpdates(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) RequestCursorUpdatesWithFilter(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) RequestTextBoundsInfo(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) SendKeyEvent(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) SetComposingRegion(ctx context.Context, header InputConnectionCommandHeader, start int32, ...) error
- func (p *RemoteInputConnectionProxy) SetComposingRegionWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, start int32, ...) error
- func (p *RemoteInputConnectionProxy) SetComposingText(ctx context.Context, header InputConnectionCommandHeader, text string, ...) error
- func (p *RemoteInputConnectionProxy) SetComposingTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text string, ...) error
- func (p *RemoteInputConnectionProxy) SetImeConsumesInput(ctx context.Context, header InputConnectionCommandHeader, ...) error
- func (p *RemoteInputConnectionProxy) SetSelection(ctx context.Context, header InputConnectionCommandHeader, start int32, ...) error
- type RemoteInputConnectionStub
Constants ¶
const ( TransactionIAccessibilityInputMethodSessionUpdateSelection = binder.FirstCallTransaction + 0 TransactionIAccessibilityInputMethodSessionFinishInput = binder.FirstCallTransaction + 1 TransactionIAccessibilityInputMethodSessionFinishSession = binder.FirstCallTransaction + 2 TransactionIAccessibilityInputMethodSessionInvalidateInput = binder.FirstCallTransaction + 3 )
const ( MethodIAccessibilityInputMethodSessionUpdateSelection = "updateSelection" MethodIAccessibilityInputMethodSessionFinishInput = "finishInput" MethodIAccessibilityInputMethodSessionFinishSession = "finishSession" MethodIAccessibilityInputMethodSessionInvalidateInput = "invalidateInput" )
const ( TransactionIConnectionlessHandwritingCallbackOnResult = binder.FirstCallTransaction + 0 TransactionIConnectionlessHandwritingCallbackOnError = binder.FirstCallTransaction + 1 )
const ( MethodIConnectionlessHandwritingCallbackOnResult = "onResult" MethodIConnectionlessHandwritingCallbackOnError = "onError" )
const ( TransactionIImeTrackerOnStart = binder.FirstCallTransaction + 0 TransactionIImeTrackerOnProgress = binder.FirstCallTransaction + 1 TransactionIImeTrackerOnFailed = binder.FirstCallTransaction + 2 TransactionIImeTrackerOnCancelled = binder.FirstCallTransaction + 3 TransactionIImeTrackerOnShown = binder.FirstCallTransaction + 4 TransactionIImeTrackerOnHidden = binder.FirstCallTransaction + 5 TransactionIImeTrackerHasPendingImeVisibilityRequests = binder.FirstCallTransaction + 6 )
const ( MethodIImeTrackerOnStart = "onStart" MethodIImeTrackerOnProgress = "onProgress" MethodIImeTrackerOnFailed = "onFailed" MethodIImeTrackerOnCancelled = "onCancelled" MethodIImeTrackerOnShown = "onShown" MethodIImeTrackerOnHidden = "onHidden" MethodIImeTrackerHasPendingImeVisibilityRequests = "hasPendingImeVisibilityRequests" )
const ( TransactionIInlineSuggestionsRequestCallbackOnInlineSuggestionsUnsupported = binder.FirstCallTransaction + 0 TransactionIInlineSuggestionsRequestCallbackOnInlineSuggestionsRequest = binder.FirstCallTransaction + 1 TransactionIInlineSuggestionsRequestCallbackOnInputMethodStartInput = binder.FirstCallTransaction + 2 TransactionIInlineSuggestionsRequestCallbackOnInputMethodShowInputRequested = binder.FirstCallTransaction + 3 TransactionIInlineSuggestionsRequestCallbackOnInputMethodStartInputView = binder.FirstCallTransaction + 4 TransactionIInlineSuggestionsRequestCallbackOnInputMethodFinishInputView = binder.FirstCallTransaction + 5 TransactionIInlineSuggestionsRequestCallbackOnInputMethodFinishInput = binder.FirstCallTransaction + 6 TransactionIInlineSuggestionsRequestCallbackOnInlineSuggestionsSessionInvalidated = binder.FirstCallTransaction + 7 )
const ( MethodIInlineSuggestionsRequestCallbackOnInlineSuggestionsUnsupported = "onInlineSuggestionsUnsupported" MethodIInlineSuggestionsRequestCallbackOnInlineSuggestionsRequest = "onInlineSuggestionsRequest" MethodIInlineSuggestionsRequestCallbackOnInputMethodStartInput = "onInputMethodStartInput" MethodIInlineSuggestionsRequestCallbackOnInputMethodShowInputRequested = "onInputMethodShowInputRequested" MethodIInlineSuggestionsRequestCallbackOnInputMethodStartInputView = "onInputMethodStartInputView" MethodIInlineSuggestionsRequestCallbackOnInputMethodFinishInputView = "onInputMethodFinishInputView" MethodIInlineSuggestionsRequestCallbackOnInputMethodFinishInput = "onInputMethodFinishInput" MethodIInlineSuggestionsRequestCallbackOnInlineSuggestionsSessionInvalidated = "onInlineSuggestionsSessionInvalidated" )
const ( TransactionIInputContentUriTokenTake = binder.FirstCallTransaction + 0 TransactionIInputContentUriTokenRelease = binder.FirstCallTransaction + 1 )
const ( MethodIInputContentUriTokenTake = "take" MethodIInputContentUriTokenRelease = "release" )
const ( TransactionIInputMethodInitializeInternal = binder.FirstCallTransaction + 0 TransactionIInputMethodOnCreateInlineSuggestionsRequest = binder.FirstCallTransaction + 1 TransactionIInputMethodBindInput = binder.FirstCallTransaction + 2 TransactionIInputMethodUnbindInput = binder.FirstCallTransaction + 3 TransactionIInputMethodStartInput = binder.FirstCallTransaction + 4 TransactionIInputMethodCreateSession = binder.FirstCallTransaction + 6 TransactionIInputMethodSetSessionEnabled = binder.FirstCallTransaction + 7 TransactionIInputMethodShowSoftInput = binder.FirstCallTransaction + 8 TransactionIInputMethodHideSoftInput = binder.FirstCallTransaction + 9 TransactionIInputMethodUpdateEditorToolType = binder.FirstCallTransaction + 10 TransactionIInputMethodChangeInputMethodSubtype = binder.FirstCallTransaction + 11 TransactionIInputMethodCanStartStylusHandwriting = binder.FirstCallTransaction + 12 TransactionIInputMethodStartStylusHandwriting = binder.FirstCallTransaction + 13 TransactionIInputMethodCommitHandwritingDelegationTextIfAvailable = binder.FirstCallTransaction + 14 TransactionIInputMethodDiscardHandwritingDelegationText = binder.FirstCallTransaction + 15 TransactionIInputMethodInitInkWindow = binder.FirstCallTransaction + 16 TransactionIInputMethodFinishStylusHandwriting = binder.FirstCallTransaction + 17 TransactionIInputMethodRemoveStylusHandwritingWindow = binder.FirstCallTransaction + 18 TransactionIInputMethodSetStylusWindowIdleTimeoutForTest = binder.FirstCallTransaction + 19 )
const ( MethodIInputMethodInitializeInternal = "initializeInternal" MethodIInputMethodOnCreateInlineSuggestionsRequest = "onCreateInlineSuggestionsRequest" MethodIInputMethodBindInput = "bindInput" MethodIInputMethodUnbindInput = "unbindInput" MethodIInputMethodStartInput = "startInput" MethodIInputMethodCreateSession = "createSession" MethodIInputMethodSetSessionEnabled = "setSessionEnabled" MethodIInputMethodShowSoftInput = "showSoftInput" MethodIInputMethodHideSoftInput = "hideSoftInput" MethodIInputMethodUpdateEditorToolType = "updateEditorToolType" MethodIInputMethodChangeInputMethodSubtype = "changeInputMethodSubtype" MethodIInputMethodCanStartStylusHandwriting = "canStartStylusHandwriting" MethodIInputMethodStartStylusHandwriting = "startStylusHandwriting" MethodIInputMethodCommitHandwritingDelegationTextIfAvailable = "commitHandwritingDelegationTextIfAvailable" MethodIInputMethodDiscardHandwritingDelegationText = "discardHandwritingDelegationText" MethodIInputMethodInitInkWindow = "initInkWindow" MethodIInputMethodFinishStylusHandwriting = "finishStylusHandwriting" MethodIInputMethodRemoveStylusHandwritingWindow = "removeStylusHandwritingWindow" MethodIInputMethodSetStylusWindowIdleTimeoutForTest = "setStylusWindowIdleTimeoutForTest" )
const ( TransactionIInputMethodClientOnBindMethod = binder.FirstCallTransaction + 0 TransactionIInputMethodClientOnStartInputResult = binder.FirstCallTransaction + 1 TransactionIInputMethodClientOnBindAccessibilityService = binder.FirstCallTransaction + 2 TransactionIInputMethodClientOnUnbindMethod = binder.FirstCallTransaction + 3 TransactionIInputMethodClientOnUnbindAccessibilityService = binder.FirstCallTransaction + 4 TransactionIInputMethodClientSetActive = binder.FirstCallTransaction + 5 TransactionIInputMethodClientSetInteractive = binder.FirstCallTransaction + 6 TransactionIInputMethodClientScheduleStartInputIfNecessary = binder.FirstCallTransaction + 7 TransactionIInputMethodClientReportFullscreenMode = binder.FirstCallTransaction + 8 TransactionIInputMethodClientSetImeTraceEnabled = binder.FirstCallTransaction + 9 TransactionIInputMethodClientThrowExceptionFromSystem = binder.FirstCallTransaction + 10 )
const ( MethodIInputMethodClientOnBindMethod = "onBindMethod" MethodIInputMethodClientOnStartInputResult = "onStartInputResult" MethodIInputMethodClientOnBindAccessibilityService = "onBindAccessibilityService" MethodIInputMethodClientOnUnbindMethod = "onUnbindMethod" MethodIInputMethodClientOnUnbindAccessibilityService = "onUnbindAccessibilityService" MethodIInputMethodClientSetActive = "setActive" MethodIInputMethodClientSetInteractive = "setInteractive" MethodIInputMethodClientScheduleStartInputIfNecessary = "scheduleStartInputIfNecessary" MethodIInputMethodClientReportFullscreenMode = "reportFullscreenMode" MethodIInputMethodClientSetImeTraceEnabled = "setImeTraceEnabled" MethodIInputMethodClientThrowExceptionFromSystem = "throwExceptionFromSystem" )
const ( TransactionIInputMethodPrivilegedOperationsSetImeWindowStatusAsync = binder.FirstCallTransaction + 0 TransactionIInputMethodPrivilegedOperationsReportStartInputAsync = binder.FirstCallTransaction + 1 TransactionIInputMethodPrivilegedOperationsCreateInputContentUriToken = binder.FirstCallTransaction + 2 TransactionIInputMethodPrivilegedOperationsReportFullscreenModeAsync = binder.FirstCallTransaction + 3 TransactionIInputMethodPrivilegedOperationsSetInputMethod = binder.FirstCallTransaction + 4 TransactionIInputMethodPrivilegedOperationsSetInputMethodAndSubtype = binder.FirstCallTransaction + 5 TransactionIInputMethodPrivilegedOperationsHideMySoftInput = binder.FirstCallTransaction + 6 TransactionIInputMethodPrivilegedOperationsShowMySoftInput = binder.FirstCallTransaction + 7 TransactionIInputMethodPrivilegedOperationsUpdateStatusIconAsync = binder.FirstCallTransaction + 8 TransactionIInputMethodPrivilegedOperationsSwitchToPreviousInputMethod = binder.FirstCallTransaction + 9 TransactionIInputMethodPrivilegedOperationsSwitchToNextInputMethod = binder.FirstCallTransaction + 10 TransactionIInputMethodPrivilegedOperationsShouldOfferSwitchingToNextInputMethod = binder.FirstCallTransaction + 11 TransactionIInputMethodPrivilegedOperationsNotifyUserActionAsync = binder.FirstCallTransaction + 12 TransactionIInputMethodPrivilegedOperationsApplyImeVisibilityAsync = binder.FirstCallTransaction + 13 TransactionIInputMethodPrivilegedOperationsOnStylusHandwritingReady = binder.FirstCallTransaction + 14 TransactionIInputMethodPrivilegedOperationsResetStylusHandwriting = binder.FirstCallTransaction + 15 TransactionIInputMethodPrivilegedOperationsSwitchKeyboardLayoutAsync = binder.FirstCallTransaction + 16 )
const ( MethodIInputMethodPrivilegedOperationsSetImeWindowStatusAsync = "setImeWindowStatusAsync" MethodIInputMethodPrivilegedOperationsReportStartInputAsync = "reportStartInputAsync" MethodIInputMethodPrivilegedOperationsCreateInputContentUriToken = "createInputContentUriToken" MethodIInputMethodPrivilegedOperationsReportFullscreenModeAsync = "reportFullscreenModeAsync" MethodIInputMethodPrivilegedOperationsSetInputMethod = "setInputMethod" MethodIInputMethodPrivilegedOperationsSetInputMethodAndSubtype = "setInputMethodAndSubtype" MethodIInputMethodPrivilegedOperationsHideMySoftInput = "hideMySoftInput" MethodIInputMethodPrivilegedOperationsShowMySoftInput = "showMySoftInput" MethodIInputMethodPrivilegedOperationsUpdateStatusIconAsync = "updateStatusIconAsync" MethodIInputMethodPrivilegedOperationsSwitchToPreviousInputMethod = "switchToPreviousInputMethod" MethodIInputMethodPrivilegedOperationsSwitchToNextInputMethod = "switchToNextInputMethod" MethodIInputMethodPrivilegedOperationsShouldOfferSwitchingToNextInputMethod = "shouldOfferSwitchingToNextInputMethod" MethodIInputMethodPrivilegedOperationsNotifyUserActionAsync = "notifyUserActionAsync" MethodIInputMethodPrivilegedOperationsApplyImeVisibilityAsync = "applyImeVisibilityAsync" MethodIInputMethodPrivilegedOperationsOnStylusHandwritingReady = "onStylusHandwritingReady" MethodIInputMethodPrivilegedOperationsResetStylusHandwriting = "resetStylusHandwriting" MethodIInputMethodPrivilegedOperationsSwitchKeyboardLayoutAsync = "switchKeyboardLayoutAsync" )
const ( TransactionIInputMethodSessionUpdateExtractedText = binder.FirstCallTransaction + 0 TransactionIInputMethodSessionUpdateSelection = binder.FirstCallTransaction + 1 TransactionIInputMethodSessionViewClicked = binder.FirstCallTransaction + 2 TransactionIInputMethodSessionUpdateCursor = binder.FirstCallTransaction + 3 TransactionIInputMethodSessionDisplayCompletions = binder.FirstCallTransaction + 4 TransactionIInputMethodSessionAppPrivateCommand = binder.FirstCallTransaction + 5 TransactionIInputMethodSessionFinishSession = binder.FirstCallTransaction + 6 TransactionIInputMethodSessionUpdateCursorAnchorInfo = binder.FirstCallTransaction + 7 TransactionIInputMethodSessionRemoveImeSurface = binder.FirstCallTransaction + 8 TransactionIInputMethodSessionFinishInput = binder.FirstCallTransaction + 9 TransactionIInputMethodSessionInvalidateInput = binder.FirstCallTransaction + 10 )
const ( MethodIInputMethodSessionUpdateExtractedText = "updateExtractedText" MethodIInputMethodSessionUpdateSelection = "updateSelection" MethodIInputMethodSessionViewClicked = "viewClicked" MethodIInputMethodSessionUpdateCursor = "updateCursor" MethodIInputMethodSessionDisplayCompletions = "displayCompletions" MethodIInputMethodSessionAppPrivateCommand = "appPrivateCommand" MethodIInputMethodSessionFinishSession = "finishSession" MethodIInputMethodSessionUpdateCursorAnchorInfo = "updateCursorAnchorInfo" MethodIInputMethodSessionRemoveImeSurface = "removeImeSurface" MethodIInputMethodSessionFinishInput = "finishInput" MethodIInputMethodSessionInvalidateInput = "invalidateInput" )
const ( TransactionIRemoteAccessibilityInputConnectionCommitText = binder.FirstCallTransaction + 0 TransactionIRemoteAccessibilityInputConnectionSetSelection = binder.FirstCallTransaction + 1 TransactionIRemoteAccessibilityInputConnectionGetSurroundingText = binder.FirstCallTransaction + 2 TransactionIRemoteAccessibilityInputConnectionDeleteSurroundingText = binder.FirstCallTransaction + 3 TransactionIRemoteAccessibilityInputConnectionSendKeyEvent = binder.FirstCallTransaction + 4 TransactionIRemoteAccessibilityInputConnectionPerformEditorAction = binder.FirstCallTransaction + 5 TransactionIRemoteAccessibilityInputConnectionPerformContextMenuAction = binder.FirstCallTransaction + 6 TransactionIRemoteAccessibilityInputConnectionGetCursorCapsMode = binder.FirstCallTransaction + 7 TransactionIRemoteAccessibilityInputConnectionClearMetaKeyStates = binder.FirstCallTransaction + 8 )
const ( MethodIRemoteAccessibilityInputConnectionCommitText = "commitText" MethodIRemoteAccessibilityInputConnectionSetSelection = "setSelection" MethodIRemoteAccessibilityInputConnectionGetSurroundingText = "getSurroundingText" MethodIRemoteAccessibilityInputConnectionDeleteSurroundingText = "deleteSurroundingText" MethodIRemoteAccessibilityInputConnectionSendKeyEvent = "sendKeyEvent" MethodIRemoteAccessibilityInputConnectionPerformEditorAction = "performEditorAction" MethodIRemoteAccessibilityInputConnectionPerformContextMenuAction = "performContextMenuAction" MethodIRemoteAccessibilityInputConnectionGetCursorCapsMode = "getCursorCapsMode" MethodIRemoteAccessibilityInputConnectionClearMetaKeyStates = "clearMetaKeyStates" )
const ( TransactionIRemoteInputConnectionGetTextBeforeCursor = binder.FirstCallTransaction + 0 TransactionIRemoteInputConnectionGetTextAfterCursor = binder.FirstCallTransaction + 1 TransactionIRemoteInputConnectionGetCursorCapsMode = binder.FirstCallTransaction + 2 TransactionIRemoteInputConnectionGetExtractedText = binder.FirstCallTransaction + 3 TransactionIRemoteInputConnectionDeleteSurroundingText = binder.FirstCallTransaction + 4 TransactionIRemoteInputConnectionDeleteSurroundingTextInCodePoints = binder.FirstCallTransaction + 5 TransactionIRemoteInputConnectionSetComposingText = binder.FirstCallTransaction + 6 TransactionIRemoteInputConnectionSetComposingTextWithTextAttribute = binder.FirstCallTransaction + 7 TransactionIRemoteInputConnectionFinishComposingText = binder.FirstCallTransaction + 8 TransactionIRemoteInputConnectionCommitText = binder.FirstCallTransaction + 9 TransactionIRemoteInputConnectionCommitTextWithTextAttribute = binder.FirstCallTransaction + 10 TransactionIRemoteInputConnectionCommitCompletion = binder.FirstCallTransaction + 11 TransactionIRemoteInputConnectionCommitCorrection = binder.FirstCallTransaction + 12 TransactionIRemoteInputConnectionSetSelection = binder.FirstCallTransaction + 13 TransactionIRemoteInputConnectionPerformEditorAction = binder.FirstCallTransaction + 14 TransactionIRemoteInputConnectionPerformContextMenuAction = binder.FirstCallTransaction + 15 TransactionIRemoteInputConnectionBeginBatchEdit = binder.FirstCallTransaction + 16 TransactionIRemoteInputConnectionEndBatchEdit = binder.FirstCallTransaction + 17 TransactionIRemoteInputConnectionSendKeyEvent = binder.FirstCallTransaction + 18 TransactionIRemoteInputConnectionClearMetaKeyStates = binder.FirstCallTransaction + 19 TransactionIRemoteInputConnectionPerformSpellCheck = binder.FirstCallTransaction + 20 TransactionIRemoteInputConnectionPerformPrivateCommand = binder.FirstCallTransaction + 21 TransactionIRemoteInputConnectionPerformHandwritingGesture = binder.FirstCallTransaction + 22 TransactionIRemoteInputConnectionPreviewHandwritingGesture = binder.FirstCallTransaction + 23 TransactionIRemoteInputConnectionSetComposingRegion = binder.FirstCallTransaction + 24 TransactionIRemoteInputConnectionSetComposingRegionWithTextAttribute = binder.FirstCallTransaction + 25 TransactionIRemoteInputConnectionGetSelectedText = binder.FirstCallTransaction + 26 TransactionIRemoteInputConnectionRequestCursorUpdates = binder.FirstCallTransaction + 27 TransactionIRemoteInputConnectionRequestCursorUpdatesWithFilter = binder.FirstCallTransaction + 28 TransactionIRemoteInputConnectionRequestTextBoundsInfo = binder.FirstCallTransaction + 29 TransactionIRemoteInputConnectionCommitContent = binder.FirstCallTransaction + 30 TransactionIRemoteInputConnectionGetSurroundingText = binder.FirstCallTransaction + 31 TransactionIRemoteInputConnectionSetImeConsumesInput = binder.FirstCallTransaction + 32 TransactionIRemoteInputConnectionReplaceText = binder.FirstCallTransaction + 33 TransactionIRemoteInputConnectionCancelCancellationSignal = binder.FirstCallTransaction + 34 TransactionIRemoteInputConnectionForgetCancellationSignal = binder.FirstCallTransaction + 35 )
const ( MethodIRemoteInputConnectionGetTextBeforeCursor = "getTextBeforeCursor" MethodIRemoteInputConnectionGetTextAfterCursor = "getTextAfterCursor" MethodIRemoteInputConnectionGetCursorCapsMode = "getCursorCapsMode" MethodIRemoteInputConnectionGetExtractedText = "getExtractedText" MethodIRemoteInputConnectionDeleteSurroundingText = "deleteSurroundingText" MethodIRemoteInputConnectionDeleteSurroundingTextInCodePoints = "deleteSurroundingTextInCodePoints" MethodIRemoteInputConnectionSetComposingText = "setComposingText" MethodIRemoteInputConnectionSetComposingTextWithTextAttribute = "setComposingTextWithTextAttribute" MethodIRemoteInputConnectionFinishComposingText = "finishComposingText" MethodIRemoteInputConnectionCommitText = "commitText" MethodIRemoteInputConnectionCommitTextWithTextAttribute = "commitTextWithTextAttribute" MethodIRemoteInputConnectionCommitCompletion = "commitCompletion" MethodIRemoteInputConnectionCommitCorrection = "commitCorrection" MethodIRemoteInputConnectionSetSelection = "setSelection" MethodIRemoteInputConnectionPerformEditorAction = "performEditorAction" MethodIRemoteInputConnectionPerformContextMenuAction = "performContextMenuAction" MethodIRemoteInputConnectionBeginBatchEdit = "beginBatchEdit" MethodIRemoteInputConnectionEndBatchEdit = "endBatchEdit" MethodIRemoteInputConnectionSendKeyEvent = "sendKeyEvent" MethodIRemoteInputConnectionClearMetaKeyStates = "clearMetaKeyStates" MethodIRemoteInputConnectionPerformSpellCheck = "performSpellCheck" MethodIRemoteInputConnectionPerformPrivateCommand = "performPrivateCommand" MethodIRemoteInputConnectionPerformHandwritingGesture = "performHandwritingGesture" MethodIRemoteInputConnectionPreviewHandwritingGesture = "previewHandwritingGesture" MethodIRemoteInputConnectionSetComposingRegion = "setComposingRegion" MethodIRemoteInputConnectionSetComposingRegionWithTextAttribute = "setComposingRegionWithTextAttribute" MethodIRemoteInputConnectionGetSelectedText = "getSelectedText" MethodIRemoteInputConnectionRequestCursorUpdates = "requestCursorUpdates" MethodIRemoteInputConnectionRequestCursorUpdatesWithFilter = "requestCursorUpdatesWithFilter" MethodIRemoteInputConnectionRequestTextBoundsInfo = "requestTextBoundsInfo" MethodIRemoteInputConnectionCommitContent = "commitContent" MethodIRemoteInputConnectionGetSurroundingText = "getSurroundingText" MethodIRemoteInputConnectionSetImeConsumesInput = "setImeConsumesInput" MethodIRemoteInputConnectionReplaceText = "replaceText" MethodIRemoteInputConnectionCancelCancellationSignal = "cancelCancellationSignal" MethodIRemoteInputConnectionForgetCancellationSignal = "forgetCancellationSignal" )
const DescriptorIAccessibilityInputMethodSession = "com.android.internal.inputmethod.IAccessibilityInputMethodSession"
const DescriptorIAccessibilityInputMethodSessionCallback = "com.android.internal.inputmethod.IAccessibilityInputMethodSessionCallback"
const DescriptorIBooleanListener = "com.android.internal.inputmethod.IBooleanListener"
const DescriptorIConnectionlessHandwritingCallback = "com.android.internal.inputmethod.IConnectionlessHandwritingCallback"
const DescriptorIImeTracker = "com.android.internal.inputmethod.IImeTracker"
const DescriptorIInlineSuggestionsRequestCallback = "com.android.internal.inputmethod.IInlineSuggestionsRequestCallback"
const DescriptorIInlineSuggestionsResponseCallback = "com.android.internal.inputmethod.IInlineSuggestionsResponseCallback"
const DescriptorIInputContentUriToken = "com.android.internal.inputmethod.IInputContentUriToken"
const DescriptorIInputMethod = "com.android.internal.inputmethod.IInputMethod"
const DescriptorIInputMethodClient = "com.android.internal.inputmethod.IInputMethodClient"
const DescriptorIInputMethodPrivilegedOperations = "com.android.internal.inputmethod.IInputMethodPrivilegedOperations"
const DescriptorIInputMethodSession = "com.android.internal.inputmethod.IInputMethodSession"
const DescriptorIInputMethodSessionCallback = "com.android.internal.inputmethod.IInputMethodSessionCallback"
const DescriptorIRemoteAccessibilityInputConnection = "com.android.internal.inputmethod.IRemoteAccessibilityInputConnection"
const DescriptorIRemoteInputConnection = "com.android.internal.inputmethod.IRemoteInputConnection"
const (
MethodIAccessibilityInputMethodSessionCallbackSessionCreated = "sessionCreated"
)
const (
MethodIBooleanListenerOnResult = "onResult"
)
const (
MethodIInlineSuggestionsResponseCallbackOnInlineSuggestionsResponse = "onInlineSuggestionsResponse"
)
const (
MethodIInputMethodSessionCallbackSessionCreated = "sessionCreated"
)
const (
TransactionIAccessibilityInputMethodSessionCallbackSessionCreated = binder.FirstCallTransaction + 0
)
const (
TransactionIBooleanListenerOnResult = binder.FirstCallTransaction + 0
)
const (
TransactionIInlineSuggestionsResponseCallbackOnInlineSuggestionsResponse = binder.FirstCallTransaction + 0
)
const (
TransactionIInputMethodSessionCallbackSessionCreated = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessibilityInputMethodSessionCallbackProxy ¶
func NewAccessibilityInputMethodSessionCallbackProxy ¶
func NewAccessibilityInputMethodSessionCallbackProxy( remote binder.IBinder, ) *AccessibilityInputMethodSessionCallbackProxy
func (*AccessibilityInputMethodSessionCallbackProxy) AsBinder ¶
func (p *AccessibilityInputMethodSessionCallbackProxy) AsBinder() binder.IBinder
func (*AccessibilityInputMethodSessionCallbackProxy) SessionCreated ¶
func (p *AccessibilityInputMethodSessionCallbackProxy) SessionCreated( ctx context.Context, session IAccessibilityInputMethodSession, id int32, ) error
type AccessibilityInputMethodSessionCallbackStub ¶
type AccessibilityInputMethodSessionCallbackStub struct {
Impl IAccessibilityInputMethodSessionCallback
Transport binder.VersionAwareTransport
}
AccessibilityInputMethodSessionCallbackStub dispatches incoming binder transactions to a typed IAccessibilityInputMethodSessionCallback implementation.
func (*AccessibilityInputMethodSessionCallbackStub) Descriptor ¶
func (s *AccessibilityInputMethodSessionCallbackStub) Descriptor() string
func (*AccessibilityInputMethodSessionCallbackStub) OnTransaction ¶
func (s *AccessibilityInputMethodSessionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type AccessibilityInputMethodSessionProxy ¶
func NewAccessibilityInputMethodSessionProxy ¶
func NewAccessibilityInputMethodSessionProxy( remote binder.IBinder, ) *AccessibilityInputMethodSessionProxy
func (*AccessibilityInputMethodSessionProxy) AsBinder ¶
func (p *AccessibilityInputMethodSessionProxy) AsBinder() binder.IBinder
func (*AccessibilityInputMethodSessionProxy) FinishInput ¶
func (p *AccessibilityInputMethodSessionProxy) FinishInput( ctx context.Context, ) error
func (*AccessibilityInputMethodSessionProxy) FinishSession ¶
func (p *AccessibilityInputMethodSessionProxy) FinishSession( ctx context.Context, ) error
func (*AccessibilityInputMethodSessionProxy) InvalidateInput ¶
func (p *AccessibilityInputMethodSessionProxy) InvalidateInput( ctx context.Context, editorInfo viewInputmethod.EditorInfo, connection IRemoteAccessibilityInputConnection, sessionId int32, ) error
type AccessibilityInputMethodSessionStub ¶
type AccessibilityInputMethodSessionStub struct {
Impl IAccessibilityInputMethodSession
Transport binder.VersionAwareTransport
}
AccessibilityInputMethodSessionStub dispatches incoming binder transactions to a typed IAccessibilityInputMethodSession implementation.
func (*AccessibilityInputMethodSessionStub) Descriptor ¶
func (s *AccessibilityInputMethodSessionStub) Descriptor() string
func (*AccessibilityInputMethodSessionStub) OnTransaction ¶
func (s *AccessibilityInputMethodSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BooleanListenerProxy ¶
func NewBooleanListenerProxy ¶
func NewBooleanListenerProxy( remote binder.IBinder, ) *BooleanListenerProxy
func (*BooleanListenerProxy) AsBinder ¶
func (p *BooleanListenerProxy) AsBinder() binder.IBinder
type BooleanListenerStub ¶
type BooleanListenerStub struct {
Impl IBooleanListener
Transport binder.VersionAwareTransport
}
BooleanListenerStub dispatches incoming binder transactions to a typed IBooleanListener implementation.
func (*BooleanListenerStub) Descriptor ¶
func (s *BooleanListenerStub) Descriptor() string
func (*BooleanListenerStub) OnTransaction ¶
func (s *BooleanListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ConnectionlessHandwritingCallbackProxy ¶
func NewConnectionlessHandwritingCallbackProxy ¶
func NewConnectionlessHandwritingCallbackProxy( remote binder.IBinder, ) *ConnectionlessHandwritingCallbackProxy
func (*ConnectionlessHandwritingCallbackProxy) AsBinder ¶
func (p *ConnectionlessHandwritingCallbackProxy) AsBinder() binder.IBinder
type ConnectionlessHandwritingCallbackStub ¶
type ConnectionlessHandwritingCallbackStub struct {
Impl IConnectionlessHandwritingCallback
Transport binder.VersionAwareTransport
}
ConnectionlessHandwritingCallbackStub dispatches incoming binder transactions to a typed IConnectionlessHandwritingCallback implementation.
func (*ConnectionlessHandwritingCallbackStub) Descriptor ¶
func (s *ConnectionlessHandwritingCallbackStub) Descriptor() string
func (*ConnectionlessHandwritingCallbackStub) OnTransaction ¶
func (s *ConnectionlessHandwritingCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IAccessibilityInputMethodSession ¶
type IAccessibilityInputMethodSession interface {
AsBinder() binder.IBinder
UpdateSelection(ctx context.Context, oldSelStart int32, oldSelEnd int32, newSelStart int32, newSelEnd int32, candidatesStart int32, candidatesEnd int32) error
FinishInput(ctx context.Context) error
FinishSession(ctx context.Context) error
InvalidateInput(ctx context.Context, editorInfo viewInputmethod.EditorInfo, connection IRemoteAccessibilityInputConnection, sessionId int32) error
}
func NewAccessibilityInputMethodSessionStub ¶
func NewAccessibilityInputMethodSessionStub( impl IAccessibilityInputMethodSessionServer, ) IAccessibilityInputMethodSession
NewAccessibilityInputMethodSessionStub creates a server-side IAccessibilityInputMethodSession wrapping the given server implementation. The returned value satisfies IAccessibilityInputMethodSession 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 IAccessibilityInputMethodSessionCallback ¶
type IAccessibilityInputMethodSessionCallback interface {
AsBinder() binder.IBinder
SessionCreated(ctx context.Context, session IAccessibilityInputMethodSession, id int32) error
}
func NewAccessibilityInputMethodSessionCallbackStub ¶
func NewAccessibilityInputMethodSessionCallbackStub( impl IAccessibilityInputMethodSessionCallbackServer, ) IAccessibilityInputMethodSessionCallback
NewAccessibilityInputMethodSessionCallbackStub creates a server-side IAccessibilityInputMethodSessionCallback wrapping the given server implementation. The returned value satisfies IAccessibilityInputMethodSessionCallback 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 IAccessibilityInputMethodSessionCallbackServer ¶
type IAccessibilityInputMethodSessionCallbackServer interface {
SessionCreated(ctx context.Context, session IAccessibilityInputMethodSession, id int32) error
}
IAccessibilityInputMethodSessionCallbackServer is the server-side interface that user implementations provide to NewAccessibilityInputMethodSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IAccessibilityInputMethodSessionServer ¶
type IAccessibilityInputMethodSessionServer interface {
UpdateSelection(ctx context.Context, oldSelStart int32, oldSelEnd int32, newSelStart int32, newSelEnd int32, candidatesStart int32, candidatesEnd int32) error
FinishInput(ctx context.Context) error
FinishSession(ctx context.Context) error
InvalidateInput(ctx context.Context, editorInfo viewInputmethod.EditorInfo, connection IRemoteAccessibilityInputConnection, sessionId int32) error
}
IAccessibilityInputMethodSessionServer is the server-side interface that user implementations provide to NewAccessibilityInputMethodSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IBooleanListener ¶
type IBooleanListener interface {
AsBinder() binder.IBinder
OnResult(ctx context.Context, value bool) error
}
func NewBooleanListenerStub ¶
func NewBooleanListenerStub( impl IBooleanListenerServer, ) IBooleanListener
NewBooleanListenerStub creates a server-side IBooleanListener wrapping the given server implementation. The returned value satisfies IBooleanListener 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 IBooleanListenerServer ¶
IBooleanListenerServer is the server-side interface that user implementations provide to NewBooleanListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IConnectionlessHandwritingCallback ¶
type IConnectionlessHandwritingCallback interface {
AsBinder() binder.IBinder
OnResult(ctx context.Context, text string) error
OnError(ctx context.Context, errorCode int32) error
}
func NewConnectionlessHandwritingCallbackStub ¶
func NewConnectionlessHandwritingCallbackStub( impl IConnectionlessHandwritingCallbackServer, ) IConnectionlessHandwritingCallback
NewConnectionlessHandwritingCallbackStub creates a server-side IConnectionlessHandwritingCallback wrapping the given server implementation. The returned value satisfies IConnectionlessHandwritingCallback 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 IConnectionlessHandwritingCallbackServer ¶
type IConnectionlessHandwritingCallbackServer interface {
OnResult(ctx context.Context, text string) error
OnError(ctx context.Context, errorCode int32) error
}
IConnectionlessHandwritingCallbackServer is the server-side interface that user implementations provide to NewConnectionlessHandwritingCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IImeTracker ¶
type IImeTracker interface {
AsBinder() binder.IBinder
OnStart(ctx context.Context, tag string, uid int32, type_ int32, origin int32, reason int32, fromUser bool) (viewInputmethod.ImeTrackerToken, error)
OnProgress(ctx context.Context, binder_ binder.IBinder, phase int32) error
OnFailed(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32) error
OnCancelled(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32) error
OnShown(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
OnHidden(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
HasPendingImeVisibilityRequests(ctx context.Context) (bool, error)
}
func NewImeTrackerStub ¶
func NewImeTrackerStub( impl IImeTrackerServer, ) IImeTracker
NewImeTrackerStub creates a server-side IImeTracker wrapping the given server implementation. The returned value satisfies IImeTracker 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 IImeTrackerServer ¶
type IImeTrackerServer interface {
OnStart(ctx context.Context, tag string, uid int32, type_ int32, origin int32, reason int32, fromUser bool) (viewInputmethod.ImeTrackerToken, error)
OnProgress(ctx context.Context, binder_ binder.IBinder, phase int32) error
OnFailed(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32) error
OnCancelled(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32) error
OnShown(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
OnHidden(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
HasPendingImeVisibilityRequests(ctx context.Context) (bool, error)
}
IImeTrackerServer is the server-side interface that user implementations provide to NewImeTrackerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInlineSuggestionsRequestCallback ¶
type IInlineSuggestionsRequestCallback interface {
AsBinder() binder.IBinder
OnInlineSuggestionsUnsupported(ctx context.Context) error
OnInlineSuggestionsRequest(ctx context.Context, request viewInputmethod.InlineSuggestionsRequest, callback IInlineSuggestionsResponseCallback) error
OnInputMethodStartInput(ctx context.Context, imeFieldId autofill.AutofillId) error
OnInputMethodShowInputRequested(ctx context.Context, requestResult bool) error
OnInputMethodStartInputView(ctx context.Context) error
OnInputMethodFinishInputView(ctx context.Context) error
OnInputMethodFinishInput(ctx context.Context) error
OnInlineSuggestionsSessionInvalidated(ctx context.Context) error
}
func NewInlineSuggestionsRequestCallbackStub ¶
func NewInlineSuggestionsRequestCallbackStub( impl IInlineSuggestionsRequestCallbackServer, ) IInlineSuggestionsRequestCallback
NewInlineSuggestionsRequestCallbackStub creates a server-side IInlineSuggestionsRequestCallback wrapping the given server implementation. The returned value satisfies IInlineSuggestionsRequestCallback 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 IInlineSuggestionsRequestCallbackServer ¶
type IInlineSuggestionsRequestCallbackServer interface {
OnInlineSuggestionsUnsupported(ctx context.Context) error
OnInlineSuggestionsRequest(ctx context.Context, request viewInputmethod.InlineSuggestionsRequest, callback IInlineSuggestionsResponseCallback) error
OnInputMethodStartInput(ctx context.Context, imeFieldId autofill.AutofillId) error
OnInputMethodShowInputRequested(ctx context.Context, requestResult bool) error
OnInputMethodStartInputView(ctx context.Context) error
OnInputMethodFinishInputView(ctx context.Context) error
OnInputMethodFinishInput(ctx context.Context) error
OnInlineSuggestionsSessionInvalidated(ctx context.Context) error
}
IInlineSuggestionsRequestCallbackServer is the server-side interface that user implementations provide to NewInlineSuggestionsRequestCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInlineSuggestionsResponseCallback ¶
type IInlineSuggestionsResponseCallback interface {
AsBinder() binder.IBinder
OnInlineSuggestionsResponse(ctx context.Context, fieldId autofill.AutofillId, response viewInputmethod.InlineSuggestionsResponse) error
}
func NewInlineSuggestionsResponseCallbackStub ¶
func NewInlineSuggestionsResponseCallbackStub( impl IInlineSuggestionsResponseCallbackServer, ) IInlineSuggestionsResponseCallback
NewInlineSuggestionsResponseCallbackStub creates a server-side IInlineSuggestionsResponseCallback wrapping the given server implementation. The returned value satisfies IInlineSuggestionsResponseCallback 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 IInlineSuggestionsResponseCallbackServer ¶
type IInlineSuggestionsResponseCallbackServer interface {
OnInlineSuggestionsResponse(ctx context.Context, fieldId autofill.AutofillId, response viewInputmethod.InlineSuggestionsResponse) error
}
IInlineSuggestionsResponseCallbackServer is the server-side interface that user implementations provide to NewInlineSuggestionsResponseCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputContentUriToken ¶
type IInputContentUriToken interface {
AsBinder() binder.IBinder
Take(ctx context.Context) error
Release(ctx context.Context) error
}
func NewInputContentUriTokenStub ¶
func NewInputContentUriTokenStub( impl IInputContentUriTokenServer, ) IInputContentUriToken
NewInputContentUriTokenStub creates a server-side IInputContentUriToken wrapping the given server implementation. The returned value satisfies IInputContentUriToken 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 IInputContentUriTokenServer ¶
type IInputContentUriTokenServer interface {
Take(ctx context.Context) error
Release(ctx context.Context) error
}
IInputContentUriTokenServer is the server-side interface that user implementations provide to NewInputContentUriTokenStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMethod ¶
type IInputMethod interface {
AsBinder() binder.IBinder
InitializeInternal(ctx context.Context, params IInputMethodInitParams) error
OnCreateInlineSuggestionsRequest(ctx context.Context, requestInfo InlineSuggestionsRequestInfo, cb IInlineSuggestionsRequestCallback) error
BindInput(ctx context.Context, binding viewInputmethod.InputBinding) error
UnbindInput(ctx context.Context) error
StartInput(ctx context.Context, params IInputMethodStartInputParams) error
CreateSession(ctx context.Context, channel view.InputChannel, callback IInputMethodSessionCallback) error
SetSessionEnabled(ctx context.Context, session IInputMethodSession, enabled bool) error
ShowSoftInput(ctx context.Context, showInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver os.ResultReceiver) error
HideSoftInput(ctx context.Context, hideInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver os.ResultReceiver) error
UpdateEditorToolType(ctx context.Context, toolType int32) error
ChangeInputMethodSubtype(ctx context.Context, subtype viewInputmethod.InputMethodSubtype) error
CanStartStylusHandwriting(ctx context.Context, requestId int32, connectionlessCallback IConnectionlessHandwritingCallback, cursorAnchorInfo viewInputmethod.CursorAnchorInfo, isConnectionlessForDelegation bool) error
StartStylusHandwriting(ctx context.Context, requestId int32, channel view.InputChannel, events []view.MotionEvent) error
CommitHandwritingDelegationTextIfAvailable(ctx context.Context) error
DiscardHandwritingDelegationText(ctx context.Context) error
InitInkWindow(ctx context.Context) error
FinishStylusHandwriting(ctx context.Context) error
RemoveStylusHandwritingWindow(ctx context.Context) error
SetStylusWindowIdleTimeoutForTest(ctx context.Context, timeout int64) error
}
func NewInputMethodStub ¶
func NewInputMethodStub( impl IInputMethodServer, ) IInputMethod
NewInputMethodStub creates a server-side IInputMethod wrapping the given server implementation. The returned value satisfies IInputMethod 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 IInputMethodClient ¶
type IInputMethodClient interface {
AsBinder() binder.IBinder
OnBindMethod(ctx context.Context, res InputBindResult) error
OnStartInputResult(ctx context.Context, res InputBindResult, startInputSeq int32) error
OnBindAccessibilityService(ctx context.Context, res InputBindResult, id int32) error
OnUnbindMethod(ctx context.Context, sequence int32, unbindReason int32) error
OnUnbindAccessibilityService(ctx context.Context, sequence int32, id int32) error
SetActive(ctx context.Context, active bool, fullscreen bool) error
SetInteractive(ctx context.Context, active bool, fullscreen bool) error
ScheduleStartInputIfNecessary(ctx context.Context, fullscreen bool) error
ReportFullscreenMode(ctx context.Context, fullscreen bool) error
SetImeTraceEnabled(ctx context.Context, enabled bool) error
ThrowExceptionFromSystem(ctx context.Context, message string) error
}
func NewInputMethodClientStub ¶
func NewInputMethodClientStub( impl IInputMethodClientServer, ) IInputMethodClient
NewInputMethodClientStub creates a server-side IInputMethodClient wrapping the given server implementation. The returned value satisfies IInputMethodClient 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 IInputMethodClientServer ¶
type IInputMethodClientServer interface {
OnBindMethod(ctx context.Context, res InputBindResult) error
OnStartInputResult(ctx context.Context, res InputBindResult, startInputSeq int32) error
OnBindAccessibilityService(ctx context.Context, res InputBindResult, id int32) error
OnUnbindMethod(ctx context.Context, sequence int32, unbindReason int32) error
OnUnbindAccessibilityService(ctx context.Context, sequence int32, id int32) error
SetActive(ctx context.Context, active bool, fullscreen bool) error
SetInteractive(ctx context.Context, active bool, fullscreen bool) error
ScheduleStartInputIfNecessary(ctx context.Context, fullscreen bool) error
ReportFullscreenMode(ctx context.Context, fullscreen bool) error
SetImeTraceEnabled(ctx context.Context, enabled bool) error
ThrowExceptionFromSystem(ctx context.Context, message string) error
}
IInputMethodClientServer is the server-side interface that user implementations provide to NewInputMethodClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMethodInitParams ¶
type IInputMethodInitParams struct {
Token binder.IBinder
PrivilegedOperations IInputMethodPrivilegedOperations
}
func (*IInputMethodInitParams) MarshalParcel ¶
func (s *IInputMethodInitParams) MarshalParcel( p *parcel.Parcel, ) error
func (*IInputMethodInitParams) UnmarshalParcel ¶
func (s *IInputMethodInitParams) UnmarshalParcel( p *parcel.Parcel, ) error
type IInputMethodPrivilegedOperations ¶
type IInputMethodPrivilegedOperations interface {
AsBinder() binder.IBinder
SetImeWindowStatusAsync(ctx context.Context, vis int32, backDisposition int32) error
ReportStartInputAsync(ctx context.Context, startInputToken binder.IBinder) error
CreateInputContentUriToken(ctx context.Context, contentUri net.Uri, packageName string, future infra.AndroidFuture) error
ReportFullscreenModeAsync(ctx context.Context, fullscreen bool) error
SetInputMethod(ctx context.Context, id string, future infra.AndroidFuture) error
SetInputMethodAndSubtype(ctx context.Context, id string, subtype viewInputmethod.InputMethodSubtype, future infra.AndroidFuture) error
HideMySoftInput(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, reason int32, future infra.AndroidFuture) error
ShowMySoftInput(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, reason int32, future infra.AndroidFuture) error
UpdateStatusIconAsync(ctx context.Context, packageName string, iconId int32) error
SwitchToPreviousInputMethod(ctx context.Context, future infra.AndroidFuture) error
SwitchToNextInputMethod(ctx context.Context, onlyCurrentIme bool, future infra.AndroidFuture) error
ShouldOfferSwitchingToNextInputMethod(ctx context.Context, future infra.AndroidFuture) error
NotifyUserActionAsync(ctx context.Context) error
ApplyImeVisibilityAsync(ctx context.Context, showOrHideInputToken binder.IBinder, setVisible bool, statsToken viewInputmethod.ImeTrackerToken) error
OnStylusHandwritingReady(ctx context.Context, requestId int32, pid int32) error
ResetStylusHandwriting(ctx context.Context, requestId int32) error
SwitchKeyboardLayoutAsync(ctx context.Context, direction int32) error
}
func NewInputMethodPrivilegedOperationsStub ¶
func NewInputMethodPrivilegedOperationsStub( impl IInputMethodPrivilegedOperationsServer, ) IInputMethodPrivilegedOperations
NewInputMethodPrivilegedOperationsStub creates a server-side IInputMethodPrivilegedOperations wrapping the given server implementation. The returned value satisfies IInputMethodPrivilegedOperations 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 IInputMethodPrivilegedOperationsServer ¶
type IInputMethodPrivilegedOperationsServer interface {
SetImeWindowStatusAsync(ctx context.Context, vis int32, backDisposition int32) error
ReportStartInputAsync(ctx context.Context, startInputToken binder.IBinder) error
CreateInputContentUriToken(ctx context.Context, contentUri net.Uri, packageName string, future infra.AndroidFuture) error
ReportFullscreenModeAsync(ctx context.Context, fullscreen bool) error
SetInputMethod(ctx context.Context, id string, future infra.AndroidFuture) error
SetInputMethodAndSubtype(ctx context.Context, id string, subtype viewInputmethod.InputMethodSubtype, future infra.AndroidFuture) error
HideMySoftInput(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, reason int32, future infra.AndroidFuture) error
ShowMySoftInput(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, reason int32, future infra.AndroidFuture) error
UpdateStatusIconAsync(ctx context.Context, packageName string, iconId int32) error
SwitchToPreviousInputMethod(ctx context.Context, future infra.AndroidFuture) error
SwitchToNextInputMethod(ctx context.Context, onlyCurrentIme bool, future infra.AndroidFuture) error
ShouldOfferSwitchingToNextInputMethod(ctx context.Context, future infra.AndroidFuture) error
NotifyUserActionAsync(ctx context.Context) error
ApplyImeVisibilityAsync(ctx context.Context, showOrHideInputToken binder.IBinder, setVisible bool, statsToken viewInputmethod.ImeTrackerToken) error
OnStylusHandwritingReady(ctx context.Context, requestId int32, pid int32) error
ResetStylusHandwriting(ctx context.Context, requestId int32) error
SwitchKeyboardLayoutAsync(ctx context.Context, direction int32) error
}
IInputMethodPrivilegedOperationsServer is the server-side interface that user implementations provide to NewInputMethodPrivilegedOperationsStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMethodServer ¶
type IInputMethodServer interface {
InitializeInternal(ctx context.Context, params IInputMethodInitParams) error
OnCreateInlineSuggestionsRequest(ctx context.Context, requestInfo InlineSuggestionsRequestInfo, cb IInlineSuggestionsRequestCallback) error
BindInput(ctx context.Context, binding viewInputmethod.InputBinding) error
UnbindInput(ctx context.Context) error
StartInput(ctx context.Context, params IInputMethodStartInputParams) error
CreateSession(ctx context.Context, channel view.InputChannel, callback IInputMethodSessionCallback) error
SetSessionEnabled(ctx context.Context, session IInputMethodSession, enabled bool) error
ShowSoftInput(ctx context.Context, showInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver os.ResultReceiver) error
HideSoftInput(ctx context.Context, hideInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver os.ResultReceiver) error
UpdateEditorToolType(ctx context.Context, toolType int32) error
ChangeInputMethodSubtype(ctx context.Context, subtype viewInputmethod.InputMethodSubtype) error
CanStartStylusHandwriting(ctx context.Context, requestId int32, connectionlessCallback IConnectionlessHandwritingCallback, cursorAnchorInfo viewInputmethod.CursorAnchorInfo, isConnectionlessForDelegation bool) error
StartStylusHandwriting(ctx context.Context, requestId int32, channel view.InputChannel, events []view.MotionEvent) error
CommitHandwritingDelegationTextIfAvailable(ctx context.Context) error
DiscardHandwritingDelegationText(ctx context.Context) error
InitInkWindow(ctx context.Context) error
FinishStylusHandwriting(ctx context.Context) error
RemoveStylusHandwritingWindow(ctx context.Context) error
SetStylusWindowIdleTimeoutForTest(ctx context.Context, timeout int64) error
}
IInputMethodServer is the server-side interface that user implementations provide to NewInputMethodStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMethodSession ¶
type IInputMethodSession interface {
AsBinder() binder.IBinder
UpdateExtractedText(ctx context.Context, token int32, text viewInputmethod.ExtractedText) error
UpdateSelection(ctx context.Context, oldSelStart int32, oldSelEnd int32, newSelStart int32, newSelEnd int32, candidatesStart int32, candidatesEnd int32) error
ViewClicked(ctx context.Context, focusChanged bool) error
UpdateCursor(ctx context.Context, newCursor graphics.Rect) error
DisplayCompletions(ctx context.Context, completions []viewInputmethod.CompletionInfo) error
AppPrivateCommand(ctx context.Context, action string, data os.Bundle) error
FinishSession(ctx context.Context) error
UpdateCursorAnchorInfo(ctx context.Context, cursorAnchorInfo viewInputmethod.CursorAnchorInfo) error
RemoveImeSurface(ctx context.Context) error
FinishInput(ctx context.Context) error
InvalidateInput(ctx context.Context, editorInfo viewInputmethod.EditorInfo, inputConnection IRemoteInputConnection, sessionId int32) error
}
func NewInputMethodSessionStub ¶
func NewInputMethodSessionStub( impl IInputMethodSessionServer, ) IInputMethodSession
NewInputMethodSessionStub creates a server-side IInputMethodSession wrapping the given server implementation. The returned value satisfies IInputMethodSession 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 IInputMethodSessionCallback ¶
type IInputMethodSessionCallback interface {
AsBinder() binder.IBinder
SessionCreated(ctx context.Context, session IInputMethodSession) error
}
func NewInputMethodSessionCallbackStub ¶
func NewInputMethodSessionCallbackStub( impl IInputMethodSessionCallbackServer, ) IInputMethodSessionCallback
NewInputMethodSessionCallbackStub creates a server-side IInputMethodSessionCallback wrapping the given server implementation. The returned value satisfies IInputMethodSessionCallback 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 IInputMethodSessionCallbackServer ¶
type IInputMethodSessionCallbackServer interface {
SessionCreated(ctx context.Context, session IInputMethodSession) error
}
IInputMethodSessionCallbackServer is the server-side interface that user implementations provide to NewInputMethodSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMethodSessionServer ¶
type IInputMethodSessionServer interface {
UpdateExtractedText(ctx context.Context, token int32, text viewInputmethod.ExtractedText) error
UpdateSelection(ctx context.Context, oldSelStart int32, oldSelEnd int32, newSelStart int32, newSelEnd int32, candidatesStart int32, candidatesEnd int32) error
ViewClicked(ctx context.Context, focusChanged bool) error
UpdateCursor(ctx context.Context, newCursor graphics.Rect) error
DisplayCompletions(ctx context.Context, completions []viewInputmethod.CompletionInfo) error
AppPrivateCommand(ctx context.Context, action string, data os.Bundle) error
FinishSession(ctx context.Context) error
UpdateCursorAnchorInfo(ctx context.Context, cursorAnchorInfo viewInputmethod.CursorAnchorInfo) error
RemoveImeSurface(ctx context.Context) error
FinishInput(ctx context.Context) error
InvalidateInput(ctx context.Context, editorInfo viewInputmethod.EditorInfo, inputConnection IRemoteInputConnection, sessionId int32) error
}
IInputMethodSessionServer is the server-side interface that user implementations provide to NewInputMethodSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputMethodStartInputParams ¶
type IInputMethodStartInputParams struct {
StartInputToken binder.IBinder
RemoteInputConnection IRemoteInputConnection
EditorInfo viewInputmethod.EditorInfo
Restarting bool
ImeDispatcher window.ImeOnBackInvokedDispatcher
}
func (*IInputMethodStartInputParams) MarshalParcel ¶
func (s *IInputMethodStartInputParams) MarshalParcel( p *parcel.Parcel, ) error
func (*IInputMethodStartInputParams) UnmarshalParcel ¶
func (s *IInputMethodStartInputParams) UnmarshalParcel( p *parcel.Parcel, ) error
type IRemoteAccessibilityInputConnection ¶
type IRemoteAccessibilityInputConnection interface {
AsBinder() binder.IBinder
CommitText(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
SetSelection(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32) error
GetSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, flags int32, future infra.AndroidFuture) error
DeleteSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32) error
SendKeyEvent(ctx context.Context, header InputConnectionCommandHeader, event inputflinger.KeyEvent) error
PerformEditorAction(ctx context.Context, header InputConnectionCommandHeader, actionCode int32) error
PerformContextMenuAction(ctx context.Context, header InputConnectionCommandHeader, id int32) error
GetCursorCapsMode(ctx context.Context, header InputConnectionCommandHeader, reqModes int32, future infra.AndroidFuture) error
ClearMetaKeyStates(ctx context.Context, header InputConnectionCommandHeader, states int32) error
}
func NewRemoteAccessibilityInputConnectionStub ¶
func NewRemoteAccessibilityInputConnectionStub( impl IRemoteAccessibilityInputConnectionServer, ) IRemoteAccessibilityInputConnection
NewRemoteAccessibilityInputConnectionStub creates a server-side IRemoteAccessibilityInputConnection wrapping the given server implementation. The returned value satisfies IRemoteAccessibilityInputConnection 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 IRemoteAccessibilityInputConnectionServer ¶
type IRemoteAccessibilityInputConnectionServer interface {
CommitText(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
SetSelection(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32) error
GetSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, flags int32, future infra.AndroidFuture) error
DeleteSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32) error
SendKeyEvent(ctx context.Context, header InputConnectionCommandHeader, event inputflinger.KeyEvent) error
PerformEditorAction(ctx context.Context, header InputConnectionCommandHeader, actionCode int32) error
PerformContextMenuAction(ctx context.Context, header InputConnectionCommandHeader, id int32) error
GetCursorCapsMode(ctx context.Context, header InputConnectionCommandHeader, reqModes int32, future infra.AndroidFuture) error
ClearMetaKeyStates(ctx context.Context, header InputConnectionCommandHeader, states int32) error
}
IRemoteAccessibilityInputConnectionServer is the server-side interface that user implementations provide to NewRemoteAccessibilityInputConnectionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRemoteInputConnection ¶
type IRemoteInputConnection interface {
AsBinder() binder.IBinder
GetTextBeforeCursor(ctx context.Context, header InputConnectionCommandHeader, length int32, flags int32, future infra.AndroidFuture) error
GetTextAfterCursor(ctx context.Context, header InputConnectionCommandHeader, length int32, flags int32, future infra.AndroidFuture) error
GetCursorCapsMode(ctx context.Context, header InputConnectionCommandHeader, reqModes int32, future infra.AndroidFuture) error
GetExtractedText(ctx context.Context, header InputConnectionCommandHeader, request viewInputmethod.ExtractedTextRequest, flags int32, future infra.AndroidFuture) error
DeleteSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32) error
DeleteSurroundingTextInCodePoints(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32) error
SetComposingText(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32) error
SetComposingTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
FinishComposingText(ctx context.Context, header InputConnectionCommandHeader) error
CommitText(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32) error
CommitTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
CommitCompletion(ctx context.Context, header InputConnectionCommandHeader, completion viewInputmethod.CompletionInfo) error
CommitCorrection(ctx context.Context, header InputConnectionCommandHeader, correction viewInputmethod.CorrectionInfo) error
SetSelection(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32) error
PerformEditorAction(ctx context.Context, header InputConnectionCommandHeader, actionCode int32) error
PerformContextMenuAction(ctx context.Context, header InputConnectionCommandHeader, id int32) error
BeginBatchEdit(ctx context.Context, header InputConnectionCommandHeader) error
EndBatchEdit(ctx context.Context, header InputConnectionCommandHeader) error
SendKeyEvent(ctx context.Context, header InputConnectionCommandHeader, event inputflinger.KeyEvent) error
ClearMetaKeyStates(ctx context.Context, header InputConnectionCommandHeader, states int32) error
PerformSpellCheck(ctx context.Context, header InputConnectionCommandHeader) error
PerformPrivateCommand(ctx context.Context, header InputConnectionCommandHeader, action string, data os.Bundle) error
PerformHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, resultReceiver os.ResultReceiver) error
PreviewHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, cancellationSignal binder.IBinder) error
SetComposingRegion(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32) error
SetComposingRegionWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, textAttribute viewInputmethod.TextAttribute) error
GetSelectedText(ctx context.Context, header InputConnectionCommandHeader, flags int32, future infra.AndroidFuture) error
RequestCursorUpdates(ctx context.Context, header InputConnectionCommandHeader, cursorUpdateMode int32, imeDisplayId int32, future infra.AndroidFuture) error
RequestCursorUpdatesWithFilter(ctx context.Context, header InputConnectionCommandHeader, cursorUpdateMode int32, cursorUpdateFilter int32, imeDisplayId int32, future infra.AndroidFuture) error
RequestTextBoundsInfo(ctx context.Context, header InputConnectionCommandHeader, bounds graphics.RectF, resultReceiver os.ResultReceiver) error
CommitContent(ctx context.Context, header InputConnectionCommandHeader, inputContentInfo viewInputmethod.InputContentInfo, flags int32, opts os.Bundle, future infra.AndroidFuture) error
GetSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, flags int32, future infra.AndroidFuture) error
SetImeConsumesInput(ctx context.Context, header InputConnectionCommandHeader, imeConsumesInput bool) error
ReplaceText(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
CancelCancellationSignal(ctx context.Context, token binder.IBinder) error
ForgetCancellationSignal(ctx context.Context, token binder.IBinder) error
}
func NewRemoteInputConnectionStub ¶
func NewRemoteInputConnectionStub( impl IRemoteInputConnectionServer, ) IRemoteInputConnection
NewRemoteInputConnectionStub creates a server-side IRemoteInputConnection wrapping the given server implementation. The returned value satisfies IRemoteInputConnection 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 IRemoteInputConnectionServer ¶
type IRemoteInputConnectionServer interface {
GetTextBeforeCursor(ctx context.Context, header InputConnectionCommandHeader, length int32, flags int32, future infra.AndroidFuture) error
GetTextAfterCursor(ctx context.Context, header InputConnectionCommandHeader, length int32, flags int32, future infra.AndroidFuture) error
GetCursorCapsMode(ctx context.Context, header InputConnectionCommandHeader, reqModes int32, future infra.AndroidFuture) error
GetExtractedText(ctx context.Context, header InputConnectionCommandHeader, request viewInputmethod.ExtractedTextRequest, flags int32, future infra.AndroidFuture) error
DeleteSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32) error
DeleteSurroundingTextInCodePoints(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32) error
SetComposingText(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32) error
SetComposingTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
FinishComposingText(ctx context.Context, header InputConnectionCommandHeader) error
CommitText(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32) error
CommitTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
CommitCompletion(ctx context.Context, header InputConnectionCommandHeader, completion viewInputmethod.CompletionInfo) error
CommitCorrection(ctx context.Context, header InputConnectionCommandHeader, correction viewInputmethod.CorrectionInfo) error
SetSelection(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32) error
PerformEditorAction(ctx context.Context, header InputConnectionCommandHeader, actionCode int32) error
PerformContextMenuAction(ctx context.Context, header InputConnectionCommandHeader, id int32) error
BeginBatchEdit(ctx context.Context, header InputConnectionCommandHeader) error
EndBatchEdit(ctx context.Context, header InputConnectionCommandHeader) error
SendKeyEvent(ctx context.Context, header InputConnectionCommandHeader, event inputflinger.KeyEvent) error
ClearMetaKeyStates(ctx context.Context, header InputConnectionCommandHeader, states int32) error
PerformSpellCheck(ctx context.Context, header InputConnectionCommandHeader) error
PerformPrivateCommand(ctx context.Context, header InputConnectionCommandHeader, action string, data os.Bundle) error
PerformHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, resultReceiver os.ResultReceiver) error
PreviewHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, cancellationSignal binder.IBinder) error
SetComposingRegion(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32) error
SetComposingRegionWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, textAttribute viewInputmethod.TextAttribute) error
GetSelectedText(ctx context.Context, header InputConnectionCommandHeader, flags int32, future infra.AndroidFuture) error
RequestCursorUpdates(ctx context.Context, header InputConnectionCommandHeader, cursorUpdateMode int32, imeDisplayId int32, future infra.AndroidFuture) error
RequestCursorUpdatesWithFilter(ctx context.Context, header InputConnectionCommandHeader, cursorUpdateMode int32, cursorUpdateFilter int32, imeDisplayId int32, future infra.AndroidFuture) error
RequestTextBoundsInfo(ctx context.Context, header InputConnectionCommandHeader, bounds graphics.RectF, resultReceiver os.ResultReceiver) error
CommitContent(ctx context.Context, header InputConnectionCommandHeader, inputContentInfo viewInputmethod.InputContentInfo, flags int32, opts os.Bundle, future infra.AndroidFuture) error
GetSurroundingText(ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, flags int32, future infra.AndroidFuture) error
SetImeConsumesInput(ctx context.Context, header InputConnectionCommandHeader, imeConsumesInput bool) error
ReplaceText(ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
CancelCancellationSignal(ctx context.Context, token binder.IBinder) error
ForgetCancellationSignal(ctx context.Context, token binder.IBinder) error
}
IRemoteInputConnectionServer is the server-side interface that user implementations provide to NewRemoteInputConnectionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ImeTrackerProxy ¶
func NewImeTrackerProxy ¶
func NewImeTrackerProxy( remote binder.IBinder, ) *ImeTrackerProxy
func (*ImeTrackerProxy) AsBinder ¶
func (p *ImeTrackerProxy) AsBinder() binder.IBinder
func (*ImeTrackerProxy) HasPendingImeVisibilityRequests ¶
func (p *ImeTrackerProxy) HasPendingImeVisibilityRequests( ctx context.Context, ) (bool, error)
func (*ImeTrackerProxy) OnCancelled ¶
func (p *ImeTrackerProxy) OnCancelled( ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32, ) error
func (*ImeTrackerProxy) OnFailed ¶
func (p *ImeTrackerProxy) OnFailed( ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, phase int32, ) error
func (*ImeTrackerProxy) OnHidden ¶
func (p *ImeTrackerProxy) OnHidden( ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, ) error
func (*ImeTrackerProxy) OnProgress ¶
func (*ImeTrackerProxy) OnShown ¶
func (p *ImeTrackerProxy) OnShown( ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, ) error
func (*ImeTrackerProxy) OnStart ¶
func (p *ImeTrackerProxy) OnStart( ctx context.Context, tag string, uid int32, type_ int32, origin int32, reason int32, fromUser bool, ) (viewInputmethod.ImeTrackerToken, error)
type ImeTrackerStub ¶
type ImeTrackerStub struct {
Impl IImeTracker
Transport binder.VersionAwareTransport
}
ImeTrackerStub dispatches incoming binder transactions to a typed IImeTracker implementation.
func (*ImeTrackerStub) Descriptor ¶
func (s *ImeTrackerStub) Descriptor() string
func (*ImeTrackerStub) OnTransaction ¶
func (s *ImeTrackerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InlineSuggestionsRequestCallbackProxy ¶
func NewInlineSuggestionsRequestCallbackProxy ¶
func NewInlineSuggestionsRequestCallbackProxy( remote binder.IBinder, ) *InlineSuggestionsRequestCallbackProxy
func (*InlineSuggestionsRequestCallbackProxy) AsBinder ¶
func (p *InlineSuggestionsRequestCallbackProxy) AsBinder() binder.IBinder
func (*InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsRequest ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsRequest( ctx context.Context, request viewInputmethod.InlineSuggestionsRequest, callback IInlineSuggestionsResponseCallback, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsSessionInvalidated ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsSessionInvalidated( ctx context.Context, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsUnsupported ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsUnsupported( ctx context.Context, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInputMethodFinishInput ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodFinishInput( ctx context.Context, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInputMethodFinishInputView ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodFinishInputView( ctx context.Context, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInputMethodShowInputRequested ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodShowInputRequested( ctx context.Context, requestResult bool, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInput ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInput( ctx context.Context, imeFieldId autofill.AutofillId, ) error
func (*InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInputView ¶
func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInputView( ctx context.Context, ) error
type InlineSuggestionsRequestCallbackStub ¶
type InlineSuggestionsRequestCallbackStub struct {
Impl IInlineSuggestionsRequestCallback
Transport binder.VersionAwareTransport
}
InlineSuggestionsRequestCallbackStub dispatches incoming binder transactions to a typed IInlineSuggestionsRequestCallback implementation.
func (*InlineSuggestionsRequestCallbackStub) Descriptor ¶
func (s *InlineSuggestionsRequestCallbackStub) Descriptor() string
func (*InlineSuggestionsRequestCallbackStub) OnTransaction ¶
func (s *InlineSuggestionsRequestCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InlineSuggestionsRequestInfo ¶
type InlineSuggestionsRequestInfo struct {
ComponentName *types.ComponentName
AutofillId *autofillTypes.AutofillId
}
func (*InlineSuggestionsRequestInfo) MarshalParcel ¶
func (s *InlineSuggestionsRequestInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*InlineSuggestionsRequestInfo) UnmarshalParcel ¶
func (s *InlineSuggestionsRequestInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type InlineSuggestionsResponseCallbackProxy ¶
func NewInlineSuggestionsResponseCallbackProxy ¶
func NewInlineSuggestionsResponseCallbackProxy( remote binder.IBinder, ) *InlineSuggestionsResponseCallbackProxy
func (*InlineSuggestionsResponseCallbackProxy) AsBinder ¶
func (p *InlineSuggestionsResponseCallbackProxy) AsBinder() binder.IBinder
func (*InlineSuggestionsResponseCallbackProxy) OnInlineSuggestionsResponse ¶
func (p *InlineSuggestionsResponseCallbackProxy) OnInlineSuggestionsResponse( ctx context.Context, fieldId autofill.AutofillId, response viewInputmethod.InlineSuggestionsResponse, ) error
type InlineSuggestionsResponseCallbackStub ¶
type InlineSuggestionsResponseCallbackStub struct {
Impl IInlineSuggestionsResponseCallback
Transport binder.VersionAwareTransport
}
InlineSuggestionsResponseCallbackStub dispatches incoming binder transactions to a typed IInlineSuggestionsResponseCallback implementation.
func (*InlineSuggestionsResponseCallbackStub) Descriptor ¶
func (s *InlineSuggestionsResponseCallbackStub) Descriptor() string
func (*InlineSuggestionsResponseCallbackStub) OnTransaction ¶
func (s *InlineSuggestionsResponseCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputBindResult ¶
type InputBindResult struct {
Result int32
Id string
Sequence int32
IsInputMethodSuppressingSpellChecker bool
}
func (*InputBindResult) MarshalParcel ¶
func (s *InputBindResult) MarshalParcel( p *parcel.Parcel, ) error
func (*InputBindResult) UnmarshalParcel ¶
func (s *InputBindResult) UnmarshalParcel( p *parcel.Parcel, ) error
type InputConnectionCommandHeader ¶
type InputConnectionCommandHeader struct {
SessionId int32
}
func (*InputConnectionCommandHeader) MarshalParcel ¶
func (s *InputConnectionCommandHeader) MarshalParcel( p *parcel.Parcel, ) error
func (*InputConnectionCommandHeader) UnmarshalParcel ¶
func (s *InputConnectionCommandHeader) UnmarshalParcel( p *parcel.Parcel, ) error
type InputContentUriTokenProxy ¶
func NewInputContentUriTokenProxy ¶
func NewInputContentUriTokenProxy( remote binder.IBinder, ) *InputContentUriTokenProxy
func (*InputContentUriTokenProxy) AsBinder ¶
func (p *InputContentUriTokenProxy) AsBinder() binder.IBinder
type InputContentUriTokenStub ¶
type InputContentUriTokenStub struct {
Impl IInputContentUriToken
Transport binder.VersionAwareTransport
}
InputContentUriTokenStub dispatches incoming binder transactions to a typed IInputContentUriToken implementation.
func (*InputContentUriTokenStub) Descriptor ¶
func (s *InputContentUriTokenStub) Descriptor() string
func (*InputContentUriTokenStub) OnTransaction ¶
func (s *InputContentUriTokenStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMethodClientProxy ¶
func NewInputMethodClientProxy ¶
func NewInputMethodClientProxy( remote binder.IBinder, ) *InputMethodClientProxy
func (*InputMethodClientProxy) AsBinder ¶
func (p *InputMethodClientProxy) AsBinder() binder.IBinder
func (*InputMethodClientProxy) OnBindAccessibilityService ¶
func (p *InputMethodClientProxy) OnBindAccessibilityService( ctx context.Context, res InputBindResult, id int32, ) error
func (*InputMethodClientProxy) OnBindMethod ¶
func (p *InputMethodClientProxy) OnBindMethod( ctx context.Context, res InputBindResult, ) error
func (*InputMethodClientProxy) OnStartInputResult ¶
func (p *InputMethodClientProxy) OnStartInputResult( ctx context.Context, res InputBindResult, startInputSeq int32, ) error
func (*InputMethodClientProxy) OnUnbindAccessibilityService ¶
func (*InputMethodClientProxy) OnUnbindMethod ¶
func (*InputMethodClientProxy) ReportFullscreenMode ¶
func (p *InputMethodClientProxy) ReportFullscreenMode( ctx context.Context, fullscreen bool, ) error
func (*InputMethodClientProxy) ScheduleStartInputIfNecessary ¶
func (p *InputMethodClientProxy) ScheduleStartInputIfNecessary( ctx context.Context, fullscreen bool, ) error
func (*InputMethodClientProxy) SetImeTraceEnabled ¶
func (p *InputMethodClientProxy) SetImeTraceEnabled( ctx context.Context, enabled bool, ) error
func (*InputMethodClientProxy) SetInteractive ¶
func (*InputMethodClientProxy) ThrowExceptionFromSystem ¶
func (p *InputMethodClientProxy) ThrowExceptionFromSystem( ctx context.Context, message string, ) error
type InputMethodClientStub ¶
type InputMethodClientStub struct {
Impl IInputMethodClient
Transport binder.VersionAwareTransport
}
InputMethodClientStub dispatches incoming binder transactions to a typed IInputMethodClient implementation.
func (*InputMethodClientStub) Descriptor ¶
func (s *InputMethodClientStub) Descriptor() string
func (*InputMethodClientStub) OnTransaction ¶
func (s *InputMethodClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMethodPrivilegedOperationsProxy ¶
func NewInputMethodPrivilegedOperationsProxy ¶
func NewInputMethodPrivilegedOperationsProxy( remote binder.IBinder, ) *InputMethodPrivilegedOperationsProxy
func (*InputMethodPrivilegedOperationsProxy) ApplyImeVisibilityAsync ¶
func (p *InputMethodPrivilegedOperationsProxy) ApplyImeVisibilityAsync( ctx context.Context, showOrHideInputToken binder.IBinder, setVisible bool, statsToken viewInputmethod.ImeTrackerToken, ) error
func (*InputMethodPrivilegedOperationsProxy) AsBinder ¶
func (p *InputMethodPrivilegedOperationsProxy) AsBinder() binder.IBinder
func (*InputMethodPrivilegedOperationsProxy) CreateInputContentUriToken ¶
func (p *InputMethodPrivilegedOperationsProxy) CreateInputContentUriToken( ctx context.Context, contentUri net.Uri, packageName string, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) HideMySoftInput ¶
func (p *InputMethodPrivilegedOperationsProxy) HideMySoftInput( ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, reason int32, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) NotifyUserActionAsync ¶
func (p *InputMethodPrivilegedOperationsProxy) NotifyUserActionAsync( ctx context.Context, ) error
func (*InputMethodPrivilegedOperationsProxy) OnStylusHandwritingReady ¶
func (*InputMethodPrivilegedOperationsProxy) ReportFullscreenModeAsync ¶
func (p *InputMethodPrivilegedOperationsProxy) ReportFullscreenModeAsync( ctx context.Context, fullscreen bool, ) error
func (*InputMethodPrivilegedOperationsProxy) ReportStartInputAsync ¶
func (*InputMethodPrivilegedOperationsProxy) ResetStylusHandwriting ¶
func (p *InputMethodPrivilegedOperationsProxy) ResetStylusHandwriting( ctx context.Context, requestId int32, ) error
func (*InputMethodPrivilegedOperationsProxy) SetImeWindowStatusAsync ¶
func (*InputMethodPrivilegedOperationsProxy) SetInputMethod ¶
func (p *InputMethodPrivilegedOperationsProxy) SetInputMethod( ctx context.Context, id string, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) SetInputMethodAndSubtype ¶
func (p *InputMethodPrivilegedOperationsProxy) SetInputMethodAndSubtype( ctx context.Context, id string, subtype viewInputmethod.InputMethodSubtype, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) ShouldOfferSwitchingToNextInputMethod ¶
func (p *InputMethodPrivilegedOperationsProxy) ShouldOfferSwitchingToNextInputMethod( ctx context.Context, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) ShowMySoftInput ¶
func (p *InputMethodPrivilegedOperationsProxy) ShowMySoftInput( ctx context.Context, statsToken viewInputmethod.ImeTrackerToken, flags int32, reason int32, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) SwitchKeyboardLayoutAsync ¶
func (p *InputMethodPrivilegedOperationsProxy) SwitchKeyboardLayoutAsync( ctx context.Context, direction int32, ) error
func (*InputMethodPrivilegedOperationsProxy) SwitchToNextInputMethod ¶
func (p *InputMethodPrivilegedOperationsProxy) SwitchToNextInputMethod( ctx context.Context, onlyCurrentIme bool, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) SwitchToPreviousInputMethod ¶
func (p *InputMethodPrivilegedOperationsProxy) SwitchToPreviousInputMethod( ctx context.Context, future infra.AndroidFuture, ) error
func (*InputMethodPrivilegedOperationsProxy) UpdateStatusIconAsync ¶
type InputMethodPrivilegedOperationsStub ¶
type InputMethodPrivilegedOperationsStub struct {
Impl IInputMethodPrivilegedOperations
Transport binder.VersionAwareTransport
}
InputMethodPrivilegedOperationsStub dispatches incoming binder transactions to a typed IInputMethodPrivilegedOperations implementation.
func (*InputMethodPrivilegedOperationsStub) Descriptor ¶
func (s *InputMethodPrivilegedOperationsStub) Descriptor() string
func (*InputMethodPrivilegedOperationsStub) OnTransaction ¶
func (s *InputMethodPrivilegedOperationsStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMethodProxy ¶
func NewInputMethodProxy ¶
func NewInputMethodProxy( remote binder.IBinder, ) *InputMethodProxy
func (*InputMethodProxy) AsBinder ¶
func (p *InputMethodProxy) AsBinder() binder.IBinder
func (*InputMethodProxy) BindInput ¶
func (p *InputMethodProxy) BindInput( ctx context.Context, binding viewInputmethod.InputBinding, ) error
func (*InputMethodProxy) CanStartStylusHandwriting ¶
func (p *InputMethodProxy) CanStartStylusHandwriting( ctx context.Context, requestId int32, connectionlessCallback IConnectionlessHandwritingCallback, cursorAnchorInfo viewInputmethod.CursorAnchorInfo, isConnectionlessForDelegation bool, ) error
func (*InputMethodProxy) ChangeInputMethodSubtype ¶
func (p *InputMethodProxy) ChangeInputMethodSubtype( ctx context.Context, subtype viewInputmethod.InputMethodSubtype, ) error
func (*InputMethodProxy) CommitHandwritingDelegationTextIfAvailable ¶
func (p *InputMethodProxy) CommitHandwritingDelegationTextIfAvailable( ctx context.Context, ) error
func (*InputMethodProxy) CreateSession ¶
func (p *InputMethodProxy) CreateSession( ctx context.Context, channel view.InputChannel, callback IInputMethodSessionCallback, ) error
func (*InputMethodProxy) DiscardHandwritingDelegationText ¶
func (p *InputMethodProxy) DiscardHandwritingDelegationText( ctx context.Context, ) error
func (*InputMethodProxy) FinishStylusHandwriting ¶
func (p *InputMethodProxy) FinishStylusHandwriting( ctx context.Context, ) error
func (*InputMethodProxy) HideSoftInput ¶
func (p *InputMethodProxy) HideSoftInput( ctx context.Context, hideInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver os.ResultReceiver, ) error
func (*InputMethodProxy) InitInkWindow ¶
func (p *InputMethodProxy) InitInkWindow( ctx context.Context, ) error
func (*InputMethodProxy) InitializeInternal ¶
func (p *InputMethodProxy) InitializeInternal( ctx context.Context, params IInputMethodInitParams, ) error
func (*InputMethodProxy) OnCreateInlineSuggestionsRequest ¶
func (p *InputMethodProxy) OnCreateInlineSuggestionsRequest( ctx context.Context, requestInfo InlineSuggestionsRequestInfo, cb IInlineSuggestionsRequestCallback, ) error
func (*InputMethodProxy) OnNavButtonFlagsChanged ¶
func (p *InputMethodProxy) OnNavButtonFlagsChanged( ctx context.Context, navButtonFlags int32, ) error
func (*InputMethodProxy) RemoveStylusHandwritingWindow ¶
func (p *InputMethodProxy) RemoveStylusHandwritingWindow( ctx context.Context, ) error
func (*InputMethodProxy) SetSessionEnabled ¶
func (p *InputMethodProxy) SetSessionEnabled( ctx context.Context, session IInputMethodSession, enabled bool, ) error
func (*InputMethodProxy) SetStylusWindowIdleTimeoutForTest ¶
func (p *InputMethodProxy) SetStylusWindowIdleTimeoutForTest( ctx context.Context, timeout int64, ) error
func (*InputMethodProxy) ShowSoftInput ¶
func (p *InputMethodProxy) ShowSoftInput( ctx context.Context, showInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver os.ResultReceiver, ) error
func (*InputMethodProxy) StartInput ¶
func (p *InputMethodProxy) StartInput( ctx context.Context, params IInputMethodStartInputParams, ) error
func (*InputMethodProxy) StartStylusHandwriting ¶
func (p *InputMethodProxy) StartStylusHandwriting( ctx context.Context, requestId int32, channel view.InputChannel, events []view.MotionEvent, ) error
func (*InputMethodProxy) UnbindInput ¶
func (p *InputMethodProxy) UnbindInput( ctx context.Context, ) error
func (*InputMethodProxy) UpdateEditorToolType ¶
func (p *InputMethodProxy) UpdateEditorToolType( ctx context.Context, toolType int32, ) error
type InputMethodSessionCallbackProxy ¶
func NewInputMethodSessionCallbackProxy ¶
func NewInputMethodSessionCallbackProxy( remote binder.IBinder, ) *InputMethodSessionCallbackProxy
func (*InputMethodSessionCallbackProxy) AsBinder ¶
func (p *InputMethodSessionCallbackProxy) AsBinder() binder.IBinder
func (*InputMethodSessionCallbackProxy) SessionCreated ¶
func (p *InputMethodSessionCallbackProxy) SessionCreated( ctx context.Context, session IInputMethodSession, ) error
type InputMethodSessionCallbackStub ¶
type InputMethodSessionCallbackStub struct {
Impl IInputMethodSessionCallback
Transport binder.VersionAwareTransport
}
InputMethodSessionCallbackStub dispatches incoming binder transactions to a typed IInputMethodSessionCallback implementation.
func (*InputMethodSessionCallbackStub) Descriptor ¶
func (s *InputMethodSessionCallbackStub) Descriptor() string
func (*InputMethodSessionCallbackStub) OnTransaction ¶
func (s *InputMethodSessionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMethodSessionProxy ¶
func NewInputMethodSessionProxy ¶
func NewInputMethodSessionProxy( remote binder.IBinder, ) *InputMethodSessionProxy
func (*InputMethodSessionProxy) AppPrivateCommand ¶
func (*InputMethodSessionProxy) AsBinder ¶
func (p *InputMethodSessionProxy) AsBinder() binder.IBinder
func (*InputMethodSessionProxy) DisplayCompletions ¶
func (p *InputMethodSessionProxy) DisplayCompletions( ctx context.Context, completions []viewInputmethod.CompletionInfo, ) error
func (*InputMethodSessionProxy) FinishInput ¶
func (p *InputMethodSessionProxy) FinishInput( ctx context.Context, ) error
func (*InputMethodSessionProxy) FinishSession ¶
func (p *InputMethodSessionProxy) FinishSession( ctx context.Context, ) error
func (*InputMethodSessionProxy) InvalidateInput ¶
func (p *InputMethodSessionProxy) InvalidateInput( ctx context.Context, editorInfo viewInputmethod.EditorInfo, inputConnection IRemoteInputConnection, sessionId int32, ) error
func (*InputMethodSessionProxy) RemoveImeSurface ¶
func (p *InputMethodSessionProxy) RemoveImeSurface( ctx context.Context, ) error
func (*InputMethodSessionProxy) UpdateCursor ¶
func (*InputMethodSessionProxy) UpdateCursorAnchorInfo ¶
func (p *InputMethodSessionProxy) UpdateCursorAnchorInfo( ctx context.Context, cursorAnchorInfo viewInputmethod.CursorAnchorInfo, ) error
func (*InputMethodSessionProxy) UpdateExtractedText ¶
func (p *InputMethodSessionProxy) UpdateExtractedText( ctx context.Context, token int32, text viewInputmethod.ExtractedText, ) error
func (*InputMethodSessionProxy) UpdateSelection ¶
func (*InputMethodSessionProxy) ViewClicked ¶
func (p *InputMethodSessionProxy) ViewClicked( ctx context.Context, focusChanged bool, ) error
type InputMethodSessionStub ¶
type InputMethodSessionStub struct {
Impl IInputMethodSession
Transport binder.VersionAwareTransport
}
InputMethodSessionStub dispatches incoming binder transactions to a typed IInputMethodSession implementation.
func (*InputMethodSessionStub) Descriptor ¶
func (s *InputMethodSessionStub) Descriptor() string
func (*InputMethodSessionStub) OnTransaction ¶
func (s *InputMethodSessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMethodStub ¶
type InputMethodStub struct {
Impl IInputMethod
Transport binder.VersionAwareTransport
}
InputMethodStub dispatches incoming binder transactions to a typed IInputMethod implementation.
func (*InputMethodStub) Descriptor ¶
func (s *InputMethodStub) Descriptor() string
func (*InputMethodStub) OnTransaction ¶
func (s *InputMethodStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputMethodSubtypeHandle ¶
type InputMethodSubtypeHandle struct {
}
func (*InputMethodSubtypeHandle) MarshalParcel ¶
func (s *InputMethodSubtypeHandle) MarshalParcel( p *parcel.Parcel, ) error
func (*InputMethodSubtypeHandle) UnmarshalParcel ¶
func (s *InputMethodSubtypeHandle) UnmarshalParcel( p *parcel.Parcel, ) error
type RemoteAccessibilityInputConnectionProxy ¶
func NewRemoteAccessibilityInputConnectionProxy ¶
func NewRemoteAccessibilityInputConnectionProxy( remote binder.IBinder, ) *RemoteAccessibilityInputConnectionProxy
func (*RemoteAccessibilityInputConnectionProxy) AsBinder ¶
func (p *RemoteAccessibilityInputConnectionProxy) AsBinder() binder.IBinder
func (*RemoteAccessibilityInputConnectionProxy) ClearMetaKeyStates ¶
func (p *RemoteAccessibilityInputConnectionProxy) ClearMetaKeyStates( ctx context.Context, header InputConnectionCommandHeader, states int32, ) error
func (*RemoteAccessibilityInputConnectionProxy) CommitText ¶
func (p *RemoteAccessibilityInputConnectionProxy) CommitText( ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute, ) error
func (*RemoteAccessibilityInputConnectionProxy) DeleteSurroundingText ¶
func (p *RemoteAccessibilityInputConnectionProxy) DeleteSurroundingText( ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, ) error
func (*RemoteAccessibilityInputConnectionProxy) GetCursorCapsMode ¶
func (p *RemoteAccessibilityInputConnectionProxy) GetCursorCapsMode( ctx context.Context, header InputConnectionCommandHeader, reqModes int32, future infra.AndroidFuture, ) error
func (*RemoteAccessibilityInputConnectionProxy) GetSurroundingText ¶
func (p *RemoteAccessibilityInputConnectionProxy) GetSurroundingText( ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, flags int32, future infra.AndroidFuture, ) error
func (*RemoteAccessibilityInputConnectionProxy) PerformContextMenuAction ¶
func (p *RemoteAccessibilityInputConnectionProxy) PerformContextMenuAction( ctx context.Context, header InputConnectionCommandHeader, id int32, ) error
func (*RemoteAccessibilityInputConnectionProxy) PerformEditorAction ¶
func (p *RemoteAccessibilityInputConnectionProxy) PerformEditorAction( ctx context.Context, header InputConnectionCommandHeader, actionCode int32, ) error
func (*RemoteAccessibilityInputConnectionProxy) SendKeyEvent ¶
func (p *RemoteAccessibilityInputConnectionProxy) SendKeyEvent( ctx context.Context, header InputConnectionCommandHeader, event inputflinger.KeyEvent, ) error
func (*RemoteAccessibilityInputConnectionProxy) SetSelection ¶
func (p *RemoteAccessibilityInputConnectionProxy) SetSelection( ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, ) error
type RemoteAccessibilityInputConnectionStub ¶
type RemoteAccessibilityInputConnectionStub struct {
Impl IRemoteAccessibilityInputConnection
Transport binder.VersionAwareTransport
}
RemoteAccessibilityInputConnectionStub dispatches incoming binder transactions to a typed IRemoteAccessibilityInputConnection implementation.
func (*RemoteAccessibilityInputConnectionStub) Descriptor ¶
func (s *RemoteAccessibilityInputConnectionStub) Descriptor() string
func (*RemoteAccessibilityInputConnectionStub) OnTransaction ¶
func (s *RemoteAccessibilityInputConnectionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type RemoteInputConnectionProxy ¶
func NewRemoteInputConnectionProxy ¶
func NewRemoteInputConnectionProxy( remote binder.IBinder, ) *RemoteInputConnectionProxy
func (*RemoteInputConnectionProxy) AsBinder ¶
func (p *RemoteInputConnectionProxy) AsBinder() binder.IBinder
func (*RemoteInputConnectionProxy) BeginBatchEdit ¶
func (p *RemoteInputConnectionProxy) BeginBatchEdit( ctx context.Context, header InputConnectionCommandHeader, ) error
func (*RemoteInputConnectionProxy) CancelCancellationSignal ¶
func (*RemoteInputConnectionProxy) ClearMetaKeyStates ¶
func (p *RemoteInputConnectionProxy) ClearMetaKeyStates( ctx context.Context, header InputConnectionCommandHeader, states int32, ) error
func (*RemoteInputConnectionProxy) CommitCompletion ¶
func (p *RemoteInputConnectionProxy) CommitCompletion( ctx context.Context, header InputConnectionCommandHeader, completion viewInputmethod.CompletionInfo, ) error
func (*RemoteInputConnectionProxy) CommitContent ¶
func (p *RemoteInputConnectionProxy) CommitContent( ctx context.Context, header InputConnectionCommandHeader, inputContentInfo viewInputmethod.InputContentInfo, flags int32, opts os.Bundle, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) CommitCorrection ¶
func (p *RemoteInputConnectionProxy) CommitCorrection( ctx context.Context, header InputConnectionCommandHeader, correction viewInputmethod.CorrectionInfo, ) error
func (*RemoteInputConnectionProxy) CommitText ¶
func (p *RemoteInputConnectionProxy) CommitText( ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, ) error
func (*RemoteInputConnectionProxy) CommitTextWithTextAttribute ¶
func (p *RemoteInputConnectionProxy) CommitTextWithTextAttribute( ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute, ) error
func (*RemoteInputConnectionProxy) DeleteSurroundingText ¶
func (p *RemoteInputConnectionProxy) DeleteSurroundingText( ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, ) error
func (*RemoteInputConnectionProxy) DeleteSurroundingTextInCodePoints ¶
func (p *RemoteInputConnectionProxy) DeleteSurroundingTextInCodePoints( ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, ) error
func (*RemoteInputConnectionProxy) EndBatchEdit ¶
func (p *RemoteInputConnectionProxy) EndBatchEdit( ctx context.Context, header InputConnectionCommandHeader, ) error
func (*RemoteInputConnectionProxy) FinishComposingText ¶
func (p *RemoteInputConnectionProxy) FinishComposingText( ctx context.Context, header InputConnectionCommandHeader, ) error
func (*RemoteInputConnectionProxy) ForgetCancellationSignal ¶
func (*RemoteInputConnectionProxy) GetCursorCapsMode ¶
func (p *RemoteInputConnectionProxy) GetCursorCapsMode( ctx context.Context, header InputConnectionCommandHeader, reqModes int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) GetExtractedText ¶
func (p *RemoteInputConnectionProxy) GetExtractedText( ctx context.Context, header InputConnectionCommandHeader, request viewInputmethod.ExtractedTextRequest, flags int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) GetSelectedText ¶
func (p *RemoteInputConnectionProxy) GetSelectedText( ctx context.Context, header InputConnectionCommandHeader, flags int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) GetSurroundingText ¶
func (p *RemoteInputConnectionProxy) GetSurroundingText( ctx context.Context, header InputConnectionCommandHeader, beforeLength int32, afterLength int32, flags int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) GetTextAfterCursor ¶
func (p *RemoteInputConnectionProxy) GetTextAfterCursor( ctx context.Context, header InputConnectionCommandHeader, length int32, flags int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) GetTextBeforeCursor ¶
func (p *RemoteInputConnectionProxy) GetTextBeforeCursor( ctx context.Context, header InputConnectionCommandHeader, length int32, flags int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) PerformContextMenuAction ¶
func (p *RemoteInputConnectionProxy) PerformContextMenuAction( ctx context.Context, header InputConnectionCommandHeader, id int32, ) error
func (*RemoteInputConnectionProxy) PerformEditorAction ¶
func (p *RemoteInputConnectionProxy) PerformEditorAction( ctx context.Context, header InputConnectionCommandHeader, actionCode int32, ) error
func (*RemoteInputConnectionProxy) PerformHandwritingGesture ¶
func (p *RemoteInputConnectionProxy) PerformHandwritingGesture( ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, resultReceiver os.ResultReceiver, ) error
func (*RemoteInputConnectionProxy) PerformPrivateCommand ¶
func (p *RemoteInputConnectionProxy) PerformPrivateCommand( ctx context.Context, header InputConnectionCommandHeader, action string, data os.Bundle, ) error
func (*RemoteInputConnectionProxy) PerformSpellCheck ¶
func (p *RemoteInputConnectionProxy) PerformSpellCheck( ctx context.Context, header InputConnectionCommandHeader, ) error
func (*RemoteInputConnectionProxy) PreviewHandwritingGesture ¶
func (p *RemoteInputConnectionProxy) PreviewHandwritingGesture( ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, cancellationSignal binder.IBinder, ) error
func (*RemoteInputConnectionProxy) ReplaceText ¶
func (p *RemoteInputConnectionProxy) ReplaceText( ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute, ) error
func (*RemoteInputConnectionProxy) RequestCursorUpdates ¶
func (p *RemoteInputConnectionProxy) RequestCursorUpdates( ctx context.Context, header InputConnectionCommandHeader, cursorUpdateMode int32, imeDisplayId int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) RequestCursorUpdatesWithFilter ¶
func (p *RemoteInputConnectionProxy) RequestCursorUpdatesWithFilter( ctx context.Context, header InputConnectionCommandHeader, cursorUpdateMode int32, cursorUpdateFilter int32, imeDisplayId int32, future infra.AndroidFuture, ) error
func (*RemoteInputConnectionProxy) RequestTextBoundsInfo ¶
func (p *RemoteInputConnectionProxy) RequestTextBoundsInfo( ctx context.Context, header InputConnectionCommandHeader, bounds graphics.RectF, resultReceiver os.ResultReceiver, ) error
func (*RemoteInputConnectionProxy) SendKeyEvent ¶
func (p *RemoteInputConnectionProxy) SendKeyEvent( ctx context.Context, header InputConnectionCommandHeader, event inputflinger.KeyEvent, ) error
func (*RemoteInputConnectionProxy) SetComposingRegion ¶
func (p *RemoteInputConnectionProxy) SetComposingRegion( ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, ) error
func (*RemoteInputConnectionProxy) SetComposingRegionWithTextAttribute ¶
func (p *RemoteInputConnectionProxy) SetComposingRegionWithTextAttribute( ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, textAttribute viewInputmethod.TextAttribute, ) error
func (*RemoteInputConnectionProxy) SetComposingText ¶
func (p *RemoteInputConnectionProxy) SetComposingText( ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, ) error
func (*RemoteInputConnectionProxy) SetComposingTextWithTextAttribute ¶
func (p *RemoteInputConnectionProxy) SetComposingTextWithTextAttribute( ctx context.Context, header InputConnectionCommandHeader, text string, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute, ) error
func (*RemoteInputConnectionProxy) SetImeConsumesInput ¶
func (p *RemoteInputConnectionProxy) SetImeConsumesInput( ctx context.Context, header InputConnectionCommandHeader, imeConsumesInput bool, ) error
func (*RemoteInputConnectionProxy) SetSelection ¶
func (p *RemoteInputConnectionProxy) SetSelection( ctx context.Context, header InputConnectionCommandHeader, start int32, end int32, ) error
type RemoteInputConnectionStub ¶
type RemoteInputConnectionStub struct {
Impl IRemoteInputConnection
Transport binder.VersionAwareTransport
}
RemoteInputConnectionStub dispatches incoming binder transactions to a typed IRemoteInputConnection implementation.
func (*RemoteInputConnectionStub) Descriptor ¶
func (s *RemoteInputConnectionStub) Descriptor() string
func (*RemoteInputConnectionStub) OnTransaction ¶
func (s *RemoteInputConnectionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
Source Files
¶
- iaccessibilityinputmethodsession.go
- iaccessibilityinputmethodsessioncallback.go
- ibooleanlistener.go
- iconnectionlesshandwritingcallback.go
- iimetracker.go
- iinlinesuggestionsrequestcallback.go
- iinlinesuggestionsresponsecallback.go
- iinputcontenturitoken.go
- iinputmethod.go
- iinputmethod.initparams.go
- iinputmethod.startinputparams.go
- iinputmethodclient.go
- iinputmethodprivilegedoperations.go
- iinputmethodsession.go
- iinputmethodsessioncallback.go
- inlinesuggestionsrequestinfo.go
- inputbindresult.go
- inputconnectioncommandheader.go
- inputmethodsubtypehandle.go
- iremoteaccessibilityinputconnection.go
- iremoteinputconnection.go