| java.lang.Object | |
| ↳ | com.htc.pen.PenEvent |
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | PEN_ACTION_DOWN | Constant for getAction(): A pressed gesture has started, the
motion contains the initial starting location. |
|||||||||
| int | PEN_ACTION_MOVE | Constant for getAction(): A change has happened during a
press gesture (between PEN_ACTION_DOWN and PEN_ACTION_UP). |
|||||||||
| int | PEN_ACTION_UP | Constant for getAction(): A pressed gesture has finished, the
motion contains the final release location as well as any intermediate
points since the last down or move event. |
|||||||||
| int | PEN_BUTTON1 | Pen event: Lower pen button has gone down. | |||||||||
| int | PEN_BUTTON2 | Pen event: Upper pen button has gone down. | |||||||||
| int | PEN_BUTTON_NONE | Pen event: None pen button has gone down. | |||||||||
| int | PEN_MOVE_BUTTON1_DOWN | Pen event: Lower pen button has gone down while moving. | |||||||||
| int | PEN_MOVE_BUTTON1_UP | Pen event: Lower pen button has gone up while moving. | |||||||||
| int | PEN_MOVE_BUTTON2_DOWN | Pen event: Upper pen button has gone down while moving. | |||||||||
| int | PEN_MOVE_BUTTON2_UP | Pen event: Upper pen button has gone up while moving. | |||||||||
| int | SOURCE_PEN_TOUCHSCREEN | Pen Source: define the pen source. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
In API level 14, MotionEvent could support multi-touch with some of the pointer from STYLUS
But, PenEvent does not support multi-touch.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constant for getAction(): A pressed gesture has started, the
motion contains the initial starting location.
Constant for getAction(): A change has happened during a
press gesture (between PEN_ACTION_DOWN and PEN_ACTION_UP).
The pen motion contains the most recent point, as well as any intermediate
points since the last down or move event.
Constant for getAction(): A pressed gesture has finished, the
motion contains the final release location as well as any intermediate
points since the last down or move event.
Pen event: Lower pen button has gone down. The bits in indicate which pen button changed.
Pen event: Upper pen button has gone down. The bits in indicate which pen button changed.
Pen event: None pen button has gone down. The bits in indicate which pen button changed.
Pen event: Lower pen button has gone down while moving.
Pen event: Lower pen button has gone up while moving.
Pen event: Upper pen button has gone down while moving.
Pen event: Upper pen button has gone up while moving.
Pen Source: define the pen source.
In API level 14, MotionEvent could support multi-touch with some of the pointer from STYLUS But, PenEvent does not support multi-touch. This API should be deprecated due to function not work in multi-outch MotionEvent