/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GradientStopsActivity.java | 47 LinearGradient gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, 51 paint.setShader(gradient); 57 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, 60 paint.setShader(gradient); 67 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, 70 paint.setShader(gradient); 76 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, 79 paint.setShader(gradient); 84 gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, 87 paint.setShader(gradient); [all...] |
H A D | GradientsActivity.java | 123 LinearGradient gradient = new LinearGradient(0, 0, 200, 0, 0xFF000000, 0, 126 mPaint.setShader(gradient); 148 RadialGradient gradient = new RadialGradient(0.0f, 0.0f, 100.0f, 0xff000000, 0xffffffff, 151 mPaint.setShader(gradient); 173 SweepGradient gradient = new SweepGradient(100.0f, 100.0f, 0xff000000, 0xffffffff); 175 mPaint.setShader(gradient);
|
H A D | TransparentListActivity.java | 82 getWindow().setBackgroundDrawable(getResources().getDrawable(R.drawable.gradient));
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
H A D | R$color.class | ... extends java.lang.Object {
public static final int gradient public void " href="/8.0.0_r4/s? ... |
/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/packages/SystemUI/src/com/android/systemui/pip/phone/ |
H A D | PipDismissViewController.java | 76 // Set the gradient background 77 Drawable gradient = mContext.getResources().getDrawable(R.drawable.pip_dismiss_scrim); 78 gradient.setAlpha((int) (255 * 0.85f)); 79 mDismissView.setBackground(gradient);
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 110 GradientCacheEntry gradient(colors, positions, count); 111 Texture* texture = mCache.get(gradient); 114 texture = addLinearGradient(gradient, colors, positions, count); 147 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, argument 173 mCache.put(gradient, texture);
|
H A D | GradientCache.h | 102 * A simple LRU gradient cache. The cache has a maximum size expressed in bytes. 138 * Adds a new linear gradient to the cache. The generated texture is 141 Texture* addLinearGradient(GradientCacheEntry& gradient,
|
H A D | VectorDrawable.h | 234 void setFillGradient(SkShader* gradient) { argument 235 if(UPDATE_SKPROP(fillGradient, gradient)) { 239 void setStrokeGradient(SkShader* gradient) { argument 240 if(UPDATE_SKPROP(strokeGradient, gradient)) {
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
H A D | PageIndicatorView.java | 174 Shader gradient = 183 shadowPaint.setShader(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 459 setGradientType(@radientType int gradient) argument 2016 setGradientType(@radientType int gradient) argument [all...] |