/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 728 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap() 740 transformed || source.hasAlpha()); in createBitmap() 755 bitmap.setHasAlpha(source.hasAlpha()); in createBitmap() 807 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { in createBitmap() argument 808 return createBitmap(null, width, height, config, hasAlpha); in createBitmap() 827 Config config, boolean hasAlpha) { in createBitmap() argument 835 bm.setHasAlpha(hasAlpha); in createBitmap() 836 if (config == Config.ARGB_8888 && !hasAlpha) { in createBitmap() 1255 public final boolean hasAlpha() { in hasAlpha() method in Bitmap 1272 public void setHasAlpha(boolean hasAlpha) { in setHasAlpha() argument [all …]
|
D | NinePatch.java | 240 public final boolean hasAlpha() { in hasAlpha() method in NinePatch 241 return mBitmap.hasAlpha(); in hasAlpha()
|
D | Canvas.java | 1273 bitmap.hasAlpha()) { in throwIfCannotDraw() 1450 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 1472 … native_drawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap() 1486 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 1489 hasAlpha, paint); in drawBitmap() 2080 boolean hasAlpha, in native_drawBitmap() argument
|
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 151 bool hasAlpha = false; in getGradientInfo() local 154 hasAlpha = true; in getGradientInfo() 160 info.hasAlpha = hasAlpha; in getGradientInfo() 172 texture->blend = info.hasAlpha; in addLinearGradient()
|
D | GradientCache.h | 151 bool hasAlpha; member
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 144 bool hasAlpha = false; in DXT1HasAlpha() local 172 hasAlpha = true; in DXT1HasAlpha() 190 return hasAlpha; in DXT1HasAlpha() 196 bool hasAlpha) in decodeDXT1() argument 243 if (hasAlpha) { in decodeDXT1() 274 if (hasAlpha) { in decodeDXT1()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 51 assertTrue("hasAlpha", bm1.hasAlpha()); in testBasic() 52 assertFalse("hasAlpha", bm2.hasAlpha()); in testBasic() 53 assertTrue("hasAlpha", bm3.hasAlpha()); in testBasic()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 84 public boolean hasAlpha() { in hasAlpha() method in Shape
|
/frameworks/base/core/java/android/view/animation/ |
D | AlphaAnimation.java | 86 public boolean hasAlpha() { in hasAlpha() method in AlphaAnimation
|
D | AnimationSet.java | 181 public boolean hasAlpha() { in hasAlpha() method in AnimationSet 189 if (animations.get(i).hasAlpha()) { in hasAlpha()
|
D | Animation.java | 1069 public boolean hasAlpha() { in hasAlpha() method
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | BitmapsAlphaActivity.java | 59 Log.d("OpenGLRenderer", " has bitmap alpha? " + mBitmap3.hasAlpha()); in BitmapsView()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 213 public boolean hasAlpha() { in hasAlpha() method in Bitmap_Delegate 504 /*package*/ static void nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, in nativeSetHasAlpha() argument 512 delegate.mHasAlpha = hasAlpha; in nativeSetHasAlpha()
|
D | RadialGradient_Delegate.java | 151 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in RadialGradientPaintContext()
|
D | LinearGradient_Delegate.java | 163 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in LinearGradientPaintContext()
|
D | Canvas_Delegate.java | 767 boolean hasAlpha, in native_drawBitmap() argument 771 hasAlpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB); in native_drawBitmap() 1110 } else if (!bitmap.hasAlpha()) { in getImageToDraw()
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
D | RoundedBitmapDrawable.java | 369 || bm.hasAlpha() in getOpacity()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 440 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? in getOpacity()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 613 && !mBitmapState.mBitmap.hasAlpha(); in getOutline() 883 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
|
D | NinePatchDrawable.java | 558 return mNinePatch.hasAlpha() || (mPaint != null && mPaint.getAlpha() < 255) ? in getOpacity()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 392 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument 396 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 900 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument 902 if (hasAlpha) { in Bitmap_setHasAlpha()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 16126 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) {
|
/frameworks/base/api/ |
D | current.txt | 11005 method public final boolean hasAlpha(); 11492 method public final boolean hasAlpha(); 12653 method public boolean hasAlpha();
|
D | system-current.txt | 11342 method public final boolean hasAlpha(); 11829 method public final boolean hasAlpha(); 12990 method public boolean hasAlpha();
|