Searched refs:alpha (Results 101 - 125 of 321) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DOutline.java93 * Sets the alpha represented by the Outline - the degree to which the
96 * An alpha value of <code>0.0f</code> either represents completely
100 * Content producing a fully opaque (alpha = <code>1.0f</code>) outline is
104 public void setAlpha(float alpha) { argument
105 mAlpha = alpha;
109 * Returns the alpha represented by the Outline.
/frameworks/base/libs/input/
H A DPointerController.h114 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/
H A DKeyguardClockPositionAlgorithm.java173 float alpha = (scale - fadeEnd)
175 return Math.max(0, Math.min(1, alpha));
199 * The alpha value of the clock.
H A DDozeScrimController.java204 private void setDozeAlpha(boolean inFront, float alpha) { argument
206 mScrimController.setDozeInFrontAlpha(alpha);
208 mScrimController.setDozeBehindAlpha(alpha);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.h119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
125 float alpha);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp70 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/
H A DBackgroundManager.java161 public void setAlpha(int alpha) { argument
162 if (mState.mPaint.getAlpha() != alpha) {
163 mState.mPaint.setAlpha(alpha);
202 public void setAlpha(int alpha) { argument
203 mAlpha = alpha;
204 mDrawable.setAlpha(alpha);
218 public void fade(int durationMs, int delayMs, int alpha) { argument
222 mAnimator = ValueAnimator.ofInt(getAlpha(), alpha);
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewPropertyAnimatorCompatICS.java29 public static void alpha(View view, float value) { method in class:ViewPropertyAnimatorCompatICS
30 view.animate().alpha(value);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DDrawableWrapper.java76 public void setAlpha(int alpha) { argument
77 mDrawable.setAlpha(alpha);
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp94 // The pixel data is stored as combined color+alpha, 8 bits per pixel.
110 uint8_t alpha, color; local
112 // black pixel with varying alpha
114 alpha = FontBitmap::pixels[i] & ~1;
118 alpha = 0xff;
123 *pix++ = alpha;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java184 final int alpha = (int) (paintAlpha * mOuterOpacity + 0.5f);
186 if (alpha > 0 && radius > 0) {
187 p.setAlpha(alpha);
245 final int inflectionOpacity = (int) (Color.alpha(mColor) * (mOuterOpacity
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DStateListDrawableTest.java87 public void setAlpha(int alpha) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DSpeedBumpView.java96 .alpha(endValue)
H A DStackScrollerDecorView.java90 .alpha(endValue)
/frameworks/native/include/gui/
H A DSurfaceControl.h68 status_t setAlpha(float alpha=1.0f);
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java121 public void setAlpha(int alpha) { argument
122 mPaint.setAlpha(alpha);
123 mCornerShadowPaint.setAlpha(alpha);
124 mEdgeShadowPaint.setAlpha(alpha);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp762 Word16 alpha; local
846 alpha = ALPHA4;
849 alpha = 32767;
853 alpha = ALPHA5;
859 temp = mult_r(alpha, temp, pOverflow);
1259 Word16 alpha; /* Q15 */ local
1268 alpha = CVAD_ADAPT_FAST;
1272 alpha = CVAD_ADAPT_REALLY_FAST;
1279 alpha = CVAD_ADAPT_FAST;
1283 alpha
[all...]
/frameworks/base/libs/hwui/
H A DAmbientShadow.cpp51 // Once the alpha difference is greater than this threshold, we will allocate extra
85 inline float getTransformedAlphaFromAlpha(float alpha) { argument
86 return acosf(1.0f - 2.0f * alpha);
135 * Calculate the shadows as a triangle strips while alpha value as the
159 * Due to the fact that the alpha is not linear interpolated along the inner
160 * edge, when the alpha is different, we may add extra vertices such as P2.1, P2.2,
184 // the normal by the vertex (n - 1) to vertex 0, and the spike and alpha value
337 shadowVertices[i].alpha);
H A DSnapshot.cpp37 , alpha(1.0f)
56 , alpha(s->alpha)
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h350 void SetClearColor(float red, float green, float blue, float alpha);
430 float alpha; member in struct:android::filterfw::ShaderProgram::RGBAColor
432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
/frameworks/base/wifi/java/android/net/wifi/
H A DScanResult.java95 double alpha = 0.5 - (double) age / (double) maxAge;
96 level = (int) ((double) level * (1 - alpha) + (double) previousRssi * alpha);
/frameworks/native/services/surfaceflinger/
H A DLayer.h107 uint8_t alpha; member in struct:android::Layer::State
133 bool setAlpha(uint8_t alpha);
161 * pixel format includes an alpha channel) and the "opaque" flag set
162 * on the layer. It does not examine the current plane alpha value.
351 float r, float g, float b, float alpha) const;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s54 alpha RN 6 label
264 USUB8 a, ap0q0, alpha
323 M_LDRD alpha, beta, pAlphaBeta1
337 ;// Since beta <= 18 and alpha <= 255 we know
418 M_LDRD alpha, beta, pAlphaBeta1
439 M_LDRD alpha, beta, pAlphaBeta0
/frameworks/base/core/java/android/widget/
H A DScroller.java119 final float alpha = (float) i / NB_SAMPLES;
127 if (Math.abs(tx - alpha) < 1E-5) break;
128 if (tx > alpha) x_max = x;
139 if (Math.abs(dy - alpha) < 1E-5) break;
140 if (dy > alpha) y_max = y;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java219 toTransform.alpha = 0f;
230 fromTransform.alpha = 0f;
260 // Prepare the thumbnail view alpha
273 // Animate the thumbnail alpha before the dim animation (to prevent updating the
299 animate().alpha(1f)
363 mActionButtonView.animate().alpha(1f)
388 // Animate the thumbnail alpha back into full opacity for the window animation out
407 .alpha(0f)
419 animate().alpha(0f)
436 .alpha(
[all...]

Completed in 760 milliseconds

1234567891011>>