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()
DProgramCache.h132 Gradient gradientType; member
170 gradientType = kGradientLinear; in reset()
226 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT; in key()
DSkiaShader.cpp220 description.gradientType = ProgramDescription::kGradientLinear; in describe()
283 description.gradientType = ProgramDescription::kGradientCircular; in describe()
332 description.gradientType = ProgramDescription::kGradientSweep; in describe()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java692 int gradientType = a.getInt(
708 st.mGradient = gradientType;
710 if (gradientType == LINEAR_GRADIENT) {
753 } else if (gradientType == RADIAL_GRADIENT) {