Searched refs:prevPos (Results 1 – 2 of 2) sorted by relevance
105 int prevPos = 0; in precomputeGradientColors() local111 prevPos = nextPos++; in precomputeGradientColors()114 float percent = (currentPos - mPositions[prevPos]) / in precomputeGradientColors()115 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors()117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
174 int prevPos; in writeHeader_native() local179 prevPos = lseek(fd, 0, SEEK_CUR); in writeHeader_native()187 header.dataSize = prevPos - (pos + header.headerSize); in writeHeader_native()210 lseek(fd, prevPos, SEEK_SET); in writeHeader_native()