Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DBitmap.java776 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap()
788 transformed || source.hasAlpha()); in createBitmap()
803 bitmap.setHasAlpha(source.hasAlpha()); in createBitmap()
855 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { in createBitmap() argument
856 return createBitmap(null, width, height, config, hasAlpha); in createBitmap()
875 Config config, boolean hasAlpha) { in createBitmap() argument
883 bm.setHasAlpha(hasAlpha); in createBitmap()
884 if (config == Config.ARGB_8888 && !hasAlpha) { in createBitmap()
1303 public final boolean hasAlpha() { in hasAlpha() method in Bitmap
1320 public void setHasAlpha(boolean hasAlpha) { in setHasAlpha() argument
[all …]
DNinePatch.java244 public final boolean hasAlpha() { in hasAlpha() method in NinePatch
245 return mBitmap.hasAlpha(); in hasAlpha()
DCanvas.java1274 bitmap.hasAlpha()) { in throwIfCannotDraw()
1461 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
1483 … native_drawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap()
1497 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
1500 hasAlpha, paint); in drawBitmap()
2101 boolean hasAlpha, in native_drawBitmap() argument
/frameworks/base/libs/hwui/
DGradientCache.cpp134 bool hasAlpha = false; in getGradientInfo() local
137 hasAlpha = true; in getGradientInfo()
143 info.hasAlpha = hasAlpha; in getGradientInfo()
153 texture->blend = info.hasAlpha; in addLinearGradient()
DGradientCache.h147 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.java1078 public boolean hasAlpha() { in hasAlpha() method
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java226 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
231 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
/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.java235 public boolean hasAlpha() { in hasAlpha() method in Bitmap_Delegate
538 /*package*/ static void nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, in nativeSetHasAlpha() argument
546 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.java855 boolean hasAlpha, in native_drawBitmap() argument
859 hasAlpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB); in native_drawBitmap()
1199 } 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.java614 && !mBitmapState.mBitmap.hasAlpha(); in getOutline()
889 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
DNinePatchDrawable.java528 return mNinePatchState.mNinePatch.hasAlpha() in getOpacity()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp443 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument
447 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp912 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument
914 if (hasAlpha) { in Bitmap_setHasAlpha()
/frameworks/base/core/java/android/view/
DView.java17015 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) { in draw()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10459 method public final boolean hasAlpha();
10936 method public final boolean hasAlpha();
12033 method public boolean hasAlpha();

12