Home
last modified time | relevance | path

Searched refs:posPtr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/rs/
DrsMesh.cpp210 float *posPtr = NULL; in computeBBox() local
224 posPtr = (float*)((uint8_t*)mHal.state.vertexBuffers[ct]->getPtr() + offset); in computeBBox()
229 if (posPtr) { in computeBBox()
236 if (!posPtr) { in computeBBox()
245 mBBoxMin[v] = rsMin(mBBoxMin[v], posPtr[v]); in computeBBox()
246 mBBoxMax[v] = rsMax(mBBoxMax[v], posPtr[v]); in computeBBox()
248 posPtr += stride; in computeBBox()
/frameworks/base/core/jni/android/graphics/
DPathMeasure.cpp81 SkScalar* posPtr = pos ? tmpPos : NULL; in getPosTan() local
84 if (!pair->fMeasure.getPosTan(SkFloatToScalar(dist), (SkPoint*)posPtr, (SkVector*)tanPtr)) { in getPosTan()
DCanvas.cpp840 SkPoint* posPtr = posCount > 0 ? new SkPoint[posCount] : NULL; in drawPosText___CII_FPaint() local
843 posPtr[indx].fX = SkFloatToScalar(posArray[indx << 1]); in drawPosText___CII_FPaint()
844 posPtr[indx].fY = SkFloatToScalar(posArray[(indx << 1) + 1]); in drawPosText___CII_FPaint()
846 canvas->drawPosText(textArray + index, count << 1, posPtr, *paint); in drawPosText___CII_FPaint()
853 delete[] posPtr; in drawPosText___CII_FPaint()
864 SkPoint* posPtr = posCount > 0 ? new SkPoint[posCount] : NULL; in drawPosText__String_FPaint() local
867 posPtr[indx].fX = SkFloatToScalar(posArray[indx << 1]); in drawPosText__String_FPaint()
868 posPtr[indx].fY = SkFloatToScalar(posArray[(indx << 1) + 1]); in drawPosText__String_FPaint()
870 canvas->drawPosText(text_, byteLength << 1, posPtr, *paint); in drawPosText__String_FPaint()
877 delete[] posPtr; in drawPosText__String_FPaint()