Searched defs:alpha (Results 1 - 25 of 208) sorted by relevance

123456789

/frameworks/base/packages/DocumentsUI/
H A Dwrap_alpha.py6 # assume everything needs alpha suffixes
27 alpha = src.endswith("_alpha") variable
28 if alpha:
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES10RenderEngine.cpp32 bool premultipliedAlpha, bool opaque, float alpha) {
34 bool premultipliedAlpha, bool opaque, int alpha) {
38 // alpha values. The alpha channel will be copied into the framebuffer or
43 if (CC_UNLIKELY(alpha < 1.0f)) {
45 glColor4f(alpha, alpha, alpha, alpha);
47 glColor4f(1.0f, 1.0f, 1.0f, alpha);
30 setupLayerBlending( bool premultipliedAlpha, bool opaque, float alpha) argument
[all...]
H A DDescription.cpp72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
76 mColor[3] = alpha;
/frameworks/base/core/java/android/widget/
H A DImageButton.java89 protected boolean onSetAlpha(int alpha) { argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_adapt.cpp354 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
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java169 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/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCrossFadeHelper.java33 .alpha(0f)
58 float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f - fadeOutAmount);
59 view.setAlpha(alpha);
60 updateLayerType(view, alpha);
70 private static void updateLayerType(View view, float alpha) { argument
71 if (view.hasOverlappingRendering() && alpha > 0.0f && alpha < 1.0f) {
85 .alpha(1f)
100 float alpha = Interpolators.ALPHA_IN.getInterpolation(fadeInAmount);
101 view.setAlpha(alpha);
[all...]
H A DExpandableOutlineView.java69 protected void setOutlineAlpha(float alpha) { argument
70 if (alpha != mOutlineAlpha) {
71 mOutlineAlpha = alpha;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DViewState.java28 public float alpha; field in class:ViewState
35 alpha = viewState.alpha;
43 alpha = view.getAlpha();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffXfermode_Delegate.java57 public Composite getComposite(int alpha) { argument
58 return PorterDuffUtility.getComposite(mMode, alpha);
H A DXfermode_Delegate.java55 public abstract Composite getComposite(int alpha); argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarBackgroundDrawable.java48 public void setAlpha(int alpha) { argument
H A DThemeUtils.java107 static int getThemeAttrColor(Context context, int attr, float alpha) { argument
109 final int originalAlpha = Color.alpha(color);
110 return ColorUtils.setAlphaComponent(color, Math.round(originalAlpha * alpha));
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_DeBlockPixel.c52 * [in] alpha alpha threshold value
64 int alpha, /* alpha */
87 if (armAbs(p0-q0)>=alpha || armAbs(p1-p0)>=beta || armAbs(q1-q0)>=beta)
89 DEBUG_PRINTF_10("DeBlockPixel: %02x %02x %02x %02x | %02x %02x %02x %02x alpha=%d beta=%d\n",
90 p3, p2, p1, p0, q0, q1, q2, q3, alpha, beta);
139 if (ChromaFlag==0 && ap<beta && armAbs(p0-q0)<((alpha>>2)+2))
150 if (ChromaFlag==0 && aq<beta && armAbs(p0-q0)<((alpha>>2)+2))
60 armVCM4P10_DeBlockPixel( OMX_U8 *pQ0, int Step, int tC0, int alpha, int beta, int bS, int ChromaFlag ) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java94 public void setAlpha(int alpha) {} argument
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp66 U8CPU alpha = lerp(SkColorGetA(fromColor), SkColorGetA(toColor), fraction); local
70 return SkColorSetARGB(alpha, red, green, blue);
H A DVertex.h100 * Simple structure to describe a vertex with a position and an alpha value.
104 float alpha; member in struct:android::uirenderer::AlphaVertex
106 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { argument
107 *vertex = { x, y, alpha };
112 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha);
115 static inline void setColor(AlphaVertex* vertex, float alpha) { argument
116 vertex[0].alpha = alpha;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DFullscreenOverdrawActivity.java57 public void setAlpha(int alpha) { argument
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp96 // The pixel data is stored as combined color+alpha, 8 bits per pixel.
112 uint8_t alpha, color; local
114 // black pixel with varying alpha
116 alpha = FontBitmap::pixels[i] & ~1;
120 alpha = 0xff;
125 *pix++ = alpha;
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
H A DStateListDrawableTest.java87 public void setAlpha(int alpha) { argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DCircleFramedDrawable.java120 public void setAlpha(int alpha) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewPropertyAlphaActivity.java136 protected boolean onSetAlpha(int alpha) { argument
138 mMyAlpha = alpha;
141 return super.onSetAlpha(alpha);
/frameworks/native/services/sensorservice/
H A DSensorFusion.cpp82 const float alpha = 1 / (1 + dT); // 1s time-constant local
83 mEstimatedGyroRate = freq + (mEstimatedGyroRate - freq)*alpha;
/frameworks/base/core/java/android/view/animation/
H A DTransformation.java32 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.)
36 * Indicates a transformation that applies an alpha only (uses an identity matrix.)
40 * Indicates a transformation that applies a matrix only (alpha = 1.)
44 * Indicates a transformation that applies an alpha and a matrix.
56 * Creates a new transformation with alpha = 1 and the identity matrix.
165 * @param alpha 1.0 means fully opaqe and 0.0 means fully transparent
167 public void setAlpha(@FloatRange(from=0.0, to=1.0) float alpha) { argument
168 mAlpha = alpha;
232 sb.append("{alpha="); sb.append(mAlpha);
242 pw.print("{alpha
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DColor.java29 * Colors are represented as packed ints, made up of 4 bytes: alpha, red,
31 * stored solely in the alpha component, and not in the color components. The
32 * components are stored as follows (alpha << 24) | (red << 16) |
54 * Return the alpha component of a color int. This is the same as saying
57 public static int alpha(int color) { method in class:Color
87 * The alpha component is implicity 255 (fully opaque).
101 * Return a color-int from alpha, red, green, blue components.
105 * @param alpha Alpha component [0..255] of the color
111 public static int argb(int alpha, int red, int green, int blue) { argument
112 return (alpha << 2
219 HSVToColor(int alpha, @Size(3) float hsv[]) argument
227 nativeHSVToColor(int alpha, float hsv[]) argument
[all...]

Completed in 770 milliseconds

123456789