class Android::MotionEvent

Defined in:

input_event.cr

Instance Method Summary

Instance methods inherited from class Android::InputEvent

device_id device_id, source source, to_unsafe : Pointer(LibAndroid::InputEvent) to_unsafe, type type

Instance Method Detail

def action #

[View source]
def axis_value(axis : Axis, pointer = pointer_index) #

[View source]
def button_state #

[View source]
def down_time #

[View source]
def edge #

[View source]
def event_time #

[View source]
def flags #

[View source]
def historical_axis_value(axis : Axis, history, pointer = pointer_index) #

[View source]
def historical_event_time(history) #

[View source]
def historical_orientation(history, pointer = pointer_index) #

[View source]
def historical_pressure(history, pointer = pointer_index) #

[View source]
def historical_raw_x(history, pointer = pointer_index) #

[View source]
def historical_raw_y(history, pointer = pointer_index) #

[View source]
def historical_size(history, pointer = pointer_index) #

[View source]
def historical_tool_major(history, pointer = pointer_index) #

[View source]
def historical_tool_minor(history, pointer = pointer_index) #

[View source]
def historical_touch_major(history, pointer = pointer_index) #

[View source]
def historical_touch_minor(history, pointer = pointer_index) #

[View source]
def historical_x(history, pointer = pointer_index) #

[View source]
def historical_y(history, pointer = pointer_index) #

[View source]
def history_size(history) #

[View source]
def inspect(io) #

[View source]
def meta_state #

[View source]
def orientation(pointer = pointer_index) #

[View source]
def pointer_count #

[View source]
def pointer_id(pointer = pointer_index) #

[View source]
def pointer_index #

In case of a non primary pointer even (i.e., POINTER_UP and POINTER_DOWN), returns the finger index for the event.


[View source]
def pressure(pointer = pointer_index) #

[View source]
def raw_x(pointer = pointer_index) #

[View source]
def raw_y(pointer = pointer_index) #

[View source]
def size(pointer = pointer_index) #

[View source]
def tool_major(pointer = pointer_index) #

[View source]
def tool_minor(pointer = pointer_index) #

[View source]
def tool_type(pointer = pointer_index) #

[View source]
def touch_major(pointer = pointer_index) #

[View source]
def touch_minor(pointer = pointer_index) #

[View source]
def x(pointer = pointer_index) #

[View source]
def x_offset #

[View source]
def x_precision #

[View source]
def y(pointer = pointer_index) #

[View source]
def y_offset #

[View source]
def y_precision #

[View source]