/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 | RenderNode.java | 380 * @param alpha The translucency of the display list, must be a value between 0.0f and 1.0f 385 public boolean setAlpha(float alpha) { argument 386 return nSetAlpha(mNativeRenderNode, alpha); 402 * can use a fast path for alpha that avoids rendering to an offscreen buffer. By default 846 int right, int bottom, float radius, float alpha); 848 float alpha); 855 private static native boolean nSetAlpha(long renderNode, float alpha); argument 845 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument 847 nSetOutlineConvexPath(long renderNode, long nativePath, float alpha) argument
|
H A D | SurfaceControl.java | 57 private static native void nativeSetAlpha(long nativeObject, float alpha); argument 118 * as "non pre-multiplied" by their alpha channel. Of course this flag is 119 * meaningless for surfaces without an alpha channel. By default 121 * already multiplied by its alpha value. In this case the blending 132 * surface can never lower the value of the alpha component of a given 147 * Combined effects are (assuming a buffer format with an alpha channel): 149 * <li>OPAQUE + alpha(1.0) == opaque composition 150 * <li>OPAQUE + alpha(0.x) == blended composition 151 * <li>!OPAQUE + alpha(1.0) == blended composition 152 * <li>!OPAQUE + alpha( 463 setAlpha(float alpha) argument [all...] |
H A D | WindowManager.java | 1515 * An alpha value to apply to this entire window. 1516 * An alpha of 1.0 means fully opaque and 0.0 means fully transparent 1518 public float alpha = 1.0f; field in class:WindowManager.LayoutParams 1855 out.writeFloat(alpha); 1909 alpha = in.readFloat(); 2065 if (alpha != o.alpha) { 2066 alpha = o.alpha; 2223 if (alpha ! [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | FastScroller.java | 1593 * Returns an animator for the view's alpha value. 1595 private static Animator animateAlpha(View v, float alpha) { argument 1596 return ObjectAnimator.ofFloat(v, View.ALPHA, alpha);
|
H A D | ImageView.java | 192 final int alpha = a.getInt(R.styleable.ImageView_drawableAlpha, 255); 193 if (alpha != 255) { 194 setImageAlpha(alpha); 1420 * Returns the alpha that will be applied to the drawable of this ImageView. 1422 * @return the alpha that will be applied to the drawable of this ImageView 1431 * Sets the alpha value that should be applied to the image. 1433 * @param alpha the alpha value that should be applied to the image 1438 public void setImageAlpha(int alpha) { argument 1439 setAlpha(alpha); 1451 setAlpha(int alpha) argument [all...] |
H A D | RadialTimePickerView.java | 308 // Pull disabled alpha from theme. 761 private int getMultipliedAlpha(int argb, int alpha) { argument 762 return (int) (Color.alpha(argb) * (alpha / 255.0) + 0.5); 869 int alpha, boolean showActivated, int activatedDegrees, boolean activatedOnly) { 888 paint.setAlpha(getMultipliedAlpha(color, alpha)); 867 drawTextElements(Canvas canvas, float textSize, Typeface typeface, ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, int alpha, boolean showActivated, int activatedDegrees, boolean activatedOnly) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 214 float alpha = 1f; field in class:LockPatternView.CellState 446 cellState.alpha = startAlpha; 457 cellState.alpha = (1 - t) * startAlpha + t * endAlpha; 479 cellState.alpha = endAlpha; 1104 cellState.radius, drawLookup[i][j], cellState.alpha); 1190 boolean partOfPattern, float alpha) { 1192 mPaint.setAlpha((int) (alpha * 255)); 1189 drawCircle(Canvas canvas, float centerX, float centerY, float radius, boolean partOfPattern, float alpha) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 209 int alpha; local 210 alpha = reinterpret_cast<Paint*>(paintHandle)->getAlpha(); 211 return static_cast<jint>(alpha);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 100 jfloat r, jfloat b, jint alpha, jint flagsHandle) { 102 return static_cast<jint>(get_canvas(canvasHandle)->saveLayerAlpha(l, t, r, b, alpha, flags)); 99 saveLayerAlpha(JNIEnv* env, jobject, jlong canvasHandle, jfloat l, jfloat t, jfloat r, jfloat b, jint alpha, jint flagsHandle) argument
|
H A D | android_opengl_GLES11.cpp | 679 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */ 682 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) { 687 (GLubyte)alpha 681 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 265 * AnimatedVectorDrawable is running on render thread now. Therefore, if the root alpha is being 266 * animated, then the root alpha value we get from this call could be out of sync with alpha 267 * value used in the render thread. Otherwise, the root alpha should be always the same value. 269 * @return the containing vector drawable's root alpha value. 277 public void setAlpha(int alpha) { argument 278 mAnimatedVectorState.mVectorDrawable.setAlpha(alpha); 1186 if (!animator.getPropertyName().equals("alpha")) { 1190 throw new UnsupportedOperationException("Only alpha is supported for root " 1198 if (mTmpValues.propertyName.equals("alpha")) { [all...] |
H A D | DrawableContainer.java | 50 * To be proper, we should have a getter for dither (and alpha, etc.) 145 public void setAlpha(int alpha) { argument 146 if (!mHasAlpha || mAlpha != alpha) { 148 mAlpha = alpha; 151 mCurrDrawable.setAlpha(alpha);
|
H A D | GradientDrawable.java | 589 private int modulateAlpha(int alpha) { argument 591 return alpha * scale >> 8; 662 // remember the alpha values, in case we temporarily overwrite them 666 // compute the modulate alpha values 685 allows us to apply paint effects like alpha and colorfilter to 687 asks for a non-opaque alpha value (via setAlpha), and we're 688 stroking, then we need to apply the alpha AFTER we've drawn 967 public void setAlpha(int alpha) { argument 968 if (alpha != mAlpha) { 969 mAlpha = alpha; [all...] |
H A D | LayerDrawable.java | 1340 public void setAlpha(int alpha) { argument 1346 dr.setAlpha(alpha);
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListOp.h | 183 // since anything AA stroke with less than 1.0 pixel width is drawn with an alpha-reduced 193 // coordinates, and that paint's alpha is used 324 SaveLayerOp(float left, float top, float right, float bottom, int alpha, int flags) argument 329 mCachedPaint.setAlpha(alpha); 375 int alpha = PaintUtils::getAlphaDirect(mPaint); local 376 return alpha < 255 && mode == SkXfermode::kSrcOver_Mode;
|
H A D | RenderProperties.h | 57 // record time), this information is used when applying alpha. 86 bool setAlpha(uint8_t alpha) { argument 87 return RP_SET(mAlpha, alpha); 90 uint8_t alpha() const { function in class:android::uirenderer::LayerProperties 108 // Sets alpha, xfermode, and colorfilter from an SkPaint 113 return !opaque() || alpha() < 255; 131 // Whether or not that Layer's content is opaque, doesn't include alpha 240 bool setAlpha(float alpha) { argument 241 alpha = MathUtils::clampAlpha(alpha); [all...] |
H A D | SkiaCanvas.cpp | 93 int alpha, SaveFlags::Flags flags) override; 354 int alpha, SaveFlags::Flags flags) { 356 if (static_cast<unsigned>(alpha) < 0xFF) { 357 alphaPaint.init()->setAlpha(alpha); 353 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SaveFlags::Flags flags) argument
|
/frameworks/base/libs/hwui/debug/ |
H A D | nullgles.cpp | 172 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {} argument 180 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) {} argument 183 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {} argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 383 public void setAlpha(float alpha) { argument 384 mAlphas[mCurrentAlphaIndex] = alpha; 388 public void multiplyAlpha(float alpha) { argument 389 setAlpha(getAlpha() * alpha); 523 float alpha = ((color >>> 24) & 0xFF) / 255f * getAlpha(); 524 float red = ((color >>> 16) & 0xFF) / 255f * alpha; 525 float green = ((color >>> 8) & 0xFF) / 255f * alpha; 526 float blue = (color & 0xFF) / 255f * alpha; 530 mTempColor[3] = alpha; 836 restore(); // restore matrix and alpha [all...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 212 *outError = "White frame must be a solid color (no alpha)"; 433 uint8_t alpha = (row + x * 4)[3]; local 434 if (alpha > max_alpha) max_alpha = alpha; 443 uint8_t alpha = (rows[y] + offsetX * 4)[3]; local 444 if (alpha > max_alpha) max_alpha = alpha; 500 printf("outline insets %d %d %d %d, rad %f, alpha %x\n", 832 // We use a padding byte even when there is no alpha 896 // alpha [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 188 // We use a padding byte even when there is no alpha 310 // gray + alpha 335 printf("Size w/ palette = %d, gray+alpha = %d, rgb(a) = %d\n", 342 // 2. Gray + alpha - use COLOR_TYPE_PALETTE if the number of distinct combinations 351 // save space versus using gray + alpha for each pixel. 380 // Create the RGB and alpha palettes 389 // If the image is gray or gray + alpha, compact the pixels into outRows 468 << " colors" << (hasTransparency ? " (with alpha)" : "") 475 diag->note(DiagMessage() << "is gray + alpha, using PNG_COLOR_TYPE_GRAY_ALPHA"); 481 diag->note(DiagMessage() << "is RGB + alpha, usin 835 uint8_t alpha = (row + x * 4)[3]; local 844 uint8_t alpha = (rows[y] + offsetX * 4)[3]; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 224 int alpha, int layerFlags) { 231 return canvasDelegate.saveLayerAlpha(new RectF(l, t, r, b), alpha, layerFlags); 518 graphics.setColor(new Color(color, true /*alpha*/)); 1111 private int saveLayerAlpha(RectF rect, int alpha, int saveFlags) { argument 1113 paint.setAlpha(alpha); 1200 // hasAlpha is merely a rendering hint. There can in fact be alpha values 1205 // - Create a different bitmap to draw in which all the alpha channel values is set 222 native_saveLayerAlpha(long nativeCanvas, float l, float t, float r, float b, int alpha, int layerFlags) argument
|
H A D | Paint_Delegate.java | 142 public void setAlpha(int alpha) { argument 143 mColor = (alpha << 24) | (mColor & 0x00FFFFFF);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 85 private static int applyAlpha(int color, float alpha) { argument 86 int alphaBytes = Color.alpha(color); 88 color |= ((int) (alphaBytes * alpha)) << 24; 107 static boolean nSetRootAlpha(long rendererPtr, float alpha) { argument 109 nativePathRenderer.setRootAlpha(alpha); 423 static void nSetStrokeAlpha(long pathPtr, float alpha) { argument 425 path.setStrokeAlpha(alpha); 1042 void setRootAlpha(float alpha) { argument 1043 mRootAlpha = alpha;
|