inputmethod

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2026 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionIAccessibilityInputMethodSessionUpdateSelection = binder.FirstCallTransaction + 0
	TransactionIAccessibilityInputMethodSessionFinishInput     = binder.FirstCallTransaction + 1
	TransactionIAccessibilityInputMethodSessionFinishSession   = binder.FirstCallTransaction + 2
	TransactionIAccessibilityInputMethodSessionInvalidateInput = binder.FirstCallTransaction + 3
)
View Source
const (
	TransactionIConnectionlessHandwritingCallbackOnResult = binder.FirstCallTransaction + 0
	TransactionIConnectionlessHandwritingCallbackOnError  = binder.FirstCallTransaction + 1
)
View Source
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
	TransactionIImeTrackerOnDispatched                               = binder.FirstCallTransaction + 6
	TransactionIImeTrackerHasPendingImeVisibilityRequests            = binder.FirstCallTransaction + 7
	TransactionIImeTrackerFinishTrackingPendingImeVisibilityRequests = binder.FirstCallTransaction + 8
)
View Source
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
)
View Source
const (
	TransactionIInputContentUriTokenTake    = binder.FirstCallTransaction + 0
	TransactionIInputContentUriTokenRelease = binder.FirstCallTransaction + 1
)
View Source
const (
	TransactionIInputMethodInitializeInternal                         = binder.FirstCallTransaction + 0
	TransactionIInputMethodOnCreateInlineSuggestionsRequest           = binder.FirstCallTransaction + 1
	TransactionIInputMethodBindInput                                  = binder.FirstCallTransaction + 2
	TransactionIInputMethodUnbindInput                                = binder.FirstCallTransaction + 3
	TransactionIInputMethodStartInput                                 = binder.FirstCallTransaction + 4
	TransactionIInputMethodOnNavButtonFlagsChanged                    = binder.FirstCallTransaction + 5
	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
)
View Source
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
	TransactionIInputMethodClientSetImeVisibility              = binder.FirstCallTransaction + 7
	TransactionIInputMethodClientScheduleStartInputIfNecessary = binder.FirstCallTransaction + 8
	TransactionIInputMethodClientReportFullscreenMode          = binder.FirstCallTransaction + 9
	TransactionIInputMethodClientSetImeTraceEnabled            = binder.FirstCallTransaction + 10
	TransactionIInputMethodClientThrowExceptionFromSystem      = binder.FirstCallTransaction + 11
)
View Source
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
	TransactionIInputMethodPrivilegedOperationsOnImeSwitchButtonClickFromClient      = binder.FirstCallTransaction + 12
	TransactionIInputMethodPrivilegedOperationsNotifyUserActionAsync                 = binder.FirstCallTransaction + 13
	TransactionIInputMethodPrivilegedOperationsApplyImeVisibilityAsync               = binder.FirstCallTransaction + 14
	TransactionIInputMethodPrivilegedOperationsOnStylusHandwritingReady              = binder.FirstCallTransaction + 15
	TransactionIInputMethodPrivilegedOperationsResetStylusHandwriting                = binder.FirstCallTransaction + 16
	TransactionIInputMethodPrivilegedOperationsSwitchKeyboardLayoutAsync             = binder.FirstCallTransaction + 17
	TransactionIInputMethodPrivilegedOperationsSetHandwritingSurfaceNotTouchable     = binder.FirstCallTransaction + 18
	TransactionIInputMethodPrivilegedOperationsSetHandwritingTouchableRegion         = binder.FirstCallTransaction + 19
)
View Source
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
)
View Source
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
)
View Source
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
)
View Source
const DescriptorIAccessibilityInputMethodSession = "com.android.internal.inputmethod.IAccessibilityInputMethodSession"
View Source
const DescriptorIAccessibilityInputMethodSessionCallback = "com.android.internal.inputmethod.IAccessibilityInputMethodSessionCallback"
View Source
const DescriptorIBooleanListener = "com.android.internal.inputmethod.IBooleanListener"
View Source
const DescriptorIConnectionlessHandwritingCallback = "com.android.internal.inputmethod.IConnectionlessHandwritingCallback"
View Source
const DescriptorIImeTracker = "com.android.internal.inputmethod.IImeTracker"
View Source
const DescriptorIInlineSuggestionsRequestCallback = "com.android.internal.inputmethod.IInlineSuggestionsRequestCallback"
View Source
const DescriptorIInlineSuggestionsResponseCallback = "com.android.internal.inputmethod.IInlineSuggestionsResponseCallback"
View Source
const DescriptorIInputContentUriToken = "com.android.internal.inputmethod.IInputContentUriToken"
View Source
const DescriptorIInputMethod = "com.android.internal.inputmethod.IInputMethod"
View Source
const DescriptorIInputMethodClient = "com.android.internal.inputmethod.IInputMethodClient"
View Source
const DescriptorIInputMethodPrivilegedOperations = "com.android.internal.inputmethod.IInputMethodPrivilegedOperations"
View Source
const DescriptorIInputMethodSession = "com.android.internal.inputmethod.IInputMethodSession"
View Source
const DescriptorIInputMethodSessionCallback = "com.android.internal.inputmethod.IInputMethodSessionCallback"
View Source
const DescriptorIRemoteAccessibilityInputConnection = "com.android.internal.inputmethod.IRemoteAccessibilityInputConnection"
View Source
const DescriptorIRemoteInputConnection = "com.android.internal.inputmethod.IRemoteInputConnection"
View Source
const (
	TransactionIAccessibilityInputMethodSessionCallbackSessionCreated = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIBooleanListenerOnResult = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIInlineSuggestionsResponseCallbackOnInlineSuggestionsResponse = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIInputMethodSessionCallbackSessionCreated = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessibilityInputMethodSessionCallbackProxy

type AccessibilityInputMethodSessionCallbackProxy struct {
	// contains filtered or unexported fields
}

func NewAccessibilityInputMethodSessionCallbackProxy

func NewAccessibilityInputMethodSessionCallbackProxy(
	remote binder.IBinder,
) *AccessibilityInputMethodSessionCallbackProxy

func (*AccessibilityInputMethodSessionCallbackProxy) AsBinder

func (*AccessibilityInputMethodSessionCallbackProxy) SessionCreated

type AccessibilityInputMethodSessionProxy

type AccessibilityInputMethodSessionProxy struct {
	// contains filtered or unexported fields
}

func NewAccessibilityInputMethodSessionProxy

func NewAccessibilityInputMethodSessionProxy(
	remote binder.IBinder,
) *AccessibilityInputMethodSessionProxy

func (*AccessibilityInputMethodSessionProxy) AsBinder

func (*AccessibilityInputMethodSessionProxy) FinishInput

func (*AccessibilityInputMethodSessionProxy) FinishSession

func (p *AccessibilityInputMethodSessionProxy) FinishSession(
	ctx context.Context,
) error

func (*AccessibilityInputMethodSessionProxy) InvalidateInput

func (*AccessibilityInputMethodSessionProxy) UpdateSelection

func (p *AccessibilityInputMethodSessionProxy) UpdateSelection(
	ctx context.Context,
	oldSelStart int32,
	oldSelEnd int32,
	newSelStart int32,
	newSelEnd int32,
	candidatesStart int32,
	candidatesEnd int32,
) error

type BooleanListenerProxy

type BooleanListenerProxy struct {
	// contains filtered or unexported fields
}

func NewBooleanListenerProxy

func NewBooleanListenerProxy(
	remote binder.IBinder,
) *BooleanListenerProxy

func (*BooleanListenerProxy) AsBinder

func (p *BooleanListenerProxy) AsBinder() binder.IBinder

func (*BooleanListenerProxy) OnResult

func (p *BooleanListenerProxy) OnResult(
	ctx context.Context,
	value bool,
) error

type ConnectionlessHandwritingCallbackProxy

type ConnectionlessHandwritingCallbackProxy struct {
	// contains filtered or unexported fields
}

func NewConnectionlessHandwritingCallbackProxy

func NewConnectionlessHandwritingCallbackProxy(
	remote binder.IBinder,
) *ConnectionlessHandwritingCallbackProxy

func (*ConnectionlessHandwritingCallbackProxy) AsBinder

func (*ConnectionlessHandwritingCallbackProxy) OnError

func (p *ConnectionlessHandwritingCallbackProxy) OnError(
	ctx context.Context,
	errorCode int32,
) error

func (*ConnectionlessHandwritingCallbackProxy) OnResult

func (p *ConnectionlessHandwritingCallbackProxy) OnResult(
	ctx context.Context,
	text interface{},
) 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
}

