Searched refs:prevPos (Results 1 – 4 of 4) sorted by relevance
111 int prevPos = 0; in precomputeGradientColors() local123 prevPos = nextPos++; in precomputeGradientColors()126 if (nextPos == mPositions.length || currentPos == prevPos) { in precomputeGradientColors()127 mGradient[i] = mColors[prevPos]; in precomputeGradientColors()129 float percent = (currentPos - mPositions[prevPos]) / in precomputeGradientColors()130 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors()132 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()
261 size_t prevPos = mBuffer->wp()->pos(); in start() local269 mExpectedObjectToken = makeToken(sizePos - prevPos, in start()
440 int prevPos = mBubbles.indexOf(bubble); in doUpdate() local443 mStateChange.orderChanged = prevPos != 0; in doUpdate()