Searched refs:posArray (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 112 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 D | Canvas.cpp | 851 static void doDrawGlyphsPos(SkCanvas* canvas, const jchar* glyphArray, const jfloat* posArray, argument 855 posPtr[indx].fX = SkFloatToScalar(x + posArray[indx * 2]); 856 posPtr[indx].fY = SkFloatToScalar(y + posArray[indx * 2 + 1]); 891 float* posArray = pos ? env->GetFloatArrayElements(pos, NULL) : NULL; local 896 posPtr[indx].fX = SkFloatToScalar(posArray[indx << 1]); 897 posPtr[indx].fY = SkFloatToScalar(posArray[(indx << 1) + 1]); 909 env->ReleaseFloatArrayElements(pos, posArray, 0); 920 float* posArray = pos ? env->GetFloatArrayElements(pos, NULL) : NULL; local 925 posPtr[indx].fX = SkFloatToScalar(posArray[indx << 1]); 926 posPtr[indx].fY = SkFloatToScalar(posArray[(ind [all...] |
Completed in 4101 milliseconds