Searched refs:currentPos (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/bluetooth/le/ |
D | ScanRecord.java | 204 int currentPos = 0; in parseFromBytes() local 215 while (currentPos < scanRecord.length) { in parseFromBytes() 217 int length = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 224 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() 227 advertiseFlag = scanRecord[currentPos] & 0xFF; in parseFromBytes() 231 parseServiceUuid(scanRecord, currentPos, in parseFromBytes() 236 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 241 parseServiceUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 245 parseServiceSolicitationUuid(scanRecord, currentPos, dataLength, in parseFromBytes() 249 parseServiceSolicitationUuid(scanRecord, currentPos, dataLength, in parseFromBytes() [all …]
|
/frameworks/rs/ |
D | rsFont.cpp | 673 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/ |
D | Gradient_Delegate.java | 115 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/ |
D | NV12Compressor.cpp | 327 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/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 175 int currentPos = values[start].mField.getPosAtDepth(depth); in matchesSimple() local 179 if (newPos != currentPos) { in matchesSimple() 182 currentPos = newPos; in matchesSimple()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 707 final int currentPos = mCoords[1] + height; in scrollBottomIntoView() local 710 if (currentPos > desiredPos) { in scrollBottomIntoView() 711 mScrollView.scrollBy(0, currentPos - desiredPos); in scrollBottomIntoView()
|