method

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Overview

Package method provides Go bindings for android.text.method.

Index

Constants

View Source
const (
	Characters    = consts.Characters
	MetaAltLocked = consts.MetaAltLocked
	MetaAltOn     = consts.MetaAltOn
	MetaCapLocked = consts.MetaCapLocked
	MetaShiftOn   = consts.MetaShiftOn
	MetaSymLocked = consts.MetaSymLocked
	MetaSymOn     = consts.MetaSymOn
	None          = consts.None
	Sentences     = consts.Sentences
	Words         = consts.Words
)

Variables

This section is empty.

Functions

func Init

func Init(env *jni.Env) error

Init resolves all JNI class and method references for this package. It is safe to call multiple times (uses sync.Once internally). Exported for E2E testing on Android.

Types

type ArrowKeyMovementMethod

type ArrowKeyMovementMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ArrowKeyMovementMethod wraps android.text.method.ArrowKeyMovementMethod.

func NewArrowKeyMovementMethod

func NewArrowKeyMovementMethod(vm *jni.VM) (*ArrowKeyMovementMethod, error)

NewArrowKeyMovementMethod creates a new android.text.method.ArrowKeyMovementMethod instance.

func (*ArrowKeyMovementMethod) CanSelectArbitrarily

func (m *ArrowKeyMovementMethod) CanSelectArbitrarily() (bool, error)

CanSelectArbitrarily calls android.text.method.ArrowKeyMovementMethod.canSelectArbitrarily.

func (*ArrowKeyMovementMethod) GetInstance

func (m *ArrowKeyMovementMethod) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.ArrowKeyMovementMethod.getInstance.

func (*ArrowKeyMovementMethod) Initialize

func (m *ArrowKeyMovementMethod) Initialize(arg0 *jni.Object, arg1 *jni.Object) error

Initialize calls android.text.method.ArrowKeyMovementMethod.initialize.

func (*ArrowKeyMovementMethod) NextParagraph