type IAccessibilityInputMethodSessionCallback

type IAccessibilityInputMethodSessionCallback interface {
	AsBinder() binder.IBinder
	SessionCreated(ctx context.Context, session IAccessibilityInputMethodSession, id int32) error
}

type IBooleanListener

type IBooleanListener interface {
	AsBinder() binder.IBinder
	OnResult(ctx context.Context, value bool) error
}

type IConnectionlessHandwritingCallback

type IConnectionlessHandwritingCallback interface {
	AsBinder() binder.IBinder
	OnResult(ctx context.Context, text interface{}) error
	OnError(ctx context.Context, errorCode int32) error
}

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
	OnDispatched(ctx context.Context, statsToken viewInputmethod.ImeTrackerToken) error
	HasPendingImeVisibilityRequests(ctx context.Context) (bool, error)
	FinishTrackingPendingImeVisibilityRequests(ctx context.Context, completionSignal infra.AndroidFuture) error
}

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 interface{}) 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
}

type IInlineSuggestionsResponseCallback

type IInlineSuggestionsResponseCallback interface {
	AsBinder() binder.IBinder
	OnInlineSuggestionsResponse(ctx context.Context, fieldId interface{}, response viewInputmethod.InlineSuggestionsResponse) error
}

type IInputContentUriToken

