Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/java/android/graphics/
DBitmap.java982 bitmap = createBitmap(null, neww, newh, newConfig, source.hasAlpha(), cs); in createBitmap()
1003 transformed || source.hasAlpha(), cs); in createBitmap()
1015 bitmap.setHasAlpha(source.hasAlpha()); in createBitmap()
1133 @NonNull Config config, boolean hasAlpha) { in createBitmap() argument
1134 return createBitmap(null, width, height, config, hasAlpha); in createBitmap()
1161 boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap() argument
1162 return createBitmap(null, width, height, config, hasAlpha, colorSpace); in createBitmap()
1185 @NonNull Config config, boolean hasAlpha) { in createBitmap() argument
1186 return createBitmap(display, width, height, config, hasAlpha, in createBitmap()
1218 @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()
768 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()
646 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero); in nDrawBitmap() argument
DCanvas.java1689 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
1690 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
1703 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
1704 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/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsAlphaActivity.java59 Log.d("HWUI", " has bitmap alpha? " + mBitmap3.hasAlpha()); in BitmapsView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scrim/
DScrimView.java255 boolean hasAlpha = Color.alpha(mTintColor) != 0; in updateColorWithTint()
256 if (hasAlpha) { in updateColorWithTint()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java234 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
239 int height, boolean hasAlpha, Paint paint) { in drawBitmap() argument
/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.cpp657 if (needs.getTextureTarget() == Key::TEXTURE_OFF || needs.hasAlpha()) { in generateFragmentShader()
735 if (needs.hasAlpha()) { in generateFragmentShader()
/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.java655 && !mBitmapState.mBitmap.hasAlpha(); in getOutline()
975 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
DNinePatchDrawable.java534 return mNinePatchState.mNinePatch.hasAlpha() in getOpacity()
/frameworks/base/libs/hwui/jni/
DBitmap.cpp568 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument
570 if (hasAlpha) { in Bitmap_setHasAlpha()
Dandroid_graphics_Canvas.cpp581 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument
585 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/java/android/view/
DView.java24755 if (a.hasAlpha() && (mPrivateFlags & PFLAG_ALPHA_SET) == PFLAG_ALPHA_SET) { in draw()
/frameworks/base/boot/
Dboot-image-profile.txt6036 HSPLandroid/graphics/Bitmap;->hasAlpha()Z
18587 HSPLandroid/view/animation/AlphaAnimation;->hasAlpha()Z
18610 HSPLandroid/view/animation/Animation;->hasAlpha()Z
18645 HSPLandroid/view/animation/AnimationSet;->hasAlpha()Z
/frameworks/base/config/
Dboot-image-profile.txt6039 HSPLandroid/graphics/Bitmap;->hasAlpha()Z
18651 HSPLandroid/view/animation/AlphaAnimation;->hasAlpha()Z
18674 HSPLandroid/view/animation/Animation;->hasAlpha()Z
18709 HSPLandroid/view/animation/AnimationSet;->hasAlpha()Z
/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