Lines Matching refs:sampleIndex
202 size_t sampleIndex = i + 1;
203 status = mPublisher->appendMotionSample(sampleEventTimes[sampleIndex],
204 samplePointerCoords.array() + sampleIndex * pointerCount);
214 size_t sampleIndex = i + 1 + samplesToAppendBeforeDispatch;
215 status = mPublisher->appendMotionSample(sampleEventTimes[sampleIndex],
216 samplePointerCoords.array() + sampleIndex * pointerCount);
258 for (size_t sampleIndex = 0; sampleIndex < lastSampleIndex; sampleIndex++) {
259 SCOPED_TRACE(sampleIndex);
260 EXPECT_EQ(sampleEventTimes[sampleIndex],
261 motionEvent->getHistoricalEventTime(sampleIndex));
264 size_t offset = sampleIndex * pointerCount + i;
266 motionEvent->getHistoricalRawX(i, sampleIndex));
268 motionEvent->getHistoricalRawY(i, sampleIndex));
270 motionEvent->getHistoricalX(i, sampleIndex));
272 motionEvent->getHistoricalY(i, sampleIndex));
274 motionEvent->getHistoricalPressure(i, sampleIndex));
276 motionEvent->getHistoricalSize(i, sampleIndex));
278 motionEvent->getHistoricalTouchMajor(i, sampleIndex));
280 motionEvent->getHistoricalTouchMinor(i, sampleIndex));
282 motionEvent->getHistoricalToolMajor(i, sampleIndex));
284 motionEvent->getHistoricalToolMinor(i, sampleIndex));
286 motionEvent->getHistoricalOrientation(i, sampleIndex));