HomeSort by relevance Sort by last modified time
    Searched defs:alpha (Results 201 - 225 of 630) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/ui/gfx/
color_utils.cc 124 SkColor HSLToSkColor(const HSL& hsl, SkAlpha alpha) {
141 return SkColorSetARGB(alpha, light, light, light);
148 return SkColorSetARGB(alpha,
156 int alpha = SkColorGetA(color); local
171 SkColor result = HSLToSkColor(hsl, alpha);
190 return SkColorSetARGB(alpha,
209 SkColor AlphaBlend(SkColor foreground, SkColor background, SkAlpha alpha) {
210 if (alpha == 0)
212 if (alpha == 255)
218 double normalizer = (f_alpha * alpha + b_alpha * (255 - alpha)) / 255.0
    [all...]
skbitmap_operations_unittest.cc 90 // Invert bitmap and verify the each pixel is inverted and the alpha value is
125 // Blend two bitmaps together at 50% alpha and verify that the result
175 // Generate alpha mask
176 SkBitmap alpha; local
177 alpha.setConfig(SkBitmap::kARGB_8888_Config, src_w, src_h);
178 alpha.allocPixels();
181 *alpha.getAddr32(x, y) = SkColorSetARGB((i + 128) % 255,
189 SkBitmap masked = SkBitmapOperations::CreateMaskedBitmap(src, alpha);
192 SkAutoLockPixels alpha_lock(alpha);
196 // Test that the alpha is equal
    [all...]
  /external/clang/test/CodeGenCXX/
mangle-ms.cpp 117 static void __stdcall alpha(float a, double b) throw() {} function
121 alpha(0.f, 0.0);
125 // CHECK: @"\01?alpha@@YGXMN@Z"
126 // X64: @"\01?alpha@@YAXMN@Z"
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
ant.bat 33 if "%USERPROFILE%"=="" goto alpha
34 if "%USERPROFILE%"=="%HOME%" goto alpha
35 if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto alpha
38 :alpha label
  /external/eigen/Eigen/src/Cholesky/
LDLT.h 199 LDLT& rankUpdate(const MatrixBase<Derived>& w,RealScalar alpha=1);
352 RealScalar alpha = 1; local
358 if (!(isfinite)(alpha))
365 RealScalar gamma = dj*alpha + swj2;
367 mat.coeffRef(j,j) += swj2/alpha;
368 alpha += swj2/dj;
  /external/eigen/Eigen/src/Core/
ProductBase.h 111 inline void scaleAndAddTo(Dest& dst,Scalar alpha) const { derived().scaleAndAddTo(dst,alpha); }
257 inline void scaleAndAddTo(Dest& dst,Scalar alpha) const { m_prod.derived().scaleAndAddTo(dst,alpha * m_alpha); }
259 const Scalar& alpha() const { return m_alpha; } function in class:Eigen::ScaledProduct
  /external/eigen/Eigen/src/Core/products/
TriangularMatrixVector.h 30 const RhsScalar* _rhs, Index rhsIncr, ResScalar* _res, Index resIncr, ResScalar alpha)
57 res.segment(s,r) += (alpha * cjRhs.coeff(i)) * cjLhs.col(i).segment(s,r);
59 res.coeffRef(i) += alpha * cjRhs.coeff(i);
69 &res.coeffRef(s), resIncr, alpha);
78 _res, resIncr, alpha);
93 const RhsScalar* _rhs, Index rhsIncr, ResScalar* _res, Index resIncr, ResScalar alpha)
120 res.coeffRef(i) += alpha * (cjLhs.row(i).segment(s,r).cwiseProduct(cjRhs.segment(s,r).transpose())).sum();
122 res.coeffRef(i) += alpha * cjRhs.coeff(i);
132 &res.coeffRef(pi), resIncr, alpha);
141 &res.coeffRef(diagSize), resIncr, alpha);
197 TriangularProductTranspose(m_rhs.transpose(),m_lhs.transpose()), dstT, alpha); local
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/
MTLLoader.java 71 protected float alpha = 1; field in class:MTLLoader
123 alpha = 1;
129 if (alpha < 1f && transparent && !disallowTransparency){
130 diffuse.a = alpha;
137 // TODO: Add handling for alpha map?
154 material.getAdditionalRenderState().setBlendMode(BlendMode.Alpha);
224 alpha = scan.nextFloat();
275 // Works best if diffuse map has an alpha channel
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
TGALoader.java 107 * Add a dummy Alpha channel to 24b RGB image.
187 entry.alpha = (byte)255;
189 entry.alpha = (byte)(int)(getBitsAsByte(cMapData, offset+(3*bitsPerColor), alphaSize) * alphaScalar);
214 byte alpha = 0;
231 // create an alpha channel
232 alpha = getBitsAsByte(data, 0, 1);
233 if (alpha == 1) alpha = (byte)255;
234 rawData[rawDataIndex++] = alpha;
268 alpha = dis.readByte()
510 byte red, green, blue, alpha; field in class:TGALoader.ColorMapEntry
    [all...]
  /external/libpng/contrib/pngminus/
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)
272 /* read header of PGM file with alpha channel *
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_state_fs.h 59 } alpha; member in struct:lp_fragment_shader_variant_key
  /external/mesa3d/src/gallium/state_trackers/wgl/
stw_pixelformat.c 49 unsigned char alpha; member in struct:stw_pf_color_info::__anon25322
55 unsigned char alpha; member in struct:stw_pf_color_info::__anon25323
74 /* no-alpha */
78 /* alpha */
139 assert(util_format_get_component_bits(color->format, UTIL_FORMAT_COLORSPACE_RGB, 3) == color->bits.alpha);
165 pfi->pfd.cColorBits = color->bits.red + color->bits.green + color->bits.blue + color->bits.alpha;
172 pfi->pfd.cAlphaBits = color->bits.alpha;
173 pfi->pfd.cAlphaShift = color->shift.alpha;
  /external/mesa3d/src/mesa/swrast/
