/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
MediaRouteVolumeSlider.java | 29 * Volume slider with showing, hiding, and applying alpha supports to the thumb. 56 int alpha = isEnabled() ? 0xFF : (int) (0xFF * mDisabledAlpha); local 59 // state. Apply the color filter and alpha on every state change. 61 mThumb.setAlpha(alpha); 64 getProgressDrawable().setAlpha(alpha); 95 if (Color.alpha(color) != 0xFF) {
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
DNSName.java | 54 private static final String alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; field in class:DNSName 56 private static final String alphaDigitsAndHyphen = alpha + digitsAndHyphen; 93 if (alpha.indexOf(name.charAt(startIndex)) < 0)
|
/packages/apps/Gallery2/jni/filters/ |
edge.c | 26 // f(v) = exp(-alpha * v^beta) 29 float const alpha = 5.0f; local 96 float ret = 1.0f - exp (- alpha * pow(mag, beta));
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
DragListener.java | 36 float alpha = 1.0f - (Math.abs(translation) local 40 alpha = 1.0f - (Math.abs(translation) 46 mStatePanelTrack.getCurrentView().setBackgroundAlpha(alpha);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
Themes.java | 63 * Returns the alpha corresponding to the theme attribute {@param attr}, in the range [0, 255]. 67 float alpha = ta.getFloat(0, 0); local 69 return (int) (255 * alpha + 0.5f); 86 Color.blue(color) / 255f, Color.alpha(color) / 255f); 105 target.getArray()[19] = Color.alpha(dstColor) - Color.alpha(srcColor);
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
DoubleShadowBubbleTextView.java | 53 // If text is transparent or shadow alpha is 0, don't draw any shadow 58 int alpha = Color.alpha(getCurrentTextColor()); local 62 ColorUtils.setAlphaComponent(mShadowInfo.ambientShadowColor, alpha)); 71 ColorUtils.setAlphaComponent(mShadowInfo.keyShadowColor, alpha)); 101 int textAlpha = Color.alpha(textView.getCurrentTextColor()); 102 int keyShadowAlpha = Color.alpha(keyShadowColor); 103 int ambientShadowAlpha = Color.alpha(ambientShadowColor);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ColorPreference.java | 64 return Color.alpha(getValue()) == 0 || super.shouldDisableDependents(); 89 if (Color.alpha(argb) < 255) { 116 final int alpha = Color.alpha(argb); local 119 if (alpha < 255) {
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo.go | 51 // alpha and omega are the beginning and end of time for zone 54 alpha = -1 << 63 // math.MinInt64 96 tx: []zoneTrans{{alpha, 0, false, false}}, 97 cacheStart: alpha, 118 start = alpha 137 start = alpha 53 alpha = -1 << 63 \/\/ math.MinInt64 const
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo.go | 51 // alpha and omega are the beginning and end of time for zone 54 alpha = -1 << 63 // math.MinInt64 96 tx: []zoneTrans{{alpha, 0, false, false}}, 97 cacheStart: alpha, 118 start = alpha 137 start = alpha 53 alpha = -1 << 63 \/\/ math.MinInt64 const
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 122 int alpha = (int) ((1d - delta) * Color.alpha(colors[i1]) + local 123 delta * Color.alpha(colors[i2])); 130 color = Color.argb(alpha, red, green, blue); 136 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 377 // Add first animation, this is an alpha animation and will not change 393 final Animation alpha = new AlphaAnimation(0.0f, 1.0f); local 394 alpha.setInterpolator(new AccelerateInterpolator()); 395 alpha.initialize(INITIAL_SIZE, INITIAL_SIZE, INITIAL_SIZE, INITIAL_SIZE); 398 animationSet.addAnimation(alpha);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
ShapeHolder.java | 34 private float alpha = 1f; field in class:ShapeHolder 76 public void setAlpha(float alpha) { 77 this.alpha = alpha; 78 shape.setAlpha((int)((alpha * 255f) + .5f));
|
/external/ImageMagick/coders/ |
pes.c | 87 alpha; 85 alpha; member in struct:_PESColorInfo
|
/external/adhd/cras/src/dsp/ |
biquad.c | 59 double alpha = 0.25 * (0.5 + beta - gamma); local 61 double b0 = 2 * alpha; 62 double b1 = 2 * 2 * alpha; 63 double b2 = 2 * alpha; 94 double alpha = 0.25 * (0.5 + beta + gamma); local 96 double b0 = 2 * alpha; 97 double b1 = 2 * -2 * alpha; 98 double b2 = 2 * alpha; 124 double alpha = sin(w0) / (2 * Q); local 127 double b0 = alpha; 166 double alpha = 0.5 * sin(w0) * local 201 double alpha = 0.5 * sin(w0) * local 236 double alpha = sin(w0) \/ (2 * Q); local 271 double alpha = sin(w0) \/ (2 * Q); local 306 double alpha = sin(w0) \/ (2 * Q); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
BetaDistributionImpl.java | 51 private double alpha; field in class:BetaDistributionImpl 57 * updated whenever alpha or beta are changed. 66 * @param alpha first shape parameter (must be positive) 72 public BetaDistributionImpl(double alpha, double beta, double inverseCumAccuracy) { 73 this.alpha = alpha; 81 * @param alpha first shape parameter (must be positive) 84 public BetaDistributionImpl(double alpha, double beta) { 85 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); 92 public void setAlpha(double alpha) { [all...] |
GammaDistributionImpl.java | 45 private double alpha; field in class:GammaDistributionImpl 54 * Create a new gamma distribution with the given alpha and beta values. 55 * @param alpha the shape parameter. 58 public GammaDistributionImpl(double alpha, double beta) { 59 this(alpha, beta, DEFAULT_INVERSE_ABSOLUTE_ACCURACY); 63 * Create a new gamma distribution with the given alpha and beta values. 64 * @param alpha the shape parameter. 70 public GammaDistributionImpl(double alpha, double beta, double inverseCumAccuracy) { 72 setAlphaInternal(alpha); 100 ret = Gamma.regularizedGammaP(alpha, x / beta) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/ |
HarmonicFitter.java | 125 final double alpha = omega * x + phi; local 126 final double cosAlpha = FastMath.cos(alpha); 127 final double sinAlpha = FastMath.sin(alpha);
|
/external/deqp/modules/gles2/functional/ |
es2fReadPixelsTests.cpp | 194 const float alpha = 1.0f; local 196 m_testCtx.getLog() << tcu::TestLog::Message << "Clear color: (" << red << ", " << green << ", " << blue << ", " << alpha << ")" << tcu::TestLog::EndMessage; 199 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha)); 202 tcu::clear(reference.getLevel(0), tcu::Vec4(red, green, blue, alpha));
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
BiCGSTAB.h | 53 Scalar alpha = 1; local 82 Scalar beta = (rho/rho_old) * (alpha / w); 89 alpha = rho / r0.dot(v); 90 s = r - alpha * v; 100 x += alpha * y + w * z;
|
ConjugateGradient.h | 72 Scalar alpha = absNew / p.dot(tmp); // the amount we travel on dir local 73 x += alpha * p; // update solution 74 residual -= alpha * tmp; // update residual
|
LeastSquareConjugateGradient.h | 73 Scalar alpha = absNew / tmp.squaredNorm(); // the amount we travel on dir local 74 x += alpha * p; // update solution 75 residual -= alpha * tmp; // update residual
|
/external/eigen/blas/ |
level2_impl.h | 15 static void run(Index rows, Index cols,const Scalar *lhs, Index lhsStride, const Scalar *rhs, Index rhsIncr, Scalar* res, Index resIncr, Scalar alpha) 22 rows, cols, LhsMapper(lhs, lhsStride), RhsMapper(rhs, rhsIncr), res, resIncr, alpha); 43 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha); local 57 if(*m==0 || *n==0 || (alpha==Scalar(0) && beta==Scalar(1))) 78 func[code](actual_m, actual_n, a, *lda, actual_b, 1, actual_c, 1, alpha); 213 * y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y, 215 * where alpha and beta are scalars, x and y are vectors and A is an 224 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha); local 240 if(*m==0 || *n==0 || (alpha==Scalar(0) && beta==Scalar(1)) [all...] |
/external/eigen/test/ |
householder.cpp | 38 RealScalar alpha; local 43 v1.makeHouseholder(essential, beta, alpha); 59 m1.col(0).makeHouseholder(essential, beta, alpha); 64 VERIFY_IS_APPROX(numext::real(m1(0,0)), alpha); 71 m3.row(0).makeHouseholder(essential, beta, alpha); 76 VERIFY_IS_APPROX(numext::real(m3(0,0)), alpha);
|
/external/eigen/unsupported/Eigen/src/EulerAngles/ |
EulerAngles.h | 29 * - first, rotate the axes system over the alpha axis in angle alpha 125 /** \returns the axis vector of the first (alpha) rotation */ 149 /** Constructs and initialize Euler angles(\p alpha, \p beta, \p gamma). */ 150 EulerAngles(const Scalar& alpha, const Scalar& beta, const Scalar& gamma) : 151 m_angles(alpha, beta, gamma) {} 167 * \param positiveRangeAlpha If true, alpha will be in [0, 2*PI]. Otherwise, in [-PI, +PI]. 197 * \param positiveRangeAlpha If true, alpha will be in [0, 2*PI]. Otherwise, in [-PI, +PI]. 211 /** \returns The angle values stored in a vector (alpha, beta, gamma). */ 213 /** \returns A read-write reference to the angle values stored in a vector (alpha, beta, gamma). * 217 Scalar alpha() const { return m_angles[0]; } function in class:Eigen::EulerAngles 219 Scalar& alpha() { return m_angles[0]; } function in class:Eigen::EulerAngles [all...] |
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
MINRES.h | 99 const RealScalar alpha = v_new.dot(w); local 100 v_new -= alpha*v; // overwrite v_new 109 const RealScalar r2 =s*alpha+c*c_old*beta; // s, s_old, c and c_old are still from previous iteration 111 const RealScalar r1_hat=c*alpha-c_old*s*beta;
|