type IInputContentUriToken interface {
	AsBinder() binder.IBinder
	Take(ctx context.Context) error
	Release(ctx context.Context) error
}

type IInputMethod

type IInputMethod interface {
	AsBinder() binder.IBinder
	InitializeInternal(ctx context.Context, params interface{}) 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 interface{}) error
	OnNavButtonFlagsChanged(ctx context.Context, navButtonFlags int32) error
	CreateSession(ctx context.Context, channel interface{}, 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 interface{}) error
	HideSoftInput(ctx context.Context, hideInputToken binder.IBinder, statsToken viewInputmethod.ImeTrackerToken, flags int32, resultReceiver interface{}) 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 interface{}, events []common.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
}

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
	SetImeVisibility(ctx context.Context, visible bool, statsToken *viewInputmethod.ImeTrackerToken) 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
}

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 interface{}, 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
	OnImeSwitchButtonClickFromClient(ctx context.Context, displayId int32) 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
	SetHandwritingSurfaceNotTouchable(ctx context.Context, notTouchable bool) error
	SetHandwritingTouchableRegion(ctx context.Context, region graphics.Region) error
}

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 interface{}) 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
}

type IInputMethodSessionCallback

type IInputMethodSessionCallback interface {
	AsBinder() binder.IBinder
	SessionCreated(ctx context.Context, session IInputMethodSession) error
}

type IRemoteAccessibilityInputConnection