func (m *ArrowKeyMovementMethod) NextParagraph(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

NextParagraph calls android.text.method.ArrowKeyMovementMethod.nextParagraph.

func (*ArrowKeyMovementMethod) OnTakeFocus

func (m *ArrowKeyMovementMethod) OnTakeFocus(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

OnTakeFocus calls android.text.method.ArrowKeyMovementMethod.onTakeFocus.

func (*ArrowKeyMovementMethod) OnTouchEvent

func (m *ArrowKeyMovementMethod) OnTouchEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTouchEvent calls android.text.method.ArrowKeyMovementMethod.onTouchEvent.

func (*ArrowKeyMovementMethod) PreviousParagraph

func (m *ArrowKeyMovementMethod) PreviousParagraph(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

PreviousParagraph calls android.text.method.ArrowKeyMovementMethod.previousParagraph.

type BaseKeyListener

type BaseKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

BaseKeyListener wraps android.text.method.BaseKeyListener.

func (*BaseKeyListener) Backspace

func (m *BaseKeyListener) Backspace(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

Backspace calls android.text.method.BaseKeyListener.backspace.

func (*BaseKeyListener) ForwardDelete

func (m *BaseKeyListener) ForwardDelete(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

ForwardDelete calls android.text.method.BaseKeyListener.forwardDelete.

func (*BaseKeyListener) OnKeyDown

func (m *BaseKeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.BaseKeyListener.onKeyDown.

func (*BaseKeyListener) OnKeyOther

func (m *BaseKeyListener) OnKeyOther(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnKeyOther calls android.text.method.BaseKeyListener.onKeyOther.

type BaseMovementMethod

type BaseMovementMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

BaseMovementMethod wraps android.text.method.BaseMovementMethod.

func NewBaseMovementMethod

func NewBaseMovementMethod(vm *jni.VM) (*BaseMovementMethod, error)

NewBaseMovementMethod creates a new android.text.method.BaseMovementMethod instance.

func (*BaseMovementMethod) CanSelectArbitrarily

func (m *BaseMovementMethod) CanSelectArbitrarily() (bool, error)

CanSelectArbitrarily calls android.text.method.BaseMovementMethod.canSelectArbitrarily.

func (*BaseMovementMethod) Initialize

func (m *BaseMovementMethod) Initialize(arg0 *jni.Object, arg1 *jni.Object) error

Initialize calls android.text.method.BaseMovementMethod.initialize.

func (*BaseMovementMethod) NextParagraph

func (m *BaseMovementMethod) NextParagraph(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

NextParagraph calls android.text.method.BaseMovementMethod.nextParagraph.

func (*BaseMovementMethod) OnGenericMotionEvent

func (m *BaseMovementMethod) OnGenericMotionEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnGenericMotionEvent calls android.text.method.BaseMovementMethod.onGenericMotionEvent.

func (*BaseMovementMethod) OnKeyDown

func (m *BaseMovementMethod) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.BaseMovementMethod.onKeyDown.

func (*BaseMovementMethod) OnKeyOther

func (m *BaseMovementMethod) OnKeyOther(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnKeyOther calls android.text.method.BaseMovementMethod.onKeyOther.

func (*BaseMovementMethod) OnKeyUp

func (m *BaseMovementMethod) OnKeyUp(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyUp calls android.text.method.BaseMovementMethod.onKeyUp.

func (*BaseMovementMethod) OnTakeFocus

func (m *BaseMovementMethod) OnTakeFocus(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

OnTakeFocus calls android.text.method.BaseMovementMethod.onTakeFocus.

func (*BaseMovementMethod) OnTouchEvent

func (m *BaseMovementMethod) OnTouchEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTouchEvent calls android.text.method.BaseMovementMethod.onTouchEvent.

func (*BaseMovementMethod) OnTrackballEvent

func (m *BaseMovementMethod) OnTrackballEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTrackballEvent calls android.text.method.BaseMovementMethod.onTrackballEvent.

func (*BaseMovementMethod) PreviousParagraph

func (m *BaseMovementMethod) PreviousParagraph(arg0 *jni.Object, arg1 *jni.Object) (bool, error)

PreviousParagraph calls android.text.method.BaseMovementMethod.previousParagraph.

type CharacterPickerDialog

type CharacterPickerDialog struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

CharacterPickerDialog wraps android.text.method.CharacterPickerDialog.

func NewCharacterPickerDialog

func NewCharacterPickerDialog(vm *jni.VM, arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, arg3 string, arg4 bool) (*CharacterPickerDialog, error)

NewCharacterPickerDialog creates a new android.text.method.CharacterPickerDialog instance.

func (*CharacterPickerDialog) OnClick

func (m *CharacterPickerDialog) OnClick(arg0 *jni.Object) error

OnClick calls android.text.method.CharacterPickerDialog.onClick.

func (*CharacterPickerDialog) OnItemClick

func (m *CharacterPickerDialog) OnItemClick(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int64,
) error

OnItemClick calls android.text.method.CharacterPickerDialog.onItemClick.

type DateKeyListener

type DateKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DateKeyListener wraps android.text.method.DateKeyListener.

func NewDateKeyListener

func NewDateKeyListener(vm *jni.VM) (*DateKeyListener, error)

NewDateKeyListener creates a new android.text.method.DateKeyListener instance.

func (*DateKeyListener) GetInputType

func (m *DateKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.DateKeyListener.getInputType.

func (*DateKeyListener) GetInstance0

func (m *DateKeyListener) GetInstance0() (*jni.Object, error)

GetInstance0 calls android.text.method.DateKeyListener.getInstance.

func (*DateKeyListener) GetInstance1_1

func (m *DateKeyListener) GetInstance1_1(arg0 *jni.Object) (*jni.Object, error)

GetInstance1_1 calls android.text.method.DateKeyListener.getInstance.

type DateTimeKeyListener

type DateTimeKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DateTimeKeyListener wraps android.text.method.DateTimeKeyListener.

func NewDateTimeKeyListener

func NewDateTimeKeyListener(vm *jni.VM) (*DateTimeKeyListener, error)

NewDateTimeKeyListener creates a new android.text.method.DateTimeKeyListener instance.

func (*DateTimeKeyListener) GetInputType

func (m *DateTimeKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.DateTimeKeyListener.getInputType.

func (*DateTimeKeyListener) GetInstance0

func (m *DateTimeKeyListener) GetInstance0() (*jni.Object, error)

GetInstance0 calls android.text.method.DateTimeKeyListener.getInstance.

func (*DateTimeKeyListener) GetInstance1_1

func (m *DateTimeKeyListener) GetInstance1_1(arg0 *jni.Object) (*jni.Object, error)

GetInstance1_1 calls android.text.method.DateTimeKeyListener.getInstance.

type DialerKeyListener

type DialerKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DialerKeyListener wraps android.text.method.DialerKeyListener.

func NewDialerKeyListener

func NewDialerKeyListener(vm *jni.VM) (*DialerKeyListener, error)

NewDialerKeyListener creates a new android.text.method.DialerKeyListener instance.

func (*DialerKeyListener) GetInputType

func (m *DialerKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.DialerKeyListener.getInputType.

func (*DialerKeyListener) GetInstance

func (m *DialerKeyListener) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.DialerKeyListener.getInstance.

type DigitsKeyListener

type DigitsKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

DigitsKeyListener wraps android.text.method.DigitsKeyListener.

func NewDigitsKeyListener

func NewDigitsKeyListener(vm *jni.VM) (*DigitsKeyListener, error)

NewDigitsKeyListener creates a new android.text.method.DigitsKeyListener instance.

func (*DigitsKeyListener) Filter

func (m *DigitsKeyListener) Filter(
	arg0 string,
	arg1 int32,
	arg2 int32,
	arg3 *jni.Object,
	arg4 int32,
	arg5 int32,
) (*jni.Object, error)

Filter calls android.text.method.DigitsKeyListener.filter.

func (*DigitsKeyListener) GetInputType

func (m *DigitsKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.DigitsKeyListener.getInputType.

func (*DigitsKeyListener) GetInstance0

func (m *DigitsKeyListener) GetInstance0() (*jni.Object, error)

GetInstance0 calls android.text.method.DigitsKeyListener.getInstance.

func (*DigitsKeyListener) GetInstance1_2

func (m *DigitsKeyListener) GetInstance1_2(arg0 string) (*jni.Object, error)

GetInstance1_2 calls android.text.method.DigitsKeyListener.getInstance.

func (*DigitsKeyListener) GetInstance1_3

func (m *DigitsKeyListener) GetInstance1_3(arg0 *jni.Object) (*jni.Object, error)

GetInstance1_3 calls android.text.method.DigitsKeyListener.getInstance.

func (*DigitsKeyListener) GetInstance2_1

func (m *DigitsKeyListener) GetInstance2_1(arg0 bool, arg1 bool) (*jni.Object, error)

GetInstance2_1 calls android.text.method.DigitsKeyListener.getInstance.

func (*DigitsKeyListener) GetInstance3_4

func (m *DigitsKeyListener) GetInstance3_4(
	arg0 *jni.Object,
	arg1 bool,
	arg2 bool,
) (*jni.Object, error)

GetInstance3_4 calls android.text.method.DigitsKeyListener.getInstance.

type HideReturnsTransformationMethod

type HideReturnsTransformationMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

HideReturnsTransformationMethod wraps android.text.method.HideReturnsTransformationMethod.

func NewHideReturnsTransformationMethod

func NewHideReturnsTransformationMethod(vm *jni.VM) (*HideReturnsTransformationMethod, error)

NewHideReturnsTransformationMethod creates a new android.text.method.HideReturnsTransformationMethod instance.

func (*HideReturnsTransformationMethod) GetInstance

func (m *HideReturnsTransformationMethod) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.HideReturnsTransformationMethod.getInstance.

type KeyListener

type KeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

KeyListener wraps android.text.method.KeyListener.

func (*KeyListener) ClearMetaKeyState

func (m *KeyListener) ClearMetaKeyState(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

ClearMetaKeyState calls android.text.method.KeyListener.clearMetaKeyState.

func (*KeyListener) GetInputType

func (m *KeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.KeyListener.getInputType.

func (*KeyListener) OnKeyDown

func (m *KeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.KeyListener.onKeyDown.

func (*KeyListener) OnKeyOther

func (m *KeyListener) OnKeyOther(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnKeyOther calls android.text.method.KeyListener.onKeyOther.

func (*KeyListener) OnKeyUp

func (m *KeyListener) OnKeyUp(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyUp calls android.text.method.KeyListener.onKeyUp.

type LinkMovementMethod

type LinkMovementMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

LinkMovementMethod wraps android.text.method.LinkMovementMethod.

func NewLinkMovementMethod

func NewLinkMovementMethod(vm *jni.VM) (*LinkMovementMethod, error)

NewLinkMovementMethod creates a new android.text.method.LinkMovementMethod instance.

func (*LinkMovementMethod) CanSelectArbitrarily

func (m *LinkMovementMethod) CanSelectArbitrarily() (bool, error)

CanSelectArbitrarily calls android.text.method.LinkMovementMethod.canSelectArbitrarily.

func (*LinkMovementMethod) GetInstance

func (m *LinkMovementMethod) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.LinkMovementMethod.getInstance.

func (*LinkMovementMethod) Initialize

func (m *LinkMovementMethod) Initialize(arg0 *jni.Object, arg1 *jni.Object) error

Initialize calls android.text.method.LinkMovementMethod.initialize.

func (*LinkMovementMethod) OnTakeFocus

func (m *LinkMovementMethod) OnTakeFocus(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

OnTakeFocus calls android.text.method.LinkMovementMethod.onTakeFocus.

func (*LinkMovementMethod) OnTouchEvent

func (m *LinkMovementMethod) OnTouchEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTouchEvent calls android.text.method.LinkMovementMethod.onTouchEvent.

type MetaKeyKeyListener

type MetaKeyKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MetaKeyKeyListener wraps android.text.method.MetaKeyKeyListener.

func (*MetaKeyKeyListener) AdjustMetaAfterKeypress1

func (m *MetaKeyKeyListener) AdjustMetaAfterKeypress1(arg0 *jni.Object) error

AdjustMetaAfterKeypress1 calls android.text.method.MetaKeyKeyListener.adjustMetaAfterKeypress.

func (*MetaKeyKeyListener) AdjustMetaAfterKeypress1_1

func (m *MetaKeyKeyListener) AdjustMetaAfterKeypress1_1(arg0 int64) (int64, error)

AdjustMetaAfterKeypress1_1 calls android.text.method.MetaKeyKeyListener.adjustMetaAfterKeypress.

func (*MetaKeyKeyListener) ClearMetaKeyState2

func (m *MetaKeyKeyListener) ClearMetaKeyState2(arg0 *jni.Object, arg1 int32) error

ClearMetaKeyState2 calls android.text.method.MetaKeyKeyListener.clearMetaKeyState.

func (*MetaKeyKeyListener) ClearMetaKeyState2_2

func (m *MetaKeyKeyListener) ClearMetaKeyState2_2(arg0 int64, arg1 int32) (int64, error)

ClearMetaKeyState2_2 calls android.text.method.MetaKeyKeyListener.clearMetaKeyState.

func (*MetaKeyKeyListener) ClearMetaKeyState3_1

func (m *MetaKeyKeyListener) ClearMetaKeyState3_1(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

ClearMetaKeyState3_1 calls android.text.method.MetaKeyKeyListener.clearMetaKeyState.

func (*MetaKeyKeyListener) GetMetaState1

func (m *MetaKeyKeyListener) GetMetaState1(arg0 string) (int32, error)

GetMetaState1 calls android.text.method.MetaKeyKeyListener.getMetaState.

func (*MetaKeyKeyListener) GetMetaState1_4

func (m *MetaKeyKeyListener) GetMetaState1_4(arg0 int64) (int32, error)

GetMetaState1_4 calls android.text.method.MetaKeyKeyListener.getMetaState.

func (*MetaKeyKeyListener) GetMetaState2_1

func (m *MetaKeyKeyListener) GetMetaState2_1(arg0 string, arg1 *jni.Object) (int32, error)

GetMetaState2_1 calls android.text.method.MetaKeyKeyListener.getMetaState.

func (*MetaKeyKeyListener) GetMetaState2_2

func (m *MetaKeyKeyListener) GetMetaState2_2(arg0 string, arg1 int32) (int32, error)

GetMetaState2_2 calls android.text.method.MetaKeyKeyListener.getMetaState.

func (*MetaKeyKeyListener) GetMetaState2_5

func (m *MetaKeyKeyListener) GetMetaState2_5(arg0 int64, arg1 int32) (int32, error)

GetMetaState2_5 calls android.text.method.MetaKeyKeyListener.getMetaState.

func (*MetaKeyKeyListener) GetMetaState3_3

func (m *MetaKeyKeyListener) GetMetaState3_3(
	arg0 string,
	arg1 int32,
	arg2 *jni.Object,
) (int32, error)

GetMetaState3_3 calls android.text.method.MetaKeyKeyListener.getMetaState.

func (*MetaKeyKeyListener) HandleKeyDown

func (m *MetaKeyKeyListener) HandleKeyDown(
	arg0 int64,
	arg1 int32,
	arg2 *jni.Object,
) (int64, error)

HandleKeyDown calls android.text.method.MetaKeyKeyListener.handleKeyDown.

func (*MetaKeyKeyListener) HandleKeyUp

func (m *MetaKeyKeyListener) HandleKeyUp(
	arg0 int64,
	arg1 int32,
	arg2 *jni.Object,
) (int64, error)

HandleKeyUp calls android.text.method.MetaKeyKeyListener.handleKeyUp.

func (*MetaKeyKeyListener) IsMetaTracker

func (m *MetaKeyKeyListener) IsMetaTracker(arg0 string, arg1 *jni.Object) (bool, error)

IsMetaTracker calls android.text.method.MetaKeyKeyListener.isMetaTracker.

func (*MetaKeyKeyListener) IsSelectingMetaTracker

func (m *MetaKeyKeyListener) IsSelectingMetaTracker(arg0 string, arg1 *jni.Object) (bool, error)

IsSelectingMetaTracker calls android.text.method.MetaKeyKeyListener.isSelectingMetaTracker.

func (*MetaKeyKeyListener) OnKeyDown

func (m *MetaKeyKeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.MetaKeyKeyListener.onKeyDown.

func (*MetaKeyKeyListener) OnKeyUp

func (m *MetaKeyKeyListener) OnKeyUp(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyUp calls android.text.method.MetaKeyKeyListener.onKeyUp.

func (*MetaKeyKeyListener) ResetLockedMeta

func (m *MetaKeyKeyListener) ResetLockedMeta(arg0 int64) (int64, error)

ResetLockedMeta calls android.text.method.MetaKeyKeyListener.resetLockedMeta.

func (*MetaKeyKeyListener) ResetMetaState

func (m *MetaKeyKeyListener) ResetMetaState(arg0 *jni.Object) error

ResetMetaState calls android.text.method.MetaKeyKeyListener.resetMetaState.

type MovementMethod

type MovementMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MovementMethod wraps android.text.method.MovementMethod.

func (*MovementMethod) CanSelectArbitrarily

func (m *MovementMethod) CanSelectArbitrarily() (bool, error)

CanSelectArbitrarily calls android.text.method.MovementMethod.canSelectArbitrarily.

func (*MovementMethod) Initialize

func (m *MovementMethod) Initialize(arg0 *jni.Object, arg1 *jni.Object) error

Initialize calls android.text.method.MovementMethod.initialize.

func (*MovementMethod) OnGenericMotionEvent

func (m *MovementMethod) OnGenericMotionEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnGenericMotionEvent calls android.text.method.MovementMethod.onGenericMotionEvent.

func (*MovementMethod) OnKeyDown

func (m *MovementMethod) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.MovementMethod.onKeyDown.

func (*MovementMethod) OnKeyOther

func (m *MovementMethod) OnKeyOther(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnKeyOther calls android.text.method.MovementMethod.onKeyOther.

func (*MovementMethod) OnKeyUp

func (m *MovementMethod) OnKeyUp(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyUp calls android.text.method.MovementMethod.onKeyUp.

func (*MovementMethod) OnTakeFocus

func (m *MovementMethod) OnTakeFocus(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

OnTakeFocus calls android.text.method.MovementMethod.onTakeFocus.

func (*MovementMethod) OnTouchEvent

func (m *MovementMethod) OnTouchEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTouchEvent calls android.text.method.MovementMethod.onTouchEvent.

func (*MovementMethod) OnTrackballEvent

func (m *MovementMethod) OnTrackballEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTrackballEvent calls android.text.method.MovementMethod.onTrackballEvent.

type MultiTapKeyListener

type MultiTapKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

MultiTapKeyListener wraps android.text.method.MultiTapKeyListener.

func NewMultiTapKeyListener

func NewMultiTapKeyListener(vm *jni.VM, arg0 *jni.Object, arg1 bool) (*MultiTapKeyListener, error)

NewMultiTapKeyListener creates a new android.text.method.MultiTapKeyListener instance.

func (*MultiTapKeyListener) GetInputType

func (m *MultiTapKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.MultiTapKeyListener.getInputType.

func (*MultiTapKeyListener) GetInstance

func (m *MultiTapKeyListener) GetInstance(arg0 bool, arg1 *jni.Object) (*jni.Object, error)

GetInstance calls android.text.method.MultiTapKeyListener.getInstance.

func (*MultiTapKeyListener) OnKeyDown

func (m *MultiTapKeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.MultiTapKeyListener.onKeyDown.

func (*MultiTapKeyListener) OnSpanAdded

func (m *MultiTapKeyListener) OnSpanAdded(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) error

OnSpanAdded calls android.text.method.MultiTapKeyListener.onSpanAdded.

func (*MultiTapKeyListener) OnSpanChanged

func (m *MultiTapKeyListener) OnSpanChanged(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
	arg4 int32,
	arg5 int32,
) error

OnSpanChanged calls android.text.method.MultiTapKeyListener.onSpanChanged.

func (*MultiTapKeyListener) OnSpanRemoved

func (m *MultiTapKeyListener) OnSpanRemoved(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) error

OnSpanRemoved calls android.text.method.MultiTapKeyListener.onSpanRemoved.

type NumberKeyListener

type NumberKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

NumberKeyListener wraps android.text.method.NumberKeyListener.

func (*NumberKeyListener) Filter

func (m *NumberKeyListener) Filter(
	arg0 string,
	arg1 int32,
	arg2 int32,
	arg3 *jni.Object,
	arg4 int32,
	arg5 int32,
) (*jni.Object, error)

Filter calls android.text.method.NumberKeyListener.filter.

func (*NumberKeyListener) OnKeyDown

func (m *NumberKeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.NumberKeyListener.onKeyDown.

type PasswordTransformationMethod

type PasswordTransformationMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

PasswordTransformationMethod wraps android.text.method.PasswordTransformationMethod.

func NewPasswordTransformationMethod

func NewPasswordTransformationMethod(vm *jni.VM) (*PasswordTransformationMethod, error)

NewPasswordTransformationMethod creates a new android.text.method.PasswordTransformationMethod instance.

func (*PasswordTransformationMethod) AfterTextChanged

func (m *PasswordTransformationMethod) AfterTextChanged(arg0 *jni.Object) error

AfterTextChanged calls android.text.method.PasswordTransformationMethod.afterTextChanged.

func (*PasswordTransformationMethod) BeforeTextChanged

func (m *PasswordTransformationMethod) BeforeTextChanged(
	arg0 string,
	arg1 int32,
	arg2 int32,
	arg3 int32,
) error

BeforeTextChanged calls android.text.method.PasswordTransformationMethod.beforeTextChanged.

func (*PasswordTransformationMethod) GetInstance

func (m *PasswordTransformationMethod) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.PasswordTransformationMethod.getInstance.

func (*PasswordTransformationMethod) GetTransformation

func (m *PasswordTransformationMethod) GetTransformation(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetTransformation calls android.text.method.PasswordTransformationMethod.getTransformation.

func (*PasswordTransformationMethod) OnFocusChanged

func (m *PasswordTransformationMethod) OnFocusChanged(
	arg0 *jni.Object,
	arg1 string,
	arg2 bool,
	arg3 int32,
	arg4 *jni.Object,
) error

OnFocusChanged calls android.text.method.PasswordTransformationMethod.onFocusChanged.

func (*PasswordTransformationMethod) OnTextChanged

func (m *PasswordTransformationMethod) OnTextChanged(
	arg0 string,
	arg1 int32,
	arg2 int32,
	arg3 int32,
) error

OnTextChanged calls android.text.method.PasswordTransformationMethod.onTextChanged.

type QwertyKeyListener

type QwertyKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

QwertyKeyListener wraps android.text.method.QwertyKeyListener.

func NewQwertyKeyListener

func NewQwertyKeyListener(vm *jni.VM, arg0 *jni.Object, arg1 bool) (*QwertyKeyListener, error)

NewQwertyKeyListener creates a new android.text.method.QwertyKeyListener instance.

func (*QwertyKeyListener) GetInputType

func (m *QwertyKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.QwertyKeyListener.getInputType.

func (*QwertyKeyListener) GetInstance

func (m *QwertyKeyListener) GetInstance(arg0 bool, arg1 *jni.Object) (*jni.Object, error)

GetInstance calls android.text.method.QwertyKeyListener.getInstance.

func (*QwertyKeyListener) GetInstanceForFullKeyboard

func (m *QwertyKeyListener) GetInstanceForFullKeyboard() (*jni.Object, error)

GetInstanceForFullKeyboard calls android.text.method.QwertyKeyListener.getInstanceForFullKeyboard.

func (*QwertyKeyListener) MarkAsReplaced

func (m *QwertyKeyListener) MarkAsReplaced(
	arg0 *jni.Object,
	arg1 int32,
	arg2 int32,
	arg3 string,
) error

MarkAsReplaced calls android.text.method.QwertyKeyListener.markAsReplaced.

func (*QwertyKeyListener) OnKeyDown

func (m *QwertyKeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.QwertyKeyListener.onKeyDown.

type ReplacementTransformationMethod

type ReplacementTransformationMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ReplacementTransformationMethod wraps android.text.method.ReplacementTransformationMethod.

func (*ReplacementTransformationMethod) GetTransformation

func (m *ReplacementTransformationMethod) GetTransformation(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetTransformation calls android.text.method.ReplacementTransformationMethod.getTransformation.

func (*ReplacementTransformationMethod) OnFocusChanged

func (m *ReplacementTransformationMethod) OnFocusChanged(
	arg0 *jni.Object,
	arg1 string,
	arg2 bool,
	arg3 int32,
	arg4 *jni.Object,
) error

OnFocusChanged calls android.text.method.ReplacementTransformationMethod.onFocusChanged.

type ScrollingMovementMethod

type ScrollingMovementMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

ScrollingMovementMethod wraps android.text.method.ScrollingMovementMethod.

func NewScrollingMovementMethod

func NewScrollingMovementMethod(vm *jni.VM) (*ScrollingMovementMethod, error)

NewScrollingMovementMethod creates a new android.text.method.ScrollingMovementMethod instance.

func (*ScrollingMovementMethod) GetInstance

func (m *ScrollingMovementMethod) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.ScrollingMovementMethod.getInstance.

func (*ScrollingMovementMethod) OnTakeFocus

func (m *ScrollingMovementMethod) OnTakeFocus(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
) error

OnTakeFocus calls android.text.method.ScrollingMovementMethod.onTakeFocus.

func (*ScrollingMovementMethod) OnTouchEvent

func (m *ScrollingMovementMethod) OnTouchEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTouchEvent calls android.text.method.ScrollingMovementMethod.onTouchEvent.

type SingleLineTransformationMethod

type SingleLineTransformationMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

SingleLineTransformationMethod wraps android.text.method.SingleLineTransformationMethod.

func NewSingleLineTransformationMethod

func NewSingleLineTransformationMethod(vm *jni.VM) (*SingleLineTransformationMethod, error)

NewSingleLineTransformationMethod creates a new android.text.method.SingleLineTransformationMethod instance.

func (*SingleLineTransformationMethod) GetInstance

func (m *SingleLineTransformationMethod) GetInstance() (*jni.Object, error)

GetInstance calls android.text.method.SingleLineTransformationMethod.getInstance.

type TextKeyListener

type TextKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TextKeyListener wraps android.text.method.TextKeyListener.

func NewTextKeyListener

func NewTextKeyListener(vm *jni.VM, arg0 *jni.Object, arg1 bool) (*TextKeyListener, error)

NewTextKeyListener creates a new android.text.method.TextKeyListener instance.

func (*TextKeyListener) Clear

func (m *TextKeyListener) Clear(arg0 *jni.Object) error

Clear calls android.text.method.TextKeyListener.clear.

func (*TextKeyListener) GetInputType

func (m *TextKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.TextKeyListener.getInputType.

func (*TextKeyListener) GetInstance0

func (m *TextKeyListener) GetInstance0() (*jni.Object, error)

GetInstance0 calls android.text.method.TextKeyListener.getInstance.

func (*TextKeyListener) GetInstance2_1

func (m *TextKeyListener) GetInstance2_1(arg0 bool, arg1 *jni.Object) (*jni.Object, error)

GetInstance2_1 calls android.text.method.TextKeyListener.getInstance.

func (*TextKeyListener) OnKeyDown

func (m *TextKeyListener) OnKeyDown(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyDown calls android.text.method.TextKeyListener.onKeyDown.

func (*TextKeyListener) OnKeyOther

func (m *TextKeyListener) OnKeyOther(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnKeyOther calls android.text.method.TextKeyListener.onKeyOther.

func (*TextKeyListener) OnKeyUp

func (m *TextKeyListener) OnKeyUp(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 *jni.Object,
) (bool, error)

OnKeyUp calls android.text.method.TextKeyListener.onKeyUp.

func (*TextKeyListener) OnSpanAdded

func (m *TextKeyListener) OnSpanAdded(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) error

OnSpanAdded calls android.text.method.TextKeyListener.onSpanAdded.

func (*TextKeyListener) OnSpanChanged

func (m *TextKeyListener) OnSpanChanged(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
	arg4 int32,
	arg5 int32,
) error

OnSpanChanged calls android.text.method.TextKeyListener.onSpanChanged.

func (*TextKeyListener) OnSpanRemoved

func (m *TextKeyListener) OnSpanRemoved(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) error

OnSpanRemoved calls android.text.method.TextKeyListener.onSpanRemoved.

func (*TextKeyListener) Release

func (m *TextKeyListener) Release() error

Release calls android.text.method.TextKeyListener.release.

func (*TextKeyListener) ShouldCap

func (m *TextKeyListener) ShouldCap(
	arg0 *jni.Object,
	arg1 string,
	arg2 int32,
) (bool, error)

ShouldCap calls android.text.method.TextKeyListener.shouldCap.

type TextKeyListenerCapitalize

type TextKeyListenerCapitalize struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TextKeyListenerCapitalize wraps android.text.method.TextKeyListener$Capitalize.

func (*TextKeyListenerCapitalize) ValueOf

func (m *TextKeyListenerCapitalize) ValueOf(arg0 string) (*jni.Object, error)

ValueOf calls android.text.method.TextKeyListener$Capitalize.valueOf.

func (*TextKeyListenerCapitalize) Values

func (m *TextKeyListenerCapitalize) Values() (*jni.Object, error)

Values calls android.text.method.TextKeyListener$Capitalize.values.

type TimeKeyListener

type TimeKeyListener struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TimeKeyListener wraps android.text.method.TimeKeyListener.

func NewTimeKeyListener

func NewTimeKeyListener(vm *jni.VM) (*TimeKeyListener, error)

NewTimeKeyListener creates a new android.text.method.TimeKeyListener instance.

func (*TimeKeyListener) GetInputType

func (m *TimeKeyListener) GetInputType() (int32, error)

GetInputType calls android.text.method.TimeKeyListener.getInputType.

func (*TimeKeyListener) GetInstance0

func (m *TimeKeyListener) GetInstance0() (*jni.Object, error)

GetInstance0 calls android.text.method.TimeKeyListener.getInstance.

func (*TimeKeyListener) GetInstance1_1

func (m *TimeKeyListener) GetInstance1_1(arg0 *jni.Object) (*jni.Object, error)

GetInstance1_1 calls android.text.method.TimeKeyListener.getInstance.

type Touch

type Touch struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

Touch wraps android.text.method.Touch.

func (*Touch) GetInitialScrollX

func (m *Touch) GetInitialScrollX(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

GetInitialScrollX calls android.text.method.Touch.getInitialScrollX.

func (*Touch) GetInitialScrollY

func (m *Touch) GetInitialScrollY(arg0 *jni.Object, arg1 *jni.Object) (int32, error)

GetInitialScrollY calls android.text.method.Touch.getInitialScrollY.

func (*Touch) OnTouchEvent

func (m *Touch) OnTouchEvent(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 *jni.Object,
) (bool, error)

OnTouchEvent calls android.text.method.Touch.onTouchEvent.

func (*Touch) ScrollTo

func (m *Touch) ScrollTo(
	arg0 *jni.Object,
	arg1 *jni.Object,
	arg2 int32,
	arg3 int32,
) error

ScrollTo calls android.text.method.Touch.scrollTo.

type TransformationMethod

type TransformationMethod struct {
	VM  *jni.VM
	Obj *jni.GlobalRef
}

TransformationMethod wraps android.text.method.TransformationMethod.

func (*TransformationMethod) GetTransformation

func (m *TransformationMethod) GetTransformation(arg0 string, arg1 *jni.Object) (*jni.Object, error)

GetTransformation calls android.text.method.TransformationMethod.getTransformation.

func (*TransformationMethod) OnFocusChanged

func (m *TransformationMethod) OnFocusChanged(
	arg0 *jni.Object,
	arg1 string,
	arg2 bool,
	arg3 int32,
	arg4 *jni.Object,
) error

OnFocusChanged calls android.text.method.TransformationMethod.onFocusChanged.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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