Searched defs:isOpaque (Results 1 - 23 of 23) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DLayerDim.h39 virtual bool isOpaque() const { return false; } function in class:android::LayerDim
H A DLayerScreenshot.h47 virtual bool isOpaque() const { return false; } function in class:android::LayerScreenshot
H A DLayerBase.h196 * isOpaque - true if this surface is opaque
198 virtual bool isOpaque() const { return true; } function in class:android::LayerBase
H A DLayer.cpp408 bool Layer::isOpaque() const function in class:android::Layer
554 const bool oldOpacity = isOpaque();
691 if (oldOpacity != isOpaque()) {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DOpaqueActivity.java58 public boolean isOpaque() { method in class:OpaqueActivity.OpaqueView
/frameworks/base/core/java/android/view/
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 DGLES20TextureLayer.java33 GLES20TextureLayer(boolean isOpaque) { argument
35 mLayer = GLES20Canvas.nCreateTextureLayer(isOpaque, layerInfo);
85 void update(int width, int height, boolean isOpaque) { argument
86 super.update(width, height, isOpaque);
87 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface);
91 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
184 * @param isOpaque Whether this layer is opaque
186 void update(int width, int height, boolean isOpaque) { argument
189 mOpaque = isOpaque;
H A DTextureView.java177 public boolean isOpaque() { method in class:TextureView
467 * @see #isOpaque()
H A DHardwareRenderer.java440 * @param isOpaque Whether the layer should be opaque or not
444 abstract HardwareLayer createHardwareLayer(boolean isOpaque); argument
451 * @param isOpaque Whether the layer should be opaque or not
455 abstract HardwareLayer createHardwareLayer(int width, int height, boolean isOpaque); argument
1505 HardwareLayer createHardwareLayer(boolean isOpaque) { argument
1506 return new GLES20TextureLayer(isOpaque);
1510 HardwareLayer createHardwareLayer(int width, int height, boolean isOpaque) { argument
1511 return new GLES20RenderLayer(width, height, isOpaque);
H A DGLES20Canvas.java162 static native int nCreateLayer(int width, int height, boolean isOpaque, int[] layerInfo); argument
164 static native void nSetOpaqueLayer(int layerId, boolean isOpaque); argument
185 public boolean isOpaque() { method in class:GLES20Canvas
H A DView.java10361 (mPrivateFlags & PFLAG_INVALIDATED) != PFLAG_INVALIDATED || isOpaque() != mLastIsOpaque) {
10362 mLastIsOpaque = isOpaque();
10488 public boolean isOpaque() { method in class:View
12377 width, height, isOpaque());
12389 // (for instance isOpaque() returns true, but the background is
12393 final boolean opaque = isOpaque();
12394 if (mHardwareLayer.isValid() && mHardwareLayer.isOpaque() != opaque) {
12850 final boolean opaque = drawingCacheBackgroundColor != 0 || isOpaque();
/frameworks/base/graphics/java/android/graphics/
H A DMovie.java34 public native boolean isOpaque(); method in class:Movie
H A DCanvas.java216 public native boolean isOpaque(); method in class:Canvas
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp197 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque) { argument
219 layer->setBlend(!isOpaque);
272 Layer* LayerRenderer::createTextureLayer(bool isOpaque) { argument
278 layer->setBlend(!isOpaque);
294 bool isOpaque, GLenum renderTarget, float* transform) {
296 layer->setBlend(!isOpaque);
293 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, GLenum renderTarget, float* transform) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBeanBag.java372 public boolean isOpaque() { method in class:BeanBag.Board
/frameworks/base/core/java/android/net/
H A DUri.java146 public boolean isOpaque() { method in class:Uri
1558 if (isOpaque()) {
1598 if (isOpaque()) {
1661 if (isOpaque()) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java1199 if (mStrokeWidth > 0 && !isOpaque(mStrokeColor)) {
1205 mOpaque = isOpaque(mSolidColor);
1211 if (!isOpaque(mColors[i])) {
1221 private static boolean isOpaque(int color) { method in class:GradientDrawable.GradientState
/frameworks/base/core/java/android/widget/
H A DListView.java3065 public boolean isOpaque() { method in class:ListView
3067 hasOpaqueScrollbars()) || super.isOpaque();
3165 final boolean fillForMissingDividers = isOpaque() && !super.isOpaque();
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp78 static jboolean isOpaque(JNIEnv* env, jobject jcanvas) { function in class:android::SkCanvasGlue
81 return canvas->getDevice()->accessBitmap(false).isOpaque();
960 {"isOpaque","()Z", (void*) SkCanvasGlue::isOpaque},
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp747 jboolean isOpaque, jintArray layerInfo) {
748 Layer* layer = LayerRenderer::createTextureLayer(isOpaque);
760 jint width, jint height, jboolean isOpaque, jintArray layerInfo) {
761 Layer* layer = LayerRenderer::createLayer(width, height, isOpaque);
800 Layer* layer, jboolean isOpaque) {
802 layer->setBlend(!isOpaque);
807 Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) {
815 LayerRenderer::updateTextureLayer(layer, width, height, isOpaque, renderTarget, transform);
746 android_view_GLES20Canvas_createTextureLayer(JNIEnv* env, jobject clazz, jboolean isOpaque, jintArray layerInfo) argument
759 android_view_GLES20Canvas_createLayer(JNIEnv* env, jobject clazz, jint width, jint height, jboolean isOpaque, jintArray layerInfo) argument
799 android_view_GLES20Canvas_setOpaqueLayer(JNIEnv* env, jobject clazz, Layer* layer, jboolean isOpaque) argument
806 android_view_GLES20Canvas_updateTextureLayer(JNIEnv* env, jobject clazz, Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) argument
/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/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java105 /*package*/ static boolean isOpaque(Canvas thisCanvas) { method in class:Canvas_Delegate

Completed in 551 milliseconds