/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 932 bitmap = createBitmap(null, neww, newh, newConfig, source.hasAlpha(), cs); in createBitmap() 953 transformed || source.hasAlpha(), cs); in createBitmap() 965 bitmap.setHasAlpha(source.hasAlpha()); in createBitmap() 1029 @NonNull Config config, boolean hasAlpha) { in createBitmap() argument 1030 return createBitmap(null, width, height, config, hasAlpha); in createBitmap() 1056 boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap() argument 1057 return createBitmap(null, width, height, config, hasAlpha, colorSpace); in createBitmap() 1079 @NonNull Config config, boolean hasAlpha) { in createBitmap() argument 1080 return createBitmap(display, width, height, config, hasAlpha, in createBitmap() 1111 @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) { in createBitmap() argument [all …]
|
D | NinePatch.java | 249 public final boolean hasAlpha() { in hasAlpha() method in NinePatch 250 return mBitmap.hasAlpha(); in hasAlpha()
|
D | BaseCanvas.java | 69 bitmap.hasAlpha()) { in throwIfCannotDraw() 180 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 203 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap() 209 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 212 hasAlpha, paint); in drawBitmap() 673 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero); in nDrawBitmap() argument
|
D | BaseRecordingCanvas.java | 138 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 160 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, in drawBitmap() 168 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 171 hasAlpha, paint); in drawBitmap() 592 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero); in nDrawBitmap() argument
|
D | Canvas.java | 1614 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 1615 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint); in drawBitmap() 1628 int width, int height, boolean hasAlpha, @Nullable Paint paint) { in drawBitmap() argument 1629 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint); in drawBitmap()
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 144 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/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ScrimView.java | 147 boolean hasAlpha = Color.alpha(mTintColor) != 0; in updateColorWithTint() 148 if (hasAlpha) { in updateColorWithTint()
|
/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 | 1158 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/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/layoutlib/bridge/src/android/graphics/ |
D | Bitmap_Delegate.java | 205 public boolean hasAlpha() { in hasAlpha() method in Bitmap_Delegate 520 /*package*/ static void nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, in nativeSetHasAlpha() argument 528 delegate.mHasAlpha = hasAlpha; in nativeSetHasAlpha()
|
D | RadialGradient_Delegate.java | 148 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in RadialGradientPaintContext()
|
D | LinearGradient_Delegate.java | 158 mColorModel = colorModel.hasAlpha() ? colorModel : ColorModel.getRGBdefault(); in LinearGradientPaintContext()
|
D | BaseCanvas_Delegate.java | 116 final float x, final float y, int width, int height, boolean hasAlpha, in nDrawBitmap() argument 120 hasAlpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB); in nDrawBitmap() 710 } else if (!bitmap.hasAlpha()) { in getImageToDraw()
|
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.cpp | 588 if (needs.getTextureTarget() == Key::TEXTURE_OFF || needs.hasAlpha()) { in generateFragmentShader() 662 if (needs.hasAlpha()) { in generateFragmentShader()
|
D | ProgramCache.h | 129 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } in hasAlpha() function
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 434 bool hasAlpha(change.alpha().alpha() == ALPHA_UPDATE); in alphaUpdateFound() local 435 if (hasAlpha && !foundAlpha) { in alphaUpdateFound() 437 } 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 | 647 && !mBitmapState.mBitmap.hasAlpha(); in getOutline() 968 return (bitmap == null || bitmap.hasAlpha() || mBitmapState.mPaint.getAlpha() < 255) ? in getOpacity()
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 499 jboolean hasAlpha, jlong paintHandle) { in drawBitmapArray() argument 503 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType, in drawBitmapArray()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 628 jboolean hasAlpha, jboolean requestPremul) { in Bitmap_setHasAlpha() argument 630 if (hasAlpha) { in Bitmap_setHasAlpha()
|