Home
last modified time | relevance | path

Searched refs:hasAlpha (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DBitmap.java728 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 …]
DNinePatch.java240 public final boolean hasAlpha() { in hasAlpha() method in NinePatch
241 return mBitmap.hasAlpha(); in hasAlpha()
DCanvas.java1273 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/
DGradientCache.cpp151 bool hasAlpha = false; in getGradientInfo() local
154 hasAlpha = true; in getGradientInfo()
160 info.hasAlpha = hasAlpha; in getGradientInfo()
172 texture->blend = info.hasAlpha; in addLinearGradient()
DGradientCache.h151 bool hasAlpha; member
/frameworks/native/opengl/libagl/
Ddxt.cpp144 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/
DBitmapTest.java51 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/
DShape.java84 public boolean hasAlpha() { in hasAlpha() method in Shape
/frameworks/base/core/java/android/view/animation/
DAlphaAnimation.java86 public boolean hasAlpha() { in hasAlpha() method in AlphaAnimation
DAnimationSet.java181 public boolean hasAlpha() { in hasAlpha() method in AnimationSet
189 if (animations.get(i).hasAlpha()) { in hasAlpha()
DAnimation.java1069 public boolean hasAlpha() { in hasAlpha() method
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java59 Log.d("OpenGLRenderer", " has bitmap alpha? " + mBitmap3.hasAlpha()); in BitmapsView()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java213 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()
DRadialGradient_Delegate.java151 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in RadialGradientPaintContext()
DLinearGradient_Delegate.java163 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in LinearGradientPaintContext()
DCanvas_Delegate.java767 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/
DRoundedBitmapDrawable.java369 || bm.hasAlpha() in getOpacity()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java440 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? in getOpacity()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java613 && !mBitmapState.mBitmap.hasAlpha(); in getOutline()
883 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
DNinePatchDrawable.java558 return mNinePatch.hasAlpha() || (mPaint != null && mPaint.getAlpha() < 255) ? in getOpacity()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp392 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument
396 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp900 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument
902 if (hasAlpha) { in Bitmap_setHasAlpha()
/frameworks/base/core/java/android/view/
DView.java16126 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) {
/frameworks/base/api/
Dcurrent.txt11005 method public final boolean hasAlpha();
11492 method public final boolean hasAlpha();
12653 method public boolean hasAlpha();
Dsystem-current.txt11342 method public final boolean hasAlpha();
11829 method public final boolean hasAlpha();
12990 method public boolean hasAlpha();