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
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
));
/frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java
425
for (int
historyPos
= 0;
historyPos
< N;
historyPos
++) {
428
event.getHistoricalPointerCoords(i,
historyPos
, mTempCoords);
580
for (int
historyPos
= 0;
historyPos
< N;
historyPos
++) {
585
event.getHistoricalPointerCoords(i,
historyPos
, coords);
[
all
...]
/frameworks/base/core/java/android/view/
MotionEvent.java
[
all
...]
Completed in 3523 milliseconds