/external/chromium_org/chrome/browser/ui/cocoa/ |
vertical_gradient_view.h | 12 // Draws a vertical background gradient with a bottom stroke. The gradient and 14 // respectively. Alternatively, you may override the |gradient| and 16 // gradient or color is |nil|, the respective element will not be drawn. 19 // The gradient to draw. 25 // Gets and sets the gradient to paint as background. 26 - (NSGradient*)gradient; 27 - (void)setGradient:(NSGradient*)gradient; 31 - (void)setStrokeColor:(NSColor*)gradient;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientStopsActivity.java | 47 LinearGradient gradient = new LinearGradient(0.0f, 0.0f, 256.0f, 0.0f, local 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...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGGradientStop.cpp | 45 // <stop> elements should only be allowed to make renderers under gradient elements 46 // but I can imagine a few cases we might not be catching, so let's not crash if our parent isn't a gradient. 47 SVGGradientElement* gradient = gradientElement(); 48 if (!gradient) 51 RenderObject* renderer = gradient->renderer();
|
RenderSVGResourceLinearGradient.cpp | 58 gradientData->gradient = Gradient::create(startPoint(m_attributes), endPoint(m_attributes)); 59 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_attributes.spreadMethod()));
|
RenderSVGResourceGradient.cpp | 79 // then the given effect (e.g. a gradient or a filter) will be ignored. 88 // Create gradient object 89 if (!gradientData->gradient) { 92 // We want the text bounding box applied to the gradient space transform now, so the gradient shader can use it. 104 if (!gradientData->gradient) 111 gradientData->gradient->setGradientSpaceTransform(computedGradientSpaceTransform); 113 // Draw gradient 121 context->setFillGradient(gradientData->gradient); 125 context->setStrokeGradient(gradientData->gradient); [all...] |
/external/ceres-solver/internal/ceres/ |
evaluator_test_utils.h | 43 const double gradient[50]; member in struct:ceres::internal::ExpectedEvaluation
|
line_search_minimizer.h | 52 gradient(num_effective_parameters), 60 Vector gradient; member in struct:ceres::internal::LineSearchMinimizer::State
|
line_search_direction.cc | 46 *search_direction = -current.gradient; 69 gradient_change = current.gradient - previous.gradient; 70 beta = (current.gradient.dot(gradient_change) / 74 gradient_change = current.gradient - previous.gradient; 75 beta = (current.gradient.dot(gradient_change) / 79 LOG(FATAL) << "Unknown nonlinear conjugate gradient type: " << type_; 82 *search_direction = -current.gradient + beta * previous.search_direction; 84 current.gradient.dot(*search_direction) [all...] |
evaluator.h | 99 vector<double>* gradient, 145 double* gradient, 154 double* gradient, 160 gradient,
|
program_evaluator.h | 138 double* gradient, 141 ScopedExecutionTimer call_type_timer(gradient == NULL && jacobian == NULL 162 if (gradient != NULL) { 163 VectorRef(evaluate_scratch_[i].gradient.get(), 194 } else if (gradient != NULL) { 200 if (jacobian != NULL || gradient != NULL) { 234 // Compute and store the gradient, if it was requested. 235 if (gradient != NULL) { 250 scratch->gradient.get() + parameter_block->delta_offset()); 258 // Sum the cost and gradient (if requested) from each thread 328 scoped_array<double> gradient; member in struct:ceres::internal::ProgramEvaluator::EvaluateScratch [all...] |
polynomial.h | 89 // function and or its gradient at a given point x. 95 gradient(0.0), 103 double gradient; // gradient = f'(x) member in struct:ceres::internal::FunctionSample 107 // Given a set of function value and/or gradient samples, find a
|
/external/chromium_org/chrome/browser/resources/ |
extensions_infobar.css | 10 background: -webkit-linear-gradient(#E9E9E9, #DADADA);
|
extensions_infobar_mac.css | 10 background: -webkit-linear-gradient(#ebebeb, #cfcfcf);
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
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);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
paint.c | 70 } gradient; member in struct:vg_paint 167 memcpy(map, p->gradient.color_data, sizeof(VGint)*1024); 207 paint->gradient.spread = VG_COLOR_RAMP_SPREAD_PAD; 208 memcpy(paint->gradient.linear.coords, def_ling, 210 memcpy(paint->gradient.radial.vals, def_radg, 213 paint->gradient.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 214 paint->gradient.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 215 paint->gradient.sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST; 216 paint->gradient.sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST; 217 paint->gradient.sampler.normalized_coords = 1 [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
paint.c | 70 } gradient; member in struct:vg_paint 167 memcpy(map, p->gradient.color_data, sizeof(VGint)*1024); 207 paint->gradient.spread = VG_COLOR_RAMP_SPREAD_PAD; 208 memcpy(paint->gradient.linear.coords, def_ling, 210 memcpy(paint->gradient.radial.vals, def_radg, 213 paint->gradient.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 214 paint->gradient.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; 215 paint->gradient.sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST; 216 paint->gradient.sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST; 217 paint->gradient.sampler.normalized_coords = 1 [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay.css | 15 background: -webkit-linear-gradient(#484848, #252525) no-repeat; 23 background: -webkit-linear-gradient(rgb(51, 76, 126), rgb(13, 23, 43)); 74 background: -webkit-linear-gradient(rgba(61, 61, 61, 0.8), 118 background: -webkit-linear-gradient(rgb(68, 161, 66), rgb(62, 95, 55)); 122 background: -webkit-linear-gradient(rgb(66, 161, 67), rgb(46, 92, 83)); 126 background: -webkit-linear-gradient(rgb(69, 163, 67), rgb(81, 81, 52)); 130 background: -webkit-linear-gradient(rgb(82, 161, 42), rgb(79, 77, 46)); 134 background: -webkit-linear-gradient(rgb(31, 55, 162), rgb(25, 38, 90)); 138 background: -webkit-linear-gradient(rgb(67, 159, 165), rgb(30, 55, 96)); 142 background: -webkit-linear-gradient(rgb(115, 54, 144), rgb(34, 37, 94)) [all...] |
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
pickerButton.css | 29 background-image: linear-gradient(#ededed, #ededed 38%, #dedede); 45 background-image: linear-gradient(#f0f0f0, #f0f0f0 38%, #e0e0e0); 52 background-image: linear-gradient(#e7e7e7, #e7e7e7 38%, #d7d7d7); 58 background-image: linear-gradient(#f1f1f1, #f1f1f1 38%, #e6e6e6);
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
waterfall_view.css | 119 background: -webkit-linear-gradient(top, #EEE, rgba(0, 0, 0, 0.5)); 123 background: -webkit-linear-gradient(top, #EEE, rgba(200, 200, 200, 0.5)); 127 background: -webkit-linear-gradient(top, #EEE, rgba(255, 0, 0, 0.5)); 131 background: -webkit-linear-gradient(top, #EEE, rgba(0, 0, 255, 0.5)); 135 background: -webkit-linear-gradient(top, #EEE, rgba(0, 255, 0, 0.5)); 139 background: -webkit-linear-gradient(top, #EEE, rgba(122, 122, 0, 0.5)); 143 background: -webkit-linear-gradient(top, #EEE, rgba(0, 122, 122, 0.5)); 147 background: -webkit-linear-gradient(top, #EEE, rgba(122, 0, 122, 0.5)); 151 background: -webkit-linear-gradient(top, #EEE, rgba(122, 178, 0, 0.5)); 155 background: -webkit-linear-gradient(top, #EEE, rgba(0, 178, 122, 0.5)) [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
drag_handle.css | 13 background-image: -webkit-gradient(linear, 26 background-image: -webkit-gradient(linear,
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 33 private RadialGradient gradient; field in class:ShapeHolder 70 gradient = value; 73 return gradient;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
StrokeData.h | 34 #include "platform/graphics/Gradient.h" 67 Gradient* gradient() const { return m_gradient.get(); } function in class:WebCore::StrokeData 68 void setGradient(const PassRefPtr<Gradient> gradient) { m_gradient = gradient; } 86 // Sets everything on the paint except the pattern, gradient and color. 101 RefPtr<Gradient> m_gradient;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
panelEnablerView.css | 93 background-image: linear-gradient(to bottom, rgb(252, 252, 252), rgb(223, 223, 223)); 103 background-image: linear-gradient(to bottom, rgb(250, 250, 250), rgb(235, 235, 235)); 108 background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 239, 239)); 116 background-image: linear-gradient(to bottom, rgb(252, 252, 252), rgb(223, 223, 223)); 124 background-image: linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 239, 239)); 129 linear-gradient(to bottom, rgb(252, 252, 252), rgb(223, 223, 223)); 134 linear-gradient(to bottom, rgb(194, 194, 194), rgb(239, 239, 239));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FETurbulence.cpp | 180 float* gradient; local 184 gradient = paintingData.gradient[channel][i]; 185 gradient[0] = static_cast<float>((paintingData.random() % (2 * s_blockSize)) - s_blockSize) / s_blockSize; 186 gradient[1] = static_cast<float>((paintingData.random() % (2 * s_blockSize)) - s_blockSize) / s_blockSize; 187 normalizationFactor = sqrtf(gradient[0] * gradient[0] + gradient[1] * gradient[1]); 188 gradient[0] /= normalizationFactor [all...] |
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/styles/ |
common.css | 47 background-image: linear-gradient(#f5f5f5, #f1f1f1); 75 background-image: linear-gradient(#f8f8f8, #f1f1f1); 78 background-image: linear-gradient(top,#f8f8f8,#f1f1f1); 92 background-image: linear-gradient(#4d90fe, #4787ed); 100 background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));
|