type IRemoteAccessibilityInputConnection interface {
	AsBinder() binder.IBinder
	CommitText(ctx context.Context, header InputConnectionCommandHeader, text interface{}, 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 interface{}) 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
}

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 interface{}, newCursorPosition int32) error
	SetComposingTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text interface{}, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
	FinishComposingText(ctx context.Context, header InputConnectionCommandHeader) error
	CommitText(ctx context.Context, header InputConnectionCommandHeader, text interface{}, newCursorPosition int32) error
	CommitTextWithTextAttribute(ctx context.Context, header InputConnectionCommandHeader, text interface{}, 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 interface{}) 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 interface{}) error
	PerformHandwritingGesture(ctx context.Context, header InputConnectionCommandHeader, gesture viewInputmethod.ParcelableHandwritingGesture, resultReceiver interface{}) 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 interface{}) error
	CommitContent(ctx context.Context, header InputConnectionCommandHeader, inputContentInfo viewInputmethod.InputContentInfo, flags int32, opts interface{}, 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 interface{}, newCursorPosition int32, textAttribute viewInputmethod.TextAttribute) error
	CancelCancellationSignal(ctx context.Context, token binder.IBinder) error
	ForgetCancellationSignal(ctx context.Context, token binder.IBinder) error
}

type ImeTrackerProxy

type ImeTrackerProxy struct {
	// contains filtered or unexported fields
}

func NewImeTrackerProxy

func NewImeTrackerProxy(
	remote binder.IBinder,
) *ImeTrackerProxy

func (*ImeTrackerProxy) AsBinder

func (p *ImeTrackerProxy) AsBinder() binder.IBinder

func (*ImeTrackerProxy) FinishTrackingPendingImeVisibilityRequests

func (p *ImeTrackerProxy) FinishTrackingPendingImeVisibilityRequests(
	ctx context.Context,
	completionSignal infra.AndroidFuture,
) error

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) OnDispatched

func (p *ImeTrackerProxy) OnDispatched(
	ctx context.Context,
	statsToken viewInputmethod.ImeTrackerToken,
) 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 (p *ImeTrackerProxy) OnProgress(
	ctx context.Context,
	binder_ binder.IBinder,
	phase int32,
) error

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 InlineSuggestionsRequestCallbackProxy

type InlineSuggestionsRequestCallbackProxy struct {
	// contains filtered or unexported fields
}

func NewInlineSuggestionsRequestCallbackProxy

func NewInlineSuggestionsRequestCallbackProxy(
	remote binder.IBinder,
) *InlineSuggestionsRequestCallbackProxy

func (*InlineSuggestionsRequestCallbackProxy) AsBinder

func (*InlineSuggestionsRequestCallbackProxy) OnInlineSuggestionsRequest

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 interface{},
) error

