Documentation
¶
Index ¶
- Constants
- type HostUsiVersion
- type IInputDeviceBatteryListener
- type IInputDeviceBatteryListenerServer
- type IInputDeviceBatteryState
- type IInputDevicesChangedListener
- type IInputDevicesChangedListenerServer
- type IInputManager
- type IInputManagerServer
- type IInputSensorEventListener
- type IInputSensorEventListenerServer
- type IKeyboardBacklightListener
- type IKeyboardBacklightListenerServer
- type IKeyboardBacklightState
- type IStickyModifierStateListener
- type IStickyModifierStateListenerServer
- type ITabletModeChangedListener
- type ITabletModeChangedListenerServer
- type InputDeviceBatteryListenerProxy
- type InputDeviceBatteryListenerStub
- type InputDeviceIdentifier
- type InputDevicesChangedListenerProxy
- type InputDevicesChangedListenerStub
- type InputManagerProxy
- func (p *InputManagerProxy) AddKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error
- func (p *InputManagerProxy) AddPortAssociation(ctx context.Context, inputPort string, displayPort int32) error
- func (p *InputManagerProxy) AddUniqueIdAssociation(ctx context.Context, inputPort string, displayUniqueId string) error
- func (p *InputManagerProxy) AsBinder() binder.IBinder
- func (p *InputManagerProxy) CancelCurrentTouch(ctx context.Context) error
- func (p *InputManagerProxy) CancelVibrate(ctx context.Context, deviceId int32, token binder.IBinder) error
- func (p *InputManagerProxy) ClearAllModifierKeyRemappings(ctx context.Context) error
- func (p *InputManagerProxy) CloseLightSession(ctx context.Context, deviceId int32, token binder.IBinder) error
- func (p *InputManagerProxy) DisableInputDevice(ctx context.Context, deviceId int32) error
- func (p *InputManagerProxy) DisableSensor(ctx context.Context, deviceId int32, sensorType int32) error
- func (p *InputManagerProxy) EnableInputDevice(ctx context.Context, deviceId int32) error
- func (p *InputManagerProxy) EnableSensor(ctx context.Context, deviceId int32, sensorType int32, samplingPeriodUs int32, ...) (bool, error)
- func (p *InputManagerProxy) FlushSensor(ctx context.Context, deviceId int32, sensorType int32) (bool, error)
- func (p *InputManagerProxy) GetBatteryState(ctx context.Context, deviceId int32) (IInputDeviceBatteryState, error)
- func (p *InputManagerProxy) GetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) (string, error)
- func (p *InputManagerProxy) GetEnabledKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]string, error)
- func (p *InputManagerProxy) GetHostUsiVersionFromDisplayConfig(ctx context.Context, displayId int32) (HostUsiVersion, error)
- func (p *InputManagerProxy) GetInputDevice(ctx context.Context, deviceId int32) (view.InputDevice, error)
- func (p *InputManagerProxy) GetInputDeviceBluetoothAddress(ctx context.Context, deviceId int32) (string, error)
- func (p *InputManagerProxy) GetInputDeviceIds(ctx context.Context) ([]int32, error)
- func (p *InputManagerProxy) GetKeyCharacterMap(ctx context.Context, layoutDescriptor string) (view.KeyCharacterMap, error)
- func (p *InputManagerProxy) GetKeyCodeForKeyLocation(ctx context.Context, deviceId int32, locationKeyCode int32) (int32, error)
- func (p *InputManagerProxy) GetKeyboardLayout(ctx context.Context, keyboardLayoutDescriptor string) (KeyboardLayout, error)
- func (p *InputManagerProxy) GetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) (KeyboardLayoutSelectionResult, error)
- func (p *InputManagerProxy) GetKeyboardLayoutListForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) ([]KeyboardLayout, error)
- func (p *InputManagerProxy) GetKeyboardLayouts(ctx context.Context) ([]KeyboardLayout, error)
- func (p *InputManagerProxy) GetKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]KeyboardLayout, error)
- func (p *InputManagerProxy) GetLightState(ctx context.Context, deviceId int32, lightId int32) (lights.LightState, error)
- func (p *InputManagerProxy) GetLights(ctx context.Context, deviceId int32) ([]lights.Light, error)
- func (p *InputManagerProxy) GetModifierKeyRemapping(ctx context.Context) (map[any]any, error)
- func (p *InputManagerProxy) GetMousePointerSpeed(ctx context.Context) (int32, error)
- func (p *InputManagerProxy) GetSensorList(ctx context.Context, deviceId int32) ([]InputSensorInfo, error)
- func (p *InputManagerProxy) GetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32) (TouchCalibration, error)
- func (p *InputManagerProxy) GetVelocityTrackerStrategy(ctx context.Context) (string, error)
- func (p *InputManagerProxy) GetVibratorIds(ctx context.Context, deviceId int32) ([]int32, error)
- func (p *InputManagerProxy) HasKeys(ctx context.Context, deviceId int32, sourceMask int32, keyCodes []int32, ...) (bool, error)
- func (p *InputManagerProxy) InjectInputEvent(ctx context.Context, ev view.InputEvent, mode int32) (bool, error)
- func (p *InputManagerProxy) InjectInputEventToTarget(ctx context.Context, ev view.InputEvent, mode int32, targetUid int32) (bool, error)
- func (p *InputManagerProxy) IsInTabletMode(ctx context.Context) (int32, error)
- func (p *InputManagerProxy) IsInputDeviceEnabled(ctx context.Context, deviceId int32) (bool, error)
- func (p *InputManagerProxy) IsMicMuted(ctx context.Context) (int32, error)
- func (p *InputManagerProxy) IsVibrating(ctx context.Context, deviceId int32) (bool, error)
- func (p *InputManagerProxy) MonitorGestureInput(ctx context.Context, token binder.IBinder, name string, displayId int32) (view.InputMonitor, error)
- func (p *InputManagerProxy) OpenLightSession(ctx context.Context, deviceId int32, opPkg string, token binder.IBinder) error
- func (p *InputManagerProxy) PilferPointers(ctx context.Context, inputChannelToken binder.IBinder) error
- func (p *InputManagerProxy) RegisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error
- func (p *InputManagerProxy) RegisterInputDevicesChangedListener(ctx context.Context, listener IInputDevicesChangedListener) error
- func (p *InputManagerProxy) RegisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error
- func (p *InputManagerProxy) RegisterSensorListener(ctx context.Context, listener IInputSensorEventListener) (bool, error)
- func (p *InputManagerProxy) RegisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error
- func (p *InputManagerProxy) RegisterTabletModeChangedListener(ctx context.Context, listener ITabletModeChangedListener) error
- func (p *InputManagerProxy) RegisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error)
- func (p *InputManagerProxy) RemapModifierKey(ctx context.Context, fromKey int32, toKey int32) error
- func (p *InputManagerProxy) RemoveKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error
- func (p *InputManagerProxy) RemovePortAssociation(ctx context.Context, inputPort string) error
- func (p *InputManagerProxy) RemoveUniqueIdAssociation(ctx context.Context, inputPort string) error
- func (p *InputManagerProxy) RequestPointerCapture(ctx context.Context, inputChannelToken binder.IBinder, enabled bool) error
- func (p *InputManagerProxy) SetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error
- func (p *InputManagerProxy) SetCustomPointerIcon(ctx context.Context, icon view.PointerIcon) error
- func (p *InputManagerProxy) SetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, ...) error
- func (p *InputManagerProxy) SetLightStates(ctx context.Context, deviceId int32, lightIds []int32, ...) error
- func (p *InputManagerProxy) SetPointerIcon(ctx context.Context, icon view.PointerIcon, displayId int32, deviceId int32, ...) (bool, error)
- func (p *InputManagerProxy) SetPointerIconType(ctx context.Context, typeId int32) error
- func (p *InputManagerProxy) SetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32, ...) error
- func (p *InputManagerProxy) TryPointerSpeed(ctx context.Context, speed int32) error
- func (p *InputManagerProxy) UnregisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error
- func (p *InputManagerProxy) UnregisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error
- func (p *InputManagerProxy) UnregisterSensorListener(ctx context.Context, listener IInputSensorEventListener) error
- func (p *InputManagerProxy) UnregisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error
- func (p *InputManagerProxy) UnregisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error)
- func (p *InputManagerProxy) VerifyInputEvent(ctx context.Context, ev view.InputEvent) (view.VerifiedInputEvent, error)
- func (p *InputManagerProxy) Vibrate(ctx context.Context, deviceId int32, effect os.VibrationEffect, ...) error
- func (p *InputManagerProxy) VibrateCombined(ctx context.Context, deviceId int32, vibration os.CombinedVibration, ...) error
- type InputManagerStub
- type InputSensorEventListenerProxy
- func (p *InputSensorEventListenerProxy) AsBinder() binder.IBinder
- func (p *InputSensorEventListenerProxy) OnInputSensorAccuracyChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32) error
- func (p *InputSensorEventListenerProxy) OnInputSensorChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32, ...) error
- type InputSensorEventListenerStub
- type InputSensorInfo
- type KeyboardBacklightListenerProxy
- type KeyboardBacklightListenerStub
- type KeyboardLayout
- type KeyboardLayoutSelectionResult
- type StickyModifierStateListenerProxy
- type StickyModifierStateListenerStub
- type TabletModeChangedListenerProxy
- type TabletModeChangedListenerStub
- type TouchCalibration
- type VirtualDpadConfig
- type VirtualKeyEvent
- type VirtualKeyboardConfig
- type VirtualMouseButtonEvent
- type VirtualMouseConfig
- type VirtualMouseRelativeEvent
- type VirtualMouseScrollEvent
- type VirtualNavigationTouchpadConfig
- type VirtualStylusButtonEvent
- type VirtualStylusConfig
- type VirtualStylusMotionEvent
- type VirtualTouchEvent
- type VirtualTouchscreenConfig
Constants ¶
const ( TransactionIInputManagerGetVelocityTrackerStrategy = binder.FirstCallTransaction + 0 TransactionIInputManagerGetInputDevice = binder.FirstCallTransaction + 1 TransactionIInputManagerGetInputDeviceIds = binder.FirstCallTransaction + 2 TransactionIInputManagerIsInputDeviceEnabled = binder.FirstCallTransaction + 3 TransactionIInputManagerEnableInputDevice = binder.FirstCallTransaction + 4 TransactionIInputManagerDisableInputDevice = binder.FirstCallTransaction + 5 TransactionIInputManagerHasKeys = binder.FirstCallTransaction + 6 TransactionIInputManagerGetKeyCodeForKeyLocation = binder.FirstCallTransaction + 7 TransactionIInputManagerGetKeyCharacterMap = binder.FirstCallTransaction + 8 TransactionIInputManagerGetMousePointerSpeed = binder.FirstCallTransaction + 9 TransactionIInputManagerTryPointerSpeed = binder.FirstCallTransaction + 10 TransactionIInputManagerInjectInputEvent = binder.FirstCallTransaction + 11 TransactionIInputManagerInjectInputEventToTarget = binder.FirstCallTransaction + 12 TransactionIInputManagerVerifyInputEvent = binder.FirstCallTransaction + 13 TransactionIInputManagerGetTouchCalibrationForInputDevice = binder.FirstCallTransaction + 14 TransactionIInputManagerSetTouchCalibrationForInputDevice = binder.FirstCallTransaction + 15 TransactionIInputManagerGetKeyboardLayouts = binder.FirstCallTransaction + 16 TransactionIInputManagerGetKeyboardLayoutsForInputDevice = binder.FirstCallTransaction + 17 TransactionIInputManagerGetKeyboardLayout = binder.FirstCallTransaction + 18 TransactionIInputManagerGetCurrentKeyboardLayoutForInputDevice = binder.FirstCallTransaction + 19 TransactionIInputManagerSetCurrentKeyboardLayoutForInputDevice = binder.FirstCallTransaction + 20 TransactionIInputManagerGetEnabledKeyboardLayoutsForInputDevice = binder.FirstCallTransaction + 21 TransactionIInputManagerAddKeyboardLayoutForInputDevice = binder.FirstCallTransaction + 22 TransactionIInputManagerRemoveKeyboardLayoutForInputDevice = binder.FirstCallTransaction + 23 TransactionIInputManagerGetKeyboardLayoutForInputDevice = binder.FirstCallTransaction + 24 TransactionIInputManagerSetKeyboardLayoutForInputDevice = binder.FirstCallTransaction + 25 TransactionIInputManagerGetKeyboardLayoutListForInputDevice = binder.FirstCallTransaction + 26 TransactionIInputManagerRemapModifierKey = binder.FirstCallTransaction + 27 TransactionIInputManagerClearAllModifierKeyRemappings = binder.FirstCallTransaction + 28 TransactionIInputManagerGetModifierKeyRemapping = binder.FirstCallTransaction + 29 TransactionIInputManagerRegisterInputDevicesChangedListener = binder.FirstCallTransaction + 30 TransactionIInputManagerIsInTabletMode = binder.FirstCallTransaction + 31 TransactionIInputManagerRegisterTabletModeChangedListener = binder.FirstCallTransaction + 32 TransactionIInputManagerIsMicMuted = binder.FirstCallTransaction + 33 TransactionIInputManagerVibrate = binder.FirstCallTransaction + 34 TransactionIInputManagerVibrateCombined = binder.FirstCallTransaction + 35 TransactionIInputManagerCancelVibrate = binder.FirstCallTransaction + 36 TransactionIInputManagerGetVibratorIds = binder.FirstCallTransaction + 37 TransactionIInputManagerIsVibrating = binder.FirstCallTransaction + 38 TransactionIInputManagerRegisterVibratorStateListener = binder.FirstCallTransaction + 39 TransactionIInputManagerUnregisterVibratorStateListener = binder.FirstCallTransaction + 40 TransactionIInputManagerGetBatteryState = binder.FirstCallTransaction + 41 TransactionIInputManagerSetPointerIconType = binder.FirstCallTransaction + 42 TransactionIInputManagerSetCustomPointerIcon = binder.FirstCallTransaction + 43 TransactionIInputManagerSetPointerIcon = binder.FirstCallTransaction + 44 TransactionIInputManagerRequestPointerCapture = binder.FirstCallTransaction + 45 TransactionIInputManagerMonitorGestureInput = binder.FirstCallTransaction + 46 TransactionIInputManagerAddPortAssociation = binder.FirstCallTransaction + 47 TransactionIInputManagerRemovePortAssociation = binder.FirstCallTransaction + 48 TransactionIInputManagerAddUniqueIdAssociation = binder.FirstCallTransaction + 49 TransactionIInputManagerRemoveUniqueIdAssociation = binder.FirstCallTransaction + 50 TransactionIInputManagerGetSensorList = binder.FirstCallTransaction + 51 TransactionIInputManagerRegisterSensorListener = binder.FirstCallTransaction + 52 TransactionIInputManagerUnregisterSensorListener = binder.FirstCallTransaction + 53 TransactionIInputManagerEnableSensor = binder.FirstCallTransaction + 54 TransactionIInputManagerDisableSensor = binder.FirstCallTransaction + 55 TransactionIInputManagerFlushSensor = binder.FirstCallTransaction + 56 TransactionIInputManagerGetLights = binder.FirstCallTransaction + 57 TransactionIInputManagerGetLightState = binder.FirstCallTransaction + 58 TransactionIInputManagerSetLightStates = binder.FirstCallTransaction + 59 TransactionIInputManagerOpenLightSession = binder.FirstCallTransaction + 60 TransactionIInputManagerCloseLightSession = binder.FirstCallTransaction + 61 TransactionIInputManagerCancelCurrentTouch = binder.FirstCallTransaction + 62 TransactionIInputManagerRegisterBatteryListener = binder.FirstCallTransaction + 63 TransactionIInputManagerUnregisterBatteryListener = binder.FirstCallTransaction + 64 TransactionIInputManagerGetInputDeviceBluetoothAddress = binder.FirstCallTransaction + 65 TransactionIInputManagerPilferPointers = binder.FirstCallTransaction + 66 TransactionIInputManagerRegisterKeyboardBacklightListener = binder.FirstCallTransaction + 67 TransactionIInputManagerUnregisterKeyboardBacklightListener = binder.FirstCallTransaction + 68 TransactionIInputManagerGetHostUsiVersionFromDisplayConfig = binder.FirstCallTransaction + 69 TransactionIInputManagerRegisterStickyModifierStateListener = binder.FirstCallTransaction + 70 TransactionIInputManagerUnregisterStickyModifierStateListener = binder.FirstCallTransaction + 71 )
const ( MethodIInputManagerGetVelocityTrackerStrategy = "getVelocityTrackerStrategy" MethodIInputManagerGetInputDevice = "getInputDevice" MethodIInputManagerGetInputDeviceIds = "getInputDeviceIds" MethodIInputManagerIsInputDeviceEnabled = "isInputDeviceEnabled" MethodIInputManagerEnableInputDevice = "enableInputDevice" MethodIInputManagerDisableInputDevice = "disableInputDevice" MethodIInputManagerHasKeys = "hasKeys" MethodIInputManagerGetKeyCodeForKeyLocation = "getKeyCodeForKeyLocation" MethodIInputManagerGetKeyCharacterMap = "getKeyCharacterMap" MethodIInputManagerGetMousePointerSpeed = "getMousePointerSpeed" MethodIInputManagerTryPointerSpeed = "tryPointerSpeed" MethodIInputManagerInjectInputEvent = "injectInputEvent" MethodIInputManagerInjectInputEventToTarget = "injectInputEventToTarget" MethodIInputManagerVerifyInputEvent = "verifyInputEvent" MethodIInputManagerGetTouchCalibrationForInputDevice = "getTouchCalibrationForInputDevice" MethodIInputManagerSetTouchCalibrationForInputDevice = "setTouchCalibrationForInputDevice" MethodIInputManagerGetKeyboardLayouts = "getKeyboardLayouts" MethodIInputManagerGetKeyboardLayoutsForInputDevice = "getKeyboardLayoutsForInputDevice" MethodIInputManagerGetKeyboardLayout = "getKeyboardLayout" MethodIInputManagerGetCurrentKeyboardLayoutForInputDevice = "getCurrentKeyboardLayoutForInputDevice" MethodIInputManagerSetCurrentKeyboardLayoutForInputDevice = "setCurrentKeyboardLayoutForInputDevice" MethodIInputManagerGetEnabledKeyboardLayoutsForInputDevice = "getEnabledKeyboardLayoutsForInputDevice" MethodIInputManagerAddKeyboardLayoutForInputDevice = "addKeyboardLayoutForInputDevice" MethodIInputManagerRemoveKeyboardLayoutForInputDevice = "removeKeyboardLayoutForInputDevice" MethodIInputManagerGetKeyboardLayoutForInputDevice = "getKeyboardLayoutForInputDevice" MethodIInputManagerSetKeyboardLayoutForInputDevice = "setKeyboardLayoutForInputDevice" MethodIInputManagerGetKeyboardLayoutListForInputDevice = "getKeyboardLayoutListForInputDevice" MethodIInputManagerRemapModifierKey = "remapModifierKey" MethodIInputManagerClearAllModifierKeyRemappings = "clearAllModifierKeyRemappings" MethodIInputManagerGetModifierKeyRemapping = "getModifierKeyRemapping" MethodIInputManagerRegisterInputDevicesChangedListener = "registerInputDevicesChangedListener" MethodIInputManagerIsInTabletMode = "isInTabletMode" MethodIInputManagerRegisterTabletModeChangedListener = "registerTabletModeChangedListener" MethodIInputManagerIsMicMuted = "isMicMuted" MethodIInputManagerVibrate = "vibrate" MethodIInputManagerVibrateCombined = "vibrateCombined" MethodIInputManagerCancelVibrate = "cancelVibrate" MethodIInputManagerGetVibratorIds = "getVibratorIds" MethodIInputManagerIsVibrating = "isVibrating" MethodIInputManagerRegisterVibratorStateListener = "registerVibratorStateListener" MethodIInputManagerUnregisterVibratorStateListener = "unregisterVibratorStateListener" MethodIInputManagerGetBatteryState = "getBatteryState" MethodIInputManagerSetPointerIconType = "setPointerIconType" MethodIInputManagerSetCustomPointerIcon = "setCustomPointerIcon" MethodIInputManagerSetPointerIcon = "setPointerIcon" MethodIInputManagerRequestPointerCapture = "requestPointerCapture" MethodIInputManagerMonitorGestureInput = "monitorGestureInput" MethodIInputManagerAddPortAssociation = "addPortAssociation" MethodIInputManagerRemovePortAssociation = "removePortAssociation" MethodIInputManagerAddUniqueIdAssociation = "addUniqueIdAssociation" MethodIInputManagerRemoveUniqueIdAssociation = "removeUniqueIdAssociation" MethodIInputManagerGetSensorList = "getSensorList" MethodIInputManagerRegisterSensorListener = "registerSensorListener" MethodIInputManagerUnregisterSensorListener = "unregisterSensorListener" MethodIInputManagerEnableSensor = "enableSensor" MethodIInputManagerDisableSensor = "disableSensor" MethodIInputManagerFlushSensor = "flushSensor" MethodIInputManagerGetLights = "getLights" MethodIInputManagerGetLightState = "getLightState" MethodIInputManagerSetLightStates = "setLightStates" MethodIInputManagerOpenLightSession = "openLightSession" MethodIInputManagerCloseLightSession = "closeLightSession" MethodIInputManagerCancelCurrentTouch = "cancelCurrentTouch" MethodIInputManagerRegisterBatteryListener = "registerBatteryListener" MethodIInputManagerUnregisterBatteryListener = "unregisterBatteryListener" MethodIInputManagerGetInputDeviceBluetoothAddress = "getInputDeviceBluetoothAddress" MethodIInputManagerPilferPointers = "pilferPointers" MethodIInputManagerRegisterKeyboardBacklightListener = "registerKeyboardBacklightListener" MethodIInputManagerUnregisterKeyboardBacklightListener = "unregisterKeyboardBacklightListener" MethodIInputManagerGetHostUsiVersionFromDisplayConfig = "getHostUsiVersionFromDisplayConfig" MethodIInputManagerRegisterStickyModifierStateListener = "registerStickyModifierStateListener" MethodIInputManagerUnregisterStickyModifierStateListener = "unregisterStickyModifierStateListener" )
const ( TransactionIInputSensorEventListenerOnInputSensorChanged = binder.FirstCallTransaction + 0 TransactionIInputSensorEventListenerOnInputSensorAccuracyChanged = binder.FirstCallTransaction + 1 )
const ( MethodIInputSensorEventListenerOnInputSensorChanged = "onInputSensorChanged" MethodIInputSensorEventListenerOnInputSensorAccuracyChanged = "onInputSensorAccuracyChanged" )
const DescriptorIInputDeviceBatteryListener = "android.hardware.input.IInputDeviceBatteryListener"
const DescriptorIInputDevicesChangedListener = "android.hardware.input.IInputDevicesChangedListener"
const DescriptorIInputManager = "android.hardware.input.IInputManager"
const DescriptorIInputSensorEventListener = "android.hardware.input.IInputSensorEventListener"
const DescriptorIKeyboardBacklightListener = "android.hardware.input.IKeyboardBacklightListener"
const DescriptorIStickyModifierStateListener = "android.hardware.input.IStickyModifierStateListener"
const DescriptorITabletModeChangedListener = "android.hardware.input.ITabletModeChangedListener"
const (
MethodIInputDeviceBatteryListenerOnBatteryStateChanged = "onBatteryStateChanged"
)
const (
MethodIInputDevicesChangedListenerOnInputDevicesChanged = "onInputDevicesChanged"
)
const (
MethodIKeyboardBacklightListenerOnBrightnessChanged = "onBrightnessChanged"
)
const (
MethodIStickyModifierStateListenerOnStickyModifierStateChanged = "onStickyModifierStateChanged"
)
const (
MethodITabletModeChangedListenerOnTabletModeChanged = "onTabletModeChanged"
)
const (
TransactionIInputDeviceBatteryListenerOnBatteryStateChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIInputDevicesChangedListenerOnInputDevicesChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIKeyboardBacklightListenerOnBrightnessChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIStickyModifierStateListenerOnStickyModifierStateChanged = binder.FirstCallTransaction + 0
)
const (
TransactionITabletModeChangedListenerOnTabletModeChanged = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostUsiVersion ¶
func (*HostUsiVersion) MarshalParcel ¶
func (s *HostUsiVersion) MarshalParcel( p *parcel.Parcel, ) error
func (*HostUsiVersion) UnmarshalParcel ¶
func (s *HostUsiVersion) UnmarshalParcel( p *parcel.Parcel, ) error
type IInputDeviceBatteryListener ¶
type IInputDeviceBatteryListener interface {
AsBinder() binder.IBinder
OnBatteryStateChanged(ctx context.Context, batteryState IInputDeviceBatteryState) error
}
func NewInputDeviceBatteryListenerStub ¶
func NewInputDeviceBatteryListenerStub( impl IInputDeviceBatteryListenerServer, ) IInputDeviceBatteryListener
NewInputDeviceBatteryListenerStub creates a server-side IInputDeviceBatteryListener wrapping the given server implementation. The returned value satisfies IInputDeviceBatteryListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputDeviceBatteryListenerServer ¶
type IInputDeviceBatteryListenerServer interface {
OnBatteryStateChanged(ctx context.Context, batteryState IInputDeviceBatteryState) error
}
IInputDeviceBatteryListenerServer is the server-side interface that user implementations provide to NewInputDeviceBatteryListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputDeviceBatteryState ¶
type IInputDeviceBatteryState struct {
DeviceId int32
UpdateTime int64
IsPresent bool
Status int32
Capacity float32
}
func (*IInputDeviceBatteryState) MarshalParcel ¶
func (s *IInputDeviceBatteryState) MarshalParcel( p *parcel.Parcel, ) error
func (*IInputDeviceBatteryState) UnmarshalParcel ¶
func (s *IInputDeviceBatteryState) UnmarshalParcel( p *parcel.Parcel, ) error
type IInputDevicesChangedListener ¶
type IInputDevicesChangedListener interface {
AsBinder() binder.IBinder
OnInputDevicesChanged(ctx context.Context, deviceIdAndGeneration []int32) error
}
func NewInputDevicesChangedListenerStub ¶
func NewInputDevicesChangedListenerStub( impl IInputDevicesChangedListenerServer, ) IInputDevicesChangedListener
NewInputDevicesChangedListenerStub creates a server-side IInputDevicesChangedListener wrapping the given server implementation. The returned value satisfies IInputDevicesChangedListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputDevicesChangedListenerServer ¶
type IInputDevicesChangedListenerServer interface {
OnInputDevicesChanged(ctx context.Context, deviceIdAndGeneration []int32) error
}
IInputDevicesChangedListenerServer is the server-side interface that user implementations provide to NewInputDevicesChangedListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputManager ¶
type IInputManager interface {
AsBinder() binder.IBinder
GetVelocityTrackerStrategy(ctx context.Context) (string, error)
GetInputDevice(ctx context.Context, deviceId int32) (view.InputDevice, error)
GetInputDeviceIds(ctx context.Context) ([]int32, error)
IsInputDeviceEnabled(ctx context.Context, deviceId int32) (bool, error)
EnableInputDevice(ctx context.Context, deviceId int32) error
DisableInputDevice(ctx context.Context, deviceId int32) error
HasKeys(ctx context.Context, deviceId int32, sourceMask int32, keyCodes []int32, keyExists []bool) (bool, error)
GetKeyCodeForKeyLocation(ctx context.Context, deviceId int32, locationKeyCode int32) (int32, error)
GetKeyCharacterMap(ctx context.Context, layoutDescriptor string) (view.KeyCharacterMap, error)
GetMousePointerSpeed(ctx context.Context) (int32, error)
TryPointerSpeed(ctx context.Context, speed int32) error
InjectInputEvent(ctx context.Context, ev view.InputEvent, mode int32) (bool, error)
InjectInputEventToTarget(ctx context.Context, ev view.InputEvent, mode int32, targetUid int32) (bool, error)
VerifyInputEvent(ctx context.Context, ev view.InputEvent) (view.VerifiedInputEvent, error)
GetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32) (TouchCalibration, error)
SetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32, calibration TouchCalibration) error
GetKeyboardLayouts(ctx context.Context) ([]KeyboardLayout, error)
GetKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]KeyboardLayout, error)
GetKeyboardLayout(ctx context.Context, keyboardLayoutDescriptor string) (KeyboardLayout, error)
GetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) (string, error)
SetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string) error
GetEnabledKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]string, error)
AddKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string) error
RemoveKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string) error
GetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype) (KeyboardLayoutSelectionResult, error)
SetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype, keyboardLayoutDescriptor string) error
GetKeyboardLayoutListForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype) ([]KeyboardLayout, error)
RemapModifierKey(ctx context.Context, fromKey int32, toKey int32) error
ClearAllModifierKeyRemappings(ctx context.Context) error
GetModifierKeyRemapping(ctx context.Context) (map[any]any, error)
RegisterInputDevicesChangedListener(ctx context.Context, listener IInputDevicesChangedListener) error
IsInTabletMode(ctx context.Context) (int32, error)
RegisterTabletModeChangedListener(ctx context.Context, listener ITabletModeChangedListener) error
IsMicMuted(ctx context.Context) (int32, error)
Vibrate(ctx context.Context, deviceId int32, effect os.VibrationEffect, token binder.IBinder) error
VibrateCombined(ctx context.Context, deviceId int32, vibration os.CombinedVibration, token binder.IBinder) error
CancelVibrate(ctx context.Context, deviceId int32, token binder.IBinder) error
GetVibratorIds(ctx context.Context, deviceId int32) ([]int32, error)
IsVibrating(ctx context.Context, deviceId int32) (bool, error)
RegisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error)
UnregisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error)
GetBatteryState(ctx context.Context, deviceId int32) (IInputDeviceBatteryState, error)
SetPointerIconType(ctx context.Context, typeId int32) error
SetCustomPointerIcon(ctx context.Context, icon view.PointerIcon) error
SetPointerIcon(ctx context.Context, icon view.PointerIcon, displayId int32, deviceId int32, pointerId int32, inputToken binder.IBinder) (bool, error)
RequestPointerCapture(ctx context.Context, inputChannelToken binder.IBinder, enabled bool) error
MonitorGestureInput(ctx context.Context, token binder.IBinder, name string, displayId int32) (view.InputMonitor, error)
AddPortAssociation(ctx context.Context, inputPort string, displayPort int32) error
RemovePortAssociation(ctx context.Context, inputPort string) error
AddUniqueIdAssociation(ctx context.Context, inputPort string, displayUniqueId string) error
RemoveUniqueIdAssociation(ctx context.Context, inputPort string) error
GetSensorList(ctx context.Context, deviceId int32) ([]InputSensorInfo, error)
RegisterSensorListener(ctx context.Context, listener IInputSensorEventListener) (bool, error)
UnregisterSensorListener(ctx context.Context, listener IInputSensorEventListener) error
EnableSensor(ctx context.Context, deviceId int32, sensorType int32, samplingPeriodUs int32, maxBatchReportLatencyUs int32) (bool, error)
DisableSensor(ctx context.Context, deviceId int32, sensorType int32) error
FlushSensor(ctx context.Context, deviceId int32, sensorType int32) (bool, error)
GetLights(ctx context.Context, deviceId int32) ([]lights.Light, error)
GetLightState(ctx context.Context, deviceId int32, lightId int32) (lights.LightState, error)
SetLightStates(ctx context.Context, deviceId int32, lightIds []int32, states []lights.LightState, token binder.IBinder) error
OpenLightSession(ctx context.Context, deviceId int32, opPkg string, token binder.IBinder) error
CloseLightSession(ctx context.Context, deviceId int32, token binder.IBinder) error
CancelCurrentTouch(ctx context.Context) error
RegisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error
UnregisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error
GetInputDeviceBluetoothAddress(ctx context.Context, deviceId int32) (string, error)
PilferPointers(ctx context.Context, inputChannelToken binder.IBinder) error
RegisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error
UnregisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error
GetHostUsiVersionFromDisplayConfig(ctx context.Context, displayId int32) (HostUsiVersion, error)
RegisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error
UnregisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error
}
func NewInputManagerStub ¶
func NewInputManagerStub( impl IInputManagerServer, ) IInputManager
NewInputManagerStub creates a server-side IInputManager wrapping the given server implementation. The returned value satisfies IInputManager and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputManagerServer ¶
type IInputManagerServer interface {
GetVelocityTrackerStrategy(ctx context.Context) (string, error)
GetInputDevice(ctx context.Context, deviceId int32) (view.InputDevice, error)
GetInputDeviceIds(ctx context.Context) ([]int32, error)
IsInputDeviceEnabled(ctx context.Context, deviceId int32) (bool, error)
EnableInputDevice(ctx context.Context, deviceId int32) error
DisableInputDevice(ctx context.Context, deviceId int32) error
HasKeys(ctx context.Context, deviceId int32, sourceMask int32, keyCodes []int32, keyExists []bool) (bool, error)
GetKeyCodeForKeyLocation(ctx context.Context, deviceId int32, locationKeyCode int32) (int32, error)
GetKeyCharacterMap(ctx context.Context, layoutDescriptor string) (view.KeyCharacterMap, error)
GetMousePointerSpeed(ctx context.Context) (int32, error)
TryPointerSpeed(ctx context.Context, speed int32) error
InjectInputEvent(ctx context.Context, ev view.InputEvent, mode int32) (bool, error)
InjectInputEventToTarget(ctx context.Context, ev view.InputEvent, mode int32, targetUid int32) (bool, error)
VerifyInputEvent(ctx context.Context, ev view.InputEvent) (view.VerifiedInputEvent, error)
GetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32) (TouchCalibration, error)
SetTouchCalibrationForInputDevice(ctx context.Context, inputDeviceDescriptor string, rotation int32, calibration TouchCalibration) error
GetKeyboardLayouts(ctx context.Context) ([]KeyboardLayout, error)
GetKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]KeyboardLayout, error)
GetKeyboardLayout(ctx context.Context, keyboardLayoutDescriptor string) (KeyboardLayout, error)
GetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) (string, error)
SetCurrentKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string) error
GetEnabledKeyboardLayoutsForInputDevice(ctx context.Context, identifier InputDeviceIdentifier) ([]string, error)
AddKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string) error
RemoveKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string) error
GetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype) (KeyboardLayoutSelectionResult, error)
SetKeyboardLayoutForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype, keyboardLayoutDescriptor string) error
GetKeyboardLayoutListForInputDevice(ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype) ([]KeyboardLayout, error)
RemapModifierKey(ctx context.Context, fromKey int32, toKey int32) error
ClearAllModifierKeyRemappings(ctx context.Context) error
GetModifierKeyRemapping(ctx context.Context) (map[any]any, error)
RegisterInputDevicesChangedListener(ctx context.Context, listener IInputDevicesChangedListener) error
IsInTabletMode(ctx context.Context) (int32, error)
RegisterTabletModeChangedListener(ctx context.Context, listener ITabletModeChangedListener) error
IsMicMuted(ctx context.Context) (int32, error)
Vibrate(ctx context.Context, deviceId int32, effect os.VibrationEffect, token binder.IBinder) error
VibrateCombined(ctx context.Context, deviceId int32, vibration os.CombinedVibration, token binder.IBinder) error
CancelVibrate(ctx context.Context, deviceId int32, token binder.IBinder) error
GetVibratorIds(ctx context.Context, deviceId int32) ([]int32, error)
IsVibrating(ctx context.Context, deviceId int32) (bool, error)
RegisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error)
UnregisterVibratorStateListener(ctx context.Context, deviceId int32, listener os.IVibratorStateListener) (bool, error)
GetBatteryState(ctx context.Context, deviceId int32) (IInputDeviceBatteryState, error)
SetPointerIconType(ctx context.Context, typeId int32) error
SetCustomPointerIcon(ctx context.Context, icon view.PointerIcon) error
SetPointerIcon(ctx context.Context, icon view.PointerIcon, displayId int32, deviceId int32, pointerId int32, inputToken binder.IBinder) (bool, error)
RequestPointerCapture(ctx context.Context, inputChannelToken binder.IBinder, enabled bool) error
MonitorGestureInput(ctx context.Context, token binder.IBinder, name string, displayId int32) (view.InputMonitor, error)
AddPortAssociation(ctx context.Context, inputPort string, displayPort int32) error
RemovePortAssociation(ctx context.Context, inputPort string) error
AddUniqueIdAssociation(ctx context.Context, inputPort string, displayUniqueId string) error
RemoveUniqueIdAssociation(ctx context.Context, inputPort string) error
GetSensorList(ctx context.Context, deviceId int32) ([]InputSensorInfo, error)
RegisterSensorListener(ctx context.Context, listener IInputSensorEventListener) (bool, error)
UnregisterSensorListener(ctx context.Context, listener IInputSensorEventListener) error
EnableSensor(ctx context.Context, deviceId int32, sensorType int32, samplingPeriodUs int32, maxBatchReportLatencyUs int32) (bool, error)
DisableSensor(ctx context.Context, deviceId int32, sensorType int32) error
FlushSensor(ctx context.Context, deviceId int32, sensorType int32) (bool, error)
GetLights(ctx context.Context, deviceId int32) ([]lights.Light, error)
GetLightState(ctx context.Context, deviceId int32, lightId int32) (lights.LightState, error)
SetLightStates(ctx context.Context, deviceId int32, lightIds []int32, states []lights.LightState, token binder.IBinder) error
OpenLightSession(ctx context.Context, deviceId int32, opPkg string, token binder.IBinder) error
CloseLightSession(ctx context.Context, deviceId int32, token binder.IBinder) error
CancelCurrentTouch(ctx context.Context) error
RegisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error
UnregisterBatteryListener(ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener) error
GetInputDeviceBluetoothAddress(ctx context.Context, deviceId int32) (string, error)
PilferPointers(ctx context.Context, inputChannelToken binder.IBinder) error
RegisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error
UnregisterKeyboardBacklightListener(ctx context.Context, listener IKeyboardBacklightListener) error
GetHostUsiVersionFromDisplayConfig(ctx context.Context, displayId int32) (HostUsiVersion, error)
RegisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error
UnregisterStickyModifierStateListener(ctx context.Context, listener IStickyModifierStateListener) error
}
IInputManagerServer is the server-side interface that user implementations provide to NewInputManagerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IInputSensorEventListener ¶
type IInputSensorEventListener interface {
AsBinder() binder.IBinder
OnInputSensorChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32, timestamp int64, values []float32) error
OnInputSensorAccuracyChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32) error
}
func NewInputSensorEventListenerStub ¶
func NewInputSensorEventListenerStub( impl IInputSensorEventListenerServer, ) IInputSensorEventListener
NewInputSensorEventListenerStub creates a server-side IInputSensorEventListener wrapping the given server implementation. The returned value satisfies IInputSensorEventListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IInputSensorEventListenerServer ¶
type IInputSensorEventListenerServer interface {
OnInputSensorChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32, timestamp int64, values []float32) error
OnInputSensorAccuracyChanged(ctx context.Context, deviceId int32, sensorId int32, accuracy int32) error
}
IInputSensorEventListenerServer is the server-side interface that user implementations provide to NewInputSensorEventListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IKeyboardBacklightListener ¶
type IKeyboardBacklightListener interface {
AsBinder() binder.IBinder
OnBrightnessChanged(ctx context.Context, deviceId int32, state IKeyboardBacklightState, isTriggeredByKeyPress bool) error
}
func NewKeyboardBacklightListenerStub ¶
func NewKeyboardBacklightListenerStub( impl IKeyboardBacklightListenerServer, ) IKeyboardBacklightListener
NewKeyboardBacklightListenerStub creates a server-side IKeyboardBacklightListener wrapping the given server implementation. The returned value satisfies IKeyboardBacklightListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IKeyboardBacklightListenerServer ¶
type IKeyboardBacklightListenerServer interface {
OnBrightnessChanged(ctx context.Context, deviceId int32, state IKeyboardBacklightState, isTriggeredByKeyPress bool) error
}
IKeyboardBacklightListenerServer is the server-side interface that user implementations provide to NewKeyboardBacklightListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IKeyboardBacklightState ¶
func (*IKeyboardBacklightState) MarshalParcel ¶
func (s *IKeyboardBacklightState) MarshalParcel( p *parcel.Parcel, ) error
func (*IKeyboardBacklightState) UnmarshalParcel ¶
func (s *IKeyboardBacklightState) UnmarshalParcel( p *parcel.Parcel, ) error
type IStickyModifierStateListener ¶
type IStickyModifierStateListener interface {
AsBinder() binder.IBinder
OnStickyModifierStateChanged(ctx context.Context, modifierState int32, lockedModifierState int32) error
}
func NewStickyModifierStateListenerStub ¶
func NewStickyModifierStateListenerStub( impl IStickyModifierStateListenerServer, ) IStickyModifierStateListener
NewStickyModifierStateListenerStub creates a server-side IStickyModifierStateListener wrapping the given server implementation. The returned value satisfies IStickyModifierStateListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IStickyModifierStateListenerServer ¶
type IStickyModifierStateListenerServer interface {
OnStickyModifierStateChanged(ctx context.Context, modifierState int32, lockedModifierState int32) error
}
IStickyModifierStateListenerServer is the server-side interface that user implementations provide to NewStickyModifierStateListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ITabletModeChangedListener ¶
type ITabletModeChangedListener interface {
AsBinder() binder.IBinder
OnTabletModeChanged(ctx context.Context, whenNanos int64, inTabletMode bool) error
}
func NewTabletModeChangedListenerStub ¶
func NewTabletModeChangedListenerStub( impl ITabletModeChangedListenerServer, ) ITabletModeChangedListener
NewTabletModeChangedListenerStub creates a server-side ITabletModeChangedListener wrapping the given server implementation. The returned value satisfies ITabletModeChangedListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ITabletModeChangedListenerServer ¶
type ITabletModeChangedListenerServer interface {
OnTabletModeChanged(ctx context.Context, whenNanos int64, inTabletMode bool) error
}
ITabletModeChangedListenerServer is the server-side interface that user implementations provide to NewTabletModeChangedListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type InputDeviceBatteryListenerProxy ¶
func NewInputDeviceBatteryListenerProxy ¶
func NewInputDeviceBatteryListenerProxy( remote binder.IBinder, ) *InputDeviceBatteryListenerProxy
func (*InputDeviceBatteryListenerProxy) AsBinder ¶
func (p *InputDeviceBatteryListenerProxy) AsBinder() binder.IBinder
func (*InputDeviceBatteryListenerProxy) OnBatteryStateChanged ¶
func (p *InputDeviceBatteryListenerProxy) OnBatteryStateChanged( ctx context.Context, batteryState IInputDeviceBatteryState, ) error
type InputDeviceBatteryListenerStub ¶
type InputDeviceBatteryListenerStub struct {
Impl IInputDeviceBatteryListener
Transport binder.VersionAwareTransport
}
InputDeviceBatteryListenerStub dispatches incoming binder transactions to a typed IInputDeviceBatteryListener implementation.
func (*InputDeviceBatteryListenerStub) Descriptor ¶
func (s *InputDeviceBatteryListenerStub) Descriptor() string
func (*InputDeviceBatteryListenerStub) OnTransaction ¶
func (s *InputDeviceBatteryListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputDeviceIdentifier ¶
func (*InputDeviceIdentifier) MarshalParcel ¶
func (s *InputDeviceIdentifier) MarshalParcel( p *parcel.Parcel, ) error
func (*InputDeviceIdentifier) UnmarshalParcel ¶
func (s *InputDeviceIdentifier) UnmarshalParcel( p *parcel.Parcel, ) error
type InputDevicesChangedListenerProxy ¶
func NewInputDevicesChangedListenerProxy ¶
func NewInputDevicesChangedListenerProxy( remote binder.IBinder, ) *InputDevicesChangedListenerProxy
func (*InputDevicesChangedListenerProxy) AsBinder ¶
func (p *InputDevicesChangedListenerProxy) AsBinder() binder.IBinder
func (*InputDevicesChangedListenerProxy) OnInputDevicesChanged ¶
func (p *InputDevicesChangedListenerProxy) OnInputDevicesChanged( ctx context.Context, deviceIdAndGeneration []int32, ) error
type InputDevicesChangedListenerStub ¶
type InputDevicesChangedListenerStub struct {
Impl IInputDevicesChangedListener
Transport binder.VersionAwareTransport
}
InputDevicesChangedListenerStub dispatches incoming binder transactions to a typed IInputDevicesChangedListener implementation.
func (*InputDevicesChangedListenerStub) Descriptor ¶
func (s *InputDevicesChangedListenerStub) Descriptor() string
func (*InputDevicesChangedListenerStub) OnTransaction ¶
func (s *InputDevicesChangedListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputManagerProxy ¶
func NewInputManagerProxy ¶
func NewInputManagerProxy( remote binder.IBinder, ) *InputManagerProxy
func (*InputManagerProxy) AddKeyboardLayoutForInputDevice ¶
func (p *InputManagerProxy) AddKeyboardLayoutForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string, ) error
func (*InputManagerProxy) AddPortAssociation ¶
func (*InputManagerProxy) AddUniqueIdAssociation ¶
func (*InputManagerProxy) AsBinder ¶
func (p *InputManagerProxy) AsBinder() binder.IBinder
func (*InputManagerProxy) CancelCurrentTouch ¶
func (p *InputManagerProxy) CancelCurrentTouch( ctx context.Context, ) error
func (*InputManagerProxy) CancelVibrate ¶
func (*InputManagerProxy) ClearAllModifierKeyRemappings ¶
func (p *InputManagerProxy) ClearAllModifierKeyRemappings( ctx context.Context, ) error
func (*InputManagerProxy) CloseLightSession ¶
func (*InputManagerProxy) DisableInputDevice ¶
func (p *InputManagerProxy) DisableInputDevice( ctx context.Context, deviceId int32, ) error
func (*InputManagerProxy) DisableSensor ¶
func (*InputManagerProxy) EnableInputDevice ¶
func (p *InputManagerProxy) EnableInputDevice( ctx context.Context, deviceId int32, ) error
func (*InputManagerProxy) EnableSensor ¶
func (*InputManagerProxy) FlushSensor ¶
func (*InputManagerProxy) GetBatteryState ¶
func (p *InputManagerProxy) GetBatteryState( ctx context.Context, deviceId int32, ) (IInputDeviceBatteryState, error)
func (*InputManagerProxy) GetCurrentKeyboardLayoutForInputDevice ¶
func (p *InputManagerProxy) GetCurrentKeyboardLayoutForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, ) (string, error)
func (*InputManagerProxy) GetEnabledKeyboardLayoutsForInputDevice ¶
func (p *InputManagerProxy) GetEnabledKeyboardLayoutsForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, ) ([]string, error)
func (*InputManagerProxy) GetHostUsiVersionFromDisplayConfig ¶
func (p *InputManagerProxy) GetHostUsiVersionFromDisplayConfig( ctx context.Context, displayId int32, ) (HostUsiVersion, error)
func (*InputManagerProxy) GetInputDevice ¶
func (p *InputManagerProxy) GetInputDevice( ctx context.Context, deviceId int32, ) (view.InputDevice, error)
func (*InputManagerProxy) GetInputDeviceBluetoothAddress ¶
func (*InputManagerProxy) GetInputDeviceIds ¶
func (p *InputManagerProxy) GetInputDeviceIds( ctx context.Context, ) ([]int32, error)
func (*InputManagerProxy) GetKeyCharacterMap ¶
func (p *InputManagerProxy) GetKeyCharacterMap( ctx context.Context, layoutDescriptor string, ) (view.KeyCharacterMap, error)
func (*InputManagerProxy) GetKeyCodeForKeyLocation ¶
func (*InputManagerProxy) GetKeyboardLayout ¶
func (p *InputManagerProxy) GetKeyboardLayout( ctx context.Context, keyboardLayoutDescriptor string, ) (KeyboardLayout, error)
func (*InputManagerProxy) GetKeyboardLayoutForInputDevice ¶
func (p *InputManagerProxy) GetKeyboardLayoutForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype, ) (KeyboardLayoutSelectionResult, error)
func (*InputManagerProxy) GetKeyboardLayoutListForInputDevice ¶
func (p *InputManagerProxy) GetKeyboardLayoutListForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype, ) ([]KeyboardLayout, error)
func (*InputManagerProxy) GetKeyboardLayouts ¶
func (p *InputManagerProxy) GetKeyboardLayouts( ctx context.Context, ) ([]KeyboardLayout, error)
func (*InputManagerProxy) GetKeyboardLayoutsForInputDevice ¶
func (p *InputManagerProxy) GetKeyboardLayoutsForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, ) ([]KeyboardLayout, error)
func (*InputManagerProxy) GetLightState ¶
func (p *InputManagerProxy) GetLightState( ctx context.Context, deviceId int32, lightId int32, ) (lights.LightState, error)
func (*InputManagerProxy) GetModifierKeyRemapping ¶
func (*InputManagerProxy) GetMousePointerSpeed ¶
func (p *InputManagerProxy) GetMousePointerSpeed( ctx context.Context, ) (int32, error)
func (*InputManagerProxy) GetSensorList ¶
func (p *InputManagerProxy) GetSensorList( ctx context.Context, deviceId int32, ) ([]InputSensorInfo, error)
func (*InputManagerProxy) GetTouchCalibrationForInputDevice ¶
func (p *InputManagerProxy) GetTouchCalibrationForInputDevice( ctx context.Context, inputDeviceDescriptor string, rotation int32, ) (TouchCalibration, error)
func (*InputManagerProxy) GetVelocityTrackerStrategy ¶
func (p *InputManagerProxy) GetVelocityTrackerStrategy( ctx context.Context, ) (string, error)
func (*InputManagerProxy) GetVibratorIds ¶
func (*InputManagerProxy) InjectInputEvent ¶
func (p *InputManagerProxy) InjectInputEvent( ctx context.Context, ev view.InputEvent, mode int32, ) (bool, error)
func (*InputManagerProxy) InjectInputEventToTarget ¶
func (p *InputManagerProxy) InjectInputEventToTarget( ctx context.Context, ev view.InputEvent, mode int32, targetUid int32, ) (bool, error)
func (*InputManagerProxy) IsInTabletMode ¶
func (p *InputManagerProxy) IsInTabletMode( ctx context.Context, ) (int32, error)
func (*InputManagerProxy) IsInputDeviceEnabled ¶
func (*InputManagerProxy) IsMicMuted ¶
func (p *InputManagerProxy) IsMicMuted( ctx context.Context, ) (int32, error)
func (*InputManagerProxy) IsVibrating ¶
func (*InputManagerProxy) MonitorGestureInput ¶
func (p *InputManagerProxy) MonitorGestureInput( ctx context.Context, token binder.IBinder, name string, displayId int32, ) (view.InputMonitor, error)
func (*InputManagerProxy) OpenLightSession ¶
func (*InputManagerProxy) PilferPointers ¶
func (*InputManagerProxy) RegisterBatteryListener ¶
func (p *InputManagerProxy) RegisterBatteryListener( ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener, ) error
func (*InputManagerProxy) RegisterInputDevicesChangedListener ¶
func (p *InputManagerProxy) RegisterInputDevicesChangedListener( ctx context.Context, listener IInputDevicesChangedListener, ) error
func (*InputManagerProxy) RegisterKeyboardBacklightListener ¶
func (p *InputManagerProxy) RegisterKeyboardBacklightListener( ctx context.Context, listener IKeyboardBacklightListener, ) error
func (*InputManagerProxy) RegisterSensorListener ¶
func (p *InputManagerProxy) RegisterSensorListener( ctx context.Context, listener IInputSensorEventListener, ) (bool, error)
func (*InputManagerProxy) RegisterStickyModifierStateListener ¶
func (p *InputManagerProxy) RegisterStickyModifierStateListener( ctx context.Context, listener IStickyModifierStateListener, ) error
func (*InputManagerProxy) RegisterTabletModeChangedListener ¶
func (p *InputManagerProxy) RegisterTabletModeChangedListener( ctx context.Context, listener ITabletModeChangedListener, ) error
func (*InputManagerProxy) RegisterVibratorStateListener ¶
func (p *InputManagerProxy) RegisterVibratorStateListener( ctx context.Context, deviceId int32, listener os.IVibratorStateListener, ) (bool, error)
func (*InputManagerProxy) RemapModifierKey ¶
func (*InputManagerProxy) RemoveKeyboardLayoutForInputDevice ¶
func (p *InputManagerProxy) RemoveKeyboardLayoutForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string, ) error
func (*InputManagerProxy) RemovePortAssociation ¶
func (p *InputManagerProxy) RemovePortAssociation( ctx context.Context, inputPort string, ) error
func (*InputManagerProxy) RemoveUniqueIdAssociation ¶
func (p *InputManagerProxy) RemoveUniqueIdAssociation( ctx context.Context, inputPort string, ) error
func (*InputManagerProxy) RequestPointerCapture ¶
func (*InputManagerProxy) SetCurrentKeyboardLayoutForInputDevice ¶
func (p *InputManagerProxy) SetCurrentKeyboardLayoutForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, keyboardLayoutDescriptor string, ) error
func (*InputManagerProxy) SetCustomPointerIcon ¶
func (p *InputManagerProxy) SetCustomPointerIcon( ctx context.Context, icon view.PointerIcon, ) error
func (*InputManagerProxy) SetKeyboardLayoutForInputDevice ¶
func (p *InputManagerProxy) SetKeyboardLayoutForInputDevice( ctx context.Context, identifier InputDeviceIdentifier, imeInfo inputmethod.InputMethodInfo, imeSubtype inputmethod.InputMethodSubtype, keyboardLayoutDescriptor string, ) error
func (*InputManagerProxy) SetLightStates ¶
func (p *InputManagerProxy) SetLightStates( ctx context.Context, deviceId int32, lightIds []int32, states []lights.LightState, token binder.IBinder, ) error
func (*InputManagerProxy) SetPointerIcon ¶
func (*InputManagerProxy) SetPointerIconType ¶
func (p *InputManagerProxy) SetPointerIconType( ctx context.Context, typeId int32, ) error
func (*InputManagerProxy) SetTouchCalibrationForInputDevice ¶
func (p *InputManagerProxy) SetTouchCalibrationForInputDevice( ctx context.Context, inputDeviceDescriptor string, rotation int32, calibration TouchCalibration, ) error
func (*InputManagerProxy) TryPointerSpeed ¶
func (p *InputManagerProxy) TryPointerSpeed( ctx context.Context, speed int32, ) error
func (*InputManagerProxy) UnregisterBatteryListener ¶
func (p *InputManagerProxy) UnregisterBatteryListener( ctx context.Context, deviceId int32, listener IInputDeviceBatteryListener, ) error
func (*InputManagerProxy) UnregisterKeyboardBacklightListener ¶
func (p *InputManagerProxy) UnregisterKeyboardBacklightListener( ctx context.Context, listener IKeyboardBacklightListener, ) error
func (*InputManagerProxy) UnregisterSensorListener ¶
func (p *InputManagerProxy) UnregisterSensorListener( ctx context.Context, listener IInputSensorEventListener, ) error
func (*InputManagerProxy) UnregisterStickyModifierStateListener ¶
func (p *InputManagerProxy) UnregisterStickyModifierStateListener( ctx context.Context, listener IStickyModifierStateListener, ) error
func (*InputManagerProxy) UnregisterVibratorStateListener ¶
func (p *InputManagerProxy) UnregisterVibratorStateListener( ctx context.Context, deviceId int32, listener os.IVibratorStateListener, ) (bool, error)
func (*InputManagerProxy) VerifyInputEvent ¶
func (p *InputManagerProxy) VerifyInputEvent( ctx context.Context, ev view.InputEvent, ) (view.VerifiedInputEvent, error)
func (*InputManagerProxy) Vibrate ¶
func (p *InputManagerProxy) Vibrate( ctx context.Context, deviceId int32, effect os.VibrationEffect, token binder.IBinder, ) error
func (*InputManagerProxy) VibrateCombined ¶
func (p *InputManagerProxy) VibrateCombined( ctx context.Context, deviceId int32, vibration os.CombinedVibration, token binder.IBinder, ) error
type InputManagerStub ¶
type InputManagerStub struct {
Impl IInputManager
Transport binder.VersionAwareTransport
}
InputManagerStub dispatches incoming binder transactions to a typed IInputManager implementation.
func (*InputManagerStub) Descriptor ¶
func (s *InputManagerStub) Descriptor() string
func (*InputManagerStub) OnTransaction ¶
func (s *InputManagerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputSensorEventListenerProxy ¶
func NewInputSensorEventListenerProxy ¶
func NewInputSensorEventListenerProxy( remote binder.IBinder, ) *InputSensorEventListenerProxy
func (*InputSensorEventListenerProxy) AsBinder ¶
func (p *InputSensorEventListenerProxy) AsBinder() binder.IBinder
func (*InputSensorEventListenerProxy) OnInputSensorAccuracyChanged ¶
type InputSensorEventListenerStub ¶
type InputSensorEventListenerStub struct {
Impl IInputSensorEventListener
Transport binder.VersionAwareTransport
}
InputSensorEventListenerStub dispatches incoming binder transactions to a typed IInputSensorEventListener implementation.
func (*InputSensorEventListenerStub) Descriptor ¶
func (s *InputSensorEventListenerStub) Descriptor() string
func (*InputSensorEventListenerStub) OnTransaction ¶
func (s *InputSensorEventListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type InputSensorInfo ¶
type InputSensorInfo struct {
Name string
Vendor string
Version int32
Handle int32
Type int32
MaxRange float32
Resolution float32
Power float32
MinDelay int32
FifoReservedEventCount int32
FifoMaxEventCount int32
StringType string
RequiredPermission string
MaxDelay int32
Flags int32
Id int32
}
func (*InputSensorInfo) MarshalParcel ¶
func (s *InputSensorInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*InputSensorInfo) UnmarshalParcel ¶
func (s *InputSensorInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type KeyboardBacklightListenerProxy ¶
func NewKeyboardBacklightListenerProxy ¶
func NewKeyboardBacklightListenerProxy( remote binder.IBinder, ) *KeyboardBacklightListenerProxy
func (*KeyboardBacklightListenerProxy) AsBinder ¶
func (p *KeyboardBacklightListenerProxy) AsBinder() binder.IBinder
func (*KeyboardBacklightListenerProxy) OnBrightnessChanged ¶
func (p *KeyboardBacklightListenerProxy) OnBrightnessChanged( ctx context.Context, deviceId int32, state IKeyboardBacklightState, isTriggeredByKeyPress bool, ) error
type KeyboardBacklightListenerStub ¶
type KeyboardBacklightListenerStub struct {
Impl IKeyboardBacklightListener
Transport binder.VersionAwareTransport
}
KeyboardBacklightListenerStub dispatches incoming binder transactions to a typed IKeyboardBacklightListener implementation.
func (*KeyboardBacklightListenerStub) Descriptor ¶
func (s *KeyboardBacklightListenerStub) Descriptor() string
func (*KeyboardBacklightListenerStub) OnTransaction ¶
func (s *KeyboardBacklightListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type KeyboardLayout ¶
type KeyboardLayout struct {
Descriptor string
Label string
Collection string
Priority int32
VendorId int32
ProductId int32
}
func (*KeyboardLayout) MarshalParcel ¶
func (s *KeyboardLayout) MarshalParcel( p *parcel.Parcel, ) error
func (*KeyboardLayout) UnmarshalParcel ¶
func (s *KeyboardLayout) UnmarshalParcel( p *parcel.Parcel, ) error
type KeyboardLayoutSelectionResult ¶
func (*KeyboardLayoutSelectionResult) MarshalParcel ¶
func (s *KeyboardLayoutSelectionResult) MarshalParcel( p *parcel.Parcel, ) error
func (*KeyboardLayoutSelectionResult) UnmarshalParcel ¶
func (s *KeyboardLayoutSelectionResult) UnmarshalParcel( p *parcel.Parcel, ) error
type StickyModifierStateListenerProxy ¶
func NewStickyModifierStateListenerProxy ¶
func NewStickyModifierStateListenerProxy( remote binder.IBinder, ) *StickyModifierStateListenerProxy
func (*StickyModifierStateListenerProxy) AsBinder ¶
func (p *StickyModifierStateListenerProxy) AsBinder() binder.IBinder
func (*StickyModifierStateListenerProxy) OnStickyModifierStateChanged ¶
type StickyModifierStateListenerStub ¶
type StickyModifierStateListenerStub struct {
Impl IStickyModifierStateListener
Transport binder.VersionAwareTransport
}
StickyModifierStateListenerStub dispatches incoming binder transactions to a typed IStickyModifierStateListener implementation.
func (*StickyModifierStateListenerStub) Descriptor ¶
func (s *StickyModifierStateListenerStub) Descriptor() string
func (*StickyModifierStateListenerStub) OnTransaction ¶
func (s *StickyModifierStateListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TabletModeChangedListenerProxy ¶
func NewTabletModeChangedListenerProxy ¶
func NewTabletModeChangedListenerProxy( remote binder.IBinder, ) *TabletModeChangedListenerProxy
func (*TabletModeChangedListenerProxy) AsBinder ¶
func (p *TabletModeChangedListenerProxy) AsBinder() binder.IBinder
func (*TabletModeChangedListenerProxy) OnTabletModeChanged ¶
type TabletModeChangedListenerStub ¶
type TabletModeChangedListenerStub struct {
Impl ITabletModeChangedListener
Transport binder.VersionAwareTransport
}
TabletModeChangedListenerStub dispatches incoming binder transactions to a typed ITabletModeChangedListener implementation.
func (*TabletModeChangedListenerStub) Descriptor ¶
func (s *TabletModeChangedListenerStub) Descriptor() string
func (*TabletModeChangedListenerStub) OnTransaction ¶
func (s *TabletModeChangedListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TouchCalibration ¶
type TouchCalibration struct {
XScale float32
XYMix float32
XOffset float32
YXMix float32
YScale float32
YOffset float32
}
func (*TouchCalibration) MarshalParcel ¶
func (s *TouchCalibration) MarshalParcel( p *parcel.Parcel, ) error
func (*TouchCalibration) UnmarshalParcel ¶
func (s *TouchCalibration) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualDpadConfig ¶
type VirtualDpadConfig struct {
}
func (*VirtualDpadConfig) MarshalParcel ¶
func (s *VirtualDpadConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualDpadConfig) UnmarshalParcel ¶
func (s *VirtualDpadConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualKeyEvent ¶
func (*VirtualKeyEvent) MarshalParcel ¶
func (s *VirtualKeyEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualKeyEvent) UnmarshalParcel ¶
func (s *VirtualKeyEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualKeyboardConfig ¶
func (*VirtualKeyboardConfig) MarshalParcel ¶
func (s *VirtualKeyboardConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualKeyboardConfig) UnmarshalParcel ¶
func (s *VirtualKeyboardConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualMouseButtonEvent ¶
func (*VirtualMouseButtonEvent) MarshalParcel ¶
func (s *VirtualMouseButtonEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualMouseButtonEvent) UnmarshalParcel ¶
func (s *VirtualMouseButtonEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualMouseConfig ¶
type VirtualMouseConfig struct {
}
func (*VirtualMouseConfig) MarshalParcel ¶
func (s *VirtualMouseConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualMouseConfig) UnmarshalParcel ¶
func (s *VirtualMouseConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualMouseRelativeEvent ¶
func (*VirtualMouseRelativeEvent) MarshalParcel ¶
func (s *VirtualMouseRelativeEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualMouseRelativeEvent) UnmarshalParcel ¶
func (s *VirtualMouseRelativeEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualMouseScrollEvent ¶
type VirtualMouseScrollEvent struct {
XAxisMovement float32
YAxisMovement float32
EventTimeNanos int64
}
func (*VirtualMouseScrollEvent) MarshalParcel ¶
func (s *VirtualMouseScrollEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualMouseScrollEvent) UnmarshalParcel ¶
func (s *VirtualMouseScrollEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualNavigationTouchpadConfig ¶
type VirtualNavigationTouchpadConfig struct {
}
func (*VirtualNavigationTouchpadConfig) MarshalParcel ¶
func (s *VirtualNavigationTouchpadConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualNavigationTouchpadConfig) UnmarshalParcel ¶
func (s *VirtualNavigationTouchpadConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualStylusButtonEvent ¶
func (*VirtualStylusButtonEvent) MarshalParcel ¶
func (s *VirtualStylusButtonEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualStylusButtonEvent) UnmarshalParcel ¶
func (s *VirtualStylusButtonEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualStylusConfig ¶
type VirtualStylusConfig struct {
}
func (*VirtualStylusConfig) MarshalParcel ¶
func (s *VirtualStylusConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualStylusConfig) UnmarshalParcel ¶
func (s *VirtualStylusConfig) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualStylusMotionEvent ¶
type VirtualStylusMotionEvent struct {
ToolType int32
Action int32
X int32
Y int32
Pressure int32
TiltX int32
TiltY int32
EventTimeNanos int64
}
func (*VirtualStylusMotionEvent) MarshalParcel ¶
func (s *VirtualStylusMotionEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualStylusMotionEvent) UnmarshalParcel ¶
func (s *VirtualStylusMotionEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualTouchEvent ¶
type VirtualTouchEvent struct {
PointerId int32
ToolType int32
Action int32
X float32
Y float32
Pressure float32
MajorAxisSize float32
EventTimeNanos int64
}
func (*VirtualTouchEvent) MarshalParcel ¶
func (s *VirtualTouchEvent) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualTouchEvent) UnmarshalParcel ¶
func (s *VirtualTouchEvent) UnmarshalParcel( p *parcel.Parcel, ) error
type VirtualTouchscreenConfig ¶
type VirtualTouchscreenConfig struct {
}
func (*VirtualTouchscreenConfig) MarshalParcel ¶
func (s *VirtualTouchscreenConfig) MarshalParcel( p *parcel.Parcel, ) error
func (*VirtualTouchscreenConfig) UnmarshalParcel ¶
func (s *VirtualTouchscreenConfig) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- hostusiversion.go
- iinputdevicebatterylistener.go
- iinputdevicebatterystate.go
- iinputdeviceschangedlistener.go
- iinputmanager.go
- iinputsensoreventlistener.go
- ikeyboardbacklightlistener.go
- ikeyboardbacklightstate.go
- inputdeviceidentifier.go
- inputsensorinfo.go
- istickymodifierstatelistener.go
- itabletmodechangedlistener.go
- keyboardlayout.go
- keyboardlayoutselectionresult.go
- touchcalibration.go
- virtualdpadconfig.go
- virtualkeyboardconfig.go
- virtualkeyevent.go
- virtualmousebuttonevent.go
- virtualmouseconfig.go
- virtualmouserelativeevent.go
- virtualmousescrollevent.go
- virtualnavigationtouchpadconfig.go
- virtualstylusbuttonevent.go
- virtualstylusconfig.go
- virtualstylusmotionevent.go
- virtualtouchevent.go
- virtualtouchscreenconfig.go