Lines Matching defs:colors
45 hash = JenkinsHashMix(hash, android::hash_type(colors[i]));
55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t));
132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
133 GradientCacheEntry gradient(colors, positions, count);
137 texture = addLinearGradient(gradient, colors, positions, count);
147 void GradientCache::getGradientInfo(const uint32_t* colors, const int count,
160 if (((colors[i] >> 24) & 0xff) < 255) {
171 uint32_t* colors, float* positions, int count) {
174 getGradientInfo(colors, count, info);
188 generateTexture(colors, positions, count, texture);
241 void GradientCache::generateTexture(uint32_t* colors, float* positions,
260 (this->*split)(colors[0], start);
263 (this->*split)(colors[1], end);
278 (this->*split)(colors[currentPos], end);