/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 561 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */ 564 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) { 569 (GLubyte)alpha 563 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
|
H A D | android_view_RenderNode.cpp | 143 jint right, jint bottom, jfloat radius, jfloat alpha) { 146 radius, alpha); 152 jobject clazz, jlong renderNodePtr, jlong outlinePathPtr, jfloat alpha) { 155 renderNode->mutateStagingProperties().mutableOutline().setConvexPath(outlinePath, alpha); 201 jobject clazz, jlong renderNodePtr, float alpha) { 202 return SET_AND_DIRTY(setAlpha, alpha, RenderNode::ALPHA); 141 android_view_RenderNode_setOutlineRoundRect(JNIEnv* env, jobject clazz, jlong renderNodePtr, jint left, jint top, jint right, jint bottom, jfloat radius, jfloat alpha) argument 151 android_view_RenderNode_setOutlineConvexPath(JNIEnv* env, jobject clazz, jlong renderNodePtr, jlong outlinePathPtr, jfloat alpha) argument 200 android_view_RenderNode_setAlpha(JNIEnv* env, jobject clazz, jlong renderNodePtr, float alpha) argument
|
H A D | android_view_SurfaceControl.cpp | 285 static void nativeSetAlpha(JNIEnv* env, jclass clazz, jlong nativeObject, jfloat alpha) { argument 287 status_t err = ctrl->setAlpha(alpha);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 604 // Only opaque Bitmaps can report a non-0 alpha, 612 public void setAlpha(int alpha) { argument 614 if (alpha != oldAlpha) { 615 mBitmapState.mPaint.setAlpha(alpha);
|
H A D | Drawable.java | 142 * as alpha (set via setAlpha) and color filter (set via setColorFilter). 433 * Specify an alpha value for the drawable. 0 means fully transparent, and 436 public abstract void setAlpha(int alpha); argument 439 * Gets the current alpha value for the drawable. 0 means fully transparent, 441 * Drawable subclasses and the value returned is specific to how that class treats alpha. 443 * specific to its use of alpha. 738 * custom alpha or color filter that has been applied by the client through 892 * The default behavior defines the outline to be the bounding rectangle of 0 alpha. 893 * Subclasses that wish to convey a different shape or alpha value must override this method.
|
H A D | LayerDrawable.java | 651 public void setAlpha(int alpha) { argument 655 array[i].mDrawable.setAlpha(alpha); 663 // All layers should have the same alpha set on them - just return
|
H A D | RippleDrawable.java | 239 public void setAlpha(int alpha) { argument 240 super.setAlpha(alpha); 803 // Grab the color for the current state and cut the alpha channel in 804 // half so that the ripple and background together yield full alpha. 806 final int halfAlpha = (Color.alpha(color) / 2) << 24; 810 // The ripple timing depends on the paint's alpha value, so we need 811 // to push just the alpha channel into the paint and let the filter 812 // handle the full-alpha color.
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.h | 204 // If this value is set to < 1.0, it overrides alpha set on layer (see drawBitmap, drawLayer) 205 void setOverrideLayerAlpha(float alpha) { mDrawModifiers.mOverrideLayerAlpha = alpha; } argument 239 * Scales the alpha on the current snapshot. This alpha value will be modulated 240 * with other alpha values when drawing primitives. 242 void scaleAlpha(float alpha) { argument 243 mSnapshot->alpha *= alpha; 269 * Gets the alpha an 278 getAlphaAndModeDirect(const SkPaint* paint, int* alpha, SkXfermode::Mode* mode) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 571 clear_color_.alpha); 602 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { argument 606 clear_color_.alpha = alpha;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarHeaderView.java | 579 private void applyAlpha(View v, float alpha) { argument 583 if (alpha == 0f) { 587 v.setAlpha(alpha); 736 mQsDetailHeaderProgress.animate().alpha(1f); 739 mQsDetailHeaderProgress.animate().alpha(0f); 784 .alpha(in ? 1 : 0)
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AccessibilityController.java | 689 public void setAlpha(int alpha) { argument 691 if (mAlpha == alpha) { 694 mAlpha = alpha; 697 Slog.i(LOG_TAG, "ViewportWindow set alpha: " + alpha); 783 private static final String PROPERTY_NAME_ALPHA = "alpha";
|
H A D | WindowStateAnimator.java | 580 public void setAlpha(float alpha) { argument 581 if (mSurfaceTraceAlpha != alpha) { 582 if (logSurfaceTrace) Slog.v(SURFACE_TAG, "setAlpha(" + alpha + "): OLD:" + this + 584 mSurfaceTraceAlpha = alpha; 586 super.setAlpha(alpha); 754 + " alpha=" + mSurfaceTraceAlpha + " " + mPosition.x + "," + mPosition.y 1134 // Now set the alpha... but because our current hardware 1135 // can't do alpha transformation on a non-opaque surface, 1145 //Slog.i(TAG, "Applying alpha transform"); 1174 //Slog.i(TAG, "Not applying alpha transfor [all...] |
/frameworks/native/cmds/installd/ |
H A D | utils.c | 183 int alpha = -1; local 197 alpha = 1; 207 if (alpha == 1) {
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 153 float alpha); 338 const sp<IBinder>& id, float alpha) { 344 s->alpha = alpha; 600 status_t SurfaceComposerClient::setAlpha(const sp<IBinder>& id, float alpha) { argument 601 return getComposer().setAlpha(this, id, alpha); 337 setAlpha(const sp<SurfaceComposerClient>& client, const sp<IBinder>& id, float alpha) argument
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 63 inline static float lerp(float a, float b, float alpha) { argument 64 return a + alpha * (b - a); 716 float alpha; local 729 alpha = float(sampleTime - current->eventTime) / delta; 750 alpha = float(current->eventTime - sampleTime) / delta; 772 lerp(currentCoords.getX(), otherCoords.getX(), alpha)); 774 lerp(currentCoords.getY(), otherCoords.getY(), alpha)); 777 "other (%0.3f, %0.3f), alpha %0.3f", 781 alpha);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 546 // single pixel of the given color and alpha values. 547 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha) argument 591 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha)) 603 // Sets the pixel at the given x and y coordinates to the color and alpha 654 // Fill a given graphic buffer with a uniform color and alpha 655 void hwcTestFillColor(GraphicBuffer *gBuf, ColorFract color, float alpha) argument 661 pixel = hwcTestColor2Pixel(gBuf->getPixelFormat(), color, alpha);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | BackgroundManager.java | 161 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);
|
H A D | PlaybackOverlayFragment.java | 178 private void setBgAlpha(int alpha) { argument 179 mBgAlpha = alpha; 181 mRootView.getBackground().setAlpha(alpha); 664 if (DEBUG) Log.v(TAG, "setting alpha to 0");
|
H A D | PlaybackOverlaySupportFragment.java | 180 private void setBgAlpha(int alpha) { argument 181 mBgAlpha = alpha; 183 mRootView.getBackground().setAlpha(alpha); 666 if (DEBUG) Log.v(TAG, "setting alpha to 0");
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 227 public void setAlpha(int alpha) { argument 228 mRing.setAlpha(alpha); 545 * @param alpha Set the alpha of the progress spinner and associated arrowhead. 547 public void setAlpha(int alpha) { argument 548 mAlpha = alpha; 552 * @return Current alpha of the progress spinner and arrowhead.
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_int.h | 255 int alpha; /* weight for I frame */ member in struct:tagAVCRateControl
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 470 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { argument 473 alpha, saveFlags); 475 return nSaveLayerAlpha(mRenderer, alpha, saveFlags); 478 private static native int nSaveLayerAlpha(long renderer, int alpha, int saveFlags); argument 481 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 484 return nSaveLayerAlpha(mRenderer, left, top, right, bottom, alpha, saveFlags); 490 float bottom, int alpha, int saveFlags); 489 nSaveLayerAlpha(long renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument
|
H A D | RenderNode.java | 421 * @param alpha The translucency of the display list, must be a value between 0.0f and 1.0f 426 public boolean setAlpha(float alpha) { argument 427 return nSetAlpha(mNativeRenderNode, alpha); 443 * can use a fast path for alpha that avoids rendering to an offscreen buffer. By default 863 int right, int bottom, float radius, float alpha); 865 float alpha); 872 private static native boolean nSetAlpha(long renderNode, float alpha); argument 862 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument 864 nSetOutlineConvexPath(long renderNode, long nativePath, float alpha) argument
|
H A D | WindowManager.java | 1350 * An alpha value to apply to this entire window. 1351 * An alpha of 1.0 means fully opaque and 0.0 means fully transparent 1353 public float alpha = 1.0f; field in class:WindowManager.LayoutParams 1612 out.writeFloat(alpha); 1660 alpha = in.readFloat(); 1803 if (alpha != o.alpha) { 1804 alpha = o.alpha; 1931 if (alpha ! [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 79 // Opaque alpha level 82 // Transparent alpha level 308 // Pull disabled alpha from theme. 320 // Initialize all alpha values to opaque. 789 private int getMultipliedAlpha(int argb, int alpha) { argument 790 return (int) (Color.alpha(argb) * (alpha / 255.0) + 0.5); 804 int alpha; 809 alpha = mAlphaSelector[index % 2][SELECTOR_CIRCLE].getValue(); 812 paint.setAlpha(getMultipliedAlpha(color, alpha)); 961 drawTextElements(Canvas canvas, float textSize, Typeface typeface, String[] texts, float[] textGridWidths, float[] textGridHeights, Paint paint, int color, int alpha) argument [all...] |