Lines Matching defs:historyPos
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) {
610 if (!validateHistoryPos(env, historyPos, historySize)) {
613 return event->getHistoricalRawAxisValue(axis, pointerIndex, historyPos);
618 jint nativePtr, jint axis, jint pointerIndex, jint historyPos) {
625 if (historyPos == HISTORY_CURRENT) {
629 if (!validateHistoryPos(env, historyPos, historySize)) {
632 return event->getHistoricalAxisValue(axis, pointerIndex, historyPos);
637 jint nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) {
646 if (historyPos == HISTORY_CURRENT) {
650 if (!validateHistoryPos(env, historyPos, historySize)) {
653 rawPointerCoords = event->getHistoricalRawPointerCoords(pointerIndex, historyPos);