func (*InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInputView

func (p *InlineSuggestionsRequestCallbackProxy) OnInputMethodStartInputView(
	ctx context.Context,
) error

type InlineSuggestionsRequestInfo

type InlineSuggestionsRequestInfo struct {
}

func (*InlineSuggestionsRequestInfo) MarshalParcel

func (s *InlineSuggestionsRequestInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*InlineSuggestionsRequestInfo) UnmarshalParcel

func (s *InlineSuggestionsRequestInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type InlineSuggestionsResponseCallbackProxy

type InlineSuggestionsResponseCallbackProxy struct {
	// contains filtered or unexported fields
}

func NewInlineSuggestionsResponseCallbackProxy

func NewInlineSuggestionsResponseCallbackProxy(
	remote binder.IBinder,
) *InlineSuggestionsResponseCallbackProxy

func (*InlineSuggestionsResponseCallbackProxy) AsBinder

func (*InlineSuggestionsResponseCallbackProxy) OnInlineSuggestionsResponse

func (p *InlineSuggestionsResponseCallbackProxy) OnInlineSuggestionsResponse(
	ctx context.Context,
	fieldId interface{},
	response viewInputmethod.InlineSuggestionsResponse,
) error

type InputBindResult

type InputBindResult struct {
}

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 {
}

func (*InputConnectionCommandHeader) MarshalParcel

func (s *InputConnectionCommandHeader) MarshalParcel(
	p *parcel.Parcel,
) error

func (*InputConnectionCommandHeader) UnmarshalParcel

func (s *InputConnectionCommandHeader) UnmarshalParcel(
	p *parcel.Parcel,
) error

type InputContentUriTokenProxy

type InputContentUriTokenProxy struct {
	// contains filtered or unexported fields
}

func NewInputContentUriTokenProxy

func NewInputContentUriTokenProxy(
	remote binder.IBinder,
) *InputContentUriTokenProxy

func (*InputContentUriTokenProxy) AsBinder

func (*InputContentUriTokenProxy) Release

func (p *InputContentUriTokenProxy) Release(
	ctx context.Context,
) error

func (*InputContentUriTokenProxy) Take

type InputMethodClientProxy

type InputMethodClientProxy struct {
	// contains filtered or unexported fields
}

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 (p *InputMethodClientProxy) OnUnbindAccessibilityService(
	ctx context.Context,
	sequence int32,
	id int32,
) error

func (*InputMethodClientProxy) OnUnbindMethod

func (p *InputMethodClientProxy) OnUnbindMethod(
	ctx context.Context,
	sequence int32,
	unbindReason int32,
) error

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) SetActive

func (p *InputMethodClientProxy) SetActive(
	ctx context.Context,
	active bool,
	fullscreen bool,
) error

func (*InputMethodClientProxy) SetImeTraceEnabled

func (p *InputMethodClientProxy) SetImeTraceEnabled(
	ctx context.Context,
	enabled bool,
) error

func (*InputMethodClientProxy) SetImeVisibility

func (p *InputMethodClientProxy) SetImeVisibility(
	ctx context.Context,
	visible bool,
	statsToken *viewInputmethod.ImeTrackerToken,
) error

func (*InputMethodClientProxy) SetInteractive

func (p *InputMethodClientProxy) SetInteractive(
	ctx context.Context,
	active bool,
	fullscreen bool,
) error

func (*InputMethodClientProxy) ThrowExceptionFromSystem

func (p *InputMethodClientProxy) ThrowExceptionFromSystem(
	ctx context.Context,
	message string,
) error

type InputMethodInfoSafeList

type InputMethodInfoSafeList struct {
}

func (*InputMethodInfoSafeList) MarshalParcel

func (s *InputMethodInfoSafeList) MarshalParcel(
	p *parcel.Parcel,
) error

func (*InputMethodInfoSafeList) UnmarshalParcel

func (s *InputMethodInfoSafeList) UnmarshalParcel(
	p *parcel.Parcel,
) error

type InputMethodPrivilegedOperationsProxy

type InputMethodPrivilegedOperationsProxy struct {
	// contains filtered or unexported fields
}

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 (*InputMethodPrivilegedOperationsProxy) CreateInputContentUriToken

func (p *InputMethodPrivilegedOperationsProxy) CreateInputContentUriToken(
	ctx context.Context,
	contentUri interface{},
	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) OnImeSwitchButtonClickFromClient

func (p *InputMethodPrivilegedOperationsProxy) OnImeSwitchButtonClickFromClient(
	ctx context.Context,
	displayId int32,
) error

func (*InputMethodPrivilegedOperationsProxy) OnStylusHandwritingReady

func (p *InputMethodPrivilegedOperationsProxy) OnStylusHandwritingReady(
	ctx context.Context,
	requestId int32,
	pid int32,
) error

func (*InputMethodPrivilegedOperationsProxy) ReportFullscreenModeAsync

func (p *InputMethodPrivilegedOperationsProxy) ReportFullscreenModeAsync(
	ctx context.Context,
	fullscreen bool,
) error

func (*InputMethodPrivilegedOperationsProxy) ReportStartInputAsync

func (p *InputMethodPrivilegedOperationsProxy) ReportStartInputAsync(
	ctx context.Context,
	startInputToken binder.IBinder,
) error

func (*InputMethodPrivilegedOperationsProxy) ResetStylusHandwriting

func (p *InputMethodPrivilegedOperationsProxy) ResetStylusHandwriting(
	ctx context.Context,
	requestId int32,
) error

func (*InputMethodPrivilegedOperationsProxy) SetHandwritingSurfaceNotTouchable

func (p *InputMethodPrivilegedOperationsProxy) SetHandwritingSurfaceNotTouchable(
	ctx context.Context,
	notTouchable bool,
) error

func (*InputMethodPrivilegedOperationsProxy) SetHandwritingTouchableRegion

func (p *InputMethodPrivilegedOperationsProxy) SetHandwritingTouchableRegion(
	ctx context.Context,
	region graphics.Region,
) error

func (*InputMethodPrivilegedOperationsProxy) SetImeWindowStatusAsync

func (p *InputMethodPrivilegedOperationsProxy) SetImeWindowStatusAsync(
	ctx context.Context,
	vis int32,
	backDisposition int32,
) error

func (*InputMethodPrivilegedOperationsProxy) SetInputMethod

func (p *InputMethodPrivilegedOperationsProxy) SetInputMethod(
	ctx context.Context,
	id string,
	future infra.AndroidFuture,
) error

func (*InputMethodPrivilegedOperationsProxy) SetInputMethodAndSubtype

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

func (p *InputMethodPrivilegedOperationsProxy) UpdateStatusIconAsync(
	ctx context.Context,
	packageName string,
	iconId int32,
) error

type InputMethodProxy

type InputMethodProxy struct {
	// contains filtered or unexported fields
}

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 interface{},
	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 interface{},
) error

