Searched defs:gradient (Results 1 - 4 of 4) sorted by relevance
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | stochastic_linear_ranker.cpp | 32 SparseWeightVector<Key, Hash> gradient; local 34 gradient.AdditiveWeightUpdate(1.0, positive, 0.0); 35 gradient.AdditiveWeightUpdate(-1.0, negative, 0.0); 38 const double gradient_norm = gradient.L2Norm(); 50 gradient.AdditiveWeightUpdate(-lambda_, weight_, 0.0); 54 gradient.ReprojectL0(gradient_l0_norm); 57 if (gradient.IsValid()) 58 weight_.AdditiveWeightUpdate(final_learning_rate, gradient, 0.0);
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 109 GradientCacheEntry gradient(colors, positions, count); 110 Texture* texture = mCache.get(gradient); 113 texture = addLinearGradient(gradient, colors, positions, count); 146 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, argument 172 mCache.put(gradient, texture);
|
H A D | VectorDrawable.h | 233 void setFillGradient(SkShader* gradient) { argument 234 if(UPDATE_SKPROP(fillGradient, gradient)) { 238 void setStrokeGradient(SkShader* gradient) { argument 239 if(UPDATE_SKPROP(strokeGradient, gradient)) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 60 * A Drawable with a color gradient for buttons, backgrounds, etc. 175 /** Current gradient radius, valid when {@link #mGradientIsDirty} is false. */ 179 * Controls how the gradient is oriented relative to the drawable's bounds 182 /** draw the gradient from the top to the bottom */ 184 /** draw the gradient from the top-right to the bottom-left */ 186 /** draw the gradient from the right to the left */ 188 /** draw the gradient from the bottom-right to the top-left */ 190 /** draw the gradient from the bottom to the top */ 192 /** draw the gradient from the bottom-left to the top-right */ 194 /** draw the gradient fro 458 setGradientType(@radientType int gradient) argument 1978 setGradientType(@radientType int gradient) argument [all...] |
Completed in 194 milliseconds