Searched refs:alpha (Results 1 - 25 of 1000) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvas2DContextAttributes.idl30 attribute boolean alpha;
H A DCanvas2DContextAttributes.cpp48 bool Canvas2DContextAttributes::alpha() const function in class:WebCore::Canvas2DContextAttributes
53 void Canvas2DContextAttributes::setAlpha(bool alpha) argument
55 m_alpha = alpha;
H A DWebGLContextAttributes.idl30 attribute boolean alpha;
/external/clang/test/SemaTemplate/
H A Dinstantiate-case.cpp4 static int alpha(T c) function
15 alpha(1); // expected-note{{instantiation of function template}}
/external/chromium_org/third_party/skia/src/core/
H A DSkAntiRun.h15 /** Sparse array of run-length-encoded alpha (supersampling coverage) values.
26 /// of alpha value 0.
56 uint8_t* alpha = fAlpha + offsetX; local
57 uint8_t* lastAlpha = alpha;
61 SkAlphaRuns::Break(runs, alpha, x, 1);
62 /* I should be able to just add alpha[x] + startAlpha.
67 unsigned tmp = alpha[x] + startAlpha;
69 alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to catch 256
72 alpha += x + 1;
79 SkAlphaRuns::Break(runs, alpha,
117 Break(int16_t runs[], uint8_t alpha[], int x, int count) argument
170 BreakAt(int16_t runs[], uint8_t alpha[], int x) argument
[all...]
/external/skia/src/core/
H A DSkAntiRun.h15 /** Sparse array of run-length-encoded alpha (supersampling coverage) values.
26 /// of alpha value 0.
56 uint8_t* alpha = fAlpha + offsetX; local
57 uint8_t* lastAlpha = alpha;
61 SkAlphaRuns::Break(runs, alpha, x, 1);
62 /* I should be able to just add alpha[x] + startAlpha.
67 unsigned tmp = alpha[x] + startAlpha;
69 alpha[x] = SkToU8(tmp - (tmp >> 8)); // was (tmp >> 7), but that seems wrong if we're trying to catch 256
72 alpha += x + 1;
79 SkAlphaRuns::Break(runs, alpha,
117 Break(int16_t runs[], uint8_t alpha[], int x, int count) argument
170 BreakAt(int16_t runs[], uint8_t alpha[], int x) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c54 LLVMValueRef alpha,
67 * alpha testing after converting the output colors, but that's not very
77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one);
80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha);
87 test = lp_build_cmp(&bld, func, alpha, ref);
49 lp_build_alpha_test(struct gallivm_state *gallivm, unsigned func, struct lp_type type, const struct util_format_description *cbuf_format_desc, struct lp_build_mask_context *mask, LLVMValueRef alpha, LLVMValueRef ref, boolean do_branch) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_alpha.c54 LLVMValueRef alpha,
67 * alpha testing after converting the output colors, but that's not very
77 alpha = lp_build_clamp(&bld, alpha, bld.zero, bld.one);
80 alpha = lp_build_clamped_float_to_unsigned_norm(gallivm, type, dst_width, alpha);
87 test = lp_build_cmp(&bld, func, alpha, ref);
49 lp_build_alpha_test(struct gallivm_state *gallivm, unsigned func, struct lp_type type, const struct util_format_description *cbuf_format_desc, struct lp_build_mask_context *mask, LLVMValueRef alpha, LLVMValueRef ref, boolean do_branch) argument
/external/chromium_org/third_party/skia/include/core/
H A DSkUnPreMultiply.h22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) { argument
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
/external/skia/include/core/
H A DSkUnPreMultiply.h22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) { argument
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
/external/skia/tests/
H A DSrcOverTest.cpp14 static int test_srcover0(unsigned dst, unsigned alpha) { argument
15 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
19 static int test_srcover1(unsigned dst, unsigned alpha) { argument
20 return alpha + SkAlphaMul(dst, 256 - alpha);
24 static int test_srcover2(unsigned dst, unsigned alpha) { argument
25 return alpha + SkMulDiv255Round(dst, 255 - alpha);
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
H A DDeviceRotationRate.idl29 readonly attribute double? alpha;
H A DDeviceRotationRate.cpp37 double DeviceRotationRate::alpha(bool& isNull) const function in class:WebCore::DeviceRotationRate
40 return m_rotationRate->alpha();
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2163.js41 dp(obj1, "alpha", { get: getter, set: setter });
43 dp(obj2, "alpha", { get: getter });
45 assertEquals(111, obj2.alpha);
47 assertEquals(111, obj2.alpha);
51 dp(obj1, "alpha", { get: getter, set: setter });
53 dp(obj2, "alpha", { get: getter });
57 dp(obj3, "alpha", { get: getter });
62 dp(obj1, "alpha", { get: getter, set: setter });
65 dp(obj2, "alpha", { get: getter, set: setter });
67 assertEquals(111, obj2.alpha);
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DColor.cpp99 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha) argument
105 return makeRGBA(greyValue, greyValue, greyValue, static_cast<int>(alpha * scaleFactor));
114 static_cast<int>(alpha * scaleFactor));
228 if (!alpha())
232 unsigned length = DecimalNumber(alpha() / 255.0).toStringDecimal(buffer, WTF::NumberToStringBufferLength);
242 if (alpha() < 0xFF)
243 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha());
284 // Lightened black with alpha.
285 return Color(0x54, 0x54, 0x54, alpha());
292 alpha());
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/mac/
H A DColorMac.mm58 CGFloat alpha;
59 [c getRed:&redComponent green:&greenComponent blue:&blueComponent alpha:&alpha];
61 return makeRGBA(255 * redComponent, 255 * greenComponent, 255 * blueComponent, 255 * alpha);
75 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, clearColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:0]));
79 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, blackColor, ([NSColor colorWithDeviceRed:0 green:0 blue:0 alpha:1]));
83 DEFINE_STATIC_LOCAL(RetainPtr<NSColor>, whiteColor, ([NSColor colorWithDeviceRed:1 green:1 blue:1 alpha:1]));
99 alpha:static_cast<CGFloat>(color.alpha()) / 255];
/external/chromium_org/third_party/skia/src/gpu/
H A DGrSWMaskHelper.h55 bool antiAlias, uint8_t alpha);
59 bool antiAlias, uint8_t alpha);
69 void clear(uint8_t alpha) { argument
70 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
/external/chromium_org/third_party/skia/src/opts/
H A DSkBlitRow_opts_arm.cpp31 U8CPU alpha, int /*x*/, int /*y*/) {
32 SkASSERT(255 == alpha);
108 int count, U8CPU alpha) {
110 SkASSERT(255 == alpha);
126 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */
130 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 256 -> r4=scale */
138 "lsr r4, r6, #24 \n\t" /* extracting the alpha from source and storing it to r4 */
142 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 255 -> r4=scale */
170 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */
174 "rsb r4, r4, #256 \n\t" /* subtracting the alpha fro
29 S32A_D565_Opaque(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument
106 S32A_Opaque_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument
200 S32A_Blend_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument
[all...]
/external/skia/src/gpu/
H A DGrSWMaskHelper.h55 bool antiAlias, uint8_t alpha);
59 bool antiAlias, uint8_t alpha);
69 void clear(uint8_t alpha) { argument
70 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
/external/skia/src/opts/
H A DSkBlitRow_opts_arm.cpp31 U8CPU alpha, int /*x*/, int /*y*/) {
32 SkASSERT(255 == alpha);
108 int count, U8CPU alpha) {
110 SkASSERT(255 == alpha);
126 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */
130 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 256 -> r4=scale */
138 "lsr r4, r6, #24 \n\t" /* extracting the alpha from source and storing it to r4 */
142 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 255 -> r4=scale */
170 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */
174 "rsb r4, r4, #256 \n\t" /* subtracting the alpha fro
29 S32A_D565_Opaque(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument
106 S32A_Opaque_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument
200 S32A_Blend_BlitRow32_arm(SkPMColor* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha) argument
[all...]
/external/ceres-solver/internal/ceres/
H A Dblas.cc38 double* alpha,
52 double alpha,
68 &alpha,
48 SymmetricRankKUpdate(int num_rows, int num_cols, const double* a, bool transpose, double alpha, double beta, double* c) argument
H A Dblas.h41 // transpose = true : c = alpha * a'a + beta * c;
42 // transpose = false : c = alpha * aa' + beta * c;
49 double alpha,
/external/chromium_org/third_party/re2/re2/testing/
H A Dsearch_test.cc315 vector<string> atom, alpha, ops; local
317 alpha.push_back(StringPiece(t.text).as_string());
318 ExhaustiveTest(1, 0, atom, ops, 1, alpha, "", "");
/external/regex-re2/re2/testing/
H A Dsearch_test.cc315 vector<string> atom, alpha, ops; local
317 alpha.push_back(StringPiece(t.text).as_string());
318 ExhaustiveTest(1, 0, atom, ops, 1, alpha, "", "");
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowColor.java16 public static int argb(int alpha, int red, int green, int blue) { argument
17 return (alpha << 24) | (red << 16) | (green << 8) | blue;

Completed in 941 milliseconds

1234567891011>>