/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorTest.java | 24 assertEquals(0xff, Color.alpha(Color.RED)); 25 assertEquals(0xff, Color.alpha(Color.YELLOW));
|
/development/samples/devbytes/ui/ListViewDeletion/src/com/example/android/listviewdeletion/ |
ListViewDeletion.java | 97 view.animate().alpha(0).withEndAction(new Runnable() { 124 checkedView.animate().alpha(0).withEndAction(new Runnable() {
|
/external/chromium_org/ash/frame/caption_buttons/ |
frame_caption_button.cc | 168 int alpha) { 170 paint.setAlpha(alpha);
|
/external/chromium_org/chrome/browser/ui/sync/ |
profile_signin_confirmation_helper.cc | 184 SkColor GetSigninConfirmationPromptBarColor(SkAlpha alpha) { 188 return color_utils::BlendTowardOppositeLuminance(kBackgroundColor, alpha);
|
/external/chromium_org/ppapi/api/ |
ppb_compositor_layer.idl | 16 * alpha_src, color_src: source alpha and color. 17 * alpha_dst, color_dst: destination alpha and color (before compositing). 30 * Resulting alpha = alpha_src + alpha_dst - alpha_src * alpha_dst 71 * param[in] alpha A <code>float</code> for the alpha color component. It will 82 [in] float_t alpha, 211 * Sets the premultiplied alpha for an texture layer. 216 * pre-multiplied alpha is used.
|
/external/chromium_org/ppapi/thunk/ |
ppb_compositor_layer_thunk.cc | 30 float alpha, 36 return enter.object()->SetColor(red, green, blue, alpha, size);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8DeviceMotionEventCustom.cpp | 77 v8::Local<v8::Value> alphaValue = object->Get(v8AtomicString(isolate, "alpha")); 81 double alpha = alphaValue->NumberValue(); local 98 return DeviceMotionData::RotationRate::create(canProvideAlpha, alpha, canProvideBeta, beta, canProvideGamma, gamma);
|
/external/chromium_org/third_party/skia/gm/ |
vertices.cpp | 33 VerticesGM(unsigned alpha) : fShader(NULL), fAlpha(alpha) {
|
/external/chromium_org/third_party/skia/src/opts/ |
SkColor_opts_neon.h | 14 static inline uint16x8_t SkAlpha255To256_neon8(uint8x8_t alpha) { 15 return vaddw_u8(vdupq_n_u16(1), alpha);
|
/external/clang/test/CodeGenCXX/ |
mangle-ms.cpp | 122 static void __stdcall alpha(float a, double b) throw() {} function 126 alpha(0.f, 0.0); 130 // CHECK-DAG: @"\01?alpha@@YGXMN@Z" 131 // X64-DAG: @"\01?alpha@@YAXMN@Z"
|
/external/eigen/Eigen/src/Core/products/ |
GeneralMatrixMatrix.h | 32 ResScalar alpha, 41 ::run(cols,rows,depth,rhs,rhsStride,lhs,lhsStride,res,resStride,alpha,blocking,info); 59 ResScalar alpha, 125 gebp(res+info[j].rhs_start*resStride, resStride, blockA, blockB+info[j].rhs_start*actual_kc, mc, actual_kc, info[j].rhs_length, alpha, -1,-1,0,0, w); 137 gebp(res+i, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha, -1,-1,0,0, w); 185 gebp(res+i2, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha, -1, -1, 0, 0, blockW); 397 template<typename Dest> void scaleAndAddTo(Dest& dst, const Scalar& alpha) const 404 Scalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(m_lhs)
|
/external/eigen/lapack/ |
clarfg.f | 21 * SUBROUTINE CLARFG( N, ALPHA, X, INCX, TAU ) 25 * COMPLEX ALPHA, TAU 40 *> H**H * ( alpha ) = ( beta ), H**H * H = I. 43 *> where alpha and beta are scalars, with beta real, and x is an 52 *> If the elements of x are all zero and alpha is real, then tau = 0 67 *> \param[in,out] ALPHA 69 *> ALPHA is COMPLEX 70 *> On entry, the value alpha. 107 SUBROUTINE CLARFG( N, ALPHA, X, INCX, TAU ) 116 COMPLEX ALPHA, TA [all...] |
zlarfg.f | 21 * SUBROUTINE ZLARFG( N, ALPHA, X, INCX, TAU ) 25 * COMPLEX*16 ALPHA, TAU 40 *> H**H * ( alpha ) = ( beta ), H**H * H = I. 43 *> where alpha and beta are scalars, with beta real, and x is an 52 *> If the elements of x are all zero and alpha is real, then tau = 0 67 *> \param[in,out] ALPHA 69 *> ALPHA is COMPLEX*16 70 *> On entry, the value alpha. 107 SUBROUTINE ZLARFG( N, ALPHA, X, INCX, TAU ) 116 COMPLEX*16 ALPHA, TA [all...] |
/external/libpng/contrib/libtests/ |
pngstest.c | 169 unpremultiply(int component, int alpha) 171 if (alpha <= component) 174 else if (alpha >= 65535) 178 return sRGB((double)component / alpha); 189 ilineara(int fixed_srgb, int alpha) 191 return u16d((257 * alpha) * sRGB_to_d[fixed_srgb]); 202 ilineara_g22(int fixed_srgb, int alpha) 204 return u16d((257 * alpha) * g22_to_d[fixed_srgb]); 353 "sRGB-gray+alpha", 355 "sRGB-rgb+alpha", 3687 unsigned int alpha; local 3718 unsigned int alpha; local 3746 unsigned int alpha; local [all...] |
/external/pdfium/core/src/fpdfapi/fpdf_edit/ |
fpdf_edit_image.cpp | 287 FX_FLOAT alpha = src_buf[src_offset + 3] / 255.0f;
local 288 dst_buf[src_offset] = (FX_BYTE)(src_buf[src_offset] * alpha);
289 dst_buf[src_offset + 1] = (FX_BYTE)(src_buf[src_offset + 1] * alpha);
290 dst_buf[src_offset + 2] = (FX_BYTE)(src_buf[src_offset + 2] * alpha);
335 FX_FLOAT alpha = bUseMatte ? src_buf[src_offset + 3] / 255.0f : 1;
local 336 pDest[dest_offset] = (FX_BYTE)(src_buf[src_offset + 2] * alpha);
337 pDest[dest_offset + 1] = (FX_BYTE)(src_buf[src_offset + 1] * alpha);
338 pDest[dest_offset + 2] = (FX_BYTE)(src_buf[src_offset] * alpha);
|
/external/pdfium/fpdfsdk/include/ |
fpdfview.h | 437 // alpha - A flag indicating whether alpha channel is used. Non-zero for using alpha, zero for not using.
442 // Each pixel contains red (R), green (G), blue (B) and optionally alpha (A) values.
443 // The byte order is BGRx (the last byte unused if no alpha channel) or BGRA.
453 DLLEXPORT FPDF_BITMAP STDCALL FPDFBitmap_Create(int width, int height, int alpha);
459 #define FPDFBitmap_BGRA 4 // 4 bytes per pixel, byte order: blue, green, red, alpha.
493 // alpha - (Only if the alpha channeled is used when bitmap created) A number from 0 to 255,
494 // identifying the alpha value. [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/gem/ |
SDL_gemvideo.h | 64 Uint32 red, green, blue, alpha; /* Screen components */ member in struct:SDL_PrivateVideoData 113 #define VDI_alphamask (this->hidden->alpha)
|
/external/skia/gm/ |
vertices.cpp | 33 VerticesGM(unsigned alpha) : fShader(NULL), fAlpha(alpha) {
|
/external/skia/src/opts/ |
SkColor_opts_neon.h | 14 static inline uint16x8_t SkAlpha255To256_neon8(uint8x8_t alpha) { 15 return vaddw_u8(vdupq_n_u16(1), alpha);
|
/frameworks/base/core/java/com/android/internal/widget/ |
DrawableHolder.java | 174 public void setAlpha(float alpha) { 175 mAlpha = alpha;
|
/frameworks/base/libs/input/ |
PointerController.h | 114 float alpha; member in struct:android::PointerController::Spot 119 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardClockPositionAlgorithm.java | 173 float alpha = (scale - fadeEnd) local 175 return Math.max(0, Math.min(1, alpha)); 199 * The alpha value of the clock.
|
/frameworks/native/opengl/tests/hwc/ |
hwcTestLib.h | 119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha); 125 float alpha);
|
/frameworks/native/services/sensorservice/ |
SensorFusion.cpp | 70 const float alpha = 1 / (1 + dT); // 1s time-constant local 71 mEstimatedGyroRate = freq + (mEstimatedGyroRate - freq)*alpha;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
BackgroundManager.java | 160 public void setAlpha(int alpha) { 161 if (mState.mPaint.getAlpha() != alpha) { 162 mState.mPaint.setAlpha(alpha); 201 public void setAlpha(int alpha) { 202 mAlpha = alpha; 203 mDrawable.setAlpha(alpha); 217 public void fade(int durationMs, int delayMs, int alpha) { 221 mAnimator = ValueAnimator.ofInt(getAlpha(), alpha);
|