Lines Matching refs:colors
45 hash = JenkinsHashMix(hash, android::hash_type(colors[i]));
55 deltaInt = memcmp(lhs.colors.get(), rhs.colors.get(), lhs.count * sizeof(uint32_t));
108 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
109 GradientCacheEntry gradient(colors, positions, count);
113 texture = addLinearGradient(gradient, colors, positions, count);
123 void GradientCache::getGradientInfo(const uint32_t* colors, const int count,
136 if (((colors[i] >> 24) & 0xff) < 255) {
147 uint32_t* colors, float* positions, int count) {
150 getGradientInfo(colors, count, info);
165 generateTexture(colors, positions, info.width, 2, texture);
222 void GradientCache::generateTexture(uint32_t* colors, float* positions,
240 (this->*split)(colors[0], start);
243 (this->*split)(colors[1], end);
258 (this->*split)(colors[currentPos], end);