Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DBitmap.java575 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); in createBitmap()
587 transformed || source.hasAlpha()); in createBitmap()
636 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { in createBitmap() argument
641 if (config == Config.ARGB_8888 && !hasAlpha) { in createBitmap()
643 nativeSetHasAlpha(bm.mNativeBitmap, hasAlpha); in createBitmap()
895 public final boolean hasAlpha() { in hasAlpha() method in Bitmap
909 public void setHasAlpha(boolean hasAlpha) { in setHasAlpha() argument
910 nativeSetHasAlpha(mNativeBitmap, hasAlpha); in setHasAlpha()
1262 private static native void nativeSetHasAlpha(int nBitmap, boolean hasAlpha); in nativeSetHasAlpha() argument
DNinePatch.java145 public final boolean hasAlpha() { in hasAlpha() method in NinePatch
146 return mBitmap.hasAlpha(); in hasAlpha()
DCanvas.java1152 int width, int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
1174 native_drawBitmap(mNativeCanvas, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap()
1181 int width, int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
1184 hasAlpha, paint); in drawBitmap()
1716 boolean hasAlpha, in native_drawBitmap() argument
/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/core/java/android/view/
DGLES20RecordingCanvas.java131 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
132 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint); in drawBitmap()
138 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
139 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint); in drawBitmap()
DGLES20Canvas.java836 int width, int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
862 width, height, hasAlpha, nativePaint); in drawBitmap()
869 float x, float y, int width, int height, boolean hasAlpha, int nativePaint); in nDrawBitmap() argument
873 int width, int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
875 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, hasAlpha, paint); in drawBitmap()
DView.java13390 if (a.hasAlpha() && (mPrivateFlags & ALPHA_SET) == ALPHA_SET) {
/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/tools/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java184 public boolean hasAlpha() { in hasAlpha() method in Bitmap_Delegate
461 /*package*/ static void nativeSetHasAlpha(int nativeBitmap, boolean hasAlpha) { in nativeSetHasAlpha() argument
468 delegate.mHasAlpha = hasAlpha; in nativeSetHasAlpha()
DCanvas_Delegate.java898 boolean hasAlpha, in native_drawBitmap() argument
903 hasAlpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB); in native_drawBitmap()
1332 } else if (bitmap.hasAlpha() == false) { in getImageToDraw()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java59 Log.d("OpenGLRenderer", " has bitmap alpha? " + mBitmap3.hasAlpha()); in BitmapsView()
/frameworks/base/core/jni/android/graphics/
DBitmap.cpp342 jboolean hasAlpha) { in Bitmap_setHasAlpha() argument
343 bitmap->setIsOpaque(!hasAlpha); in Bitmap_setHasAlpha()
DCanvas.cpp536 jboolean hasAlpha, SkPaint* paint) in drawBitmapArray() argument
540 bitmap.setConfig(hasAlpha ? SkBitmap::kARGB_8888_Config : in drawBitmapArray()
/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java372 return mNinePatch.hasAlpha() || (mPaint != null && mPaint.getAlpha() < 255) ? in getOpacity()
DBitmapDrawable.java497 return (bm == null || bm.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp359 jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, SkPaint* paint) { in android_view_GLES20Canvas_drawBitmapData() argument
361 bitmap->setConfig(hasAlpha ? SkBitmap::kARGB_8888_Config : SkBitmap::kRGB_565_Config, in android_view_GLES20Canvas_drawBitmapData()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DLockPatternKeyguardView.java1162 mOpacity = mBitmap.hasAlpha() ? PixelFormat.TRANSLUCENT : PixelFormat.OPAQUE; in FastBitmapDrawable()
/frameworks/base/api/
D14.txt7807 method public final boolean hasAlpha();
8257 method public final boolean hasAlpha();
9224 method public boolean hasAlpha();
D15.txt7839 method public final boolean hasAlpha();
8289 method public final boolean hasAlpha();
9257 method public boolean hasAlpha();
Dcurrent.txt8111 method public final boolean hasAlpha();
8564 method public final boolean hasAlpha();
9537 method public boolean hasAlpha();
D16.txt8111 method public final boolean hasAlpha();
8564 method public final boolean hasAlpha();
9537 method public boolean hasAlpha();