Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DBitmap.java930 bitmap = createBitmap(null, neww, newh, newConfig, source.hasAlpha(), cs); in createBitmap()
951 transformed || source.hasAlpha(), cs); in createBitmap()
963 bitmap.setHasAlpha(source.hasAlpha()); in createBitmap()
1027 @NonNull Config config, boolean hasAlpha) { in createBitmap() argument
1028 return createBitmap(null, width, height, config, hasAlpha); in createBitmap()
1054 boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap() argument
1055 return createBitmap(null, width, height, config, hasAlpha, colorSpace); in createBitmap()
1077 @NonNull Config config, boolean hasAlpha) { in createBitmap() argument
1078 return createBitmap(display, width, height, config, hasAlpha, in createBitmap()
1109 @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap() argument
[all …]
DNinePatch.java234 public final boolean hasAlpha() { in hasAlpha() method in NinePatch
235 return mBitmap.hasAlpha(); in hasAlpha()
DBaseCanvas.java77 bitmap.hasAlpha()) { in throwIfCannotDraw()
188 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
211 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap()
217 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
220 hasAlpha, paint); in drawBitmap()
743 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero); in nDrawBitmap() argument
DBaseRecordingCanvas.java144 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
166 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap()
174 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument
177 hasAlpha, paint); in drawBitmap()
634 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero); in nDrawBitmap() argument
DCanvas.java1630 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
1631 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
1644 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
1645 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
/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.java1265 public boolean hasAlpha() { in hasAlpha() method
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DShape.java94 public boolean hasAlpha() { in hasAlpha() method in Shape
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimView.java235 boolean hasAlpha = Color.alpha(mTintColor) != 0; in updateColorWithTint()
236 if (hasAlpha) { in updateColorWithTint()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java230 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
235 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/core/tests/coretests/src/android/graphics/
DBitmapTest.java57 assertTrue("hasAlpha", bm1.hasAlpha()); in testBasic()
58 assertFalse("hasAlpha", bm2.hasAlpha()); in testBasic()
59 assertTrue("hasAlpha", bm3.hasAlpha()); in testBasic()
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.h135 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha() function
DProgramCache.cpp653 if (needs.getTextureTarget() == Key::TEXTURE_OFF || needs.hasAlpha()) { in generateFragmentShader()
731 if (needs.hasAlpha()) { in generateFragmentShader()
/frameworks/native/libs/renderengine/gl/
DProgramCache.h140 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha() function
DProgramCache.cpp649 if (needs.getTextureTarget() == Key::TEXTURE_OFF || needs.hasAlpha()) { in generateFragmentShader()
768 if (needs.hasAlpha()) { in generateFragmentShader()
/frameworks/native/services/surfaceflinger/tests/
DSurfaceInterceptor_test.cpp487 bool hasAlpha(change.alpha().alpha() == ALPHA_UPDATE); in alphaUpdateFound() local
488 if (hasAlpha && !foundAlpha) { in alphaUpdateFound()
490 } else if (hasAlpha && foundAlpha) { in alphaUpdateFound()
/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.java648 && !mBitmapState.mBitmap.hasAlpha(); in getOutline()
968 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
DNinePatchDrawable.java534 return mNinePatchState.mNinePatch.hasAlpha() in getOpacity()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Canvas.cpp533 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument
537 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
DBitmap.cpp543 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument
545 if (hasAlpha) { in Bitmap_setHasAlpha()
/frameworks/base/core/java/android/view/
DView.java23179 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) { in draw()
/frameworks/base/boot/
Dboot-image-profile.txt5947 HSPLandroid/graphics/Bitmap;->hasAlpha()Z
18579 HSPLandroid/view/animation/AlphaAnimation;->hasAlpha()Z
18602 HSPLandroid/view/animation/Animation;->hasAlpha()Z
18637 HSPLandroid/view/animation/AnimationSet;->hasAlpha()Z

12