Home
last modified time | relevance | path

Searched refs:currentPos (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java228 int currentPos = 0; in parseFromBytes() local
239 while (currentPos < scanRecord.length) { in parseFromBytes()
241 int length = scanRecord[currentPos++] & 0xFF; in parseFromBytes()
248 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes()
251 advertiseFlag = scanRecord[currentPos] & 0xFF; in parseFromBytes()
255 parseServiceUuid(scanRecord, currentPos, in parseFromBytes()
260 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes()
265 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes()
269 parseServiceSolicitationUuid(scanRecord, currentPos, dataLength, in parseFromBytes()
273 parseServiceSolicitationUuid(scanRecord, currentPos, dataLength, in parseFromBytes()
[all …]
/frameworks/rs/
DrsFont.cpp673 float *currentPos = mTextMeshPtr + mCurrentQuadIndex * vertsPerQuad * floatsPerVert; in appendMeshQuad() local
684 (*currentPos++) = x1; in appendMeshQuad()
685 (*currentPos++) = y1; in appendMeshQuad()
686 (*currentPos++) = z1; in appendMeshQuad()
687 (*currentPos++) = 0; in appendMeshQuad()
688 (*currentPos++) = u1; in appendMeshQuad()
689 (*currentPos++) = v1; in appendMeshQuad()
691 (*currentPos++) = x2; in appendMeshQuad()
692 (*currentPos++) = y2; in appendMeshQuad()
693 (*currentPos++) = z2; in appendMeshQuad()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java115 float currentPos = (float)i/GRADIENT_SIZE; in precomputeGradientColors() local
117 if (currentPos < mPositions[0]) { in precomputeGradientColors()
122 while (nextPos < mPositions.length && currentPos >= mPositions[nextPos]) { in precomputeGradientColors()
126 if (nextPos == mPositions.length || currentPos == prevPos) { in precomputeGradientColors()
129 float percent = (currentPos - mPositions[prevPos]) / in precomputeGradientColors()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp327 size_t currentPos; in getJpegImageDimensions() local
328 for (currentPos = 0; currentPos <= jpegBufferSize - kMarkerLength; currentPos++) { in getJpegImageDimensions()
329 if (checkStartOfFrame(jpegBuffer + currentPos)) { in getJpegImageDimensions()
331 currentPos += kMarkerLength; in getJpegImageDimensions()
341 sof_t *startOfFrame = reinterpret_cast<sof_t *> (jpegBuffer + currentPos); in getJpegImageDimensions()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java710 final int currentPos = mCoords[1] + height; in scrollBottomIntoView() local
713 if (currentPos > desiredPos) { in scrollBottomIntoView()
714 mScrollView.scrollBy(0, currentPos - desiredPos); in scrollBottomIntoView()