Documentation
¶
Overview ¶
Package inputmethodservice provides Go bindings for android.inputmethodservice.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type AbstractInputMethodService
- func (m *AbstractInputMethodService) GetKeyDispatcherState() (*jni.Object, error)
- func (m *AbstractInputMethodService) GetSystemService(arg0 string) (*jni.Object, error)
- func (m *AbstractInputMethodService) OnBind(arg0 *jni.Object) (*jni.Object, error)
- func (m *AbstractInputMethodService) OnConfigurationChanged(arg0 *jni.Object) error
- func (m *AbstractInputMethodService) OnCreateInputMethodInterface() (*jni.Object, error)
- func (m *AbstractInputMethodService) OnCreateInputMethodSessionInterface() (*jni.Object, error)
- func (m *AbstractInputMethodService) OnDestroy() error
- func (m *AbstractInputMethodService) OnGenericMotionEvent(arg0 *jni.Object) (bool, error)
- func (m *AbstractInputMethodService) OnLowMemory() error
- func (m *AbstractInputMethodService) OnShouldVerifyKeyEvent(arg0 *jni.Object) (bool, error)
- func (m *AbstractInputMethodService) OnTrackballEvent(arg0 *jni.Object) (bool, error)
- func (m *AbstractInputMethodService) OnTrimMemory(arg0 int32) error
- func (m *AbstractInputMethodService) RegisterComponentCallbacks(arg0 *jni.Object) error
- func (m *AbstractInputMethodService) UnregisterComponentCallbacks(arg0 *jni.Object) error
- type AbstractInputMethodServiceAbstractInputMethodImpl
- func (m *AbstractInputMethodServiceAbstractInputMethodImpl) CreateSession(arg0 *jni.Object) error
- func (m *AbstractInputMethodServiceAbstractInputMethodImpl) RevokeSession(arg0 *jni.Object) error
- func (m *AbstractInputMethodServiceAbstractInputMethodImpl) SetSessionEnabled(arg0 *jni.Object, arg1 bool) error
- type AbstractInputMethodServiceAbstractInputMethodSessionImpl
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchGenericMotionEvent(arg0 int32, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchKeyEvent(arg0 int32, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchTrackballEvent(arg0 int32, arg1 *jni.Object, arg2 *jni.Object) error
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) IsEnabled() (bool, error)
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) IsRevoked() (bool, error)
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) OnShouldVerifyKeyEvent(arg0 *jni.Object) (bool, error)
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) RevokeSelf() error
- func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) SetEnabled(arg0 bool) error
- type ExtractEditText
- func (m *ExtractEditText) FinishInternalChanges() error
- func (m *ExtractEditText) HasFocus() (bool, error)
- func (m *ExtractEditText) HasVerticalScrollBar() (bool, error)
- func (m *ExtractEditText) HasWindowFocus() (bool, error)
- func (m *ExtractEditText) IsFocused() (bool, error)
- func (m *ExtractEditText) IsInputMethodTarget() (bool, error)
- func (m *ExtractEditText) OnTextContextMenuItem(arg0 int32) (bool, error)
- func (m *ExtractEditText) PerformClick() (bool, error)
- func (m *ExtractEditText) SetExtractedText(arg0 *jni.Object) error
- func (m *ExtractEditText) StartInternalChanges() error
- type InputMethodService
- func (m *InputMethodService) EnableHardwareAcceleration() (bool, error)
- func (m *InputMethodService) FinishConnectionlessStylusHandwriting(arg0 string) error
- func (m *InputMethodService) FinishStylusHandwriting() error
- func (m *InputMethodService) GetBackDisposition() (int32, error)
- func (m *InputMethodService) GetCandidatesHiddenVisibility() (int32, error)
- func (m *InputMethodService) GetCurrentInputBinding() (*jni.Object, error)
- func (m *InputMethodService) GetCurrentInputConnection() (*jni.Object, error)
- func (m *InputMethodService) GetCurrentInputEditorInfo() (*jni.Object, error)
- func (m *InputMethodService) GetCurrentInputStarted() (bool, error)
- func (m *InputMethodService) GetInputMethodWindowRecommendedHeight() (int32, error)
- func (m *InputMethodService) GetLayoutInflater() (*jni.Object, error)
- func (m *InputMethodService) GetMaxWidth() (int32, error)
- func (m *InputMethodService) GetStylusHandwritingIdleTimeoutMax() (*jni.Object, error)
- func (m *InputMethodService) GetStylusHandwritingSessionTimeout() (*jni.Object, error)
- func (m *InputMethodService) GetStylusHandwritingWindow() (*jni.Object, error)
- func (m *InputMethodService) GetSystemService(arg0 string) (*jni.Object, error)
- func (m *InputMethodService) GetTextForImeAction(arg0 int32) (*jni.Object, error)
- func (m *InputMethodService) GetWindow() (*jni.Object, error)
- func (m *InputMethodService) HideStatusIcon() error
- func (m *InputMethodService) HideWindow() error
- func (m *InputMethodService) IsExtractViewShown() (bool, error)
- func (m *InputMethodService) IsFullscreenMode() (bool, error)
- func (m *InputMethodService) IsInputViewShown() (bool, error)
- func (m *InputMethodService) IsShowInputRequested() (bool, error)
- func (m *InputMethodService) OnAppPrivateCommand(arg0 string, arg1 *jni.Object) error
- func (m *InputMethodService) OnBindInput() error
- func (m *InputMethodService) OnComputeInsets(arg0 *jni.Object) error
- func (m *InputMethodService) OnConfigurationChanged(arg0 *jni.Object) error
- func (m *InputMethodService) OnConfigureWindow(arg0 *jni.Object, arg1 bool, arg2 bool) error
- func (m *InputMethodService) OnCreate() error
- func (m *InputMethodService) OnCreateCandidatesView() (*jni.Object, error)
- func (m *InputMethodService) OnCreateExtractTextView() (*jni.Object, error)
- func (m *InputMethodService) OnCreateInlineSuggestionsRequest(arg0 *jni.Object) (*jni.Object, error)
- func (m *InputMethodService) OnCreateInputMethodInterface() (*jni.Object, error)
- func (m *InputMethodService) OnCreateInputMethodSessionInterface() (*jni.Object, error)
- func (m *InputMethodService) OnCreateInputView() (*jni.Object, error)
- func (m *InputMethodService) OnCustomImeSwitcherButtonRequestedVisible(arg0 bool) error
- func (m *InputMethodService) OnDestroy() error
- func (m *InputMethodService) OnDisplayCompletions(arg0 *jni.Object) error
- func (m *InputMethodService) OnEvaluateFullscreenMode() (bool, error)
- func (m *InputMethodService) OnEvaluateInputViewShown() (bool, error)
- func (m *InputMethodService) OnExtractTextContextMenuItem(arg0 int32) (bool, error)
- func (m *InputMethodService) OnExtractedCursorMovement(arg0 int32, arg1 int32) error
- func (m *InputMethodService) OnExtractedSelectionChanged(arg0 int32, arg1 int32) error
- func (m *InputMethodService) OnExtractedTextClicked() error
- func (m *InputMethodService) OnExtractingInputChanged(arg0 *jni.Object) error
- func (m *InputMethodService) OnFinishCandidatesView(arg0 bool) error
- func (m *InputMethodService) OnFinishInput() error
- func (m *InputMethodService) OnFinishInputView(arg0 bool) error
- func (m *InputMethodService) OnFinishStylusHandwriting() error
- func (m *InputMethodService) OnGenericMotionEvent(arg0 *jni.Object) (bool, error)
- func (m *InputMethodService) OnInitializeInterface() error
- func (m *InputMethodService) OnInlineSuggestionsResponse(arg0 *jni.Object) (bool, error)
- func (m *InputMethodService) OnKeyDown(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *InputMethodService) OnKeyLongPress(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *InputMethodService) OnKeyMultiple(arg0 int32, arg1 int32, arg2 *jni.Object) (bool, error)
- func (m *InputMethodService) OnKeyUp(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *InputMethodService) OnPrepareStylusHandwriting() error
- func (m *InputMethodService) OnShouldVerifyKeyEvent(arg0 *jni.Object) (bool, error)
- func (m *InputMethodService) OnShowInputRequested(arg0 int32, arg1 bool) (bool, error)
- func (m *InputMethodService) OnStartCandidatesView(arg0 *jni.Object, arg1 bool) error
- func (m *InputMethodService) OnStartConnectionlessStylusHandwriting(arg0 int32, arg1 *jni.Object) (bool, error)
- func (m *InputMethodService) OnStartInput(arg0 *jni.Object, arg1 bool) error
- func (m *InputMethodService) OnStartInputView(arg0 *jni.Object, arg1 bool) error
- func (m *InputMethodService) OnStartStylusHandwriting() (bool, error)
- func (m *InputMethodService) OnStylusHandwritingMotionEvent(arg0 *jni.Object) error
- func (m *InputMethodService) OnTrackballEvent(arg0 *jni.Object) (bool, error)
- func (m *InputMethodService) OnUnbindInput() error
- func (m *InputMethodService) OnUpdateCursor(arg0 *jni.Object) error
- func (m *InputMethodService) OnUpdateCursorAnchorInfo(arg0 *jni.Object) error
- func (m *InputMethodService) OnUpdateEditorToolType(arg0 int32) error
- func (m *InputMethodService) OnUpdateExtractedText(arg0 int32, arg1 *jni.Object) error
- func (m *InputMethodService) OnUpdateExtractingViews(arg0 *jni.Object) error
- func (m *InputMethodService) OnUpdateExtractingVisibility(arg0 *jni.Object) error
- func (m *InputMethodService) OnUpdateSelection(arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, arg5 int32) error
- func (m *InputMethodService) OnViewClicked(arg0 bool) error
- func (m *InputMethodService) OnWindowHidden() error
- func (m *InputMethodService) OnWindowShown() error
- func (m *InputMethodService) RequestHideSelf(arg0 int32) error
- func (m *InputMethodService) RequestShowSelf(arg0 int32) error
- func (m *InputMethodService) SendDefaultEditorAction(arg0 bool) (bool, error)
- func (m *InputMethodService) SendDownUpKeyEvents(arg0 int32) error
- func (m *InputMethodService) SendKeyChar(arg0 uint16) error
- func (m *InputMethodService) SetBackDisposition(arg0 int32) error
- func (m *InputMethodService) SetCandidatesView(arg0 *jni.Object) error
- func (m *InputMethodService) SetCandidatesViewShown(arg0 bool) error
- func (m *InputMethodService) SetExtractView(arg0 *jni.Object) error
- func (m *InputMethodService) SetExtractViewShown(arg0 bool) error
- func (m *InputMethodService) SetInputView(arg0 *jni.Object) error
- func (m *InputMethodService) SetStylusHandwritingRegion(arg0 *jni.Object) error
- func (m *InputMethodService) SetStylusHandwritingSessionTimeout(arg0 *jni.Object) error
- func (m *InputMethodService) SetTheme(arg0 int32) error
- func (m *InputMethodService) ShouldOfferSwitchingToNextInputMethod() (bool, error)
- func (m *InputMethodService) ShowStatusIcon(arg0 int32) error
- func (m *InputMethodService) ShowWindow(arg0 bool) error
- func (m *InputMethodService) SwitchInputMethod1(arg0 string) error
- func (m *InputMethodService) SwitchInputMethod2_1(arg0 string, arg1 *jni.Object) error
- func (m *InputMethodService) SwitchToNextInputMethod(arg0 bool) (bool, error)
- func (m *InputMethodService) SwitchToPreviousInputMethod() (bool, error)
- func (m *InputMethodService) UpdateFullscreenMode() error
- func (m *InputMethodService) UpdateInputViewShown() error
- type InputMethodServiceInputMethodImpl
- func (m *InputMethodServiceInputMethodImpl) AttachToken(arg0 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) BindInput(arg0 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) ChangeInputMethodSubtype(arg0 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) HideSoftInput(arg0 int32, arg1 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) RestartInput(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) ShowSoftInput(arg0 int32, arg1 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) StartInput(arg0 *jni.Object, arg1 *jni.Object) error
- func (m *InputMethodServiceInputMethodImpl) UnbindInput() error
- type InputMethodServiceInputMethodSessionImpl
- func (m *InputMethodServiceInputMethodSessionImpl) AppPrivateCommand(arg0 string, arg1 *jni.Object) error
- func (m *InputMethodServiceInputMethodSessionImpl) DisplayCompletions(arg0 *jni.Object) error
- func (m *InputMethodServiceInputMethodSessionImpl) FinishInput() error
- func (m *InputMethodServiceInputMethodSessionImpl) ToggleSoftInput(arg0 int32, arg1 int32) error
- func (m *InputMethodServiceInputMethodSessionImpl) UpdateCursor(arg0 *jni.Object) error
- func (m *InputMethodServiceInputMethodSessionImpl) UpdateCursorAnchorInfo(arg0 *jni.Object) error
- func (m *InputMethodServiceInputMethodSessionImpl) UpdateExtractedText(arg0 int32, arg1 *jni.Object) error
- func (m *InputMethodServiceInputMethodSessionImpl) UpdateSelection(arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, arg5 int32) error
- func (m *InputMethodServiceInputMethodSessionImpl) ViewClicked(arg0 bool) error
- type Keyboard
- func (m *Keyboard) GetHeight() (int32, error)
- func (m *Keyboard) GetMinWidth() (int32, error)
- func (m *Keyboard) GetNearestKeys(arg0 int32, arg1 int32) (*jni.Object, error)
- func (m *Keyboard) GetShiftKeyIndex() (int32, error)
- func (m *Keyboard) IsShifted() (bool, error)
- func (m *Keyboard) SetShifted(arg0 bool) (bool, error)
- type KeyboardKey
- func (m *KeyboardKey) GetCurrentDrawableState() (*jni.Object, error)
- func (m *KeyboardKey) IsInside(arg0 int32, arg1 int32) (bool, error)
- func (m *KeyboardKey) OnPressed() error
- func (m *KeyboardKey) OnReleased(arg0 bool) error
- func (m *KeyboardKey) SquaredDistanceFrom(arg0 int32, arg1 int32) (int32, error)
- type KeyboardView
- func (m *KeyboardView) Closing() error
- func (m *KeyboardView) GetKeyboard() (*jni.Object, error)
- func (m *KeyboardView) HandleBack() (bool, error)
- func (m *KeyboardView) InvalidateAllKeys() error
- func (m *KeyboardView) InvalidateKey(arg0 int32) error
- func (m *KeyboardView) IsPreviewEnabled() (bool, error)
- func (m *KeyboardView) IsProximityCorrectionEnabled() (bool, error)
- func (m *KeyboardView) IsShifted() (bool, error)
- func (m *KeyboardView) OnClick(arg0 *jni.Object) error
- func (m *KeyboardView) OnDetachedFromWindow() error
- func (m *KeyboardView) OnDraw(arg0 *jni.Object) error
- func (m *KeyboardView) OnHoverEvent(arg0 *jni.Object) (bool, error)
- func (m *KeyboardView) OnMeasure(arg0 int32, arg1 int32) error
- func (m *KeyboardView) OnSizeChanged(arg0 int32, arg1 int32, arg2 int32, arg3 int32) error
- func (m *KeyboardView) OnTouchEvent(arg0 *jni.Object) (bool, error)
- func (m *KeyboardView) SetKeyboard(arg0 *jni.Object) error
- func (m *KeyboardView) SetOnKeyboardActionListener(arg0 *jni.Object) error
- func (m *KeyboardView) SetPopupOffset(arg0 int32, arg1 int32) error
- func (m *KeyboardView) SetPopupParent(arg0 *jni.Object) error
- func (m *KeyboardView) SetPreviewEnabled(arg0 bool) error
- func (m *KeyboardView) SetProximityCorrectionEnabled(arg0 bool) error
- func (m *KeyboardView) SetShifted(arg0 bool) (bool, error)
- func (m *KeyboardView) SetVerticalCorrection(arg0 int32) error
- type KeyboardViewOnKeyboardActionListener
- func (m *KeyboardViewOnKeyboardActionListener) OnKey(arg0 int32, arg1 *jni.Object) error
- func (m *KeyboardViewOnKeyboardActionListener) OnPress(arg0 int32) error
- func (m *KeyboardViewOnKeyboardActionListener) OnRelease(arg0 int32) error
- func (m *KeyboardViewOnKeyboardActionListener) OnText(arg0 string) error
- func (m *KeyboardViewOnKeyboardActionListener) SwipeDown() error
- func (m *KeyboardViewOnKeyboardActionListener) SwipeLeft() error
- func (m *KeyboardViewOnKeyboardActionListener) SwipeRight() error
- func (m *KeyboardViewOnKeyboardActionListener) SwipeUp() error
Constants ¶
const ( EdgeBottom = consts.EdgeBottom EdgeLeft = consts.EdgeLeft EdgeRight = consts.EdgeRight EdgeTop = consts.EdgeTop KeycodeAlt = consts.KeycodeAlt KeycodeCancel = consts.KeycodeCancel KeycodeDelete = consts.KeycodeDelete KeycodeDone = consts.KeycodeDone KeycodeModeChange = consts.KeycodeModeChange KeycodeShift = consts.KeycodeShift BackDispositionAdjustNothing = consts.BackDispositionAdjustNothing BackDispositionDefault = consts.BackDispositionDefault BackDispositionWillDismiss = consts.BackDispositionWillDismiss BackDispositionWillNotDismiss = consts.BackDispositionWillNotDismiss TouchableInsetsContent = consts.TouchableInsetsContent TouchableInsetsFrame = consts.TouchableInsetsFrame TouchableInsetsRegion = consts.TouchableInsetsRegion TouchableInsetsVisible = consts.TouchableInsetsVisible )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AbstractInputMethodService ¶
AbstractInputMethodService wraps android.inputmethodservice.AbstractInputMethodService.
func (*AbstractInputMethodService) GetKeyDispatcherState ¶
func (m *AbstractInputMethodService) GetKeyDispatcherState() (*jni.Object, error)
GetKeyDispatcherState calls android.inputmethodservice.AbstractInputMethodService.getKeyDispatcherState.
func (*AbstractInputMethodService) GetSystemService ¶
func (m *AbstractInputMethodService) GetSystemService(arg0 string) (*jni.Object, error)
GetSystemService calls android.inputmethodservice.AbstractInputMethodService.getSystemService.
func (*AbstractInputMethodService) OnBind ¶
OnBind calls android.inputmethodservice.AbstractInputMethodService.onBind.
func (*AbstractInputMethodService) OnConfigurationChanged ¶
func (m *AbstractInputMethodService) OnConfigurationChanged(arg0 *jni.Object) error
OnConfigurationChanged calls android.inputmethodservice.AbstractInputMethodService.onConfigurationChanged.
func (*AbstractInputMethodService) OnCreateInputMethodInterface ¶
func (m *AbstractInputMethodService) OnCreateInputMethodInterface() (*jni.Object, error)
OnCreateInputMethodInterface calls android.inputmethodservice.AbstractInputMethodService.onCreateInputMethodInterface.
func (*AbstractInputMethodService) OnCreateInputMethodSessionInterface ¶
func (m *AbstractInputMethodService) OnCreateInputMethodSessionInterface() (*jni.Object, error)
OnCreateInputMethodSessionInterface calls android.inputmethodservice.AbstractInputMethodService.onCreateInputMethodSessionInterface.
func (*AbstractInputMethodService) OnDestroy ¶
func (m *AbstractInputMethodService) OnDestroy() error
OnDestroy calls android.inputmethodservice.AbstractInputMethodService.onDestroy.
func (*AbstractInputMethodService) OnGenericMotionEvent ¶
func (m *AbstractInputMethodService) OnGenericMotionEvent(arg0 *jni.Object) (bool, error)
OnGenericMotionEvent calls android.inputmethodservice.AbstractInputMethodService.onGenericMotionEvent.
func (*AbstractInputMethodService) OnLowMemory ¶
func (m *AbstractInputMethodService) OnLowMemory() error
OnLowMemory calls android.inputmethodservice.AbstractInputMethodService.onLowMemory.
func (*AbstractInputMethodService) OnShouldVerifyKeyEvent ¶
func (m *AbstractInputMethodService) OnShouldVerifyKeyEvent(arg0 *jni.Object) (bool, error)
OnShouldVerifyKeyEvent calls android.inputmethodservice.AbstractInputMethodService.onShouldVerifyKeyEvent.
func (*AbstractInputMethodService) OnTrackballEvent ¶
func (m *AbstractInputMethodService) OnTrackballEvent(arg0 *jni.Object) (bool, error)
OnTrackballEvent calls android.inputmethodservice.AbstractInputMethodService.onTrackballEvent.
func (*AbstractInputMethodService) OnTrimMemory ¶
func (m *AbstractInputMethodService) OnTrimMemory(arg0 int32) error
OnTrimMemory calls android.inputmethodservice.AbstractInputMethodService.onTrimMemory.
func (*AbstractInputMethodService) RegisterComponentCallbacks ¶
func (m *AbstractInputMethodService) RegisterComponentCallbacks(arg0 *jni.Object) error
RegisterComponentCallbacks calls android.inputmethodservice.AbstractInputMethodService.registerComponentCallbacks.
func (*AbstractInputMethodService) UnregisterComponentCallbacks ¶
func (m *AbstractInputMethodService) UnregisterComponentCallbacks(arg0 *jni.Object) error
UnregisterComponentCallbacks calls android.inputmethodservice.AbstractInputMethodService.unregisterComponentCallbacks.
type AbstractInputMethodServiceAbstractInputMethodImpl ¶
AbstractInputMethodServiceAbstractInputMethodImpl wraps android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodImpl.
func (*AbstractInputMethodServiceAbstractInputMethodImpl) CreateSession ¶
func (m *AbstractInputMethodServiceAbstractInputMethodImpl) CreateSession(arg0 *jni.Object) error
CreateSession calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodImpl.createSession.
func (*AbstractInputMethodServiceAbstractInputMethodImpl) RevokeSession ¶
func (m *AbstractInputMethodServiceAbstractInputMethodImpl) RevokeSession(arg0 *jni.Object) error
RevokeSession calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodImpl.revokeSession.
func (*AbstractInputMethodServiceAbstractInputMethodImpl) SetSessionEnabled ¶
func (m *AbstractInputMethodServiceAbstractInputMethodImpl) SetSessionEnabled(arg0 *jni.Object, arg1 bool) error
SetSessionEnabled calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodImpl.setSessionEnabled.
type AbstractInputMethodServiceAbstractInputMethodSessionImpl ¶
type AbstractInputMethodServiceAbstractInputMethodSessionImpl struct {
VM *jni.VM
Obj *jni.GlobalRef
}
AbstractInputMethodServiceAbstractInputMethodSessionImpl wraps android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchGenericMotionEvent ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchGenericMotionEvent( arg0 int32, arg1 *jni.Object, arg2 *jni.Object, ) error
DispatchGenericMotionEvent calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.dispatchGenericMotionEvent.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchKeyEvent ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchKeyEvent( arg0 int32, arg1 *jni.Object, arg2 *jni.Object, ) error
DispatchKeyEvent calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.dispatchKeyEvent.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchTrackballEvent ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) DispatchTrackballEvent( arg0 int32, arg1 *jni.Object, arg2 *jni.Object, ) error
DispatchTrackballEvent calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.dispatchTrackballEvent.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) IsEnabled ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) IsEnabled() (bool, error)
IsEnabled calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.isEnabled.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) IsRevoked ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) IsRevoked() (bool, error)
IsRevoked calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.isRevoked.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) OnShouldVerifyKeyEvent ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) OnShouldVerifyKeyEvent(arg0 *jni.Object) (bool, error)
OnShouldVerifyKeyEvent calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.onShouldVerifyKeyEvent.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) RevokeSelf ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) RevokeSelf() error
RevokeSelf calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.revokeSelf.
func (*AbstractInputMethodServiceAbstractInputMethodSessionImpl) SetEnabled ¶
func (m *AbstractInputMethodServiceAbstractInputMethodSessionImpl) SetEnabled(arg0 bool) error
SetEnabled calls android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.setEnabled.
type ExtractEditText ¶
ExtractEditText wraps android.inputmethodservice.ExtractEditText.
func NewExtractEditText ¶
NewExtractEditText creates a new android.inputmethodservice.ExtractEditText instance.
func (*ExtractEditText) FinishInternalChanges ¶
func (m *ExtractEditText) FinishInternalChanges() error
FinishInternalChanges calls android.inputmethodservice.ExtractEditText.finishInternalChanges.
func (*ExtractEditText) HasFocus ¶
func (m *ExtractEditText) HasFocus() (bool, error)
HasFocus calls android.inputmethodservice.ExtractEditText.hasFocus.
func (*ExtractEditText) HasVerticalScrollBar ¶
func (m *ExtractEditText) HasVerticalScrollBar() (bool, error)
HasVerticalScrollBar calls android.inputmethodservice.ExtractEditText.hasVerticalScrollBar.
func (*ExtractEditText) HasWindowFocus ¶
func (m *ExtractEditText) HasWindowFocus() (bool, error)
HasWindowFocus calls android.inputmethodservice.ExtractEditText.hasWindowFocus.
func (*ExtractEditText) IsFocused ¶
func (m *ExtractEditText) IsFocused() (bool, error)
IsFocused calls android.inputmethodservice.ExtractEditText.isFocused.
func (*ExtractEditText) IsInputMethodTarget ¶
func (m *ExtractEditText) IsInputMethodTarget() (bool, error)
IsInputMethodTarget calls android.inputmethodservice.ExtractEditText.isInputMethodTarget.
func (*ExtractEditText) OnTextContextMenuItem ¶
func (m *ExtractEditText) OnTextContextMenuItem(arg0 int32) (bool, error)
OnTextContextMenuItem calls android.inputmethodservice.ExtractEditText.onTextContextMenuItem.
func (*ExtractEditText) PerformClick ¶
func (m *ExtractEditText) PerformClick() (bool, error)
PerformClick calls android.inputmethodservice.ExtractEditText.performClick.
func (*ExtractEditText) SetExtractedText ¶
func (m *ExtractEditText) SetExtractedText(arg0 *jni.Object) error
SetExtractedText calls android.inputmethodservice.ExtractEditText.setExtractedText.
func (*ExtractEditText) StartInternalChanges ¶
func (m *ExtractEditText) StartInternalChanges() error
StartInternalChanges calls android.inputmethodservice.ExtractEditText.startInternalChanges.
type InputMethodService ¶
InputMethodService wraps android.inputmethodservice.InputMethodService.
func NewInputMethodService ¶
func NewInputMethodService(vm *jni.VM) (*InputMethodService, error)
NewInputMethodService creates a new android.inputmethodservice.InputMethodService instance.
func (*InputMethodService) EnableHardwareAcceleration ¶
func (m *InputMethodService) EnableHardwareAcceleration() (bool, error)
EnableHardwareAcceleration calls android.inputmethodservice.InputMethodService.enableHardwareAcceleration.
func (*InputMethodService) FinishConnectionlessStylusHandwriting ¶
func (m *InputMethodService) FinishConnectionlessStylusHandwriting(arg0 string) error
FinishConnectionlessStylusHandwriting calls android.inputmethodservice.InputMethodService.finishConnectionlessStylusHandwriting.
func (*InputMethodService) FinishStylusHandwriting ¶
func (m *InputMethodService) FinishStylusHandwriting() error
FinishStylusHandwriting calls android.inputmethodservice.InputMethodService.finishStylusHandwriting.
func (*InputMethodService) GetBackDisposition ¶
func (m *InputMethodService) GetBackDisposition() (int32, error)
GetBackDisposition calls android.inputmethodservice.InputMethodService.getBackDisposition.
func (*InputMethodService) GetCandidatesHiddenVisibility ¶
func (m *InputMethodService) GetCandidatesHiddenVisibility() (int32, error)
GetCandidatesHiddenVisibility calls android.inputmethodservice.InputMethodService.getCandidatesHiddenVisibility.
func (*InputMethodService) GetCurrentInputBinding ¶
func (m *InputMethodService) GetCurrentInputBinding() (*jni.Object, error)
GetCurrentInputBinding calls android.inputmethodservice.InputMethodService.getCurrentInputBinding.
func (*InputMethodService) GetCurrentInputConnection ¶
func (m *InputMethodService) GetCurrentInputConnection() (*jni.Object, error)
GetCurrentInputConnection calls android.inputmethodservice.InputMethodService.getCurrentInputConnection.
func (*InputMethodService) GetCurrentInputEditorInfo ¶
func (m *InputMethodService) GetCurrentInputEditorInfo() (*jni.Object, error)
GetCurrentInputEditorInfo calls android.inputmethodservice.InputMethodService.getCurrentInputEditorInfo.
func (*InputMethodService) GetCurrentInputStarted ¶
func (m *InputMethodService) GetCurrentInputStarted() (bool, error)
GetCurrentInputStarted calls android.inputmethodservice.InputMethodService.getCurrentInputStarted.
func (*InputMethodService) GetInputMethodWindowRecommendedHeight ¶
func (m *InputMethodService) GetInputMethodWindowRecommendedHeight() (int32, error)
GetInputMethodWindowRecommendedHeight calls android.inputmethodservice.InputMethodService.getInputMethodWindowRecommendedHeight.
func (*InputMethodService) GetLayoutInflater ¶
func (m *InputMethodService) GetLayoutInflater() (*jni.Object, error)
GetLayoutInflater calls android.inputmethodservice.InputMethodService.getLayoutInflater.
func (*InputMethodService) GetMaxWidth ¶
func (m *InputMethodService) GetMaxWidth() (int32, error)
GetMaxWidth calls android.inputmethodservice.InputMethodService.getMaxWidth.
func (*InputMethodService) GetStylusHandwritingIdleTimeoutMax ¶
func (m *InputMethodService) GetStylusHandwritingIdleTimeoutMax() (*jni.Object, error)
GetStylusHandwritingIdleTimeoutMax calls android.inputmethodservice.InputMethodService.getStylusHandwritingIdleTimeoutMax.
func (*InputMethodService) GetStylusHandwritingSessionTimeout ¶
func (m *InputMethodService) GetStylusHandwritingSessionTimeout() (*jni.Object, error)
GetStylusHandwritingSessionTimeout calls android.inputmethodservice.InputMethodService.getStylusHandwritingSessionTimeout.
func (*InputMethodService) GetStylusHandwritingWindow ¶
func (m *InputMethodService) GetStylusHandwritingWindow() (*jni.Object, error)
GetStylusHandwritingWindow calls android.inputmethodservice.InputMethodService.getStylusHandwritingWindow.
func (*InputMethodService) GetSystemService ¶
func (m *InputMethodService) GetSystemService(arg0 string) (*jni.Object, error)
GetSystemService calls android.inputmethodservice.InputMethodService.getSystemService.
func (*InputMethodService) GetTextForImeAction ¶
func (m *InputMethodService) GetTextForImeAction(arg0 int32) (*jni.Object, error)
GetTextForImeAction calls android.inputmethodservice.InputMethodService.getTextForImeAction.
func (*InputMethodService) GetWindow ¶
func (m *InputMethodService) GetWindow() (*jni.Object, error)
GetWindow calls android.inputmethodservice.InputMethodService.getWindow.
func (*InputMethodService) HideStatusIcon ¶
func (m *InputMethodService) HideStatusIcon() error
HideStatusIcon calls android.inputmethodservice.InputMethodService.hideStatusIcon.
func (*InputMethodService) HideWindow ¶
func (m *InputMethodService) HideWindow() error
HideWindow calls android.inputmethodservice.InputMethodService.hideWindow.
func (*InputMethodService) IsExtractViewShown ¶
func (m *InputMethodService) IsExtractViewShown() (bool, error)
IsExtractViewShown calls android.inputmethodservice.InputMethodService.isExtractViewShown.
func (*InputMethodService) IsFullscreenMode ¶
func (m *InputMethodService) IsFullscreenMode() (bool, error)
IsFullscreenMode calls android.inputmethodservice.InputMethodService.isFullscreenMode.
func (*InputMethodService) IsInputViewShown ¶
func (m *InputMethodService) IsInputViewShown() (bool, error)
IsInputViewShown calls android.inputmethodservice.InputMethodService.isInputViewShown.
func (*InputMethodService) IsShowInputRequested ¶
func (m *InputMethodService) IsShowInputRequested() (bool, error)
IsShowInputRequested calls android.inputmethodservice.InputMethodService.isShowInputRequested.
func (*InputMethodService) OnAppPrivateCommand ¶
func (m *InputMethodService) OnAppPrivateCommand(arg0 string, arg1 *jni.Object) error
OnAppPrivateCommand calls android.inputmethodservice.InputMethodService.onAppPrivateCommand.
func (*InputMethodService) OnBindInput ¶
func (m *InputMethodService) OnBindInput() error
OnBindInput calls android.inputmethodservice.InputMethodService.onBindInput.
func (*InputMethodService) OnComputeInsets ¶
func (m *InputMethodService) OnComputeInsets(arg0 *jni.Object) error
OnComputeInsets calls android.inputmethodservice.InputMethodService.onComputeInsets.
func (*InputMethodService) OnConfigurationChanged ¶
func (m *InputMethodService) OnConfigurationChanged(arg0 *jni.Object) error
OnConfigurationChanged calls android.inputmethodservice.InputMethodService.onConfigurationChanged.
func (*InputMethodService) OnConfigureWindow ¶
OnConfigureWindow calls android.inputmethodservice.InputMethodService.onConfigureWindow.
func (*InputMethodService) OnCreate ¶
func (m *InputMethodService) OnCreate() error
OnCreate calls android.inputmethodservice.InputMethodService.onCreate.
func (*InputMethodService) OnCreateCandidatesView ¶
func (m *InputMethodService) OnCreateCandidatesView() (*jni.Object, error)
OnCreateCandidatesView calls android.inputmethodservice.InputMethodService.onCreateCandidatesView.
func (*InputMethodService) OnCreateExtractTextView ¶
func (m *InputMethodService) OnCreateExtractTextView() (*jni.Object, error)
OnCreateExtractTextView calls android.inputmethodservice.InputMethodService.onCreateExtractTextView.
func (*InputMethodService) OnCreateInlineSuggestionsRequest ¶
func (m *InputMethodService) OnCreateInlineSuggestionsRequest(arg0 *jni.Object) (*jni.Object, error)
OnCreateInlineSuggestionsRequest calls android.inputmethodservice.InputMethodService.onCreateInlineSuggestionsRequest.
func (*InputMethodService) OnCreateInputMethodInterface ¶
func (m *InputMethodService) OnCreateInputMethodInterface() (*jni.Object, error)
OnCreateInputMethodInterface calls android.inputmethodservice.InputMethodService.onCreateInputMethodInterface.
func (*InputMethodService) OnCreateInputMethodSessionInterface ¶
func (m *InputMethodService) OnCreateInputMethodSessionInterface() (*jni.Object, error)
OnCreateInputMethodSessionInterface calls android.inputmethodservice.InputMethodService.onCreateInputMethodSessionInterface.
func (*InputMethodService) OnCreateInputView ¶
func (m *InputMethodService) OnCreateInputView() (*jni.Object, error)
OnCreateInputView calls android.inputmethodservice.InputMethodService.onCreateInputView.
func (*InputMethodService) OnCustomImeSwitcherButtonRequestedVisible ¶
func (m *InputMethodService) OnCustomImeSwitcherButtonRequestedVisible(arg0 bool) error
OnCustomImeSwitcherButtonRequestedVisible calls android.inputmethodservice.InputMethodService.onCustomImeSwitcherButtonRequestedVisible.
func (*InputMethodService) OnDestroy ¶
func (m *InputMethodService) OnDestroy() error
OnDestroy calls android.inputmethodservice.InputMethodService.onDestroy.
func (*InputMethodService) OnDisplayCompletions ¶
func (m *InputMethodService) OnDisplayCompletions(arg0 *jni.Object) error
OnDisplayCompletions calls android.inputmethodservice.InputMethodService.onDisplayCompletions.
func (*InputMethodService) OnEvaluateFullscreenMode ¶
func (m *InputMethodService) OnEvaluateFullscreenMode() (bool, error)
OnEvaluateFullscreenMode calls android.inputmethodservice.InputMethodService.onEvaluateFullscreenMode.
func (*InputMethodService) OnEvaluateInputViewShown ¶
func (m *InputMethodService) OnEvaluateInputViewShown() (bool, error)
OnEvaluateInputViewShown calls android.inputmethodservice.InputMethodService.onEvaluateInputViewShown.
func (*InputMethodService) OnExtractTextContextMenuItem ¶
func (m *InputMethodService) OnExtractTextContextMenuItem(arg0 int32) (bool, error)
OnExtractTextContextMenuItem calls android.inputmethodservice.InputMethodService.onExtractTextContextMenuItem.
func (*InputMethodService) OnExtractedCursorMovement ¶
func (m *InputMethodService) OnExtractedCursorMovement(arg0 int32, arg1 int32) error
OnExtractedCursorMovement calls android.inputmethodservice.InputMethodService.onExtractedCursorMovement.
func (*InputMethodService) OnExtractedSelectionChanged ¶
func (m *InputMethodService) OnExtractedSelectionChanged(arg0 int32, arg1 int32) error
OnExtractedSelectionChanged calls android.inputmethodservice.InputMethodService.onExtractedSelectionChanged.
func (*InputMethodService) OnExtractedTextClicked ¶
func (m *InputMethodService) OnExtractedTextClicked() error
OnExtractedTextClicked calls android.inputmethodservice.InputMethodService.onExtractedTextClicked.
func (*InputMethodService) OnExtractingInputChanged ¶
func (m *InputMethodService) OnExtractingInputChanged(arg0 *jni.Object) error
OnExtractingInputChanged calls android.inputmethodservice.InputMethodService.onExtractingInputChanged.
func (*InputMethodService) OnFinishCandidatesView ¶
func (m *InputMethodService) OnFinishCandidatesView(arg0 bool) error
OnFinishCandidatesView calls android.inputmethodservice.InputMethodService.onFinishCandidatesView.
func (*InputMethodService) OnFinishInput ¶
func (m *InputMethodService) OnFinishInput() error
OnFinishInput calls android.inputmethodservice.InputMethodService.onFinishInput.
func (*InputMethodService) OnFinishInputView ¶
func (m *InputMethodService) OnFinishInputView(arg0 bool) error
OnFinishInputView calls android.inputmethodservice.InputMethodService.onFinishInputView.
func (*InputMethodService) OnFinishStylusHandwriting ¶
func (m *InputMethodService) OnFinishStylusHandwriting() error
OnFinishStylusHandwriting calls android.inputmethodservice.InputMethodService.onFinishStylusHandwriting.
func (*InputMethodService) OnGenericMotionEvent ¶
func (m *InputMethodService) OnGenericMotionEvent(arg0 *jni.Object) (bool, error)
OnGenericMotionEvent calls android.inputmethodservice.InputMethodService.onGenericMotionEvent.
func (*InputMethodService) OnInitializeInterface ¶
func (m *InputMethodService) OnInitializeInterface() error
OnInitializeInterface calls android.inputmethodservice.InputMethodService.onInitializeInterface.
func (*InputMethodService) OnInlineSuggestionsResponse ¶
func (m *InputMethodService) OnInlineSuggestionsResponse(arg0 *jni.Object) (bool, error)
OnInlineSuggestionsResponse calls android.inputmethodservice.InputMethodService.onInlineSuggestionsResponse.
func (*InputMethodService) OnKeyDown ¶
OnKeyDown calls android.inputmethodservice.InputMethodService.onKeyDown.
func (*InputMethodService) OnKeyLongPress ¶
OnKeyLongPress calls android.inputmethodservice.InputMethodService.onKeyLongPress.
func (*InputMethodService) OnKeyMultiple ¶
func (m *InputMethodService) OnKeyMultiple( arg0 int32, arg1 int32, arg2 *jni.Object, ) (bool, error)
OnKeyMultiple calls android.inputmethodservice.InputMethodService.onKeyMultiple.
func (*InputMethodService) OnKeyUp ¶
OnKeyUp calls android.inputmethodservice.InputMethodService.onKeyUp.
func (*InputMethodService) OnPrepareStylusHandwriting ¶
func (m *InputMethodService) OnPrepareStylusHandwriting() error
OnPrepareStylusHandwriting calls android.inputmethodservice.InputMethodService.onPrepareStylusHandwriting.
func (*InputMethodService) OnShouldVerifyKeyEvent ¶
func (m *InputMethodService) OnShouldVerifyKeyEvent(arg0 *jni.Object) (bool, error)
OnShouldVerifyKeyEvent calls android.inputmethodservice.InputMethodService.onShouldVerifyKeyEvent.
func (*InputMethodService) OnShowInputRequested ¶
func (m *InputMethodService) OnShowInputRequested(arg0 int32, arg1 bool) (bool, error)
OnShowInputRequested calls android.inputmethodservice.InputMethodService.onShowInputRequested.
func (*InputMethodService) OnStartCandidatesView ¶
func (m *InputMethodService) OnStartCandidatesView(arg0 *jni.Object, arg1 bool) error
OnStartCandidatesView calls android.inputmethodservice.InputMethodService.onStartCandidatesView.
func (*InputMethodService) OnStartConnectionlessStylusHandwriting ¶
func (m *InputMethodService) OnStartConnectionlessStylusHandwriting(arg0 int32, arg1 *jni.Object) (bool, error)
OnStartConnectionlessStylusHandwriting calls android.inputmethodservice.InputMethodService.onStartConnectionlessStylusHandwriting.
func (*InputMethodService) OnStartInput ¶
func (m *InputMethodService) OnStartInput(arg0 *jni.Object, arg1 bool) error
OnStartInput calls android.inputmethodservice.InputMethodService.onStartInput.
func (*InputMethodService) OnStartInputView ¶
func (m *InputMethodService) OnStartInputView(arg0 *jni.Object, arg1 bool) error
OnStartInputView calls android.inputmethodservice.InputMethodService.onStartInputView.
func (*InputMethodService) OnStartStylusHandwriting ¶
func (m *InputMethodService) OnStartStylusHandwriting() (bool, error)
OnStartStylusHandwriting calls android.inputmethodservice.InputMethodService.onStartStylusHandwriting.
func (*InputMethodService) OnStylusHandwritingMotionEvent ¶
func (m *InputMethodService) OnStylusHandwritingMotionEvent(arg0 *jni.Object) error
OnStylusHandwritingMotionEvent calls android.inputmethodservice.InputMethodService.onStylusHandwritingMotionEvent.
func (*InputMethodService) OnTrackballEvent ¶
func (m *InputMethodService) OnTrackballEvent(arg0 *jni.Object) (bool, error)
OnTrackballEvent calls android.inputmethodservice.InputMethodService.onTrackballEvent.
func (*InputMethodService) OnUnbindInput ¶
func (m *InputMethodService) OnUnbindInput() error
OnUnbindInput calls android.inputmethodservice.InputMethodService.onUnbindInput.
func (*InputMethodService) OnUpdateCursor ¶
func (m *InputMethodService) OnUpdateCursor(arg0 *jni.Object) error
OnUpdateCursor calls android.inputmethodservice.InputMethodService.onUpdateCursor.
func (*InputMethodService) OnUpdateCursorAnchorInfo ¶
func (m *InputMethodService) OnUpdateCursorAnchorInfo(arg0 *jni.Object) error
OnUpdateCursorAnchorInfo calls android.inputmethodservice.InputMethodService.onUpdateCursorAnchorInfo.
func (*InputMethodService) OnUpdateEditorToolType ¶
func (m *InputMethodService) OnUpdateEditorToolType(arg0 int32) error
OnUpdateEditorToolType calls android.inputmethodservice.InputMethodService.onUpdateEditorToolType.
func (*InputMethodService) OnUpdateExtractedText ¶
func (m *InputMethodService) OnUpdateExtractedText(arg0 int32, arg1 *jni.Object) error
OnUpdateExtractedText calls android.inputmethodservice.InputMethodService.onUpdateExtractedText.
func (*InputMethodService) OnUpdateExtractingViews ¶
func (m *InputMethodService) OnUpdateExtractingViews(arg0 *jni.Object) error
OnUpdateExtractingViews calls android.inputmethodservice.InputMethodService.onUpdateExtractingViews.
func (*InputMethodService) OnUpdateExtractingVisibility ¶
func (m *InputMethodService) OnUpdateExtractingVisibility(arg0 *jni.Object) error
OnUpdateExtractingVisibility calls android.inputmethodservice.InputMethodService.onUpdateExtractingVisibility.
func (*InputMethodService) OnUpdateSelection ¶
func (m *InputMethodService) OnUpdateSelection( arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, arg5 int32, ) error
OnUpdateSelection calls android.inputmethodservice.InputMethodService.onUpdateSelection.
func (*InputMethodService) OnViewClicked ¶
func (m *InputMethodService) OnViewClicked(arg0 bool) error
OnViewClicked calls android.inputmethodservice.InputMethodService.onViewClicked.
func (*InputMethodService) OnWindowHidden ¶
func (m *InputMethodService) OnWindowHidden() error
OnWindowHidden calls android.inputmethodservice.InputMethodService.onWindowHidden.
func (*InputMethodService) OnWindowShown ¶
func (m *InputMethodService) OnWindowShown() error
OnWindowShown calls android.inputmethodservice.InputMethodService.onWindowShown.
func (*InputMethodService) RequestHideSelf ¶
func (m *InputMethodService) RequestHideSelf(arg0 int32) error
RequestHideSelf calls android.inputmethodservice.InputMethodService.requestHideSelf.
func (*InputMethodService) RequestShowSelf ¶
func (m *InputMethodService) RequestShowSelf(arg0 int32) error
RequestShowSelf calls android.inputmethodservice.InputMethodService.requestShowSelf.
func (*InputMethodService) SendDefaultEditorAction ¶
func (m *InputMethodService) SendDefaultEditorAction(arg0 bool) (bool, error)
SendDefaultEditorAction calls android.inputmethodservice.InputMethodService.sendDefaultEditorAction.
func (*InputMethodService) SendDownUpKeyEvents ¶
func (m *InputMethodService) SendDownUpKeyEvents(arg0 int32) error
SendDownUpKeyEvents calls android.inputmethodservice.InputMethodService.sendDownUpKeyEvents.
func (*InputMethodService) SendKeyChar ¶
func (m *InputMethodService) SendKeyChar(arg0 uint16) error
SendKeyChar calls android.inputmethodservice.InputMethodService.sendKeyChar.
func (*InputMethodService) SetBackDisposition ¶
func (m *InputMethodService) SetBackDisposition(arg0 int32) error
SetBackDisposition calls android.inputmethodservice.InputMethodService.setBackDisposition.
func (*InputMethodService) SetCandidatesView ¶
func (m *InputMethodService) SetCandidatesView(arg0 *jni.Object) error
SetCandidatesView calls android.inputmethodservice.InputMethodService.setCandidatesView.
func (*InputMethodService) SetCandidatesViewShown ¶
func (m *InputMethodService) SetCandidatesViewShown(arg0 bool) error
SetCandidatesViewShown calls android.inputmethodservice.InputMethodService.setCandidatesViewShown.
func (*InputMethodService) SetExtractView ¶
func (m *InputMethodService) SetExtractView(arg0 *jni.Object) error
SetExtractView calls android.inputmethodservice.InputMethodService.setExtractView.
func (*InputMethodService) SetExtractViewShown ¶
func (m *InputMethodService) SetExtractViewShown(arg0 bool) error
SetExtractViewShown calls android.inputmethodservice.InputMethodService.setExtractViewShown.
func (*InputMethodService) SetInputView ¶
func (m *InputMethodService) SetInputView(arg0 *jni.Object) error
SetInputView calls android.inputmethodservice.InputMethodService.setInputView.
func (*InputMethodService) SetStylusHandwritingRegion ¶
func (m *InputMethodService) SetStylusHandwritingRegion(arg0 *jni.Object) error
SetStylusHandwritingRegion calls android.inputmethodservice.InputMethodService.setStylusHandwritingRegion.
func (*InputMethodService) SetStylusHandwritingSessionTimeout ¶
func (m *InputMethodService) SetStylusHandwritingSessionTimeout(arg0 *jni.Object) error
SetStylusHandwritingSessionTimeout calls android.inputmethodservice.InputMethodService.setStylusHandwritingSessionTimeout.
func (*InputMethodService) SetTheme ¶
func (m *InputMethodService) SetTheme(arg0 int32) error
SetTheme calls android.inputmethodservice.InputMethodService.setTheme.
func (*InputMethodService) ShouldOfferSwitchingToNextInputMethod ¶
func (m *InputMethodService) ShouldOfferSwitchingToNextInputMethod() (bool, error)
ShouldOfferSwitchingToNextInputMethod calls android.inputmethodservice.InputMethodService.shouldOfferSwitchingToNextInputMethod.
func (*InputMethodService) ShowStatusIcon ¶
func (m *InputMethodService) ShowStatusIcon(arg0 int32) error
ShowStatusIcon calls android.inputmethodservice.InputMethodService.showStatusIcon.
func (*InputMethodService) ShowWindow ¶
func (m *InputMethodService) ShowWindow(arg0 bool) error
ShowWindow calls android.inputmethodservice.InputMethodService.showWindow.
func (*InputMethodService) SwitchInputMethod1 ¶
func (m *InputMethodService) SwitchInputMethod1(arg0 string) error
SwitchInputMethod1 calls android.inputmethodservice.InputMethodService.switchInputMethod.
func (*InputMethodService) SwitchInputMethod2_1 ¶
func (m *InputMethodService) SwitchInputMethod2_1(arg0 string, arg1 *jni.Object) error
SwitchInputMethod2_1 calls android.inputmethodservice.InputMethodService.switchInputMethod.
func (*InputMethodService) SwitchToNextInputMethod ¶
func (m *InputMethodService) SwitchToNextInputMethod(arg0 bool) (bool, error)
SwitchToNextInputMethod calls android.inputmethodservice.InputMethodService.switchToNextInputMethod.
func (*InputMethodService) SwitchToPreviousInputMethod ¶
func (m *InputMethodService) SwitchToPreviousInputMethod() (bool, error)
SwitchToPreviousInputMethod calls android.inputmethodservice.InputMethodService.switchToPreviousInputMethod.
func (*InputMethodService) UpdateFullscreenMode ¶
func (m *InputMethodService) UpdateFullscreenMode() error
UpdateFullscreenMode calls android.inputmethodservice.InputMethodService.updateFullscreenMode.
func (*InputMethodService) UpdateInputViewShown ¶
func (m *InputMethodService) UpdateInputViewShown() error
UpdateInputViewShown calls android.inputmethodservice.InputMethodService.updateInputViewShown.
type InputMethodServiceInputMethodImpl ¶
InputMethodServiceInputMethodImpl wraps android.inputmethodservice.InputMethodService$InputMethodImpl.
func (*InputMethodServiceInputMethodImpl) AttachToken ¶
func (m *InputMethodServiceInputMethodImpl) AttachToken(arg0 *jni.Object) error
AttachToken calls android.inputmethodservice.InputMethodService$InputMethodImpl.attachToken.
func (*InputMethodServiceInputMethodImpl) BindInput ¶
func (m *InputMethodServiceInputMethodImpl) BindInput(arg0 *jni.Object) error
BindInput calls android.inputmethodservice.InputMethodService$InputMethodImpl.bindInput.
func (*InputMethodServiceInputMethodImpl) ChangeInputMethodSubtype ¶
func (m *InputMethodServiceInputMethodImpl) ChangeInputMethodSubtype(arg0 *jni.Object) error
ChangeInputMethodSubtype calls android.inputmethodservice.InputMethodService$InputMethodImpl.changeInputMethodSubtype.
func (*InputMethodServiceInputMethodImpl) HideSoftInput ¶
func (m *InputMethodServiceInputMethodImpl) HideSoftInput(arg0 int32, arg1 *jni.Object) error
HideSoftInput calls android.inputmethodservice.InputMethodService$InputMethodImpl.hideSoftInput.
func (*InputMethodServiceInputMethodImpl) RestartInput ¶
RestartInput calls android.inputmethodservice.InputMethodService$InputMethodImpl.restartInput.
func (*InputMethodServiceInputMethodImpl) ShowSoftInput ¶
func (m *InputMethodServiceInputMethodImpl) ShowSoftInput(arg0 int32, arg1 *jni.Object) error
ShowSoftInput calls android.inputmethodservice.InputMethodService$InputMethodImpl.showSoftInput.
func (*InputMethodServiceInputMethodImpl) StartInput ¶
StartInput calls android.inputmethodservice.InputMethodService$InputMethodImpl.startInput.
func (*InputMethodServiceInputMethodImpl) UnbindInput ¶
func (m *InputMethodServiceInputMethodImpl) UnbindInput() error
UnbindInput calls android.inputmethodservice.InputMethodService$InputMethodImpl.unbindInput.
type InputMethodServiceInputMethodSessionImpl ¶
InputMethodServiceInputMethodSessionImpl wraps android.inputmethodservice.InputMethodService$InputMethodSessionImpl.
func (*InputMethodServiceInputMethodSessionImpl) AppPrivateCommand ¶
func (m *InputMethodServiceInputMethodSessionImpl) AppPrivateCommand(arg0 string, arg1 *jni.Object) error
AppPrivateCommand calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.appPrivateCommand.
func (*InputMethodServiceInputMethodSessionImpl) DisplayCompletions ¶
func (m *InputMethodServiceInputMethodSessionImpl) DisplayCompletions(arg0 *jni.Object) error
DisplayCompletions calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.displayCompletions.
func (*InputMethodServiceInputMethodSessionImpl) FinishInput ¶
func (m *InputMethodServiceInputMethodSessionImpl) FinishInput() error
FinishInput calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.finishInput.
func (*InputMethodServiceInputMethodSessionImpl) ToggleSoftInput ¶
func (m *InputMethodServiceInputMethodSessionImpl) ToggleSoftInput(arg0 int32, arg1 int32) error
ToggleSoftInput calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.toggleSoftInput.
func (*InputMethodServiceInputMethodSessionImpl) UpdateCursor ¶
func (m *InputMethodServiceInputMethodSessionImpl) UpdateCursor(arg0 *jni.Object) error
UpdateCursor calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.updateCursor.
func (*InputMethodServiceInputMethodSessionImpl) UpdateCursorAnchorInfo ¶
func (m *InputMethodServiceInputMethodSessionImpl) UpdateCursorAnchorInfo(arg0 *jni.Object) error
UpdateCursorAnchorInfo calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.updateCursorAnchorInfo.
func (*InputMethodServiceInputMethodSessionImpl) UpdateExtractedText ¶
func (m *InputMethodServiceInputMethodSessionImpl) UpdateExtractedText(arg0 int32, arg1 *jni.Object) error
UpdateExtractedText calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.updateExtractedText.
func (*InputMethodServiceInputMethodSessionImpl) UpdateSelection ¶
func (m *InputMethodServiceInputMethodSessionImpl) UpdateSelection( arg0 int32, arg1 int32, arg2 int32, arg3 int32, arg4 int32, arg5 int32, ) error
UpdateSelection calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.updateSelection.
func (*InputMethodServiceInputMethodSessionImpl) ViewClicked ¶
func (m *InputMethodServiceInputMethodSessionImpl) ViewClicked(arg0 bool) error
ViewClicked calls android.inputmethodservice.InputMethodService$InputMethodSessionImpl.viewClicked.
type Keyboard ¶
Keyboard wraps android.inputmethodservice.Keyboard.
func NewKeyboard ¶
NewKeyboard creates a new android.inputmethodservice.Keyboard instance.
func (*Keyboard) GetMinWidth ¶
GetMinWidth calls android.inputmethodservice.Keyboard.getMinWidth.
func (*Keyboard) GetNearestKeys ¶
GetNearestKeys calls android.inputmethodservice.Keyboard.getNearestKeys.
func (*Keyboard) GetShiftKeyIndex ¶
GetShiftKeyIndex calls android.inputmethodservice.Keyboard.getShiftKeyIndex.
type KeyboardKey ¶
KeyboardKey wraps android.inputmethodservice.Keyboard$Key.
func (*KeyboardKey) GetCurrentDrawableState ¶
func (m *KeyboardKey) GetCurrentDrawableState() (*jni.Object, error)
GetCurrentDrawableState calls android.inputmethodservice.Keyboard$Key.getCurrentDrawableState.
func (*KeyboardKey) IsInside ¶
func (m *KeyboardKey) IsInside(arg0 int32, arg1 int32) (bool, error)
IsInside calls android.inputmethodservice.Keyboard$Key.isInside.
func (*KeyboardKey) OnPressed ¶
func (m *KeyboardKey) OnPressed() error
OnPressed calls android.inputmethodservice.Keyboard$Key.onPressed.
func (*KeyboardKey) OnReleased ¶
func (m *KeyboardKey) OnReleased(arg0 bool) error
OnReleased calls android.inputmethodservice.Keyboard$Key.onReleased.
func (*KeyboardKey) SquaredDistanceFrom ¶
func (m *KeyboardKey) SquaredDistanceFrom(arg0 int32, arg1 int32) (int32, error)
SquaredDistanceFrom calls android.inputmethodservice.Keyboard$Key.squaredDistanceFrom.
type KeyboardView ¶
KeyboardView wraps android.inputmethodservice.KeyboardView.
func NewKeyboardView ¶
NewKeyboardView creates a new android.inputmethodservice.KeyboardView instance.
func (*KeyboardView) Closing ¶
func (m *KeyboardView) Closing() error
Closing calls android.inputmethodservice.KeyboardView.closing.
func (*KeyboardView) GetKeyboard ¶
func (m *KeyboardView) GetKeyboard() (*jni.Object, error)
GetKeyboard calls android.inputmethodservice.KeyboardView.getKeyboard.
func (*KeyboardView) HandleBack ¶
func (m *KeyboardView) HandleBack() (bool, error)
HandleBack calls android.inputmethodservice.KeyboardView.handleBack.
func (*KeyboardView) InvalidateAllKeys ¶
func (m *KeyboardView) InvalidateAllKeys() error
InvalidateAllKeys calls android.inputmethodservice.KeyboardView.invalidateAllKeys.
func (*KeyboardView) InvalidateKey ¶
func (m *KeyboardView) InvalidateKey(arg0 int32) error
InvalidateKey calls android.inputmethodservice.KeyboardView.invalidateKey.
func (*KeyboardView) IsPreviewEnabled ¶
func (m *KeyboardView) IsPreviewEnabled() (bool, error)
IsPreviewEnabled calls android.inputmethodservice.KeyboardView.isPreviewEnabled.
func (*KeyboardView) IsProximityCorrectionEnabled ¶
func (m *KeyboardView) IsProximityCorrectionEnabled() (bool, error)
IsProximityCorrectionEnabled calls android.inputmethodservice.KeyboardView.isProximityCorrectionEnabled.
func (*KeyboardView) IsShifted ¶
func (m *KeyboardView) IsShifted() (bool, error)
IsShifted calls android.inputmethodservice.KeyboardView.isShifted.
func (*KeyboardView) OnClick ¶
func (m *KeyboardView) OnClick(arg0 *jni.Object) error
OnClick calls android.inputmethodservice.KeyboardView.onClick.
func (*KeyboardView) OnDetachedFromWindow ¶
func (m *KeyboardView) OnDetachedFromWindow() error
OnDetachedFromWindow calls android.inputmethodservice.KeyboardView.onDetachedFromWindow.
func (*KeyboardView) OnDraw ¶
func (m *KeyboardView) OnDraw(arg0 *jni.Object) error
OnDraw calls android.inputmethodservice.KeyboardView.onDraw.
func (*KeyboardView) OnHoverEvent ¶
func (m *KeyboardView) OnHoverEvent(arg0 *jni.Object) (bool, error)
OnHoverEvent calls android.inputmethodservice.KeyboardView.onHoverEvent.
func (*KeyboardView) OnMeasure ¶
func (m *KeyboardView) OnMeasure(arg0 int32, arg1 int32) error
OnMeasure calls android.inputmethodservice.KeyboardView.onMeasure.
func (*KeyboardView) OnSizeChanged ¶
OnSizeChanged calls android.inputmethodservice.KeyboardView.onSizeChanged.
func (*KeyboardView) OnTouchEvent ¶
func (m *KeyboardView) OnTouchEvent(arg0 *jni.Object) (bool, error)
OnTouchEvent calls android.inputmethodservice.KeyboardView.onTouchEvent.
func (*KeyboardView) SetKeyboard ¶
func (m *KeyboardView) SetKeyboard(arg0 *jni.Object) error
SetKeyboard calls android.inputmethodservice.KeyboardView.setKeyboard.
func (*KeyboardView) SetOnKeyboardActionListener ¶
func (m *KeyboardView) SetOnKeyboardActionListener(arg0 *jni.Object) error
SetOnKeyboardActionListener calls android.inputmethodservice.KeyboardView.setOnKeyboardActionListener.
func (*KeyboardView) SetPopupOffset ¶
func (m *KeyboardView) SetPopupOffset(arg0 int32, arg1 int32) error
SetPopupOffset calls android.inputmethodservice.KeyboardView.setPopupOffset.
func (*KeyboardView) SetPopupParent ¶
func (m *KeyboardView) SetPopupParent(arg0 *jni.Object) error
SetPopupParent calls android.inputmethodservice.KeyboardView.setPopupParent.
func (*KeyboardView) SetPreviewEnabled ¶
func (m *KeyboardView) SetPreviewEnabled(arg0 bool) error
SetPreviewEnabled calls android.inputmethodservice.KeyboardView.setPreviewEnabled.
func (*KeyboardView) SetProximityCorrectionEnabled ¶
func (m *KeyboardView) SetProximityCorrectionEnabled(arg0 bool) error
SetProximityCorrectionEnabled calls android.inputmethodservice.KeyboardView.setProximityCorrectionEnabled.
func (*KeyboardView) SetShifted ¶
func (m *KeyboardView) SetShifted(arg0 bool) (bool, error)
SetShifted calls android.inputmethodservice.KeyboardView.setShifted.
func (*KeyboardView) SetVerticalCorrection ¶
func (m *KeyboardView) SetVerticalCorrection(arg0 int32) error
SetVerticalCorrection calls android.inputmethodservice.KeyboardView.setVerticalCorrection.
type KeyboardViewOnKeyboardActionListener ¶
KeyboardViewOnKeyboardActionListener wraps android.inputmethodservice.KeyboardView$OnKeyboardActionListener.
func (*KeyboardViewOnKeyboardActionListener) OnKey ¶
func (m *KeyboardViewOnKeyboardActionListener) OnKey(arg0 int32, arg1 *jni.Object) error
OnKey calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.onKey.
func (*KeyboardViewOnKeyboardActionListener) OnPress ¶
func (m *KeyboardViewOnKeyboardActionListener) OnPress(arg0 int32) error
OnPress calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.onPress.
func (*KeyboardViewOnKeyboardActionListener) OnRelease ¶
func (m *KeyboardViewOnKeyboardActionListener) OnRelease(arg0 int32) error
OnRelease calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.onRelease.
func (*KeyboardViewOnKeyboardActionListener) OnText ¶
func (m *KeyboardViewOnKeyboardActionListener) OnText(arg0 string) error
OnText calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.onText.
func (*KeyboardViewOnKeyboardActionListener) SwipeDown ¶
func (m *KeyboardViewOnKeyboardActionListener) SwipeDown() error
SwipeDown calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.swipeDown.
func (*KeyboardViewOnKeyboardActionListener) SwipeLeft ¶
func (m *KeyboardViewOnKeyboardActionListener) SwipeLeft() error
SwipeLeft calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.swipeLeft.
func (*KeyboardViewOnKeyboardActionListener) SwipeRight ¶
func (m *KeyboardViewOnKeyboardActionListener) SwipeRight() error
SwipeRight calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.swipeRight.
func (*KeyboardViewOnKeyboardActionListener) SwipeUp ¶
func (m *KeyboardViewOnKeyboardActionListener) SwipeUp() error
SwipeUp calls android.inputmethodservice.KeyboardView$OnKeyboardActionListener.swipeUp.
Source Files
¶
- abstract_input_method_service.go
- abstract_input_method_service_abstract_input_method_impl.go
- abstract_input_method_service_abstract_input_method_session_impl.go
- constants.go
- doc.go
- extract_edit_text.go
- init.go
- input_method_service.go
- input_method_service_input_method_impl.go
- input_method_service_input_method_session_impl.go
- keyboard.go
- keyboard_key.go
- keyboard_view.go
- keyboard_view_on_keyboard_action_listener.go