/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 174 public void setDozeInFrontAlpha(float alpha) { in setDozeInFrontAlpha() argument 175 mDozeInFrontAlpha = alpha; in setDozeInFrontAlpha() 179 public void setDozeBehindAlpha(float alpha) { in setDozeBehindAlpha() argument 180 mDozeBehindAlpha = alpha; in setDozeBehindAlpha() 258 private void setScrimBehindColor(float alpha) { in setScrimBehindColor() argument 259 setScrimColor(mScrimBehind, alpha); in setScrimBehindColor() 262 private void setScrimInFrontColor(float alpha) { in setScrimInFrontColor() argument 263 setScrimColor(mScrimInFront, alpha); in setScrimInFrontColor() 264 if (alpha == 0f) { in setScrimInFrontColor() 273 private void setScrimColor(View scrim, float alpha) { in setScrimColor() argument [all …]
|
D | KeyguardAffordanceHelper.java | 383 float alpha = absTranslation / getMinTranslationAmount(); in setTranslation() local 386 float fadeOutAlpha = 1.0f - alpha; in setTranslation() 394 updateIcon(targetView, radius, alpha + fadeOutAlpha * targetView.getRestingAlpha(), in setTranslation() 411 float alpha = absTranslation / getMinTranslationAmount(); in updateIconsFromTranslation() local 414 float fadeOutAlpha = 1.0f - alpha; in updateIconsFromTranslation() 419 updateIconAlpha(targetView, alpha + fadeOutAlpha * targetView.getRestingAlpha(), false); in updateIconsFromTranslation() 443 private void updateIcon(KeyguardAffordanceView view, float circleRadius, float alpha, in updateIcon() argument 454 updateIconAlpha(view, alpha, animate); in updateIcon() 457 private void updateIconAlpha(KeyguardAffordanceView view, float alpha, boolean animate) { in updateIconAlpha() argument 458 float scale = getScale(alpha, view); in updateIconAlpha() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuBLASDispatch.h | 23 const float alpha, const float *A, const int lda, 28 const int KL, const int KU, const float alpha, 56 const double alpha, const double *A, const int lda, 61 const int KL, const int KU, const double alpha, 89 const void *alpha, const void *A, const int lda, 94 const int KL, const int KU, const void *alpha, 122 const void *alpha, const void *A, const int lda, 127 const int KL, const int KU, const void *alpha, 158 const int N, const float alpha, const float *A, 162 const int N, const int K, const float alpha, const float *A, [all …]
|
D | rsCpuIntrinsicBLAS.cpp | 136 cblas_sgemv(CblasRowMajor, TransA, call->M, call->N, call->alpha.f, (float*)A, in invokeForEach() 142 call->alpha.f, (float*)A, lda, (float*)X, call->incX, in invokeForEach() 178 cblas_dgemv(CblasRowMajor, TransA, call->M, call->N, call->alpha.d, (double*)A, in invokeForEach() 184 call->alpha.d, (double*)A, lda, (double*)X, call->incX, in invokeForEach() 220 cblas_cgemv(CblasRowMajor, TransA, call->M, call->N, (void*)&call->alpha.c, (void*)A, in invokeForEach() 226 (void*)&call->alpha.c, (void*)A, lda, (void*)X, call->incX, in invokeForEach() 262 cblas_zgemv(CblasRowMajor, TransA, call->M, call->N, (void*)&call->alpha.z, (void*)A, in invokeForEach() 268 (void*)&call->alpha.z, (void*)A, lda, (void*)X, call->incX, in invokeForEach() 307 cblas_ssymv(CblasRowMajor, Uplo, call->N, call->alpha.f, (float*)A, lda, in invokeForEach() 312 cblas_ssbmv(CblasRowMajor, Uplo, call->N, call->K, call->alpha.f, in invokeForEach() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BlendComposite.java | 58 private float alpha; field in BlendComposite 65 private BlendComposite(BlendingMode mode, float alpha) { in BlendComposite() argument 67 setAlpha(alpha); in BlendComposite() 74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { in getInstance() argument 75 if (alpha > 0.9999f) { in getInstance() 78 return new BlendComposite(mode, alpha); in getInstance() 82 return alpha; in getAlpha() 89 private void setAlpha(float alpha) { in setAlpha() argument 90 if (alpha < 0.0f || alpha > 1.0f) { in setAlpha() 95 this.alpha = alpha; in setAlpha() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DimLayer.java | 121 private void setAlpha(float alpha) { in setAlpha() argument 122 if (mAlpha != alpha) { in setAlpha() 123 if (DEBUG) Slog.v(TAG, "setAlpha alpha=" + alpha); in setAlpha() 125 mDimSurface.setAlpha(alpha); in setAlpha() 126 if (alpha == 0 && mShowing) { in setAlpha() 130 } else if (alpha > 0 && !mShowing) { in setAlpha() 138 mAlpha = alpha; in setAlpha() 211 void show(int layer, float alpha, long duration) { in show() argument 212 if (DEBUG) Slog.v(TAG, "show: layer=" + layer + " alpha=" + alpha in show() 228 if ((animating && (mTargetAlpha != alpha || durationEndsEarlier(duration))) in show() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicBLAS.java | 320 …public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float … in SGEMV() argument 324 …trinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.getID(mRS), X.g… in SGEMV() local 342 …public void DGEMV(@Transpose int TransA, double alpha, Allocation A, Allocation X, int incX, doubl… in DGEMV() argument 346 …trinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.getID(mRS), X.g… in DGEMV() local 364 …public void CGEMV(@Transpose int TransA, Float2 alpha, Allocation A, Allocation X, int incX, Float… in CGEMV() argument 368 …cBLAS_Complex(getID(mRS), RsBlas_cgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, alpha.y, A.getID(mRS… in CGEMV() 386 …public void ZGEMV(@Transpose int TransA, Double2 alpha, Allocation A, Allocation X, int incX, Doub… in ZGEMV() argument 390 …trinsicBLAS_Z(getID(mRS), RsBlas_zgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, alpha.y, A.getID(mRS… in ZGEMV() 417 …public void SGBMV(@Transpose int TransA, int KL, int KU, float alpha, Allocation A, Allocation X, … in SGBMV() argument 425 …trinsicBLAS_Single(getID(mRS), RsBlas_sgbmv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.getID(mRS), X.g… in SGBMV() local [all …]
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicBLAS.java | 327 …public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float … in SGEMV() argument 341 …trinsicBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID, xID, beta, y… in SGEMV() local 359 …public void DGEMV(@Transpose int TransA, double alpha, Allocation A, Allocation X, int incX, doubl… in DGEMV() argument 373 …trinsicBLAS_Double(getID(mRS), RsBlas_dgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID, xID, beta, y… in DGEMV() local 391 …public void CGEMV(@Transpose int TransA, Float2 alpha, Allocation A, Allocation X, int incX, Float… in CGEMV() argument 405 …cBLAS_Complex(getID(mRS), RsBlas_cgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, alpha.y, aID, xID, b… in CGEMV() 423 …public void ZGEMV(@Transpose int TransA, Double2 alpha, Allocation A, Allocation X, int incX, Doub… in ZGEMV() argument 437 …trinsicBLAS_Z(getID(mRS), RsBlas_zgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha.x, alpha.y, aID, xID, b… in ZGEMV() 464 …public void SGBMV(@Transpose int TransA, int KL, int KU, float alpha, Allocation A, Allocation X, … in SGBMV() argument 482 …trinsicBLAS_Single(getID(mRS), RsBlas_sgbmv, TransA, 0, 0, 0, 0, M, N, 0, alpha, aID, xID, beta, y… in SGBMV() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewTransform.java | 32 public float alpha = 1f; field in TaskViewTransform 46 alpha = o.alpha; in TaskViewTransform() 58 alpha = 1f; in reset() 66 return (Float.compare(alpha, v) != 0); in hasAlphaChangedFrom() 100 anim.alpha(alpha); in applyToTaskView() 128 v.setAlpha(alpha); in applyToTaskView() 148 … " scale: " + scale + " alpha: " + alpha + " visible: " + visible + " rect: " + rect + in toString()
|
/frameworks/base/libs/hwui/ |
D | Vertex.h | 105 float alpha; member 107 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { in set() 108 *vertex = { x, y, alpha }; in set() 113 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha); in copyWithOffset() 116 static inline void setColor(AlphaVertex* vertex, float alpha) { in setColor() 117 vertex[0].alpha = alpha; in setColor()
|
D | Layer.h | 156 inline void setAlpha(int alpha) { in setAlpha() argument 157 this->alpha = alpha; in setAlpha() 160 inline void setAlpha(int alpha, SkXfermode::Mode mode) { in setAlpha() argument 161 this->alpha = alpha; in setAlpha() 166 return alpha; in getAlpha() 404 int alpha = 255; variable
|
D | GlopBuilder.cpp | 226 float alpha = (SkColorGetA(color) / 255.0f) * alphaScale; in setFill() local 228 float colorScale = alpha / 255.0f; in setFill() 233 alpha in setFill() 236 mOutGlop->fill.color = { 1, 1, 1, alpha }; in setFill() 280 const float alpha = SkColorGetA(color) / 255.0f; in setFill() local 281 float colorScale = alpha / 255.0f; in setFill() 286 alpha, in setFill() 432 float alpha, SkXfermode::Mode mode, Blend::ModeOrderSwap modeUsage) { in setFillLayer() argument 438 mOutGlop->fill.color = { alpha, alpha, alpha, alpha }; in setFillLayer() 440 setFill(SK_ColorWHITE, alpha, mode, modeUsage, nullptr, colorFilter); in setFillLayer() [all …]
|
D | Outline.h | 35 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { in setRoundRect() argument 42 mAlpha = alpha; in setRoundRect() 45 void setConvexPath(const SkPath* outline, float alpha) { in setConvexPath() argument 53 mAlpha = alpha; in setConvexPath()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | TileDrawable.java | 97 final int alpha = mPaint.getAlpha(); in draw() local 99 mPaint.setAlpha(alpha); in draw() 105 public void setAlpha(int alpha) { in setAlpha() argument 107 mPaint.setAlpha(alpha); in setAlpha() 108 setInnerAlpha(alpha); in setAlpha() 109 if (alpha != old) { in setAlpha() 165 public void setInnerAlpha(int alpha) { in setInnerAlpha() argument 166 if (mInner != null) mInner.setAlpha(alpha); in setInnerAlpha()
|
D | CircularBitmapDrawable.java | 106 float alpha = placeholder.getPaint().getAlpha() / 255f; in onDrawPlaceholderOrProgress() local 108 onDrawCircularBitmap(bitmap, canvas, mRect, bounds, alpha); in onDrawPlaceholderOrProgress() 132 final Rect src, final Rect dst, final float alpha) { in onDrawCircularBitmap() argument 151 mBitmapPaint.setAlpha((int) (oldAlpha * alpha)); in onDrawCircularBitmap() 162 public void setAlpha(int alpha) { in setAlpha() argument 163 super.setAlpha(alpha); in setAlpha() 166 mBitmapPaint.setAlpha(alpha); in setAlpha() 167 if (alpha != old) { in setAlpha()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES10RenderEngine.cpp | 31 bool premultipliedAlpha, bool opaque, int alpha) { in setupLayerBlending() argument 38 if (CC_UNLIKELY(alpha < 0xFF)) { in setupLayerBlending() 39 GLfloat floatAlpha = alpha * (1.0f / 255.0f); in setupLayerBlending() 50 if (alpha < 0xFF || !opaque) { in setupLayerBlending()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | ViewState.java | 28 public float alpha; field in ViewState 35 alpha = viewState.alpha; in copyFrom() 43 alpha = view.getVisibility() == View.INVISIBLE ? 0.0f : view.getAlpha(); in initFrom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardAffordanceView.java | 176 float alpha = mCircleRadius / mMinBackgroundRadius; in updateIconColor() local 177 alpha = Math.min(1.0f, alpha); in updateIconColor() 178 int color = (int) mColorInterpolator.evaluate(alpha, mNormalColor, mInverseColor); in updateIconColor() 203 int color = Color.argb((int) (Color.alpha(mCircleColor) * fraction), in updateCircleColor() 456 public void setRestingAlpha(float alpha) { in setRestingAlpha() argument 457 mRestingAlpha = alpha; in setRestingAlpha() 460 setImageAlpha(alpha, false); in setRestingAlpha() 467 public void setImageAlpha(float alpha, boolean animate) { in setImageAlpha() argument 468 setImageAlpha(alpha, animate, -1, null, null); in setImageAlpha() 480 public void setImageAlpha(float alpha, boolean animate, long duration, in setImageAlpha() argument [all …]
|
D | ScrimView.java | 76 color = Color.argb((int) (Color.alpha(color) * mViewAlpha), Color.red(color), in onDraw() 89 mIsEmpty = Color.alpha(color) == 0; in setScrimColor() 104 public void setViewAlpha(float alpha) { in setViewAlpha() argument 108 mViewAlpha = alpha; in setViewAlpha() 112 public void animateViewAlpha(float alpha, long durationOut, Interpolator interpolator) { in animateViewAlpha() argument 116 mAlphaAnimator = ValueAnimator.ofFloat(mViewAlpha, alpha); in animateViewAlpha()
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
D | ColorUtils.java | 35 int bgAlpha = Color.alpha(background); in compositeColors() 36 int fgAlpha = Color.alpha(foreground); in compositeColors() 84 if (Color.alpha(background) != 255) { 87 if (Color.alpha(foreground) < 255) { 111 if (Color.alpha(background) != 255) { 282 public static int setAlphaComponent(int color, int alpha) { 283 if (alpha < 0 || alpha > 255) { 286 return (color & 0x00ffffff) | (alpha << 24);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 187 final int alpha = mAlpha; in draw() local 194 if (!crossFade || alpha == 0) { in draw() 197 if (alpha == 0xFF) { in draw() 206 d.setAlpha(255 - alpha); in draw() 213 if (alpha > 0) { in draw() 215 d.setAlpha(alpha); in draw()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | blend.rs | 18 uchar alpha = 0x0; 21 v_out->rgba = convert_uchar4((convert_uint4(v_out->rgba) * alpha) >> (uint4)8); 22 v_out->a = alpha;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | blend.rs | 18 uchar alpha = 0x0; 22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8); 23 out.a = alpha;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | blend.rs | 18 uchar alpha = 0x0; 22 out.rgba = convert_uchar4((convert_uint4(in.rgba) * alpha) >> (uint4)8); 23 out.a = alpha;
|
/frameworks/base/libs/hwui/utils/ |
D | MathUtils.h | 43 inline static float clampAlpha(float alpha) { in clampAlpha() argument 44 if (alpha <= ALPHA_EPSILON) { in clampAlpha() 46 } else if (alpha >= (1 - ALPHA_EPSILON)) { in clampAlpha() 49 return alpha; in clampAlpha()
|