Searched refs:translucent (Results 1 - 16 of 16) sorted by relevance

/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java65 public GL2JNIView(Context context, boolean translucent, int depth, int stencil) { argument
67 init(translucent, depth, stencil);
70 private void init(boolean translucent, int depth, int stencil) { argument
72 setEGLConfigChooser( translucent ?
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java65 public GLPerfView(Context context, boolean translucent, int depth, int stencil) { argument
67 init(translucent, depth, stencil);
70 private void init(boolean translucent, int depth, int stencil) { argument
72 setEGLConfigChooser( translucent ?
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java68 public GLDualGL2View(Context context, boolean translucent, int depth, int stencil) { argument
70 init(translucent, depth, stencil);
73 private void init(boolean translucent, int depth, int stencil) { argument
75 setEGLConfigChooser( translucent ?
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java259 * @param translucent True if the surface is translucent, false otherwise
263 public static ThreadedRenderer create(Context context, boolean translucent, String name) { argument
266 renderer = new ThreadedRenderer(context, translucent, name);
346 ThreadedRenderer(Context context, boolean translucent, String name) { argument
359 mIsOpaque = !translucent;
360 mNativeProxy = nCreateProxy(translucent, rootNodePtr);
983 private static native long nCreateProxy(boolean translucent, long rootRenderNode); argument
H A DViewRootImpl.java963 final boolean translucent = attrs.format != PixelFormat.OPAQUE || hasSurfaceInsets;
964 mAttachInfo.mThreadedRenderer = ThreadedRenderer.create(mContext, translucent,
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp67 bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory) {
73 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory,
76 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory,
79 return new CanvasContext(thread, translucent, rootRenderNode, contextFactory,
139 CanvasContext::CanvasContext(RenderThread& thread, bool translucent, argument
143 , mOpaque(!translucent)
66 create(RenderThread& thread, bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory) argument
H A DCanvasContext.h67 static CanvasContext* create(RenderThread& thread, bool translucent,
198 CanvasContext(RenderThread& thread, bool translucent, RenderNode* rootRenderNode,
H A DRenderProxy.h72 ANDROID_API RenderProxy(bool translucent, RenderNode* rootNode, IContextFactory* contextFactory);
H A DRenderProxy.cpp63 CREATE_BRIDGE4(createContext, RenderThread* thread, bool translucent, argument
65 return CanvasContext::create(*args->thread, args->translucent,
69 RenderProxy::RenderProxy(bool translucent, RenderNode* rootRenderNode, IContextFactory* contextFactory) argument
73 args->translucent = translucent;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DErrorFragment.java49 * @param translucent True to set a translucent background.
51 public void setDefaultBackground(boolean translucent) { argument
53 mIsBackgroundTranslucent = translucent;
59 * Returns true if the background is translucent.
H A DErrorSupportFragment.java52 * @param translucent True to set a translucent background.
54 public void setDefaultBackground(boolean translucent) { argument
56 mIsBackgroundTranslucent = translucent;
62 * Returns true if the background is translucent.
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java242 // First check if the bar is translucent.
243 boolean translucent = ResourceHelper.getBooleanThemeValue(renderResources,
245 if (translucent) {
/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp619 jboolean translucent, jlong rootRenderNodePtr) {
622 return (jlong) new RenderProxy(translucent, rootRenderNode, &factory);
618 android_view_ThreadedRenderer_createProxy(JNIEnv* env, jobject clazz, jboolean translucent, jlong rootRenderNodePtr) argument
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2272 * Areas covered by a translucent surface are considered visible.
2278 * visible regions above it (which includes the translucent areas).
2295 const bool translucent = !layer->isOpaque(s);
2301 if (translucent) {
2314 if (s.alpha == 1.0f && !translucent &&
H A DSurfaceFlinger_hwc1.cpp1954 * Areas covered by a translucent surface are considered visible.
1960 * visible regions above it (which includes the translucent areas).
1977 const bool translucent = !layer->isOpaque(s);
1983 if (translucent) {
1996 if (s.alpha==255 && !translucent &&
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java1417 final boolean translucent = mAttrs.alpha == 0.0f;
1418 return shown && !exiting && !translucent;

Completed in 1649 milliseconds