pointersandroid :: AndroidMotionEvent :: acting_pointer
The pointer (or finger) causing this eventandroid :: AndroidMotionEvent :: acting_pointer=
The pointer (or finger) causing this eventandroid :: AndroidMotionEvent :: down_time
Time when the user originally pressed down to start a stream of position eventsandroid :: AndroidMotionEvent :: pointers
Pointers (or fingers) composing this motion eventandroid :: AndroidMotionEvent :: pointers=
Pointers (or fingers) composing this motion eventandroid :: AndroidMotionEvent :: touch_bottom_edge
Was the bottom edge of the screen intersected by this event?android :: AndroidMotionEvent :: touch_left_edge
Was the left edge of the screen intersected by this event?android :: AndroidMotionEvent :: touch_right_edge
Was the right edge of the screen intersected by this event?android :: AndroidMotionEvent :: touch_to_edge
Was the top edge of the screen intersected by this event?android $ AndroidMotionEvent :: SELF
Type of this instance, automatically specialized in every classandroid $ AndroidMotionEvent :: down_pointer
Which pointer is down, if anyandroid $ AndroidMotionEvent :: just_went_down
A pointer just went down?android :: AndroidMotionEvent :: acting_pointer
The pointer (or finger) causing this eventandroid :: AndroidMotionEvent :: acting_pointer=
The pointer (or finger) causing this eventcore :: Object :: class_factory
Implementation used byget_class to create the specific class.
			mnit :: InputEvent :: defaultinit
core :: Object :: defaultinit
mnit :: MotionEvent :: defaultinit
mnit :: MotionEvent :: down_pointer
Which pointer is down, if anyandroid :: AndroidMotionEvent :: down_time
Time when the user originally pressed down to start a stream of position eventscore :: Object :: is_same_instance
Return true ifself and other are the same instance (i.e. same identity).
			core :: Object :: is_same_serialized
Isself the same as other in a serialization context?
			core :: Object :: is_same_type
Return true ifself and other have the same dynamic type.
			core :: Object :: output_class_name
Display class name on stdout (debug only).android :: AndroidMotionEvent :: pointers
Pointers (or fingers) composing this motion eventandroid :: AndroidMotionEvent :: pointers=
Pointers (or fingers) composing this motion eventandroid :: AndroidMotionEvent :: touch_bottom_edge
Was the bottom edge of the screen intersected by this event?android :: AndroidMotionEvent :: touch_left_edge
Was the left edge of the screen intersected by this event?android :: AndroidMotionEvent :: touch_right_edge
Was the right edge of the screen intersected by this event?android :: AndroidMotionEvent :: touch_to_edge
Was the top edge of the screen intersected by this event?
# A motion event concerning a single or more `pointers`
class AndroidMotionEvent
	super AndroidInputEvent
	super MotionEvent
	private var native: NativeAndroidMotionEvent
	# Pointers (or fingers) composing this motion event
	var pointers: Array[AndroidPointerEvent] is lazy do
		return [for i in native.pointers_count.times do new AndroidPointerEvent(self, i)]
	end
	# The pointer (or finger) causing this event
	var acting_pointer: AndroidPointerEvent is lazy do
		var action = native.action
		var index = 0
		if action.is_pointer_down or action.is_pointer_up then
			index = native.action.pointer_index
		end
		return new AndroidPointerEvent(self, index)
	end
	redef fun just_went_down do return native.action.is_down or native.action.is_pointer_down
	# Was the top edge of the screen intersected by this event?
	fun touch_to_edge: Bool do return native.edge == 1
	# Was the bottom edge of the screen intersected by this event?
	fun touch_bottom_edge: Bool do return native.edge == 2
	# Was the left edge of the screen intersected by this event?
	fun touch_left_edge: Bool do return native.edge == 4
	# Was the right edge of the screen intersected by this event?
	fun touch_right_edge: Bool do return native.edge == 8
	redef fun down_pointer: nullable AndroidPointerEvent
	do
		if just_went_down then
			# The primary pointer went down
			return pointers[0]
		end
		var i = native.index_down_pointer
		if i > 0 then
			# A secondary pointer went down
			return pointers[i]
		else
			return null
		end
	end
	# Time when the user originally pressed down to start a stream of position events
	#
	# The return value is in the `java.lang.System.nanoTime()` time base.
	fun down_time: Int do return native.native_down_time
end
					lib/android/input_events.nit:101,1--159,3