Searched refs:isOpaque (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/support/v4/eclair-mr1/android/support/v4/view/
H A DViewCompatEclairMr1.java23 public static boolean isOpaque(View view) { method in class:ViewCompatEclairMr1
24 return view.isOpaque();
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DTexture.java21 // The isOpaque() function gives a hint about whether the texture is opaque,
43 public boolean isOpaque(); method in interface:Texture
H A DRawTexture.java35 public boolean isOpaque() { method in class:RawTexture
H A DUploadedTexture.java284 public void setOpaque(boolean isOpaque) { argument
285 mOpaque = isOpaque;
289 public boolean isOpaque() { method in class:UploadedTexture
/frameworks/base/core/java/android/view/
H A DGLES20TextureLayer.java33 GLES20TextureLayer(boolean isOpaque) { argument
35 mLayer = GLES20Canvas.nCreateTextureLayer(isOpaque, layerInfo);
90 void update(int width, int height, boolean isOpaque) { argument
91 super.update(width, height, isOpaque);
92 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface);
96 void setOpaque(boolean isOpaque) { argument
H A DHardwareLayer.java57 * @param isOpaque Whether the layer should be opaque or not
59 HardwareLayer(int width, int height, boolean isOpaque) { argument
62 mOpaque = isOpaque;
114 boolean isOpaque() { method in class:HardwareLayer
121 * @param isOpaque True if the layer is opaque, false otherwise
123 abstract void setOpaque(boolean isOpaque); argument
197 * @param isOpaque Whether this layer is opaque
199 void update(int width, int height, boolean isOpaque) { argument
202 mOpaque = isOpaque;
H A DGLES20RenderLayer.java34 GLES20RenderLayer(int width, int height, boolean isOpaque) { argument
35 super(width, height, isOpaque);
38 mLayer = GLES20Canvas.nCreateLayer(width, height, isOpaque, layerInfo);
43 mCanvas = new GLES20Canvas(mLayer, !isOpaque);
80 void setOpaque(boolean isOpaque) { argument
81 mOpaque = isOpaque;
82 GLES20Canvas.nSetOpaqueLayer(mLayer, isOpaque);
H A DHardwareRenderer.java527 * @param isOpaque Whether the layer should be opaque or not
531 abstract HardwareLayer createHardwareLayer(boolean isOpaque); argument
538 * @param isOpaque Whether the layer should be opaque or not
542 abstract HardwareLayer createHardwareLayer(int width, int height, boolean isOpaque); argument
2195 HardwareLayer createHardwareLayer(boolean isOpaque) { argument
2196 return new GLES20TextureLayer(isOpaque);
2200 public HardwareLayer createHardwareLayer(int width, int height, boolean isOpaque) { argument
2201 return new GLES20RenderLayer(width, height, isOpaque);
/frameworks/base/libs/hwui/
H A DLayerRenderer.h55 ANDROID_API static Layer* createTextureLayer(bool isOpaque);
56 ANDROID_API static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false);
59 bool isOpaque, GLenum renderTarget, float* transform);
H A DLayerRenderer.cpp187 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque) { argument
224 layer->setBlend(!isOpaque);
273 Layer* LayerRenderer::createTextureLayer(bool isOpaque) { argument
279 layer->setBlend(!isOpaque);
295 bool isOpaque, GLenum renderTarget, float* transform) {
297 layer->setBlend(!isOpaque);
294 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, GLenum renderTarget, float* transform) argument
H A DTextureCache.cpp259 texture->blend = !bitmap->isOpaque();
265 texture->blend = !bitmap->isOpaque();
291 rgbaBitmap.setIsOpaque(bitmap->isOpaque());
H A DAssetAtlas.cpp130 texture->blend = !bitmap->isOpaque();
/frameworks/native/services/surfaceflinger/
H A DLayerDim.h38 virtual bool isOpaque() const { return false; } function in class:android::LayerDim
H A DLayer.cpp355 if (!isOpaque() || s.alpha != 0xFF) {
599 engine.setupLayerBlending(mPremultipliedAlpha, isOpaque(), s.alpha);
659 bool Layer::isOpaque() const function in class:android::Layer
957 const bool oldOpacity = isOpaque();
1125 if (oldOpacity != isOpaque()) {
1185 "isOpaque=%1d, invalidate=%1d, "
1191 isOpaque(), contentDirty,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DOpaqueActivity.java58 public boolean isOpaque() { method in class:OpaqueActivity.OpaqueView
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp153 if (needs.isOpaque()) {
167 if (!needs.isOpaque() && needs.isPremultiplied()) {
174 if (!needs.isOpaque() && needs.isPremultiplied()) {
H A DProgramCache.h91 inline bool isOpaque() const { function in class:android::ProgramCache::Key
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarTransitions.java61 : !isOpaque(mode) ? ICON_ALPHA_WHEN_NOT_OPAQUE
70 private boolean isOpaque(int mode) { method in class:PhoneStatusBarTransitions
H A DNavigationBarTransitions.java76 final boolean isOpaque = mode == MODE_OPAQUE || mode == MODE_LIGHTS_OUT;
77 final float alpha = isOpaque ? KeyButtonView.DEFAULT_QUIESCENT_ALPHA : 1f;
/frameworks/base/graphics/java/android/graphics/
H A DMovie.java35 public native boolean isOpaque(); method in class:Movie
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java225 public boolean isOpaque(View view); method in interface:ViewCompat.ViewCompatImpl
328 public boolean isOpaque(View view) { method in class:ViewCompat.BaseViewCompatImpl
368 public boolean isOpaque(View view) { method in class:ViewCompat.EclairMr1ViewCompatImpl
369 return ViewCompatEclairMr1.isOpaque(view);
1082 * On API 7 and above this will call View's true isOpaque method. On previous platform
1087 public static boolean isOpaque(View view) { method in class:ViewCompat
1088 return IMPL.isOpaque(view);
/frameworks/base/tools/aapt/
H A DImages.cpp815 bool isOpaque = true; local
855 if (isOpaque) {
859 isOpaque = false;
891 *hasTransparency = !isOpaque;
892 int bpp = isOpaque ? 3 : 4;
896 NOISY(printf("isOpaque = %s\n", isOpaque ? "true" : "false"));
909 if (isOpaque) {
927 *colorType = isOpaque ? PNG_COLOR_TYPE_GRAY : PNG_COLOR_TYPE_GRAY_ALPHA;
929 *colorType = isOpaque
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp816 jboolean isOpaque, jintArray layerInfo) {
817 Layer* layer = LayerRenderer::createTextureLayer(isOpaque);
829 jint width, jint height, jboolean isOpaque, jintArray layerInfo) {
830 Layer* layer = LayerRenderer::createLayer(width, height, isOpaque);
869 Layer* layer, jboolean isOpaque) {
871 layer->setBlend(!isOpaque);
876 Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) {
901 LayerRenderer::updateTextureLayer(layer, width, height, isOpaque, renderTarget, transform);
815 android_view_GLES20Canvas_createTextureLayer(JNIEnv* env, jobject clazz, jboolean isOpaque, jintArray layerInfo) argument
828 android_view_GLES20Canvas_createLayer(JNIEnv* env, jobject clazz, jint width, jint height, jboolean isOpaque, jintArray layerInfo) argument
868 android_view_GLES20Canvas_setOpaqueLayer(JNIEnv* env, jobject clazz, Layer* layer, jboolean isOpaque) argument
875 android_view_GLES20Canvas_updateTextureLayer(JNIEnv* env, jobject clazz, Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp263 if (src.isOpaque()) return ToColor_S32_Opaque;
266 if (src.isOpaque()) return ToColor_S4444_Opaque;
274 if (src.isOpaque()) return ToColor_SI8_Opaque;
442 return !bitmap->isOpaque();
H A DMovie.cpp56 return J2Movie(env, movie)->isOpaque();
144 { "isOpaque", "()Z", (void*)movie_isOpaque },

Completed in 384 milliseconds

12