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

123456789

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java746 // the alpha for the composite. Always opaque if the normal paint color is used since
747 // it contains the alpha
748 int alpha = (compositeOnly || customShader) ? paint.getAlpha() : 0xFF;
752 AlphaComposite.SRC, (float) alpha / 255.f));
758 Composite composite = xfermodeDelegate.getComposite(alpha);
771 // if there was no custom xfermode, but we have alpha (due to a shader and a non
772 // opaque alpha channel in the paint color), then we create an AlphaComposite anyway
773 // that will handle the alpha.
774 if (customXfermode == false && alpha != 0xFF) {
776 AlphaComposite.SRC_OVER, (float) alpha / 25
[all...]
/frameworks/base/libs/androidfw/
H A DVelocityTracker.cpp773 float alpha = dt / (FILTER_TIME_CONSTANT + dt); local
775 state.xvel += (xvel - state.xvel) * alpha;
776 state.yvel += (yvel - state.yvel) * alpha;
785 state.xaccel += (xaccel - state.xaccel) * alpha;
786 state.yaccel += (yaccel - state.yaccel) * alpha;
788 state.xvel += (state.xaccel * dt) * alpha;
789 state.yvel += (state.yaccel * dt) * alpha;
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h174 void setAlpha(float alpha) { argument
175 alpha = fminf(1.0f, fmaxf(0.0f, alpha));
176 if (alpha != mAlpha) {
177 mAlpha = alpha;
178 mMultipliedAlpha = (int) (255 * alpha);
568 int alpha, int flags);
/frameworks/base/core/java/android/view/
H A DSurface.java117 * as "non pre-multiplied" by their alpha channel. Of course this flag is
118 * meaningless for surfaces without an alpha channel. By default
120 * already multiplied by its alpha value. In this case the blending
131 * surface can never lower the value of the alpha component of a given
257 private native void nativeSetAlpha(float alpha); argument
303 * specified, open a transaction, set the surface layer, layer stack, alpha,
587 public void setAlpha(float alpha) { argument
588 nativeSetAlpha(alpha);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DBitmapDrawable.java405 public void setAlpha(int alpha) { argument
407 if (alpha != oldAlpha) {
408 mBitmapState.mPaint.setAlpha(alpha);
H A DNinePatchDrawable.java244 public void setAlpha(int alpha) { argument
245 if (mPaint == null && alpha == 0xFF) {
246 // Fast common case -- leave at normal alpha.
249 getPaint().setAlpha(alpha);
H A DDrawableContainer.java37 * To be proper, we should have a getter for dither (and alpha, etc.)
103 public void setAlpha(int alpha) { argument
104 if (mAlpha != alpha) {
105 mAlpha = alpha;
108 mCurrDrawable.mutate().setAlpha(alpha);
364 if (DEBUG) android.util.Log.i(TAG, toString() + " cur alpha " + animAlpha);
381 if (DEBUG) android.util.Log.i(TAG, toString() + " last alpha " + animAlpha);
H A DAnimatedRotateDrawable.java151 public void setAlpha(int alpha) { argument
152 mState.mDrawable.setAlpha(alpha);
H A DRotateDrawable.java107 public void setAlpha(int alpha) { argument
108 mState.mDrawable.setAlpha(alpha);
/frameworks/base/opengl/java/android/opengl/
H A DGLErrorWrapper.java106 public void glClearColor(float red, float green, float blue, float alpha) { argument
108 mgl.glClearColor(red, green, blue, alpha);
112 public void glClearColorx(int red, int green, int blue, int alpha) { argument
114 mgl.glClearColorx(red, green, blue, alpha);
142 public void glColor4f(float red, float green, float blue, float alpha) { argument
144 mgl.glColor4f(red, green, blue, alpha);
148 public void glColor4x(int red, int green, int blue, int alpha) { argument
150 mgl.glColor4x(red, green, blue, alpha);
155 boolean alpha) {
157 mgl.glColorMask(red, green, blue, alpha);
154 glColorMask(boolean red, boolean green, boolean blue, boolean alpha) argument
980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument
[all...]
/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/base/core/java/android/gesture/
H A DGestureOverlayView.java400 private void setPaintAlpha(int alpha) { argument
401 alpha += alpha >> 7;
403 final int useAlpha = baseAlpha * alpha >> 8;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardCircleFramedDrawable.java154 public void setAlpha(int alpha) { argument
H A DKeyguardViewBase.java66 public void setAlpha(int alpha) {
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardViewBase.java67 public void setAlpha(int alpha) {
/frameworks/base/services/input/
H A DPointerController.cpp443 spot->alpha -= float(frameDelay) / SPOT_FADE_DURATION;
444 if (spot->alpha <= 0) {
448 spot->sprite->setAlpha(spot->alpha);
586 sprite->setAlpha(alpha);
/frameworks/base/services/java/com/android/server/power/
H A DElectronBeam.java598 private boolean showSurface(float alpha) { argument
599 if (!mSurfaceVisible || mSurfaceAlpha != alpha) {
603 mSurface.setAlpha(alpha);
609 mSurfaceAlpha = alpha;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java187 public void setUniverseTransform(IBinder window, float alpha, float offx, float offy, argument
/frameworks/native/include/gui/
H A DSurface.h71 status_t setAlpha(float alpha=1.0f);
H A DSurfaceComposerClient.h116 status_t setAlpha(SurfaceID id, float alpha=1.0f);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11Ext.spec15 void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
18 void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
H A DGLES11.spec6 void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha )
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java143 * Decodes a string field that's formatted like the EF[ADN] alpha
148 * this alpha tagging shall use either
150 * TS 23.038 [12] with bit 8 set to 0. The alpha identifier
155 * 1) If the first octet in the alpha string is '80', then the
157 * 2) if the first octet in the alpha string is '81', then the
171 * 3) If the first octet of the alpha string is set to '82', then
521 int alpha = 0xff << 24;
523 result[colorIndex++] = alpha
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha )
133 float alpha
136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha )
142 int alpha
169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
175 float alpha
178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha )
184 int alpha
187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
193 boolean alpha
[all...]
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp149 float alpha);
304 SurfaceID id, float alpha) {
310 s->alpha = alpha;
537 status_t SurfaceComposerClient::setAlpha(SurfaceID id, float alpha) { argument
538 return getComposer().setAlpha(this, id, alpha);
303 setAlpha(const sp<SurfaceComposerClient>& client, SurfaceID id, float alpha) argument

Completed in 452 milliseconds

123456789