Searched defs:alpha (Results 51 - 75 of 141) sorted by relevance

123456

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp93 bool premultipliedAlpha, bool opaque, int alpha) {
97 mState.setPlaneAlpha(alpha / 255.0f);
99 if (alpha < 0xFF || !opaque) {
107 void GLES20RenderEngine::setupDimLayerBlending(int alpha) { argument
111 mState.setColor(0, 0, 0, alpha/255.0f);
114 if (alpha == 0xFF) {
92 setupLayerBlending( bool premultipliedAlpha, bool opaque, int alpha) argument
H A DRenderEngine.cpp158 float red, float green, float blue, float alpha) {
177 setupFillWithColor(red, green, blue, alpha);
181 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument
182 glClearColor(red, green, blue, alpha);
157 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaInformationRecords.java133 public String alpha; field in class:CdmaInformationRecords.CdmaDisplayInfoRec
135 public CdmaDisplayInfoRec(int id, String alpha) { argument
137 this.alpha = alpha;
144 ", alpha: " + 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/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s40 alpha RN 6 label
250 USUB8 a, ap0q0, alpha
309 M_LDRD alpha, beta, pAlphaBeta1
323 ;// Since beta <= 18 and alpha <= 255 we know
404 M_LDRD alpha, beta, pAlphaBeta1
425 M_LDRD alpha, beta, pAlphaBeta0
H A DomxVCM4P10_FilterDeblockingLuma_HorEdge_I_s.s43 alpha RN 6 label
194 USUB8 a, ap0q0, alpha
255 M_LDRD alpha, beta, pAlphaBeta0
271 M_LDRD alpha, beta, pAlphaBeta0
304 M_LDRD alpha, beta, pAlphaBeta0
316 M_LDRD alpha, beta, pAlphaBeta1
319 M_STRD alpha, beta, pAlphaBeta0
H A DomxVCM4P10_FilterDeblockingLuma_VerEdge_I_s.s41 alpha RN 6 label
291 USUB8 a, ap0q0, alpha
425 M_LDRD alpha, beta, pAlphaBeta1
443 M_LDRD alpha, beta, pAlphaBeta1
522 M_LDRD alpha, beta, pAlphaBeta1
538 M_LDRD alpha, beta, pAlphaBeta0
/frameworks/base/core/java/android/view/
H A DDisplayList.java288 * holds a layer. Layer display lists should avoid creating an alpha layer, since alpha is
357 * @param alpha The translucency of the display list, must be a value between 0.0f and 1.0f
362 public abstract void setAlpha(float alpha); argument
375 * can use a fast path for alpha that avoids rendering to an offscreen buffer. By default
517 * @param alpha The alpha value of the display list
528 public abstract void setTransformationInfo(float alpha, float translationX, float translationY, argument
H A DViewPropertyAnimator.java654 * This method will cause the View's <code>alpha</code> property to be animated to the
661 public ViewPropertyAnimator alpha(float value) { method in class:ViewPropertyAnimator
667 * This method will cause the View's <code>alpha</code> property to be animated by the
1066 // alpha requires slightly different treatment than the other (transform) properties.
1069 // We track what kinds of properties are set, and how alpha is handled when it is
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java151 public void setAlpha(int alpha) { argument
152 mState.mDrawable.setAlpha(alpha);
H A DNinePatchDrawable.java264 public void setAlpha(int alpha) { argument
265 if (mPaint == null && alpha == 0xFF) {
266 // Fast common case -- leave at normal alpha.
269 getPaint().setAlpha(alpha);
276 // Fast common case -- normal alpha.
H A DShapeDrawable.java198 private static int modulateAlpha(int paintAlpha, int alpha) { argument
199 int scale = alpha + (alpha >>> 7); // convert to 0..256
244 * Set the alpha level for this drawable [0..255]. Note that this drawable
245 * also has a color in its paint, which has an alpha as well. These two
247 * alpha is 75% (i.e. 192) and the drawable's alpha is 50% (i.e. 128), then
248 * the combined alpha that will be used during drawing will be 37.5%
251 @Override public void setAlpha(int alpha) { argument
252 mShapeState.mAlpha = alpha;
[all...]
/frameworks/base/libs/hwui/
H A DLayer.h128 inline void setAlpha(int alpha) { argument
129 this->alpha = alpha;
132 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument
133 this->alpha = alpha;
138 return alpha;
346 int alpha; member in struct:android::uirenderer::Layer
H A DLayerRenderer.cpp403 float alpha = layer->getAlpha(); local
478 layer->setAlpha(alpha, mode);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java47 // Sets and gets the current alpha, alpha must be in [0, 1].
48 public abstract void setAlpha(float alpha); argument
52 // (current alpha) = (current alpha) * alpha
53 public abstract void multiplyAlpha(float alpha); argument
66 // Pushes the configuration state (matrix, and alpha) onto
78 // alpha, and clip). This call balances a previous call to save(), and is
/frameworks/base/services/input/
H A DSpriteController.h120 /* Sets the sprite alpha blend ratio between 0.0 and 1.0. */
121 virtual void setAlpha(float alpha) = 0;
180 positionX(0), positionY(0), layer(0), alpha(1.0f),
191 float alpha; member in struct:android::SpriteController::SpriteState
201 return visible && alpha > 0.0f && icon.isValid();
223 virtual void setAlpha(float alpha);
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java580 private boolean showSurface(float alpha) { argument
581 if (!mSurfaceVisible || mSurfaceAlpha != alpha) {
585 mSurfaceControl.setAlpha(alpha);
591 mSurfaceAlpha = alpha;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java236 * @return true if the bitmap alpha should be used at render time
515 int alpha = paint != null ? paint.getAlpha() : 0xFF;
516 BufferedImage image = createCopy(bitmap.getImage(), BufferedImage.TYPE_INT_ARGB, alpha);
518 // create the delegate. The actual Bitmap config is only an alpha channel
584 // in this case we have to manually compare the alpha channel as the rest is garbage.
630 * if alpha is different than 255, then it is applied to the alpha channel of each pixel.
634 * @param alpha an optional alpha modifier
637 /*package*/ static BufferedImage createCopy(BufferedImage image, int imageType, int alpha) { argument
[all...]
/frameworks/native/opengl/libagl/
H A Dstate.cpp569 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument
571 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp594 float alpha = testRandFract(); local
604 hwcTestFillColor(frames[row][col].get(), color, alpha);
606 testPrintI(" buf: %p handle: %p color: %s alpha: %f",
608 string(color).c_str(), alpha);
/frameworks/native/services/surfaceflinger/
H A DLayer.h102 uint8_t alpha; member in struct:android::Layer::State
128 bool setAlpha(uint8_t alpha);
324 float r, float g, float b, float alpha) const;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTitleStrip.java188 * Set the alpha value used for non-primary page titles.
190 * @param alpha Opacity value in the range 0-1f
192 public void setNonPrimaryAlpha(float alpha) { argument
193 mNonPrimaryAlpha = (int) (alpha * 255) & 0xFF;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c76 /* array of alpha values, from the standard */
128 u32 alpha; member in struct:__anon832
210 u8 (*alpha)[2],
218 u8 (*alpha)[2],
678 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
716 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
721 ((unsigned)ABS(p0-q0) < ((thresholds->alpha >> 2) +2)) ?
786 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
858 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha) &&
897 if ( ((unsigned)ABS(p0-q0) < thresholds->alpha)
1781 u8 alpha[2][2]; local
2174 GetLumaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[16], u8 (*bs)[16], u32 filteringFlags ) argument
2304 GetChromaEdgeThresholds( mbStorage_t *mb, u8 (*alpha)[2], u8 (*beta)[2], u8 (*threshold)[8], u8 (*bs)[16], u32 filteringFlags, i32 chromaQpIndexOffset) argument
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java177 public void setAlpha(int alpha) { argument
589 * allow setting an alpha, color filter, or other attributes, etc. The
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp39 static int Color_HSVToColor(JNIEnv* env, jobject, int alpha, jfloatArray hsvArray) argument
49 return SkHSVToColor(alpha, hsv);

Completed in 3402 milliseconds

123456