Home | History | Annotate | Download | only in internal

Lines Matching refs:startIndex

178         int startIndex;
179 for (startIndex = mTrailStartIndex; startIndex < trailSize; startIndex++) {
180 final int elapsedTime = sinceDown - eventTimes[startIndex];
186 mTrailStartIndex = startIndex;
188 if (startIndex < trailSize) {
192 int p1x = getXCoordValue(xCoords[startIndex]);
193 int p1y = yCoords[startIndex];
194 final int lastTime = sinceDown - eventTimes[startIndex];
196 for (int i = startIndex + 1; i < trailSize; i++) {
226 debugDrawPoints(canvas, startIndex, trailSize, paint);
230 final int newSize = trailSize - startIndex;
231 if (newSize < startIndex) {
234 System.arraycopy(eventTimes, startIndex, eventTimes, 0, newSize);
235 System.arraycopy(xCoords, startIndex, xCoords, 0, newSize);
236 System.arraycopy(yCoords, startIndex, yCoords, 0, newSize);
238 System.arraycopy(pointTypes, startIndex, pointTypes, 0, newSize);
250 mLastInterpolatedDrawIndex = Math.max(mLastInterpolatedDrawIndex - startIndex, 0);
255 private void debugDrawPoints(final Canvas canvas, final int startIndex, final int endIndex,
263 for (int i = startIndex; i < endIndex; i++) {