Searched defs:hasAlpha (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/view/animation/
H A DAlphaAnimation.java86 public boolean hasAlpha() { method in class:AlphaAnimation
H A DAnimationSet.java181 public boolean hasAlpha() { method in class:AnimationSet
189 if (animations.get(i).hasAlpha()) {
H A DAnimation.java1106 public boolean hasAlpha() { method in class:Animation
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java92 public boolean hasAlpha() { method in class:Shape
/frameworks/base/libs/hwui/
H A DGradientCache.h145 bool hasAlpha; member in struct:android::uirenderer::GradientCache::GradientInfo
H A DGradientCache.cpp135 bool hasAlpha = false; local
138 hasAlpha = true;
144 info.hasAlpha = hasAlpha;
153 texture->blend = info.hasAlpha;
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java241 * This is equivalent to calling <code>getBitmap().hasAlpha()</code> on this
244 public final boolean hasAlpha() { method in class:NinePatch
245 return mBitmap.hasAlpha();
H A DBaseCanvas.java65 bitmap.hasAlpha()) {
176 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
199 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha,
205 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
208 hasAlpha, paint);
590 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero);
175 drawBitmap(@onNull int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument
204 drawBitmap(@onNull int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument
589 nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero) argument
H A DBitmap.java229 * <p>Note: This may change this result of hasAlpha(). When converting to 565,
855 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
871 bitmap = createBitmap(neww, newh, transformedConfig, transformed || source.hasAlpha());
885 bitmap.setHasAlpha(source.hasAlpha());
941 * @param hasAlpha If the bitmap is ARGB_8888 or RGBA_16F this flag can be used to
949 @NonNull Config config, boolean hasAlpha) {
950 return createBitmap(null, width, height, config, hasAlpha);
960 * @param hasAlpha If the bitmap is ARGB_8888 or RGBA_16F this flag can be used to
976 boolean hasAlpha, @NonNull ColorSpace colorSpace) {
977 return createBitmap(null, width, height, config, hasAlpha, colorSpac
948 createBitmap(int width, int height, @NonNull Config config, boolean hasAlpha) argument
975 createBitmap(int width, int height, @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) argument
998 createBitmap(@ullable DisplayMetrics display, int width, int height, @NonNull Config config, boolean hasAlpha) argument
1030 createBitmap(@ullable DisplayMetrics display, int width, int height, @NonNull Config config, boolean hasAlpha, @NonNull ColorSpace colorSpace) argument
1584 public final boolean hasAlpha() { method in class:Bitmap
1601 setHasAlpha(boolean hasAlpha) argument
2085 nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, boolean requestPremul) argument
[all...]
H A DCanvas.java1520 * @param hasAlpha True if the alpha channel of the colors contains valid values. If false, the
1530 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
1531 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
1544 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
1545 super.drawBitmap(colors, offset, stride, x, y, width, height, hasAlpha, paint);
1529 drawBitmap(@onNull int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument
1543 drawBitmap(@onNull int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h117 inline bool hasAlpha() const { return (mKey & ALPHA_MASK) == ALPHA_LT_ONE; } function in class:android::ProgramCache::Key
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java231 * Returns the hasAlpha rendering hint
234 public boolean hasAlpha() { method in class:Bitmap_Delegate
538 /*package*/ static void nativeSetHasAlpha(long nativeBitmap, boolean hasAlpha, argument
546 delegate.mHasAlpha = hasAlpha;
H A DBaseCanvas_Delegate.java112 final float x, final float y, int width, int height, boolean hasAlpha,
116 hasAlpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB);
657 } else if (!bitmap.hasAlpha()) {
658 // hasAlpha is merely a rendering hint. There can in fact be alpha values
111 nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, final float x, final float y, int width, int height, boolean hasAlpha, long nativePaintOrZero) argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java230 int height, boolean hasAlpha, Paint paint) {
235 int height, boolean hasAlpha, Paint paint) {
229 drawBitmap(int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, Paint paint) argument
234 drawBitmap(int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, Paint paint) argument
/frameworks/native/opengl/libagl/
H A Ddxt.cpp144 bool hasAlpha = false; local
172 hasAlpha = true;
190 return hasAlpha;
196 bool hasAlpha)
243 if (hasAlpha) {
274 if (hasAlpha) {
194 decodeDXT1(const GLvoid *data, int width, int height, void *surface, int stride, bool hasAlpha) argument
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java148 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
170 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha,
178 int width, int height, boolean hasAlpha, @Nullable Paint paint) {
181 hasAlpha, paint);
557 float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero);
147 drawBitmap(@onNull int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument
177 drawBitmap(@onNull int[] colors, int offset, int stride, int x, int y, int width, int height, boolean hasAlpha, @Nullable Paint paint) argument
556 nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, float x, float y, int width, int height, boolean hasAlpha, long nativePaintOrZero) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp988 jboolean hasAlpha, jboolean requestPremul) {
990 if (hasAlpha) {
987 Bitmap_setHasAlpha(JNIEnv* env, jobject, jlong bitmapHandle, jboolean hasAlpha, jboolean requestPremul) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp448 jboolean hasAlpha, jlong paintHandle) {
449 // Note: If hasAlpha is false, kRGB_565_SkColorType will be used, which will
452 hasAlpha ? kN32_SkColorType : kRGB_565_SkColorType,
445 drawBitmapArray(JNIEnv* env, jobject, jlong canvasHandle, jintArray jcolors, jint offset, jint stride, jfloat x, jfloat y, jint width, jint height, jboolean hasAlpha, jlong paintHandle) argument

Completed in 202 milliseconds