OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:historyPos
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/core/jni/
android_view_MotionEvent.cpp
167
static bool validateHistoryPos(JNIEnv* env, jint
historyPos
, size_t historySize) {
168
if (
historyPos
< 0 || size_t(
historyPos
) >= historySize) {
170
"
historyPos
out of range");
600
jlong nativePtr, jint
historyPos
) {
602
if (
historyPos
== HISTORY_CURRENT) {
606
if (!validateHistoryPos(env,
historyPos
, historySize)) {
609
return event->getHistoricalEventTime(
historyPos
);
614
jlong nativePtr, jint axis, jint pointerIndex, jint
historyPos
) {
621
if (
historyPos
== HISTORY_CURRENT)
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java
244
private void processJoystickInput(MotionEvent event, int
historyPos
) {
249
float x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_X,
historyPos
);
251
x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_X,
historyPos
);
254
x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Z,
historyPos
);
257
float y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Y,
historyPos
);
259
y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_Y,
historyPos
);
262
y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_RZ,
historyPos
);
267
step(
historyPos
< 0 ? event.getEventTime() : event.getHistoricalEventTime(
historyPos
));
271
int axis, int
historyPos
) {
[
all
...]
GameControllerInput.java
298
for (int
historyPos
= 0;
historyPos
< historySize;
historyPos
++) {
299
message.append(event.getHistoricalAxisValue(axis,
historyPos
));
/development/samples/ControllerSample/src/com/example/controllersample/
GameView.java
466
int axis, int
historyPos
) {
470
final float value =
historyPos
< 0 ? event.getAxisValue(axis)
471
: event.getHistoricalAxisValue(axis,
historyPos
);
817
* @param
historyPos
819
private void processJoystickInput(MotionEvent event, int
historyPos
) {
830
float x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_X,
historyPos
);
832
x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_HAT_X,
historyPos
);
835
x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_Z,
historyPos
);
838
float y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_Y,
historyPos
);
840
y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_HAT_Y,
historyPos
);
[
all
...]
/frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java
427
for (int
historyPos
= 0;
historyPos
< N;
historyPos
++) {
430
event.getHistoricalPointerCoords(i,
historyPos
, mTempCoords);
583
for (int
historyPos
= 0;
historyPos
< N;
historyPos
++) {
588
event.getHistoricalPointerCoords(i,
historyPos
, coords);
[
all
...]
/frameworks/base/core/java/android/view/
MotionEvent.java
[
all
...]
Completed in 514 milliseconds