Searched refs:alpha (Results 176 - 200 of 1208) sorted by relevance

1234567891011>>

/external/chromium_org/content/browser/device_sensors/
H A Dsensor_manager_android.h36 double alpha, double beta, double gamma);
42 double alpha, double beta, double gamma);
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
H A DV8HTMLCanvasElementCustom.cpp62 v8::Handle<v8::String> alpha = v8AtomicString(isolate, "alpha"); local
63 if (jsAttributes->Has(alpha) && !isUndefinedOrNull(jsAttributes->Get(alpha)))
64 webGLAttributes->setAlpha(jsAttributes->Get(alpha)->BooleanValue());
89 v8::Handle<v8::String> alpha = v8AtomicString(isolate, "alpha"); local
90 if (jsAttributes->Has(alpha) && !isUndefinedOrNull(jsAttributes->Get(alpha)))
91 canvas2DAttributes->setAlpha(jsAttributes->Get(alpha)
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DColor.h71 // Creates a new color from the specific CMYK and alpha values.
102 bool hasAlpha() const { return alpha() < 255; }
107 int alpha() const { return alphaChannel(m_color); } function in class:blink::Color
109 RGBA32 rgb() const { return m_color; } // Preserve the alpha.
157 // Also, premultipliedARGBFromColor() bails on zero alpha, so special-case that.
158 Color premultFrom = from.alpha() ? premultipliedARGBFromColor(from) : 0;
159 Color premultTo = to.alpha() ? premultipliedARGBFromColor(to) : 0;
164 blend(premultFrom.alpha(), premultTo.alpha(), progress));
172 blend(from.alpha(), t
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_aos.c89 boolean alpha)
103 if(alpha)
191 LLVMValueRef alpha,
209 if (rgb != alpha) {
211 alpha, swizzled_rgb);
309 LLVMValueRef alpha; local
311 alpha = lp_build_blend(&bld.base,
324 alpha,
87 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, unsigned factor, boolean alpha) argument
189 lp_build_blend_swizzle(struct lp_build_blend_aos_context *bld, LLVMValueRef rgb, LLVMValueRef alpha, enum lp_build_blend_swizzle rgb_swizzle, unsigned alpha_swizzle) argument
/external/chromium_org/third_party/skia/bench/
H A DBenchmark.h76 void setForceAlpha(int alpha) { argument
77 fForceAlpha = alpha;
/external/chromium_org/third_party/skia/include/core/
H A DSkBlitRow.h17 //! If set, the alpha parameter will be != 255
19 //! If set, the src colors may have alpha != 255
31 @param alpha A global alpha to be applied to all of the src colors
37 int count, U8CPU alpha, int x, int y);
50 @param src array of src 32bit colors (w/ or w/o alpha)
52 @param alpha global alpha to be applied to all src colors
56 int count, U8CPU alpha);
/external/chromium_org/ui/gfx/
H A Dskbitmap_operations.h32 // (0, 240, 255). The alpha value is not inverted.
35 // Create a bitmap that is a blend of two others. The alpha argument
40 double alpha);
43 // in the alpha bitmap. The images must use the kARGB_8888_Config config and
46 const SkBitmap& alpha);
103 // Create a bitmap by combining alpha channel of |bitmap| and color |c|.
/external/deqp/framework/common/
H A DtcuPixelFormat.hpp42 PixelFormat (int red, int green, int blue, int alpha) argument
46 , alphaBits(alpha)
61 * Per-channel threshold is 2^(8-bits). If alpha channel bits are zero,
/external/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/
H A Dis_1.pass.cpp41 assert(f.is(F::alpha, 'a'));
42 assert(!f.is(F::alpha, '1'));
/external/libpng/contrib/pngminus/
H A Dpng2pnm.sh16 # -- gray with alpha-channel
19 # -- color with alpha-channel
20 ./png2pnm -noraw -alpha basn6a08.pgm ../pngsuite/basn6a08.png basn6a08.ppm
21 ./png2pnm -noraw -alpha basn6a16.pgm ../pngsuite/basn6a16.png basn6a16.ppm
36 # -- gray with alpha-channel
39 # -- color with alpha-channel
40 ./png2pnm -noraw -alpha rawn6a08.pgm ../pngsuite/basn6a08.png rawn6a08.ppm
41 ./png2pnm -noraw -alpha rawn6a16.pgm ../pngsuite/basn6a16.png rawn6a16.ppm
/external/libvpx/libvpx/vp9/common/
H A Dvp9_postproc.c456 int y1, int u1, int v1, int alpha, int stride) {
458 int y1_const = y1 * ((1 << 16) - alpha);
459 int u1_const = u1 * ((1 << 16) - alpha);
460 int v1_const = v1 * ((1 << 16) - alpha);
465 y[j] = (y[j] * alpha + y1_const) >> 16;
477 u[j] = (u[j] * alpha + u1_const) >> 16;
478 v[j] = (v[j] * alpha + v1_const) >> 16;
489 int y1, int u1, int v1, int alpha, int stride) {
491 int y1_const = y1 * ((1 << 16) - alpha);
492 int u1_const = u1 * ((1 << 16) - alpha);
455 vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride) argument
488 vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride) argument
543 vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride) argument
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_aos.c89 boolean alpha)
103 if(alpha)
191 LLVMValueRef alpha,
209 if (rgb != alpha) {
211 alpha, swizzled_rgb);
309 LLVMValueRef alpha; local
311 alpha = lp_build_blend(&bld.base,
324 alpha,
87 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, unsigned factor, boolean alpha) argument
189 lp_build_blend_swizzle(struct lp_build_blend_aos_context *bld, LLVMValueRef rgb, LLVMValueRef alpha, enum lp_build_blend_swizzle rgb_swizzle, unsigned alpha_swizzle) argument
/external/skia/bench/
H A DBenchmark.h75 void setForceAlpha(int alpha) { argument
76 fForceAlpha = alpha;
/external/skia/include/core/
H A DSkBlitRow.h17 //! If set, the alpha parameter will be != 255
19 //! If set, the src colors may have alpha != 255
31 @param alpha A global alpha to be applied to all of the src colors
37 int count, U8CPU alpha, int x, int y);
50 @param src array of src 32bit colors (w/ or w/o alpha)
52 @param alpha global alpha to be applied to all src colors
56 int count, U8CPU alpha);
/external/eigen/Eigen/src/SparseCore/
H A DSparseDenseProduct.h173 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
183 res.coeffRef(j,c) = alpha * tmp;
197 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
203 typename Res::Scalar rhs_j = alpha * rhs.coeff(j,c);
219 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
225 res_j += (alpha*it.value()) * rhs.row(it.index());
238 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
244 res.row(it.index()) += (alpha*it.value()) * rhs_j;
250 inline void sparse_time_dense_product(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const AlphaType& alpha) argument
252 sparse_time_dense_product_impl<SparseLhsType,DenseRhsType,DenseResType>::run(lhs, rhs, res, alpha);
[all...]
/external/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/
H A Dis_many.pass.cpp43 assert( (m[0] & F::alpha));
57 assert(!(m[1] & F::alpha));
71 assert( (m[2] & F::alpha));
85 assert(!(m[3] & F::alpha));
99 assert(!(m[4] & F::alpha));
113 assert( (m[5] & F::alpha));
127 assert(!(m[6] & F::alpha));
152 assert(!(m[0] & F::alpha));
166 assert(!(m[1] & F::alpha));
180 assert( (m[2] & F::alpha));
[all...]
/external/ceres-solver/internal/ceres/
H A Dconjugate_gradients_solver.cc158 const double alpha = rho / pq; local
159 if (IsInfinite(alpha)) {
162 StringPrintf("Numerical failure. alpha = rho / pq = %e", alpha);
166 xref = xref + alpha * p;
168 // Ideally we would just use the update r = r - alpha*q to keep
180 r = r - alpha * q;
/external/chromium_org/ash/frame/caption_buttons/
H A Dframe_caption_button.cc98 void FrameCaptionButton::SetAlpha(int alpha) { argument
99 if (alpha_ != alpha) {
100 alpha_ = alpha;
179 int alpha) {
181 paint.setAlpha(alpha);
177 PaintCentered(gfx::Canvas* canvas, const gfx::ImageSkia& to_center, int alpha) argument
/external/chromium_org/ash/touch/
H A Dtouch_hud_projection.cc82 int alpha = kProjectionAlpha; variable
84 alpha = static_cast<int>(fadeout_->CurrentValueBetween(alpha, 0));
85 fill_paint_.setAlpha(alpha);
86 stroke_paint_.setAlpha(alpha);
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
H A DImageFrame.h134 void setHasAlpha(bool alpha);
183 unsigned alpha = a * div255;
184 r = (r * alpha) >> 24;
185 g = (g * alpha) >> 24;
186 b = (b * alpha) >> 24;
/external/chromium_org/third_party/skia/gm/
H A Daarectmodes.cpp155 for (int alpha = 0; alpha < 4; ++alpha) {
169 gAlphaValue[alpha & 1],
170 gAlphaValue[alpha & 2]);
H A Dhairmodes.cpp97 for (int alpha = 0; alpha < 4; ++alpha) {
111 gAlphaValue[alpha & 1],
112 gAlphaValue[alpha & 2]);
/external/chromium_org/third_party/skia/samplecode/
H A DSampleAARectModes.cpp103 for (int alpha = 0; alpha < 4; ++alpha) {
117 gAlphaValue[alpha & 1],
118 gAlphaValue[alpha & 2]);
H A DSampleHairModes.cpp101 for (int alpha = 0; alpha < 4; ++alpha) {
115 gAlphaValue[alpha & 1],
116 gAlphaValue[alpha & 2]);
/external/chromium_org/third_party/skia/src/core/
H A DSkScan_AntiPath.cpp56 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE {
181 *accumulates* SCALE pixels worth of "alpha" in [0,(256/SCALE)]
183 itself, with the same (alpha - (alpha >> 8)) correction as
198 int alpha = (256 >> SHIFT) * aa;
200 return alpha - (alpha >> 8);
341 // xrite/SCALE should give us alpha.
458 static void add_aa_span(uint8_t* alpha, U8CPU startAlpha) {
459 /* I should be able to just add alpha[
[all...]

Completed in 2196 milliseconds

1234567891011>>