/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 930 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 …]
|
D | NinePatch.java | 234 public final boolean hasAlpha() { in hasAlpha() method in NinePatch 235 return mBitmap.hasAlpha(); in hasAlpha()
|
D | BaseCanvas.java | 77 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
|
D | BaseRecordingCanvas.java | 144 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
|
D | Canvas.java | 1630 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/ |
D | AlphaAnimation.java | 86 public boolean hasAlpha() { in hasAlpha() method in AlphaAnimation
|
D | AnimationSet.java | 181 public boolean hasAlpha() { in hasAlpha() method in AnimationSet 189 if (animations.get(i).hasAlpha()) { in hasAlpha()
|
D | Animation.java | 1265 public boolean hasAlpha() { in hasAlpha() method
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | Shape.java | 94 public boolean hasAlpha() { in hasAlpha() method in Shape
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/ |
D | ScrimView.java | 235 boolean hasAlpha = Color.alpha(mTintColor) != 0; in updateColorWithTint() 236 if (hasAlpha) { in updateColorWithTint()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 230 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/ |
D | BitmapsAlphaActivity.java | 59 Log.d("OpenGLRenderer", " has bitmap alpha? " + mBitmap3.hasAlpha()); in BitmapsView()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 57 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/ |
D | ProgramCache.h | 135 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha() function
|
D | ProgramCache.cpp | 653 if (needs.getTextureTarget() == Key::TEXTURE_OFF || needs.hasAlpha()) { in generateFragmentShader() 731 if (needs.hasAlpha()) { in generateFragmentShader()
|
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.h | 140 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha() function
|
D | ProgramCache.cpp | 649 if (needs.getTextureTarget() == Key::TEXTURE_OFF || needs.hasAlpha()) { in generateFragmentShader() 768 if (needs.hasAlpha()) { in generateFragmentShader()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 487 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/ |
D | BasicBitmapDrawable.java | 440 return (hasBitmap() && (mBitmap.bmp.hasAlpha() || mPaint.getAlpha() < 255)) ? in getOpacity()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | BitmapDrawable.java | 648 && !mBitmapState.mBitmap.hasAlpha(); in getOutline() 968 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
|
D | NinePatchDrawable.java | 534 return mNinePatchState.mNinePatch.hasAlpha() in getOpacity()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Canvas.cpp | 533 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument 537 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
|
D | Bitmap.cpp | 543 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument 545 if (hasAlpha) { in Bitmap_setHasAlpha()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 23179 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) { in draw()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 5947 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
|