/external/skia/src/effects/ |
SkOverdrawColorFilter.cpp | 12 uint8_t alpha = SkGetPackedA32(src[x]); local 13 if (alpha >= kNumColors) { 14 alpha = kNumColors - 1; 17 dst[x] = fColors[alpha]; 136 fragBuilder->codeAppendf("float alpha = 255.0 * %s.a;", args.fInputColor); 137 fragBuilder->codeAppendf("if (alpha < 0.5) {"); 143 fragBuilder->codeAppendf("} else if (alpha < 1.5) {"); 149 fragBuilder->codeAppendf("} else if (alpha < 2.5) {"); 155 fragBuilder->codeAppendf("} else if (alpha < 3.5) {"); 161 fragBuilder->codeAppendf("} else if (alpha < 4.5) {") [all...] |
/frameworks/base/core/java/android/view/animation/ |
Transformation.java | 32 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 36 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 40 * Indicates a transformation that applies a matrix only (alpha = 1.) 44 * Indicates a transformation that applies an alpha and a matrix. 56 * Creates a new transformation with alpha = 1 and the identity matrix. 165 * @param alpha 1.0 means fully opaqe and 0.0 means fully transparent 167 public void setAlpha(@FloatRange(from=0.0, to=1.0) float alpha) { 168 mAlpha = alpha; 232 sb.append("{alpha="); sb.append(mAlpha); 242 pw.print("{alpha="); pw.print(mAlpha) [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
CircularBitmapDrawable.java | 106 float alpha = placeholder.getPaint().getAlpha() / 255f; local 108 onDrawCircularBitmap(bitmap, canvas, mRect, bounds, alpha); 129 * BitmapShader. The alpha parameter is the value from 0f to 1f to attenuate the alpha by. 132 final Rect src, final Rect dst, final float alpha) { 151 mBitmapPaint.setAlpha((int) (oldAlpha * alpha)); 162 public void setAlpha(int alpha) { 163 super.setAlpha(alpha); 166 mBitmapPaint.setAlpha(alpha); 167 if (alpha != old) [all...] |
/external/clang/www/analyzer/ |
alpha_checks.html | 5 <title>Alpha Checks</title> 20 <h1>Alpha Checkers</h1> 27 <li><a href="#core_alpha_checkers">Core Alpha Checkers</a></li> 28 <li><a href="#cplusplus_alpha_checkers">C++ Alpha Checkers</a></li> 29 <li><a href="#deadcode_alpha_checkers">Dead Code Alpha Checkers</a></li> 30 <li><a href="#osx_alpha_checkers">OS X Alpha Checkers</a></li> 31 <li><a href="#security_alpha_checkers">Security Alpha Checkers</a></li> 32 <li><a href="#unix_alpha_checkers">Unix Alpha Checkers</a></li> 35 <!------------------------------ core alpha -----------------------------------> 36 <h3 id="core_alpha_checkers">Core Alpha Checkers</h3 [all...] |
/external/skia/tests/ |
SkPEGTest.cpp | 17 struct Alpha { 109 const auto match = Alpha::Match(gTests[i].fInput); 188 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(""))); 189 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("\t"))); 190 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" "))); 191 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a"))); 192 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3"))); 193 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a "))); 194 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3 "))); 195 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" a "))) [all...] |
/external/webrtc/webrtc/common_audio/signal_processing/ |
levinson_durbin.c | 34 // Prediction gain Alpha in high precision and with scale factor 77 // Alpha = R[0] * (1-K^2) 88 // Calculate Alpha in Q31 92 // Normalize Alpha and put it in hi and low format 124 // K = -temp1W32 / Alpha 126 temp3W32 = WebRtcSpl_DivW32HiLow(temp2W32, Alpha_hi, Alpha_low); // abs(temp1W32)/Alpha 134 // Use the Alpha shifts from earlier to de-normalize 195 // Alpha = Alpha * (1-K^2) 206 // Calculate Alpha = Alpha * (1-K^2) in Q3 [all...] |
/external/libcxx/test/std/re/re.traits/ |
lookup_classname.pass.cpp | 44 assert((std::ctype_base::alpha & std::regex_traits<char>::__regex_word) == 0); 74 test("alpha", std::ctype_base::alpha); 75 test("Alpha", std::ctype_base::alpha); 76 test("alpha", std::ctype_base::alpha, true); 77 test("Alpha", std::ctype_base::alpha, true); 106 test("lower", std::ctype_base::lower | std::ctype_base::alpha, true) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/tr1/ |
poly_laguerre.tcc | 57 * of order @f$ n @f$, degree @f$ \alpha @f$ for large n. 64 * degree @f$ \alpha @f$, and argument x. 112 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n!} 113 * _1F_1(-n; \alpha + 1; x) 115 * where @f$ (\alpha)_n @f$ is the Pochhammer symbol and 151 * of order @f$ n @f$, degree @f$ \alpha @f$: @f$ L_n^\alpha(x) @f$ 156 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n! [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/tr1/ |
poly_laguerre.tcc | 57 * of order @f$ n @f$, degree @f$ \alpha @f$ for large n. 64 * degree @f$ \alpha @f$, and argument x. 112 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n!} 113 * _1F_1(-n; \alpha + 1; x) 115 * where @f$ (\alpha)_n @f$ is the Pochhammer symbol and 151 * of order @f$ n @f$, degree @f$ \alpha @f$: @f$ L_n^\alpha(x) @f$ 156 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n! [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/ |
poly_laguerre.tcc | 57 * of order @f$ n @f$, degree @f$ \alpha @f$ for large n. 64 * degree @f$ \alpha @f$, and argument x. 112 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n!} 113 * _1F_1(-n; \alpha + 1; x) 115 * where @f$ (\alpha)_n @f$ is the Pochhammer symbol and 151 * of order @f$ n @f$, degree @f$ \alpha @f$: @f$ L_n^\alpha(x) @f$ 156 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n! [all...] |
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_surface.h | 116 * \param Amask The alpha mask of the surface to create. 207 * \note If RLE is enabled, colorkey and alpha blending blits are much faster, 273 * \brief Set an additional alpha value used in blit operations. 276 * \param alpha The alpha value multiplied into blit operations. 283 Uint8 alpha); 286 * \brief Get the additional alpha value used in blit operations. 289 * \param alpha A pointer filled in with the current alpha value. 296 Uint8 * alpha); [all...] |
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_surface.h | 116 * \param Amask The alpha mask of the surface to create. 207 * \note If RLE is enabled, colorkey and alpha blending blits are much faster, 273 * \brief Set an additional alpha value used in blit operations. 276 * \param alpha The alpha value multiplied into blit operations. 283 Uint8 alpha); 286 * \brief Get the additional alpha value used in blit operations. 289 * \param alpha A pointer filled in with the current alpha value. 296 Uint8 * alpha); [all...] |
/prebuilts/misc/windows/sdl2/include/ |
SDL_surface.h | 116 * \param Amask The alpha mask of the surface to create. 207 * \note If RLE is enabled, colorkey and alpha blending blits are much faster, 273 * \brief Set an additional alpha value used in blit operations. 276 * \param alpha The alpha value multiplied into blit operations. 283 Uint8 alpha); 286 * \brief Get the additional alpha value used in blit operations. 289 * \param alpha A pointer filled in with the current alpha value. 296 Uint8 * alpha); [all...] |
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_surface.h | 116 * \param Amask The alpha mask of the surface to create. 207 * \note If RLE is enabled, colorkey and alpha blending blits are much faster, 273 * \brief Set an additional alpha value used in blit operations. 276 * \param alpha The alpha value multiplied into blit operations. 283 Uint8 alpha); 286 * \brief Get the additional alpha value used in blit operations. 289 * \param alpha A pointer filled in with the current alpha value. 296 Uint8 * alpha); [all...] |
/prebuilts/ndk/r10/sources/cxx-stl/gnu-libstdc++/4.9/include/tr1/ |
poly_laguerre.tcc | 57 * of order @f$ n @f$, degree @f$ \alpha @f$ for large n. 64 * degree @f$ \alpha @f$, and argument x. 112 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n!} 113 * _1F_1(-n; \alpha + 1; x) 115 * where @f$ (\alpha)_n @f$ is the Pochhammer symbol and 151 * of order @f$ n @f$, degree @f$ \alpha @f$: @f$ L_n^\alpha(x) @f$ 156 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n! [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/gnu-libstdc++/4.9/include/tr1/ |
poly_laguerre.tcc | 57 * of order @f$ n @f$, degree @f$ \alpha @f$ for large n. 64 * degree @f$ \alpha @f$, and argument x. 112 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n!} 113 * _1F_1(-n; \alpha + 1; x) 115 * where @f$ (\alpha)_n @f$ is the Pochhammer symbol and 151 * of order @f$ n @f$, degree @f$ \alpha @f$: @f$ L_n^\alpha(x) @f$ 156 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n! [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/gnu-libstdc++/4.9/include/tr1/ |
poly_laguerre.tcc | 57 * of order @f$ n @f$, degree @f$ \alpha @f$ for large n. 64 * degree @f$ \alpha @f$, and argument x. 112 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n!} 113 * _1F_1(-n; \alpha + 1; x) 115 * where @f$ (\alpha)_n @f$ is the Pochhammer symbol and 151 * of order @f$ n @f$, degree @f$ \alpha @f$: @f$ L_n^\alpha(x) @f$ 156 * L_n^\alpha(x) = \frac{(\alpha + 1)_n}{n! [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/re/re.traits/ |
lookup_classname.pass.cpp | 44 assert((std::ctype_base::alpha & std::regex_traits<char>::__regex_word) == 0); 74 test("alpha", std::ctype_base::alpha); 75 test("Alpha", std::ctype_base::alpha); 76 test("alpha", std::ctype_base::alpha, true); 77 test("Alpha", std::ctype_base::alpha, true); 106 test("lower", std::ctype_base::lower | std::ctype_base::alpha, true) [all...] |
/external/webp/src/enc/ |
analysis_enc.c | 92 const int alpha = 255 * (centers[n] - mid) / (max - min); local 94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127); 104 #define ALPHA_SCALE (2 * MAX_ALPHA) // scaling factor for alpha. 106 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha)) 108 static int FinalAlphaValue(int alpha) { 109 alpha = MAX_ALPHA - alpha; 110 return clip(alpha, 0, MAX_ALPHA); 114 // 'alpha' will later be clipped to [0..MAX_ALPHA] range, clamping oute 119 const int alpha = local 215 const int alpha = mb->alpha_; local 249 int alpha; local 306 int alpha; local 341 int alpha; local 431 int alpha, uv_alpha; member in struct:__anon36780 [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
pvr2d.h | 92 #define PVR2D_ALPHA8 0x06UL // Alpha-only 8 bit per pixel (used with a constant fill colour) 93 #define PVR2D_ALPHA4 0x07UL // Alpha-only 4 bits per pixel (used with a constant fill colour) 160 PVR2D_BLIT_GLOBAL_ALPHA_ENABLE = 0x00000002, /* enable standard global alpha */ 161 PVR2D_BLIT_PERPIXEL_ALPHABLEND_ENABLE = 0x00000004, /* enable per-pixel alpha bleding */ 163 PVR2D_BLIT_FULLY_SPECIFIED_ALPHA_ENABLE = 0x00000010, /* enable fully specified alpha */ 181 PVR2D_BLIT_FORCE_ALPHA_FF = 0x02000000, /* set the alpha channel to 0xFF */ 185 /* standard alpha-blending functions, AlphaBlendingFunc field of PVR2DBLTINFO */ 187 PVR2D_ALPHA_OP_SRC_DSTINV = 1, /* source alpha : Cdst = Csrc*Asrc + Cdst*(1-Asrc) */ 188 PVR2D_ALPHA_OP_SRCP_DSTINV = 2, /* premultiplied source alpha : Cdst = Csrc + Cdst*(1-Asrc) */ 189 PVR2D_ALPHA_OP_GLOBAL = 3, /* global alpha: Cdst = Csrc*Aglob + Cdst*(1-Aglob) * [all...] |
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
PVRTDecompress.cpp | 37 PVRTuint8 red,green,blue,alpha; member in struct:Pixel32 42 PVRTint32 red,green,blue,alpha; member in struct:Pixel128S 72 colour.alpha = (PVRTuint8)0xf;// 0->4 bits 80 colour.alpha = (PVRTuint8)((u32ColourData & 0x7000) >> 11);// 3->4 bits - note 0 at right 102 colour.alpha = (PVRTuint8)0xf;// 0 bits 110 colour.alpha = (PVRTuint8)((u32ColourData & 0x70000000) >> 27);// 3->4 bits - note 0 at right 132 Pixel128S hP = {(PVRTint32)P.red,(PVRTint32)P.green,(PVRTint32)P.blue,(PVRTint32)P.alpha}; 133 Pixel128S hQ = {(PVRTint32)Q.red,(PVRTint32)Q.green,(PVRTint32)Q.blue,(PVRTint32)Q.alpha}; 134 Pixel128S hR = {(PVRTint32)R.red,(PVRTint32)R.green,(PVRTint32)R.blue,(PVRTint32)R.alpha}; 135 Pixel128S hS = {(PVRTint32)S.red,(PVRTint32)S.green,(PVRTint32)S.blue,(PVRTint32)S.alpha}; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
test_unicode.py | 8 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
15 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
22 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
27 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
32 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
37 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
test_unicode.py | 8 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
15 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
22 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
27 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
32 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
37 u = u'\N{GREEK SMALL LETTER ALPHA}\N{GREEK CAPITAL LETTER OMEGA}'
|
/external/cblas/testing/ |
c_dblas3.c | 15 int *k, double *alpha, double *a, int *lda, double *b, int *ldb, 60 cblas_dgemm( CblasRowMajor, transa, transb, *m, *n, *k, *alpha, A, LDA, 70 cblas_dgemm( CblasColMajor, transa, transb, *m, *n, *k, *alpha, a, *lda, 73 cblas_dgemm( UNDEFINED, transa, transb, *m, *n, *k, *alpha, a, *lda, 77 double *alpha, double *a, int *lda, double *b, int *ldb, 113 cblas_dsymm( CblasRowMajor, side, uplo, *m, *n, *alpha, A, LDA, B, LDB, 123 cblas_dsymm( CblasColMajor, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, 126 cblas_dsymm( UNDEFINED, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, 131 double *alpha, double *a, int *lda, 162 cblas_dsyrk(CblasRowMajor, uplo, trans, *n, *k, *alpha, A, LDA, *beta, [all...] |
c_sblas3.c | 13 int *k, float *alpha, float *a, int *lda, float *b, int *ldb, 57 cblas_sgemm( CblasRowMajor, transa, transb, *m, *n, *k, *alpha, A, LDA, 67 cblas_sgemm( CblasColMajor, transa, transb, *m, *n, *k, *alpha, a, *lda, 70 cblas_sgemm( UNDEFINED, transa, transb, *m, *n, *k, *alpha, a, *lda, 74 float *alpha, float *a, int *lda, float *b, int *ldb, 110 cblas_ssymm( CblasRowMajor, side, uplo, *m, *n, *alpha, A, LDA, B, LDB, 120 cblas_ssymm( CblasColMajor, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, 123 cblas_ssymm( UNDEFINED, side, uplo, *m, *n, *alpha, a, *lda, b, *ldb, 128 float *alpha, float *a, int *lda, 159 cblas_ssyrk(CblasRowMajor, uplo, trans, *n, *k, *alpha, A, LDA, *beta, [all...] |