Home
last modified time | relevance | path

Searched refs:translucent (Results 1 – 17 of 17) sorted by relevance

/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIView.java65 public GL2JNIView(Context context, boolean translucent, int depth, int stencil) { in GL2JNIView() argument
67 init(translucent, depth, stencil); in GL2JNIView()
70 private void init(boolean translucent, int depth, int stencil) { in init() argument
72 setEGLConfigChooser( translucent ? in init()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfView.java65 public GLPerfView(Context context, boolean translucent, int depth, int stencil) { in GLPerfView() argument
67 init(translucent, depth, stencil); in GLPerfView()
70 private void init(boolean translucent, int depth, int stencil) { in init() argument
72 setEGLConfigChooser( translucent ? in init()
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
DGLDualGL2View.java68 public GLDualGL2View(Context context, boolean translucent, int depth, int stencil) { in GLDualGL2View() argument
70 init(translucent, depth, stencil); in GLDualGL2View()
73 private void init(boolean translucent, int depth, int stencil) { in init() argument
75 setEGLConfigChooser( translucent ? in init()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java263 public static ThreadedRenderer create(Context context, boolean translucent, String name) { in create() argument
266 renderer = new ThreadedRenderer(context, translucent, name); in create()
346 ThreadedRenderer(Context context, boolean translucent, String name) { in ThreadedRenderer() argument
359 mIsOpaque = !translucent; in ThreadedRenderer()
360 mNativeProxy = nCreateProxy(translucent, rootNodePtr); in ThreadedRenderer()
983 private static native long nCreateProxy(boolean translucent, long rootRenderNode); in nCreateProxy() argument
DViewRootImpl.java963 final boolean translucent = attrs.format != PixelFormat.OPAQUE || hasSurfaceInsets; in enableHardwareAcceleration()
964 mAttachInfo.mThreadedRenderer = ThreadedRenderer.create(mContext, translucent, in enableHardwareAcceleration()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp67 bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory) { in create() argument
73 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create()
76 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create()
79 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory, in create()
139 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, in CanvasContext() argument
143 , mOpaque(!translucent) in CanvasContext()
DCanvasContext.h67 static CanvasContext* create(RenderThread& thread, bool translucent,
198 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
DRenderProxy.cpp63 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent, in CREATE_BRIDGE4() argument
65 return CanvasContext::create(*args->thread, args->translucent, in CREATE_BRIDGE4()
69 RenderProxy::RenderProxy(bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFact… in RenderProxy() argument
73 args->translucent = translucent; in RenderProxy()
DRenderProxy.h72 … ANDROID_API RenderProxy(bool translucent, RenderNode* rootNode, IContextFactory* contextFactory);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorSupportFragment.java54 public void setDefaultBackground(boolean translucent) { in setDefaultBackground() argument
56 mIsBackgroundTranslucent = translucent; in setDefaultBackground()
DErrorFragment.java51 public void setDefaultBackground(boolean translucent) { in setDefaultBackground() argument
53 mIsBackgroundTranslucent = translucent; in setDefaultBackground()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java243 boolean translucent = ResourceHelper.getBooleanThemeValue(renderResources, in getBarColor()
245 if (translucent) { in getBarColor()
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md43 … | | Control the visual style of the bars (opaque, translucent, etc)
44 … | | Sets the bars visual style (opaque, translucent, semi-transpare…
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp619 jboolean translucent, jlong rootRenderNodePtr) { in android_view_ThreadedRenderer_createProxy() argument
622 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory); in android_view_ThreadedRenderer_createProxy()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger_hwc1.cpp1977 const bool translucent = !layer->isOpaque(s); in computeVisibleRegions() local
1983 if (translucent) { in computeVisibleRegions()
1996 if (s.alpha==255 && !translucent && in computeVisibleRegions()
DSurfaceFlinger.cpp2295 const bool translucent = !layer->isOpaque(s); in computeVisibleRegions() local
2301 if (translucent) { in computeVisibleRegions()
2314 if (s.alpha == 1.0f && !translucent && in computeVisibleRegions()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java1417 final boolean translucent = mAttrs.alpha == 0.0f; in canAffectSystemUiFlags()
1418 return shown && !exiting && !translucent; in canAffectSystemUiFlags()