func (*InputMethodProxy) InitInkWindow

func (p *InputMethodProxy) InitInkWindow(
	ctx context.Context,
) error

func (*InputMethodProxy) InitializeInternal

func (p *InputMethodProxy) InitializeInternal(
	ctx context.Context,
	params interface{},
) 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 interface{},
) error

func (*InputMethodProxy) StartInput

func (p *InputMethodProxy) StartInput(
	ctx context.Context,
	params interface{},
) error

func (*InputMethodProxy) StartStylusHandwriting

func (p *InputMethodProxy) StartStylusHandwriting(
	ctx context.Context,
	requestId int32,
	channel interface{},
	events []common.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

type InputMethodSessionCallbackProxy struct {
	// contains filtered or unexported fields
}

func NewInputMethodSessionCallbackProxy

func NewInputMethodSessionCallbackProxy(
	remote binder.IBinder,
) *InputMethodSessionCallbackProxy

func (*InputMethodSessionCallbackProxy) AsBinder

func (*InputMethodSessionCallbackProxy) SessionCreated

func (p *InputMethodSessionCallbackProxy) SessionCreated(
	ctx context.Context,
	session IInputMethodSession,
) error

type InputMethodSessionProxy

type InputMethodSessionProxy struct {
	// contains filtered or unexported fields
}

func NewInputMethodSessionProxy

func NewInputMethodSessionProxy(
	remote binder.IBinder,
) *InputMethodSessionProxy

func (*InputMethodSessionProxy) AppPrivateCommand

func (p *InputMethodSessionProxy) AppPrivateCommand(
	ctx context.Context,
	action string,
	data interface{},
) error

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 (p *InputMethodSessionProxy) UpdateCursor(
	ctx context.Context,
	newCursor graphics.Rect,
) error

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 (p *InputMethodSessionProxy) UpdateSelection(
	ctx context.Context,
	oldSelStart int32,
	oldSelEnd int32,
	newSelStart int32,
	newSelEnd int32,
	candidatesStart int32,
	candidatesEnd int32,
) error

func (*InputMethodSessionProxy) ViewClicked

func (p *InputMethodSessionProxy) ViewClicked(
	ctx context.Context,
	focusChanged bool,
) 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

type RemoteAccessibilityInputConnectionProxy struct {
	// contains filtered or unexported fields
}

func NewRemoteAccessibilityInputConnectionProxy

func NewRemoteAccessibilityInputConnectionProxy(
	remote binder.IBinder,
) *RemoteAccessibilityInputConnectionProxy

func (*RemoteAccessibilityInputConnectionProxy) AsBinder

func (*RemoteAccessibilityInputConnectionProxy) ClearMetaKeyStates

func (*RemoteAccessibilityInputConnectionProxy) CommitText

func (p *RemoteAccessibilityInputConnectionProxy) CommitText(
	ctx context.Context,
	header InputConnectionCommandHeader,
	text interface{},
	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 (*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 interface{},
) error

func (*RemoteAccessibilityInputConnectionProxy) SetSelection

type RemoteInputConnectionProxy

type RemoteInputConnectionProxy struct {
	// contains filtered or unexported fields
}

func NewRemoteInputConnectionProxy

func NewRemoteInputConnectionProxy(
	remote binder.IBinder,
) *RemoteInputConnectionProxy

func (*RemoteInputConnectionProxy) AsBinder

func (*RemoteInputConnectionProxy) BeginBatchEdit

func (*RemoteInputConnectionProxy) CancelCancellationSignal

func (p *RemoteInputConnectionProxy) CancelCancellationSignal(
	ctx context.Context,
	token binder.IBinder,
) error

func (*RemoteInputConnectionProxy) ClearMetaKeyStates

func (p *RemoteInputConnectionProxy) ClearMetaKeyStates(
	ctx context.Context,
	header InputConnectionCommandHeader,
	states int32,
) error

func (*RemoteInputConnectionProxy) CommitCompletion

func (*RemoteInputConnectionProxy) CommitContent

func (p *RemoteInputConnectionProxy) CommitContent(
	ctx context.Context,
	header InputConnectionCommandHeader,
	inputContentInfo viewInputmethod.InputContentInfo,
	flags int32,
	opts interface{},
	future infra.AndroidFuture,
) error

func (*RemoteInputConnectionProxy) CommitCorrection

func (*RemoteInputConnectionProxy) CommitText

func (p *RemoteInputConnectionProxy) CommitText(
	ctx context.Context,
	header InputConnectionCommandHeader,
	text interface{},
	newCursorPosition int32,
) error

func (*RemoteInputConnectionProxy) CommitTextWithTextAttribute

func (p *RemoteInputConnectionProxy) CommitTextWithTextAttribute(
	ctx context.Context,
	header InputConnectionCommandHeader,
	text interface{},
	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 (*RemoteInputConnectionProxy) FinishComposingText

func (p *RemoteInputConnectionProxy) FinishComposingText(
	ctx context.Context,
	header InputConnectionCommandHeader,
) error

func (*RemoteInputConnectionProxy) ForgetCancellationSignal

func (p *RemoteInputConnectionProxy) ForgetCancellationSignal(
	ctx context.Context,
	token binder.IBinder,
) error

func (*RemoteInputConnectionProxy) GetCursorCapsMode

func (p *RemoteInputConnectionProxy) GetCursorCapsMode(
	ctx context.Context,
	header InputConnectionCommandHeader,
	reqModes int32,
	future infra.AndroidFuture,
) error

func (*RemoteInputConnectionProxy) GetExtractedText

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 interface{},
) error

func (*RemoteInputConnectionProxy) PerformPrivateCommand

func (p *RemoteInputConnectionProxy) PerformPrivateCommand(
	ctx context.Context,
	header InputConnectionCommandHeader,
	action string,
	data interface{},
) 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 interface{},
	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 interface{},
) error

func (*RemoteInputConnectionProxy) SendKeyEvent

func (p *RemoteInputConnectionProxy) SendKeyEvent(
	ctx context.Context,
	header InputConnectionCommandHeader,
	event interface{},
) 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 interface{},
	newCursorPosition int32,
) error

func (*RemoteInputConnectionProxy) SetComposingTextWithTextAttribute

func (p *RemoteInputConnectionProxy) SetComposingTextWithTextAttribute(
	ctx context.Context,
	header InputConnectionCommandHeader,
	text interface{},
	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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL