Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DShader.cpp153 jfloat* storedPositions = new jfloat[count]; in LinearGradient_postCreate1() local
163 storedPositions[i] = posValues[i]; in LinearGradient_postCreate1()
166 storedPositions[0] = 0.0f; in LinearGradient_postCreate1()
169 storedPositions[i] = step * i; in LinearGradient_postCreate1()
171 storedPositions[count - 1] = 1.0f; in LinearGradient_postCreate1()
175 storedPositions, count, shader, static_cast<SkShader::TileMode>(tileMode), NULL, in LinearGradient_postCreate1()
192 float* storedPositions = new float[2]; in LinearGradient_postCreate2() local
193 storedPositions[0] = 0.0f; in LinearGradient_postCreate2()
194 storedPositions[1] = 1.0f; in LinearGradient_postCreate2()
201 storedPositions, 2, shader, static_cast<SkShader::TileMode>(tileMode), NULL, in LinearGradient_postCreate2()
[all …]