/external/skia/src/core/ |
H A D | SkBitmapShader16BilerpTemplate.h | 25 U8CPU alpha = this->getPaintAlpha(); local 73 *dstC++ = expanded_rgb16_to_8888(c, alpha); 123 *dstC++ = expanded_rgb16_to_8888(c, alpha);
|
H A D | SkBlitRow_D16.cpp | 16 U8CPU alpha, int /*x*/, int /*y*/) { 17 SkASSERT(255 == alpha); 30 U8CPU alpha, int /*x*/, int /*y*/) { 31 SkASSERT(255 > alpha); 34 int scale = SkAlpha255To256(alpha); 49 U8CPU alpha, int /*x*/, int /*y*/) { 50 SkASSERT(255 == alpha); 67 U8CPU alpha, int /*x*/, int /*y*/) { 68 SkASSERT(255 > alpha); 76 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); 14 S32_D565_Opaque(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 28 S32_D565_Blend(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 47 S32A_D565_Opaque(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 65 S32A_D565_Blend(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int , int ) argument 89 S32_D565_Opaque_Dither(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument 107 S32_D565_Blend_Dither(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument 136 S32A_D565_Opaque_Dither(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument 170 S32A_D565_Blend_Dither(uint16_t* SK_RESTRICT dst, const SkPMColor* SK_RESTRICT src, int count, U8CPU alpha, int x, int y) argument [all...] |
/external/skia/src/effects/ |
H A D | SkEmbossMask.cpp | 95 uint8_t* alpha = mask->fImage; local 96 uint8_t* multiply = (uint8_t*)alpha + planeSize; 108 if (alpha[x]) { 109 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; 110 int ny = alpha[x + next_row] - alpha[x - prev_row]; 155 // ((uint8_t*)alpha)[x] = alpha[x] * multiply[x] >> 8; 158 alpha [all...] |
/external/v8/test/mjsunit/ |
H A D | string-charat.js | 84 var alpha = ['@']; variable 87 alpha[i] = c.charAt(0); 89 var alphaStr = alpha.join(""); 93 assertEquals(alpha[i], alphaStr.charAt(i));
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
H A D | V8DeviceMotionEventCustom.cpp | 54 object->Set(v8::String::New("alpha"), rotationRate->canProvideAlpha() ? v8::Number::New(rotationRate->alpha()) : v8::Null()); 100 v8::Local<v8::Value> alphaValue = object->Get(v8::String::New("alpha")); 104 double alpha = alphaValue->NumberValue(); local 121 return DeviceMotionData::RotationRate::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
|
/external/webkit/Source/WebCore/dom/ |
H A D | DeviceMotionData.h | 63 static PassRefPtr<RotationRate> create(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma); 69 double alpha() const { return m_alpha; } function in class:WebCore::DeviceMotionData::RotationRate 74 RotationRate(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma);
|
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | Color.cpp | 99 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)); 210 if (!alpha()) 213 append(result, String::format("%.5f", alpha() / 255.0f)); 221 if (alpha() < 0xFF) 222 return String::format("#%02X%02X%02X%02X", red(), green(), blue(), alpha()); 263 // Lightened black with alpha. 264 return Color(0x54, 0x54, 0x54, alpha()); 271 alpha()); [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | CairoUtilities.cpp | 61 float red, green, blue, alpha; local 62 color.getRGBA(red, green, blue, alpha); 63 cairo_set_source_rgba(context, red, green, blue, alpha);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
H A D | ShaderChromium.cpp | 162 m_alphaLocation = context->getUniformLocation(program, "alpha"); 173 uniform float alpha; local 177 gl_FragColor = vec4(texColor.x, texColor.y, texColor.z, texColor.w) * alpha; 188 uniform float alpha; local 192 gl_FragColor = texColor * alpha; 203 uniform float alpha; local 207 gl_FragColor = vec4(texColor.z, texColor.y, texColor.x, texColor.w) * alpha; 223 m_alphaLocation = context->getUniformLocation(program, "alpha"); 235 uniform float alpha; local 240 gl_FragColor = vec4(texColor.x, texColor.y, texColor.z, texColor.w) * alpha * maskColo 278 uniform float alpha; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
H A D | CCHeadsUpDisplay.cpp | 158 const float alpha = 0.1; local 163 m_filteredFrameTime = ((1.0 - alpha) * m_filteredFrameTime) + (alpha * secForLastFrame);
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
H A D | FEColorMatrix.cpp | 76 inline void matrix(double& red, double& green, double& blue, double& alpha, const Vector<float>& values) argument 78 double r = values[0] * red + values[1] * green + values[2] * blue + values[3] * alpha + values[4] * 255; 79 double g = values[5] * red + values[6] * green + values[7] * blue + values[8] * alpha + values[9] * 255; 80 double b = values[10] * red + values[11] * green + values[12] * blue + values[13] * alpha + values[14] * 255; 81 double a = values[15] * red + values[16] * green + values[17] * blue + values[18] * alpha + values[19] * 255; 86 alpha = a; 119 inline void luminance(double& red, double& green, double& blue, double& alpha) argument 121 alpha = 0.2125 * red + 0.7154 * green + 0.0721 * blue; 135 double alpha = pixelArray->get(pixelByteOffset + 3); local 139 matrix(red, green, blue, alpha, value [all...] |
/external/webkit/Source/WebKit/android/ |
H A D | RenderSkinMediaButton.cpp | 118 int alpha = 255; local 120 alpha = 190; 122 SkColor backgroundColor = SkColorSetARGB(alpha, 34, 34, 34);
|
/external/webkit/Source/WebKit/android/jni/ |
H A D | DeviceMotionAndOrientationManager.cpp | 141 static void setMockOrientation(JNIEnv* env, jobject, jobject webViewCoreObject, bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) argument 143 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma); 147 static void onOrientationChange(JNIEnv* env, jobject, jobject webViewCoreObject, bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma) argument 149 RefPtr<DeviceOrientation> orientation = DeviceOrientation::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
|
/external/webkit/Source/WebKit/chromium/public/ |
H A D | WebGraphicsContext3D.h | 82 : alpha(true) 91 bool alpha; member in struct:WebKit::WebGraphicsContext3D::Attributes 187 virtual void blendColor(WGC3Dclampf red, WGC3Dclampf green, WGC3Dclampf blue, WGC3Dclampf alpha) = 0; 198 virtual void clearColor(WGC3Dclampf red, WGC3Dclampf green, WGC3Dclampf blue, WGC3Dclampf alpha) = 0; 201 virtual void colorMask(WGC3Dboolean red, WGC3Dboolean green, WGC3Dboolean blue, WGC3Dboolean alpha) = 0;
|
/external/webp/src/dsp/ |
H A D | upsampling.c | 255 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); local 258 const uint32_t a = alpha[4 * i];
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | Tnaf.java | 23 * <code>α<sub>u</sub></code>'s must be computed differently, see 36 * The <code>α<sub>u</sub></code>'s for <code>a=0</code> as an array 48 * The <code>α<sub>u</sub></code>'s for <code>a=0</code> as an array 56 * The <code>α<sub>u</sub></code>'s for <code>a=1</code> as an array 67 * The <code>α<sub>u</sub></code>'s for <code>a=1</code> as an array 719 * @param alpha The <code>α<sub>u</sub></code>'s for the window width. 724 byte width, BigInteger pow2w, BigInteger tw, ZTauElement[] alpha) 783 r0 = r0.subtract(alpha[uLocal].u); 784 r1 = r1.subtract(alpha[uLoca 723 tauAdicWNaf(byte mu, ZTauElement lambda, byte width, BigInteger pow2w, BigInteger tw, ZTauElement[] alpha) argument [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | nine_box.cc | 17 void DrawPixbuf(cairo_t* cr, GdkPixbuf* src, int x, int y, double alpha) { argument 19 cairo_paint_with_alpha(cr, alpha); 24 int x, int y, int width, int height, double alpha) { 25 if (alpha == 1.0) { 32 // a secondary surface and tile into that, then paint it with |alpha|. 42 cairo_paint_with_alpha(cr, alpha); 23 TileImage(cairo_t* cr, GdkPixbuf* src, int x, int y, int width, int height, double alpha) argument
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
H A D | touch_tab.cc | 97 TouchTabImage* alpha = &tab_alpha; local 98 int image_height = alpha->image_l->height(); 144 TouchTabImage* alpha = &tab_alpha; local 147 int image_height = alpha->image_l->height(); 152 SkBitmapOperations::CreateMaskedBitmap(tab_l, *alpha->image_l); 160 SkBitmapOperations::CreateMaskedBitmap(tab_r, *alpha->image_r);
|
/external/clang/test/CodeGenCXX/ |
H A D | mangle-ms.cpp | 104 static void __stdcall alpha(float a, double b) throw() {} function 107 alpha(0.f, 0.0); 111 // CHECK: @"\01?alpha@@YGXMN@Z"
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
H A D | ant.bat | 33 if "%USERPROFILE%"=="" goto alpha 34 if "%USERPROFILE%"=="%HOME%" goto alpha 35 if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto alpha 38 :alpha label
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
H A D | TexturePixel.java | 19 public float intensity, red, green, blue, alpha;
field in class:TexturePixel 32 this.alpha = pixel.alpha;
45 this.alpha = colorRGBA.a;
52 * the alpha value
61 this.alpha = a;
75 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
101 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
118 this.alpha = pixelValue >= 0 ? pixelValue / 255.0f : 1.0f - (~pixelValue) / 255.0f;
128 this.alpha [all...] |
/external/libpng/contrib/pngminus/ |
H A D | pnm2png.c | 52 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha); 67 BOOL alpha = FALSE; local 80 alpha = TRUE; 85 fprintf (stderr, "Error: alpha-channel file %s does not exist\n", 143 if (pnm2png (fp_rd, fp_wr, fp_al, interlace, alpha) == FALSE) 154 /* close alpha file */ 155 if (alpha) 178 fprintf (stderr, " -a[lpha] <file>.pgm read PNG alpha channel as pgm-file\n"); 186 BOOL pnm2png (FILE *pnm_file, FILE *png_file, FILE *alpha_file, BOOL interlace, BOOL alpha) argument 272 /* read header of PGM file with alpha channe [all...] |
/external/opencv/cv/src/ |
H A D | cvaccum.cpp | 120 CvSize size, dsttype alpha ), (src, srcstep, dst, dststep, size, alpha) )\ 122 dsttype beta = (dsttype)(1 - alpha); \ 131 dsttype t0 = dst[x]*beta + cvtmacro(src[x])*alpha; \ 132 dsttype t1 = dst[x+1]*beta + cvtmacro(src[x+1])*alpha; \ 135 t0 = dst[x + 2]*beta + cvtmacro(src[x + 2])*alpha; \ 136 t1 = dst[x + 3]*beta + cvtmacro(src[x + 3])*alpha; \ 141 dst[x] = dst[x]*beta + cvtmacro(src[x])*alpha; \ 225 dsttype *dst, int dststep, CvSize size, dsttype alpha ), \ 226 (src, srcstep, mask, maskstep, dst, dststep, size, alpha )) \ 690 cvRunningAvg( const void* arrY, void* arrU, double alpha, const void* maskarr ) argument [all...] |
/external/opencv/cvaux/src/ |
H A D | cvbgfg_gaussmix.cpp | 495 double alpha; local 514 alpha = 1.0 - (1.0/bg_model_params->win_size); 517 g_point->g_values[k].weight *= alpha; 519 g_point->g_values[k].weight += alpha;
|
H A D | cvmorphing.cpp | 50 float alpha, /* relative position of camera */ 59 float alpha1; /* alpha - 1.0 */ 60 int s, s1; /* integer variant of alpha and alpha1 ( 0 <= s,s1 <= 256 ) */ 78 alpha1 = (float) (1.0 - alpha); 80 s = (int) (alpha * 256); 100 begDestLine = (int) (alpha * begLine + alpha1 * begCorr); 101 endDestLine = (int) (alpha * endLine + alpha1 * endCorr); 189 begDestLine = (int) (alpha1 * begLine + alpha * begCorr); 190 endDestLine = (int) (alpha1 * endLine + alpha * endCorr); 287 float alpha, /* relativ 46 icvMorphEpilines8uC3( uchar * first_pix, uchar * second_pix, uchar * dst_pix, float alpha, int *first, int first_runs, int *second, int second_runs, int *first_corr, int *second_corr, int dst_len ) argument 279 icvMorphEpilines8uC3Multi( int lines, uchar * first_pix, int *first_num, uchar * second_pix, int *second_num, uchar * dst_pix, int *dst_num, float alpha, int *first, int *first_runs, int *second, int *second_runs, int *first_corr, int *second_corr ) argument 360 cvMorphEpilinesMulti( int lines, uchar * first_pix, int *first_num, uchar * second_pix, int *second_num, uchar * dst_pix, int *dst_num, float alpha, int *first, int *first_runs, int *second, int *second_runs, int *first_corr, int *second_corr ) argument [all...] |