/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaInformationRecords.java | 133 public String alpha; field in class:CdmaInformationRecords.CdmaDisplayInfoRec 135 public CdmaDisplayInfoRec(int id, String alpha) { argument 137 this.alpha = alpha; 144 ", alpha: " + alpha +
|
/frameworks/native/services/surfaceflinger/ |
H A D | LayerBase.cpp | 79 mCurrentState.alpha = 0xFF; 138 bool LayerBase::setAlpha(uint8_t alpha) { argument 139 if (mCurrentState.alpha == alpha) 142 mCurrentState.alpha = alpha; 335 return !(s.flags & layer_state_t::eLayerHidden) && s.alpha; 349 GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) const 352 glColor4f(red,green,blue,alpha); 376 if (CC_UNLIKELY(s.alpha < 377 const GLfloat alpha = s.alpha * (1.0f/255.0f); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.h | 152 int alpha, int flags); 186 float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode); 220 * Sets the alpha on the current snapshot. This alpha value will be modulated 221 * with other alpha values when drawing primitives. 223 void setAlpha(float alpha) { argument 224 mSnapshot->alpha = alpha; 240 * Gets the alpha and xfermode out of a paint object. If the paint is null 241 * alpha wil 248 getAlphaAndModeDirect(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) argument [all...] |
H A D | OpenGLRenderer.cpp | 605 int alpha = 255; local 609 alpha = p->getAlpha(); 615 createLayer(left, top, right, bottom, alpha, mode, flags, previousFbo); 622 int alpha, int flags) { 623 if (alpha >= 255) { 627 paint.setAlpha(alpha); 667 * Drawing layers with an alpha value requires an extra step before composition. 669 * is drawn with the rgba color (0,0,0,alpha). The alpha value offered by the 684 int alpha, SkXfermod 621 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int flags) argument 683 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument 899 float alpha = layer->getAlpha() / 255.0f; local 993 const float alpha = layer->getAlpha() / 255.0f; local 1341 setupDrawColor(int color, int alpha) argument 1353 setupDrawAlpha8Color(int color, int alpha) argument 1618 int alpha; local 1788 int alpha; local 1827 int alpha; local 1863 int alpha; local 1871 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument 2026 int alpha; local 2280 int alpha; local 2499 drawTextShadow(SkPaint* paint, const char* text, int bytesCount, int count, const float* positions, FontRenderer& fontRenderer, int alpha, SkXfermode::Mode mode, float x, float y) argument 2561 int alpha; local 2653 int alpha; local 2728 int alpha; local 2951 int alpha; local 3054 int alpha; local 3076 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument 3082 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument 3173 getAlphaAndMode(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) argument [all...] |
H A D | SkiaColorFilter.cpp | 78 // A lighting filter always ignores alpha 97 const int alpha = (color >> 24) & 0xFF; local 98 mA = alpha / 255.0f;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardGlowStripView.java | 95 float alpha = Math.max(0, 1 - distance / (SLIDING_WINDOW_SIZE / 2)); 97 alpha = mDotAlphaInterpolator.getInterpolation(alpha); 101 mDotDrawable.setAlpha((int) (alpha * 255));
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
H A D | LayoutTestController.java | 80 public void setMockDeviceOrientation(boolean canProvideAlpha, double alpha, argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | g_adapt.cpp | 354 alpha -- Pointer to Word16 -- gain adaptation factor, Q15 369 Purpose: calculate pitch/codebook gain adaptation factor alpha 413 Word16 *alpha, /* o : gain adaptation factor, Q15 */ 418 Word16 result; /* alpha factor, Q13 */ 509 *alpha = result; 409 gain_adapt( GainAdaptState *st, Word16 ltpg, Word16 gain_cod, Word16 *alpha, Flag *pOverflow ) argument
|
H A D | qgain795.cpp | 403 alpha -- Word16 -- gain adaptor factor (>0), Q15 483 Word16 alpha, /* i : gain adaptor factor (>0), Q15 */ 521 underlined = constant; alp = FLP value of alpha, alpha = FIP 558 /* 0 < alpha <= 0.5 => 0.5 <= 1-alpha < 1, i.e one_alpha is normalized */ 559 one_alpha = add(sub(32767, alpha, pOverflow), 1, pOverflow); /* 32768 - alpha */ 562 /* alpha <= 0.5 -> mult. by 2 to keep precision; compensate in exponent */ 563 L_t1 = L_mult(alpha, frac_e 475 MR795_gain_code_quant_mod( Word16 gain_pit, Word16 exp_gcode0, Word16 gcode0, Word16 frac_en[], Word16 exp_en[], Word16 alpha, Word16 gain_cod_unq, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument 837 Word16 ltpg, alpha, gcode0; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_DeblockingLuma_unsafe_s.s | 29 alpha RN 6 label 120 ;// Since beta <= 18 and alpha <= 255 we know 219 ;// - 1 - ap0q0, 6 - alpha 228 ;// apflg = apflg && |p0-q0|<((alpha>>2)+2) 229 ;// apflg = aqflg && |p0-q0|<((alpha>>2)+2) 235 UHADD8 alpha, alpha, m00 237 UHADD8 alpha, alpha, m00 238 ADD alpha, alph [all...] |
H A D | omxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s | 43 alpha RN 6 label 194 USUB8 a, ap0q0, alpha 255 M_LDRD alpha, beta, pAlphaBeta0 271 M_LDRD alpha, beta, pAlphaBeta0 304 M_LDRD alpha, beta, pAlphaBeta0 316 M_LDRD alpha, beta, pAlphaBeta1 319 M_STRD alpha, beta, pAlphaBeta0
|
H A D | omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s | 38 alpha RN 6 label 168 USUB8 a, ap0q0, alpha 229 M_LDRD alpha, beta, pAlphaBeta0 242 ;// Since beta <= 18 and alpha <= 255 we know 308 M_LDRD alpha, beta, pAlphaBeta0 321 M_LDRD alpha, beta, pAlphaBeta1 324 M_STRD alpha, beta, pAlphaBeta0
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Transformation.java | 30 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 34 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 38 * Indicates a transformation that applies a matrix only (alpha = 1.) 42 * Indicates a transformation that applies an alpha and a matrix. 51 * Creates a new transformation with alpha = 1 and the identity matrix. 134 * @param alpha 1.0 means fully opaqe and 0.0 means fully transparent 136 public void setAlpha(float alpha) { argument 137 mAlpha = alpha; 168 sb.append("{alpha="); sb.append(mAlpha); 178 pw.print("{alpha [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 198 private static int modulateAlpha(int paintAlpha, int alpha) { argument 199 int scale = alpha + (alpha >>> 7); // convert to 0..256 241 * Set the alpha level for this drawable [0..255]. Note that this drawable 242 * also has a color in its paint, which has an alpha as well. These two 244 * alpha is 75% (i.e. 192) and the drawable's alpha is 50% (i.e. 128), then 245 * the combined alpha that will be used during drawing will be 37.5% 248 @Override public void setAlpha(int alpha) { argument 249 mShapeState.mAlpha = alpha; [all...] |
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 56 alpha(0), flags(0), mask(0), 81 float alpha; member in struct:android::layer_state_t
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20DisplayList.java | 156 public void setAlpha(float alpha) { argument 158 nSetAlpha(mFinalizer.mNativeDisplayList, alpha); 219 public void setTransformationInfo(float alpha, float translationX, float translationY, argument 222 nSetTransformationInfo(mFinalizer.mNativeDisplayList, alpha, translationX, translationY, 319 private static native void nSetAlpha(int displayList, float alpha); argument 329 private static native void nSetTransformationInfo(int displayList, float alpha, argument
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | TargetDrawable.java | 55 public void setAlpha(float alpha) { argument 56 mAlpha = alpha; 66 public void setAlpha(int alpha) { argument 67 mRealDrawable.setAlpha(alpha); 192 public void setAlpha(float alpha) { argument 193 mAlpha = alpha;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 26 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 28 * stored solely in the alpha component, and not in the color components. The 29 * components are stored as follows (alpha << 24) | (red << 16) | 51 * Return the alpha component of a color int. This is the same as saying 54 public static int alpha(int color) { method in class:Color 84 * The alpha component is implicity 255 (fully opaque). 97 * Return a color-int from alpha, red, green, blue components. 101 * @param alpha Alpha component [0..255] of the color 106 public static int argb(int alpha, int red, int green, int blue) { argument 107 return (alpha << 2 359 HSVToColor(int alpha, float hsv[]) argument 367 nativeHSVToColor(int alpha, float hsv[]) argument [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
H A D | BitmapTest.java | 169 private static int computePrePostMul(int alpha, int comp) { argument 170 if (alpha == 0) { 173 int premul = Math.round(alpha * comp / 255.f); 174 int unpre = Math.round(255.0f * premul / alpha); 194 // now check that we did a good job returning the unpremultiplied alpha 207 int a0 = Color.alpha(c0); 208 int a1 = Color.alpha(c1); 209 assertEquals("alpha", a0, a1);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 76 /* array of alpha values, from the standard */ 128 u32 alpha; member in struct:__anon808 210 u8 (*alpha)[2], 218 u8 (*alpha)[2], 678 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) && 716 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) && 721 ((unsigned)ABS(p0-q0) < ((thresholds->alpha >> 2) +2)) ? 786 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) && 858 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) && 897 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) 1781 u8 alpha[2][2]; local 2174 GetLumaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[16], u8 (*bs)[16], u32 filteringFlags ) argument 2304 GetChromaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[8], u8 (*bs)[16], u32 filteringFlags, i32 chromaQpIndexOffset) argument [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 180 float alpha = (float) i / NUM_STEPS; 181 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), 182 lerp(y1, y2, alpha), 1.0f); 231 private static final float lerp(float a, float b, float alpha) { argument 232 return (b - a) * alpha + a;
|
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 217 public void setAlpha(int alpha) { argument 219 mVerticalTrack.setAlpha(alpha); 221 mVerticalThumb.setAlpha(alpha); 223 mHorizontalTrack.setAlpha(alpha); 225 mHorizontalThumb.setAlpha(alpha);
|
/frameworks/base/services/input/ |
H A D | SpriteController.h | 120 /* Sets the sprite alpha blend ratio between 0.0 and 1.0. */ 121 virtual void setAlpha(float alpha) = 0; 180 positionX(0), positionY(0), layer(0), alpha(1.0f), 191 float alpha; member in struct:android::SpriteController::SpriteState 201 return visible && alpha > 0.0f && icon.isValid(); 223 virtual void setAlpha(float alpha);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | FisheyeFilter.java | 62 "uniform float alpha;\n" + 70 " float radian = m_pi_2 - atan(alpha * sqrt(radius2 - dist * dist), dist);\n" + 159 float alpha = mScale * 2.0f + 0.75f; 165 (float) Math.atan(alpha / bound * (float) Math.sqrt(radius2 - bound2)); 171 mProgram.setHostValue("alpha", alpha);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewPropertyAlphaActivity.java | 136 protected boolean onSetAlpha(int alpha) { argument 138 mMyAlpha = alpha; 141 return super.onSetAlpha(alpha);
|