s_span.h 148 GLfixed alpha, alphaStep; member in struct:sw_span
s_texcombine.c 160 GLfloat alpha = textureUnit->EnvColor[3]; local
162 ASSIGN_4V(c[i], red, green, blue, alpha);
253 GLfloat alpha = textureUnit->EnvColor[3]; local
255 c[i][ACOMP] = alpha;
441 goto end; /* no alpha processing */
447 /* Alpha channel combine */
531 /* Fix the alpha component for GL_DOT3_RGBA_EXT/ARB combining.
  /external/opencv/cv/src/
cvoptflowhs.cpp 52 float alpha; /* alpha = 1 / ( 1/lambda + xx + yy ) */ member in struct:__anon25775
266 II[address].alpha = 1 / (Ilambda + II[address].xx + II[address].yy);
289 II[address].alpha = 1 / (Ilambda + II[address].xx + II[address].yy);
313 II[address].alpha = 1 / (Ilambda + II[address].xx + II[address].yy);
371 II[address].xy * averageY + II[address].xt) * II[address].alpha;
375 II[address].yy * averageY + II[address].yt) * II[address].alpha;
398 II[address].xy * averageY + II[address].xt) * II[address].alpha;
402 II[address].yy * averageY + II[address].yt) * II[address].alpha;
427 II[address].xy * averageY + II[address].xt) * II[address].alpha;
    [all...]
  /external/opencv/cvaux/src/
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;
  /external/pixman/test/
alphamap.c 151 pixman_image_t *src, *dst, *orig_dst, *alpha, *orig_alpha; local
169 alpha = make_image (saf);
170 pixman_image_set_alpha_map (src, alpha, soff, soff);
171 pixman_image_unref (alpha);
183 alpha = make_image (daf);
185 pixman_image_composite (PIXMAN_OP_SRC, orig_alpha, NULL, alpha,
189 pixman_image_set_alpha_map (dst, alpha, doff, doff);
192 pixman_image_unref (alpha);
228 printf ("\nWrong alpha value at (%d, %d). Should be 0x%x; got 0x%x. Source was 0x%x, original dest was 0x%x\n",
231 printf ("src: %s, alpha: %s, origin %d %d\ndst: %s, alpha: %s, origin: %d %d\n\n"
    [all...]
  /external/qemu/android/
qemulator.c 430 int alpha = emulator->onion_alpha; local
433 alpha += 16;
435 alpha -= 16;
437 if (alpha > 256)
438 alpha = 256;
439 else if (alpha < 0)
440 alpha = 0;
442 emulator->onion_alpha = alpha;
443 skin_window_set_onion( emulator->window, emulator->onion, emulator->onion_rotation, alpha );
445 //dprint( "onion alpha set to %d (%.f %%)", alpha, alpha/2.56 )
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_pixels.c 50 format->alpha = SDL_ALPHA_OPAQUE;
378 * and that opaque alpha is 255.
469 unsigned alpha; local
479 alpha = dst->Amask ? src->alpha : 0;
484 pal->colors[i].b, alpha);
  /external/qemu/distrib/sdl-1.2.15/src/video/photon/
SDL_ph_video.h 68 Uint32 alpha; member in struct:ColourMasks
  /external/qemu/distrib/sdl-1.2.15/test/
testalpha.c 3 Then move an alpha valued sprite around the screen.
62 /* Create a "light" -- a yellowish surface with variable alpha */
76 /* Create a 16 (4/4/4/4) bpp square with a full 4-bit alpha channel */
77 /* Note: this isn't any faster than a 32 bit alpha surface */
84 /* Create a 32 (8/8/8/8) bpp square with a full 8-bit alpha channel */
101 /* Get a tranparent pixel value - we'll add alpha later */
110 /* Calculate alpha values for the surface. */
138 /* We set the alpha component as the right N bits */
143 /* Enable RLE acceleration of this alpha surface */
170 /* Update time spend doing alpha blitting *
250 int alpha; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDrawable.java 33 private int alpha; field in class:ShadowDrawable
176 public void setAlpha(int alpha) {
177 this.alpha = alpha;
186 return alpha;
ShadowImageView.java 22 private int alpha; field in class:ShadowImageView
101 public void setAlpha(int alpha) {
102 this.alpha = alpha;
131 return alpha;
ShadowPaint.java 28 private int alpha; field in class:ShadowPaint
54 return alpha;
58 public void setAlpha(int alpha) {
59 this.alpha = alpha;
  /external/skia/bench/
GradientBench.cpp 235 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque");
256 const int alpha = fHasAlpha ? gray : 0xFF; local
259 SkColorSetARGB(alpha, gray, gray, gray),

Completed in 1179 milliseconds

1 2 3 4 5 6 7 891011>>