Searched defs:posArray (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DShader.cpp112 jintArray colorArray, jfloatArray posArray, int tileMode)
121 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0);
124 if (posArray) {
125 AutoJavaFloatArray autoPos(env, posArray, count);
145 jfloatArray posArray, int tileMode) {
159 if (posArray) {
160 AutoJavaFloatArray autoPos(env, posArray, count);
261 jintArray colorArray, jfloatArray posArray, int tileMode) {
268 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0);
271 if (posArray) {
110 LinearGradient_create1(JNIEnv* env, jobject o, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
143 LinearGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x0, float y0, float x1, float y1, jintArray colorArray, jfloatArray posArray, int tileMode) argument
260 RadialGradient_create1(JNIEnv* env, jobject, float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) argument
306 RadialGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x, float y, float radius, jintArray colorArray, jfloatArray posArray, int tileMode) argument
405 SweepGradient_postCreate1(JNIEnv* env, jobject o, SkShader* shader, float x, float y, jintArray colorArray, jfloatArray posArray) argument
[all...]
H A DCanvas.cpp834 static void doDrawGlyphsPos(SkCanvas* canvas, const jchar* glyphArray, const jfloat* posArray, argument
838 posPtr[indx].fX = SkFloatToScalar(x + posArray[indx * 2]);
839 posPtr[indx].fY = SkFloatToScalar(y + posArray[indx * 2 + 1]);
874 float* posArray = pos ? env->GetFloatArrayElements(pos, NULL) : NULL; local
879 posPtr[indx].fX = SkFloatToScalar(posArray[indx << 1]);
880 posPtr[indx].fY = SkFloatToScalar(posArray[(indx << 1) + 1]);
892 env->ReleaseFloatArrayElements(pos, posArray, 0);
903 float* posArray = pos ? env->GetFloatArrayElements(pos, NULL) : NULL; local
908 posPtr[indx].fX = SkFloatToScalar(posArray[indx << 1]);
909 posPtr[indx].fY = SkFloatToScalar(posArray[(ind
[all...]

Completed in 642 milliseconds