/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_program_print.c | 346 inst->RGB.Opcode : inst->Alpha.Opcode, branch_depth); 359 if (inst->Alpha.Src[src].Used) { 363 rc_print_register(f, inst->Alpha.Src[src].File, inst->Alpha.Src[src].Index, 0); 372 if(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 375 inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index)); 421 if (inst->Alpha.Opcode != RC_OPCODE_NOP) { 422 const struct rc_opcode_info * opcode = rc_get_opcode_info(inst->Alpha.Opcode); 427 fprintf(f, " %s%s", opcode->Name, inst->Alpha.Saturate ? "_SAT" : ""); 428 if (inst->Alpha.WriteMask [all...] |
/external/oprofile/libop/ |
op_cpu_type.h | 36 CPU_AXP_EV4, /**< Alpha EV4 family */ 37 CPU_AXP_EV5, /**< Alpha EV5 family */ 38 CPU_AXP_PCA56, /**< Alpha PCA56 family */ 39 CPU_AXP_EV6, /**< Alpha EV6 family */ 40 CPU_AXP_EV67, /**< Alpha EV67 family */
|
/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/ |
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/gm/ |
hairmodes.cpp | 101 for (int alpha = 0; alpha < 4; ++alpha) { 115 gAlphaValue[alpha & 1], 116 gAlphaValue[alpha & 2]);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
PorterDuffXfermode_Delegate.java | 55 public Composite getComposite(int alpha) { 56 return getComposite(getPorterDuffMode(mMode), alpha); 83 public static Composite getComposite(PorterDuff.Mode mode, int alpha) { 84 float falpha = alpha != 0xFF ? (float)alpha / 255.f : 1.f;
|
/external/chromium_org/third_party/libwebp/enc/ |
analysis.c | 95 const int alpha = 255 * (centers[n] - mid) / (max - min); local 97 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); 107 #define ALPHA_SCALE (2 * MAX_ALPHA) // scaling factor for alpha. 109 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha)) 111 static int FinalAlphaValue(int alpha) { 112 alpha = MAX_ALPHA - alpha; 113 return clip(alpha, 0, MAX_ALPHA); 119 int alpha; local 210 const int alpha = mb->alpha_; local 247 int alpha; local 281 int alpha; local 316 int alpha; local [all...] |
/external/webp/src/enc/ |
analysis.c | 95 const int alpha = 255 * (centers[n] - mid) / (max - min); local 97 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); 107 #define ALPHA_SCALE (2 * MAX_ALPHA) // scaling factor for alpha. 109 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha)) 111 static int FinalAlphaValue(int alpha) { 112 alpha = MAX_ALPHA - alpha; 113 return clip(alpha, 0, MAX_ALPHA); 119 int alpha; local 210 const int alpha = mb->alpha_; local 247 int alpha; local 281 int alpha; local 316 int alpha; local [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 23 U8CPU alpha, int /*x*/, int /*y*/) { 24 SkASSERT(255 == alpha); 81 // intentionally don't calculate alpha 161 // intentionally don't calculate alpha 201 U8CPU alpha, int /*x*/, int /*y*/) { 203 U8CPU alpha_for_asm = alpha; 221 "add %[alpha], %[alpha], #1 \n\t" // adjust range of alpha 0-256 223 "add %[alpha], %[alpha], %[alpha], lsr #7 \n\t" // adjust range of alpha 0-25 1104 unsigned alpha = SkAlpha255To256(a); local [all...] |
SkBlitRow_opts_arm.cpp | 32 U8CPU alpha, int /*x*/, int /*y*/) { 33 SkASSERT(255 == alpha); 109 int count, U8CPU alpha) { 111 SkASSERT(255 == alpha); 127 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */ 131 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 256 -> r4=scale */ 139 "lsr r4, r6, #24 \n\t" /* extracting the alpha from source and storing it to r4 */ 143 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 255 -> r4=scale */ 171 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */ 175 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 256 -> r4=scale * [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 23 U8CPU alpha, int /*x*/, int /*y*/) { 24 SkASSERT(255 == alpha); 81 // intentionally don't calculate alpha 161 // intentionally don't calculate alpha 201 U8CPU alpha, int /*x*/, int /*y*/) { 203 U8CPU alpha_for_asm = alpha; 221 "add %[alpha], %[alpha], #1 \n\t" // adjust range of alpha 0-256 223 "add %[alpha], %[alpha], %[alpha], lsr #7 \n\t" // adjust range of alpha 0-25 1104 unsigned alpha = SkAlpha255To256(a); local [all...] |
SkBlitRow_opts_arm.cpp | 32 U8CPU alpha, int /*x*/, int /*y*/) { 33 SkASSERT(255 == alpha); 109 int count, U8CPU alpha) { 111 SkASSERT(255 == alpha); 127 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */ 131 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 256 -> r4=scale */ 139 "lsr r4, r6, #24 \n\t" /* extracting the alpha from source and storing it to r4 */ 143 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 255 -> r4=scale */ 171 "lsr r4, r5, #24 \n\t" /* extracting the alpha from source and storing it to r4 */ 175 "rsb r4, r4, #256 \n\t" /* subtracting the alpha from 256 -> r4=scale * [all...] |
/external/chromium_org/cc/output/ |
shader.cc | 622 "alpha", 649 "alpha", 733 uniform float alpha; local 736 gl_FragColor = texColor * alpha; 747 uniform float alpha; local 757 gl_FragColor = texColor * alpha; 900 uniform float alpha; local 904 vec4(texColor.z, texColor.y, texColor.x, texColor.w) * alpha; 932 "alpha", 952 uniform float alpha; local 999 uniform float alpha; local 1022 uniform float alpha; local 1083 uniform float alpha; local 1137 uniform float alpha; local 1206 uniform float alpha; local 1267 uniform float alpha; local 1338 uniform float alpha; local 1401 uniform float alpha; local 1466 uniform float alpha; local 1590 uniform float alpha; local [all...] |
/external/chromium_org/gpu/command_buffer/tests/ |
compressed_texture_test.cc | 75 GLuint LoadTextureDXT1(bool alpha) { 86 GLenum format = alpha ? 99 data[j++] = kOpaque; // alpha row 0. 100 data[j++] = kOpaque; // alpha row 1. 101 data[j++] = kOpaque; // alpha row 2. 102 data[j++] = kOpaque; // alpha row 3. 118 const uint16 kAlpha7 = 0xFFFF; // Opaque alpha index. 124 data[j++] = kAlpha7; // alpha index. 125 data[j++] = kAlpha7; // alpha index. 126 data[j++] = kAlpha7; // alpha index [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkMaskGamma.h | 84 * A regular mask contains linear alpha values. A gamma correcting mask 85 * contains non-linear alpha values in an attempt to create gamma correct blits 88 * SkMaskGamma creates and maintains tables which convert linear alpha values 89 * to gamma correcting alpha values. 102 * Creates tables to convert linear alpha values to gamma correcting alpha 133 * Provides access to the tables appropriate for converting linear alpha 134 * values into gamma correcting alpha values when drawing the given color 157 * convert a linear alpha value for a given channel to a gamma correcting alpha [all...] |
/external/qemu/distrib/sdl-1.2.15/ |
WhatsNew | 103 and SDL will try to RLE accelerate colorkey and alpha blits in the 138 The Big Alpha Flip: SDL now treats alpha as opacity like everybody 147 Returns a surface converted to a format with alpha-channel 150 an alpha channel.) This is useful for surfaces with alpha. 152 Works as SDL_MapRGB() but takes an additional alpha parameter. 154 Works as SDL_GetRGB() but also returns the alpha value 155 (SDL_ALPHA_OPAQUE for formats without an alpha channel) 162 SDL_MapRGB() returns pixels in which the alpha channel is set opaque [all...] |
/external/skia/src/core/ |
SkMaskGamma.h | 84 * A regular mask contains linear alpha values. A gamma correcting mask 85 * contains non-linear alpha values in an attempt to create gamma correct blits 88 * SkMaskGamma creates and maintains tables which convert linear alpha values 89 * to gamma correcting alpha values. 102 * Creates tables to convert linear alpha values to gamma correcting alpha 133 * Provides access to the tables appropriate for converting linear alpha 134 * values into gamma correcting alpha values when drawing the given color 157 * convert a linear alpha value for a given channel to a gamma correcting alpha [all...] |
/external/eigen/blas/testing/ |
dblat2.f | 24 * 3 NUMBER OF VALUES OF ALPHA 25 * 0.0 1.0 0.7 VALUES OF ALPHA 186 * Values of ALPHA 189 WRITE( NOUT, FMT = 9997 )'ALPHA', NALMAX 371 9989 FORMAT( ' FOR ALPHA ', 7F6.1 ) 422 DOUBLE PRECISION ALPHA, ALS, BETA, BLS, ERR, ERRMAX, TRANSL 534 ALPHA = ALF( IA ) 556 ALS = ALPHA 576 $ TRANS, M, N, ALPHA, LDA, INCX, BETA, 580 CALL DGEMV( TRANS, M, N, ALPHA, AA [all...] |
sblat2.f | 24 * 3 NUMBER OF VALUES OF ALPHA 25 * 0.0 1.0 0.7 VALUES OF ALPHA 186 * Values of ALPHA 189 WRITE( NOUT, FMT = 9997 )'ALPHA', NALMAX 371 9989 FORMAT( ' FOR ALPHA ', 7F6.1 ) 422 REAL ALPHA, ALS, BETA, BLS, ERR, ERRMAX, TRANSL 534 ALPHA = ALF( IA ) 556 ALS = ALPHA 576 $ TRANS, M, N, ALPHA, LDA, INCX, BETA, 580 CALL SGEMV( TRANS, M, N, ALPHA, AA [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
Biquad.cpp | 226 double alpha = 0.25 * (0.5 + beta - gamma); 228 double b0 = 2 * alpha; 229 double b1 = 2 * 2 * alpha; 230 double b2 = 2 * alpha; 262 double alpha = 0.25 * (0.5 + beta + gamma); 264 double b0 = 2 * alpha; 265 double b1 = 2 * -2 * alpha; 266 double b2 = 2 * alpha; 319 double alpha = 0.5 * sin(w0) * sqrt((A + 1 / A) * (1 / S - 1) + 2); 321 double k2 = 2 * sqrt(A) * alpha; [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTest.java | 64 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.alpha); 109 // <alpha xmlns:android="http://schemas.android.com/apk/res/android" 123 // check alpha before start 125 float alpha = transformation.getAlpha(); local 126 assertEquals(0.1f, alpha, ALPHA_DELTA); // issue 1698355 129 // check alpha after the end 132 alpha = transformation.getAlpha(); 133 assertEquals(0.9f, alpha, ALPHA_DELTA); // issue 1698355 144 alpha = transformation.getAlpha(); 145 assertEquals(1.0f, alpha, ALPHA_DELTA) [all...] |
/frameworks/base/libs/hwui/ |
OpenGLRenderer.cpp | 781 int alpha, SkXfermode::Mode mode, int flags) { 786 createLayer(left, top, right, bottom, alpha, mode, flags, previousFbo); 826 bool fboLayer, int alpha) { 832 mSnapshot->invisible = mSnapshot->invisible || (alpha <= ALPHA_THRESHOLD && fboLayer); 837 int alpha, SkXfermode::Mode mode, int flags) { 849 updateSnapshotIgnoreForLayer(bounds, clip, true, alpha); 897 * Drawing layers with an alpha value requires an extra step before composition. 899 * is drawn with the rgba color (0,0,0,alpha). The alpha value offered by the 914 int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) 1092 float alpha = getLayerAlpha(layer); local 1154 float alpha = getLayerAlpha(layer); local 1157 layer->getTexture(), alpha, layer->getMode(), blend, local 1207 const float alpha = getLayerAlpha(layer); local 2064 int alpha; local 2106 int alpha; local 2285 int alpha; local 2346 int alpha; local 2440 int alpha; local 2499 int alpha; local 2840 float alpha = (mDrawModifiers.mHasShadow ? 1.0f : paint->getAlpha()) * mSnapshot->alpha; local 2868 int alpha; local 2943 int alpha; local 3019 int alpha; local 3249 int alpha; local 3417 int alpha; local 3625 float alpha; local [all...] |
OpenGLRenderer.h | 232 int alpha, int flags) { 233 return saveLayer(left, top, right, bottom, alpha, SkXfermode::kSrcOver_Mode, flags); 236 int alpha, SkXfermode::Mode mode, int flags); 239 int alpha, SkXfermode::Mode mode, int flags); 334 // If this value is set to < 1.0, it overrides alpha set on layer (see drawBitmap, drawLayer) 335 void setOverrideLayerAlpha(float alpha) { mDrawModifiers.mOverrideLayerAlpha = alpha; } 369 * Scales the alpha on the current snapshot. This alpha value will be modulated 370 * with other alpha values when drawing primitives [all...] |
/external/chromium_org/ui/gfx/image/ |
image_skia_operations.cc | 110 double alpha) 112 alpha_(alpha) { 161 TransparentImageSource(const ImageSkia& image, double alpha) 163 alpha_(alpha) { 172 SkBitmap alpha; variable 173 alpha.setConfig(SkBitmap::kARGB_8888_Config, 176 alpha.allocPixels(); 177 alpha.eraseColor(SkColorSetARGB(alpha_ * 255, 0, 0, 0)); 179 SkBitmapOperations::CreateMaskedBitmap(image_rep.sk_bitmap(), alpha), 191 MaskedImageSource(const ImageSkia& rgb, const ImageSkia& alpha) [all...] |