HomeSort by relevance Sort by last modified time
    Searched refs:alpha (Results 1 - 25 of 1905) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
Canvas2DContextAttributes.idl 30 attribute boolean alpha;
Canvas2DContextAttributes.cpp 48 bool Canvas2DContextAttributes::alpha() const function in class:WebCore::Canvas2DContextAttributes
53 void Canvas2DContextAttributes::setAlpha(bool alpha)
55 m_alpha = alpha;
Canvas2DContextAttributes.h 43 // Whether or not the drawing buffer has an alpha channel; default=true
44 bool alpha() const;
WebGLContextAttributes.idl 30 attribute boolean alpha;
  /external/clang/test/SemaTemplate/
instantiate-case.cpp 4 static int alpha(T c) function
15 alpha(1); // expected-note{{instantiation of function template}}
  /external/chromium_org/third_party/skia/src/core/
SkAntiRun.h 15 /** 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, x, middleCount)
    [all...]
  /external/skia/src/core/
SkAntiRun.h 15 /** 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, x, middleCount)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
GLColor.java 24 public final int alpha; field in class:GLColor
26 public GLColor(int red, int green, int blue, int alpha) {
30 this.alpha = alpha;
37 this.alpha = 0x10000;
47 alpha == color.alpha);
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 29 * Alpha testing to LLVM IR translation.
54 LLVMValueRef alpha,
64 * Alpha testing needs to be done in the color buffer precision.
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);
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_bld_alpha.c 29 * Alpha testing to LLVM IR translation.
54 LLVMValueRef alpha,
64 * Alpha testing needs to be done in the color buffer precision.
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);
  /external/chromium_org/third_party/skia/include/core/
SkUnPreMultiply.h 22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) {
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
  /external/skia/include/core/
SkUnPreMultiply.h 22 // index this table with alpha [0..255]
27 static Scale GetScale(U8CPU alpha) {
28 SkASSERT(alpha <= 255);
29 return gTable[alpha];
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.gamma/
ctor_double_double.pass.cpp 15 // explicit gamma_distribution(result_type alpha = 0, result_type beta = 1);
25 assert(d.alpha() == 1);
31 assert(d.alpha() == 14.5);
37 assert(d.alpha() == 14.5);
  /external/ceres-solver/internal/ceres/
blas.h 41 // transpose = true : c = alpha * a'a + beta * c;
42 // transpose = false : c = alpha * aa' + beta * c;
49 double alpha,
  /external/skia/tests/
SrcOverTest.cpp 14 static int test_srcover0(unsigned dst, unsigned alpha) {
15 return alpha + SkAlphaMul(dst, SkAlpha255To256(255 - alpha));
19 static int test_srcover1(unsigned dst, unsigned alpha) {
20 return alpha + SkAlphaMul(dst, 256 - alpha);
24 static int test_srcover2(unsigned dst, unsigned alpha) {
25 return alpha + SkMulDiv255Round(dst, 255 - alpha);
  /frameworks/native/services/surfaceflinger/RenderEngine/
GLES10RenderEngine.cpp 31 bool premultipliedAlpha, bool opaque, int alpha) {
34 // alpha values. The alpha channel will be copied into the framebuffer or
38 if (CC_UNLIKELY(alpha < 0xFF)) {
39 GLfloat floatAlpha = alpha * (1.0f / 255.0f);
50 if (alpha < 0xFF || !opaque) {
  /external/chromium_org/third_party/WebKit/Source/modules/device_orientation/
DeviceRotationRate.idl 29 readonly attribute double? alpha;
  /packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
ZoomControl.java 148 final double alpha = Math.atan((double)y / (double)x); local
150 if (!checkHit(x, y, alpha)) {
156 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2));
157 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha)));
158 progress = (int)((mMaxProgress / 2) - (alpha / mInterval));
160 mThumbX = (int)((mRadius * Math.cos(alpha)) + (getWidth() / 2));
161 mThumbY = (int)((getHeight() / 2) - (mRadius * Math.sin(alpha)));
162 progress = (int)((mMaxProgress / 2) - (alpha / mInterval));
164 mThumbX = (int)((getWidth() / 2) - (mRadius * Math.cos(alpha)));
165 mThumbY = (int)((getHeight() / 2) + (mRadius * Math.sin(alpha)));
242 final double alpha; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
Color.cpp 99 RGBA32 makeRGBAFromHSLA(double hue, double saturation, double lightness, double alpha)
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/
ColorMac.mm 58 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/
GrSWMaskHelper.h 55 bool antiAlias, uint8_t alpha);
59 bool antiAlias, uint8_t alpha);
69 void clear(uint8_t alpha) {
70 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
  /external/chromium_org/third_party/skia/src/opts/
SkBlitRow_opts_arm.cpp 31 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 from 256 -> r4=scale *
    [all...]
  /external/skia/src/gpu/
GrSWMaskHelper.h 55 bool antiAlias, uint8_t alpha);
59 bool antiAlias, uint8_t alpha);
69 void clear(uint8_t alpha) {
70 fBM.eraseColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
  /external/skia/src/opts/
SkBlitRow_opts_arm.cpp 31 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 from 256 -> r4=scale *
    [all...]
  /frameworks/base/libs/hwui/
Vertex.h 94 * Simple structure to describe a vertex with a position and an alpha value.
97 float alpha; member in struct:android::uirenderer::AlphaVertex
99 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) {
101 vertex[0].alpha = alpha;
107 vertex[0].alpha = src.alpha;
110 static inline void setColor(AlphaVertex* vertex, float alpha) {
111 vertex[0].alpha = alpha;
    [all...]

Completed in 3854 milliseconds

1 2 3 4 5 6 7 8 91011>>