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

/frameworks/base/libs/hwui/
H A DProgram.h136 Gradient gradientType; member in struct:android::uirenderer::ProgramDescription
179 gradientType = kGradientLinear;
238 key |= programid(gradientType) << PROGRAM_GRADIENT_TYPE_SHIFT;
H A DProgramCache.cpp465 return description.gradientType * 2 + description.isSimpleGradient;
487 shader.append(gVS_Header_Uniforms_HasGradient[description.gradientType]);
632 description.gradientType == ProgramDescription::kGradientLinear;
H A DSkiaShader.cpp222 description.gradientType = ProgramDescription::kGradientLinear;
287 description.gradientType = ProgramDescription::kGradientCircular;
342 description.gradientType = ProgramDescription::kGradientSweep;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java876 int gradientType = a.getInt(
892 st.mGradient = gradientType;
894 if (gradientType == LINEAR_GRADIENT) {
937 } else if (gradientType == RADIAL_GRADIENT) {

Completed in 66 milliseconds