OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:historyPos
(Results
1 - 5
of
5
) sorted by null
/frameworks/base/core/jni/
android_view_MotionEvent.cpp
164
static bool validateHistoryPos(JNIEnv* env, jint
historyPos
, size_t historySize) {
165
if (
historyPos
< 0 || size_t(
historyPos
) >= historySize) {
167
"
historyPos
out of range");
585
jint nativePtr, jint
historyPos
) {
587
if (
historyPos
== HISTORY_CURRENT) {
591
if (!validateHistoryPos(env,
historyPos
, historySize)) {
594
return event->getHistoricalEventTime(
historyPos
);
599
jint nativePtr, jint axis, jint pointerIndex, jint
historyPos
) {
606
if (
historyPos
== HISTORY_CURRENT)
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java
239
private void processJoystickInput(MotionEvent event, int
historyPos
) {
244
float x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_X,
historyPos
);
246
x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_X,
historyPos
);
249
x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Z,
historyPos
);
252
float y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Y,
historyPos
);
254
y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_Y,
historyPos
);
257
y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_RZ,
historyPos
);
262
step(
historyPos
< 0 ? event.getEventTime() : event.getHistoricalEventTime(
historyPos
));
266
int axis, int
historyPos
) {
[
all
...]
GameControllerInput.java
245
for (int
historyPos
= 0;
historyPos
< historySize;
historyPos
++) {
246
message.append(event.getHistoricalAxisValue(axis,
historyPos
));
/frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java
371
for (int
historyPos
= 0;
historyPos
< N;
historyPos
++) {
374
event.getHistoricalPointerCoords(i,
historyPos
, mTempCoords);
511
for (int
historyPos
= 0;
historyPos
< N;
historyPos
++) {
516
event.getHistoricalPointerCoords(i,
historyPos
, coords);
/frameworks/base/core/java/android/view/
MotionEvent.java
[
all
...]
Completed in 1017 milliseconds