Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DProgramCache.cpp410 shader.append(gVS_Header_Uniforms_HasGradient[description.gradientType]); in generateVertexShader()
426 shader.append(gVS_Header_Varyings_HasGradient[description.gradientType]); in generateVertexShader()
446 shader.append(gVS_Main_OutGradient[description.gradientType]); in generateVertexShader()
488 shader.append(gVS_Header_Varyings_HasGradient[description.gradientType]); in generateFragmentShader()
515 shader.append(gFS_Uniforms_GradientSampler[description.gradientType]); in generateFragmentShader()
533 description.gradientType == ProgramDescription::kGradientLinear; in generateFragmentShader()
611 shader.append(gFS_Main_FetchGradient[description.gradientType]); in generateFragmentShader()
DProgram.h129 Gradient gradientType; member
167 gradientType = kGradientLinear; in reset()
223 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT; in key()
DSkiaShader.cpp215 description.gradientType = ProgramDescription::kGradientLinear; in describe()
278 description.gradientType = ProgramDescription::kGradientCircular; in describe()
327 description.gradientType = ProgramDescription::kGradientSweep; in describe()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java860 int gradientType = a.getInt(
876 st.mGradient = gradientType;
878 if (gradientType == LINEAR_GRADIENT) {
921 } else if (gradientType == RADIAL_GRADIENT) {