/frameworks/base/graphics/java/android/graphics/ |
H A D | Outline.java | 122 * Sets the alpha represented by the Outline - the degree to which the 125 * An alpha value of <code>0.0f</code> either represents completely 129 * Content producing a fully opaque (alpha = <code>1.0f</code>) outline is 133 public void setAlpha(@FloatRange(from=0.0, to=1.0) float alpha) { argument 134 mAlpha = alpha; 138 * Returns the alpha represented by the Outline.
|
/frameworks/base/libs/hwui/ |
H A D | Outline.h | 42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument 43 mAlpha = alpha; 68 void setConvexPath(const SkPath* outline, float alpha) { argument 76 mAlpha = alpha;
|
H A D | BakedOpState.h | 135 const float alpha; member in class:android::uirenderer::BakedOpState 145 , alpha(snapshot.alpha) 152 , alpha(snapshot.alpha) 158 , alpha(snapshot.alpha) 164 , alpha(1.0f)
|
H A D | CanvasState.h | 151 void scaleAlpha(float alpha) { mSnapshot->alpha *= alpha; } argument
|
/frameworks/base/libs/hwui/utils/ |
H A D | MathUtils.h | 42 * Clamps alpha value, and snaps when very near 0 or 1 44 inline static float clampAlpha(float alpha) { argument 45 if (alpha <= ALPHA_EPSILON) { 47 } else if (alpha >= (1 - ALPHA_EPSILON)) { 50 return alpha;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 74 * Sets the view outline alpha. 76 void setAlpha(float alpha) { argument 77 if (Float.compare(alpha, mAlpha) != 0) { 78 mAlpha = alpha; 79 // TODO, If both clip and alpha change in the same frame, only invalidate once 85 * @return the outline alpha. 119 // TODO, If both clip and alpha change in the same frame, only invalidate once
|
H A D | TaskViewTransform.java | 56 public float alpha = 1f; field in class:TaskViewTransform 71 alpha = tv.getAlpha(); 84 alpha = other.alpha; 97 && other.alpha == alpha 109 alpha = 1f; 118 return (Float.compare(alpha, v) != 0); 153 v.setAlpha(alpha); 172 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.ALPHA, v.getAlpha(), alpha); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ScrimView.java | 110 color = Color.argb((int) (Color.alpha(color) * mViewAlpha), Color.red(color), 124 mIsEmpty = Color.alpha(color) == 0; 142 public void setViewAlpha(float alpha) { argument 146 if (alpha != mViewAlpha) { 147 mViewAlpha = alpha; 155 public void animateViewAlpha(float alpha, long durationOut, Interpolator interpolator) { argument 159 mAlphaAnimator = ValueAnimator.ofFloat(mViewAlpha, alpha);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 67 public void setAlpha(int alpha) { argument 68 mAlpha = alpha; 106 (int) (Color.alpha(mDarkColor) * mAlpha / 255f), 0, 0, 0),
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 71 void setAlpha(float alpha) { argument 72 surface.setAlpha(alpha); 177 public void setAlpha(float alpha) { argument 180 mBlackSurfaces[i].setAlpha(alpha);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BlendComposite.java | 35 * To compensate for the effect, we recompute the alpha value of the src image before applying 58 private float alpha; field in class:BlendComposite 65 private BlendComposite(BlendingMode mode, float alpha) { argument 67 setAlpha(alpha); 74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { argument 75 if (alpha > 0.9999f) { 78 return new BlendComposite(mode, alpha); 82 return alpha; 89 private void setAlpha(float alpha) { argument 90 if (alpha < 0. [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | CircularBitmapDrawable.java | 106 float alpha = placeholder.getPaint().getAlpha() / 255f; 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) { argument 163 super.setAlpha(alpha); 166 mBitmapPaint.setAlpha(alpha); 167 if (alpha ! 131 onDrawCircularBitmap(final Bitmap bitmap, final Canvas canvas, final Rect src, final Rect dst, final float alpha) argument [all...] |
H A D | TileDrawable.java | 97 final int alpha = mPaint.getAlpha(); 99 mPaint.setAlpha(alpha); 105 public void setAlpha(int alpha) { argument 107 mPaint.setAlpha(alpha); 108 setInnerAlpha(alpha); 109 if (alpha != old) { 163 * Changes the alpha on just the inner wrapped drawable. 165 public void setInnerAlpha(int alpha) { argument 166 if (mInner != null) mInner.setAlpha(alpha);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedActionEditText.java | 49 public void setAlpha(int alpha) { argument
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompatICS.java | 29 public static void alpha(View view, float value) { method in class:ViewPropertyAnimatorCompatICS 30 view.animate().alpha(value);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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/amrwbenc/src/ |
H A D | wb_vad.c | 264 Word16 alpha; local 326 alpha = ALPHA4; 329 alpha = 32767; 332 alpha = ALPHA5; 336 st->ave_level[i] = add1(st->ave_level[i], vo_mult_r(alpha, vo_sub(level[i], st->ave_level[i]))); 573 Word16 alpha; local 602 alpha = ALPHA_SP_UP; 605 alpha = ALPHA_SP_DOWN; 609 st->speech_level = add1(st->speech_level, vo_mult_r(alpha, vo_sub(tmp, st->speech_level)));
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | rate_control.h | 35 Int alpha; /* weight for I frame */ member in struct:__anon488
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/ |
H A D | armVCM4P10_DeblockingLuma_unsafe_s.s | 43 alpha RN 6 label 134 ;// Since beta <= 18 and alpha <= 255 we know 233 ;// - 1 - ap0q0, 6 - alpha 242 ;// apflg = apflg && |p0-q0|<((alpha>>2)+2) 243 ;// apflg = aqflg && |p0-q0|<((alpha>>2)+2) 249 UHADD8 alpha, alpha, m00 251 UHADD8 alpha, alpha, m00 252 ADD alpha, alph [all...] |
H A D | omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s | 52 alpha RN 6 label 182 USUB8 a, ap0q0, alpha 243 M_LDRD alpha, beta, pAlphaBeta0 256 ;// Since beta <= 18 and alpha <= 255 we know 322 M_LDRD alpha, beta, pAlphaBeta0 335 M_LDRD alpha, beta, pAlphaBeta1 338 M_STRD alpha, beta, pAlphaBeta0
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 211 float alpha = (float) elapsedTime / duration; 212 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha), 213 lerp(y1, y2, alpha), 1.0f); 274 private static final float lerp(float a, float b, float alpha) { argument 275 return (b - a) * alpha + a;
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 104 * Starting with API 23, items may optionally define an {@link android.R.attr#alpha android:alpha} 107 * calculated by multiplying by the base color's alpha channel by the {@code alpha} value. For 112 * android:alpha="0.5" /> 281 * one but where each color has the specified alpha value (0-255). 283 * @param alpha The new alpha channel value (0-255). 287 public ColorStateList withAlpha(int alpha) { argument 291 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 2 [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ScrollBarDrawable.java | 313 public void setAlpha(int alpha) { argument 314 mAlpha = alpha; 318 mVerticalTrack.setAlpha(alpha); 321 mVerticalThumb.setAlpha(alpha); 324 mHorizontalTrack.setAlpha(alpha); 327 mHorizontalThumb.setAlpha(alpha);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DrawableHolder.java | 174 public void setAlpha(float alpha) { argument 175 mAlpha = alpha;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 142 * Returns the alpha value of this drawable's color. 152 * Sets the color's alpha value. 154 * @param alpha The alpha value to set, between 0 and 255. 157 public void setAlpha(int alpha) { argument 158 alpha += alpha >> 7; // make it 0..256 160 final int useAlpha = baseAlpha * alpha >> 8;
|