Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DBitmap.java709 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap()
721 transformed || source.hasAlpha()); in createBitmap()
736 bitmap.setHasAlpha(source.hasAlpha()); in createBitmap()
788 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { in createBitmap() argument
789 return createBitmap(null, width, height, config, hasAlpha); in createBitmap()
808 Config config, boolean hasAlpha) { in createBitmap() argument
816 bm.setHasAlpha(hasAlpha); in createBitmap()
817 if (config == Config.ARGB_8888 && !hasAlpha) { in createBitmap()
1220 public final boolean hasAlpha() { in hasAlpha() method in Bitmap
1234 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.java1285 bitmap.hasAlpha()) { in throwIfCannotDraw()
1462 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
1484 … native_drawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap()
1498 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
1501 hasAlpha, paint); in drawBitmap()
2063 boolean hasAlpha, in native_drawBitmap() argument
/frameworks/base/libs/hwui/
DGradientCache.cpp158 bool hasAlpha = false; in getGradientInfo() local
161 hasAlpha = true; in getGradientInfo()
167 info.hasAlpha = hasAlpha; in getGradientInfo()
179 texture->blend = info.hasAlpha; in addLinearGradient()
DGradientCache.h158 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.java1066 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.java237 public boolean hasAlpha() { in hasAlpha() method in Bitmap_Delegate
536 /*package*/ static void nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, in nativeSetHasAlpha() argument
544 delegate.mHasAlpha = hasAlpha; in nativeSetHasAlpha()
DCanvas_Delegate.java761 boolean hasAlpha, in native_drawBitmap() argument
765 hasAlpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB); in native_drawBitmap()
1105 } else if (bitmap.hasAlpha() == false) { in getImageToDraw()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java645 int width, int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
668 width, height, hasAlpha, nativePaint); in drawBitmap()
672 float x, float y, int width, int height, boolean hasAlpha, long nativePaint); in nDrawBitmap() argument
676 int width, int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
677 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, hasAlpha, paint); in drawBitmap()
DView.java15180 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) {
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DRoundedBitmapDrawable.java304 || bm.hasAlpha() in getOpacity()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java384 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? in getOpacity()
/frameworks/base/graphics/java/android/graphics/drawable/
DBitmapDrawable.java607 && !mBitmapState.mBitmap.hasAlpha(); in getOutline()
862 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
DNinePatchDrawable.java542 return mNinePatch.hasAlpha() || (mPaint != null && mPaint.getAlpha() < 255) ? in getOpacity()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp519 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument
521 if (hasAlpha) { in Bitmap_setHasAlpha()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp379 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument
383 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
Dandroid_view_GLES20Canvas.cpp392 jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, jlong paintPtr) { in android_view_GLES20Canvas_drawBitmapData() argument
396 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in android_view_GLES20Canvas_drawBitmapData()
/frameworks/base/api/
Dsystem-current.txt10767 method public final boolean hasAlpha();
11244 method public final boolean hasAlpha();
12341 method public boolean hasAlpha();
Dcurrent.txt10461 method public final boolean hasAlpha();
10938 method public final boolean hasAlpha();
12035 method public boolean hasAlpha();