Home
last modified time | relevance | path

Searched refs:opaque (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dzlib_test.cc24 void* ZAlloc(void* opaque, uint32_t items, uint32_t size) { in ZAlloc() argument
25 *reinterpret_cast<int*>(opaque) |= 1; in ZAlloc()
29 void ZFree(void* opaque, void* address) { in ZFree() argument
30 *reinterpret_cast<int*>(opaque) |= 2; in ZFree()
47 int opaque = 0; in TEST() local
48 encode_stream.opaque = &opaque; in TEST()
52 EXPECT_EQ(opaque, 3); in TEST()
60 opaque = 0; in TEST()
63 decode_stream.opaque = &opaque; in TEST()
69 EXPECT_EQ(opaque, 3); in TEST()
/frameworks/native/cmds/flatland/
DMain.cpp63 0, staticGradient, opaque,
67 0, staticGradient, opaque,
71 0, staticGradient, opaque,
81 0, staticGradient, opaque,
85 0, staticGradient, opaque,
89 0, staticGradient, opaque,
99 0, staticGradient, opaque,
111 0, staticGradient, opaque,
115 0, staticGradient, opaque,
125 0, staticGradient, opaque,
[all …]
DFlatland.h56 Composer* opaque();
/frameworks/native/libs/adbd_auth/include/
Dadbd_auth.h43 void (*key_authorized)(void* opaque, uint64_t id);
90 bool (*callback)(void* opaque, const char* public_key, size_t len),
91 void* opaque) __INTRODUCED_IN(30);
124 void adbd_auth_prompt_user(AdbdAuthContext* ctx, const char* public_key, size_t len, void* opaque)
140 void* opaque) __INTRODUCED_IN(30);
/frameworks/native/include/ftl/details/
Dfunction.h64 return [](void* opaque, Args... args) -> Ret {
65 return std::invoke(*static_cast<F*>(opaque), std::forward<Args>(args)...);
116 type opaque;
117 std::memcpy(opaque.data(), &src, sizeof(S));
118 return opaque;
/frameworks/base/libs/hwui/tests/unit/
DSkiaPipelineTests.cpp54 bool opaque = true; in RENDERTHREAD_TEST() local
60 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
142 bool opaque = true; in RENDERTHREAD_TEST() local
148 pipeline->renderLayers(lightGeometry, &layerUpdateQueue, opaque, lightInfo); in RENDERTHREAD_TEST()
168 bool opaque = true; in RENDERTHREAD_TEST() local
179 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
185 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
191 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
197 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
203 pipeline->renderFrame(layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, surface, in RENDERTHREAD_TEST()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaPipeline.h45 bool opaque, const LightInfo& lightInfo) override;
52 const std::vector<sp<RenderNode>>& nodes, bool opaque,
57 virtual void renderLayersImpl(const LayerUpdateQueue& layers, bool opaque) = 0;
84 const std::vector<sp<RenderNode>>& nodes, bool opaque,
DSkiaCpuPipeline.cpp32 void SkiaCpuPipeline::renderLayersImpl(const LayerUpdateQueue& layers, bool opaque) { in renderLayersImpl() argument
102 const Rect& contentDrawBounds, bool opaque, const LightInfo& lightInfo, in draw() argument
106 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, mSurface, in draw()
DSkiaCpuPipeline.h39 void renderLayersImpl(const LayerUpdateQueue& layers, bool opaque) override;
48 const Rect& contentDrawBounds, bool opaque, const LightInfo& lightInfo,
DSkiaPipeline.cpp73 LayerUpdateQueue* layerUpdateQueue, bool opaque, in renderLayers() argument
77 renderLayersImpl(*layerUpdateQueue, opaque); in renderLayers()
350 const std::vector<sp<RenderNode>>& nodes, bool opaque, in renderFrame() argument
363 renderLayersImpl(layers, opaque); in renderFrame()
365 renderFrameImpl(clip, nodes, opaque, contentDrawBounds, canvas, preTransform); in renderFrame()
384 const std::vector<sp<RenderNode>>& nodes, bool opaque, in renderFrameImpl() argument
399 if (!opaque) { in renderFrameImpl()
DSkiaVulkanPipeline.cpp77 const Rect& contentDrawBounds, bool opaque, const LightInfo& lightInfo, in draw() argument
101 renderFrame(*layerUpdateQueue, dirty, renderNodes, opaque, contentDrawBounds, backBuffer, in draw()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DRawTexture.java29 public RawTexture(int width, int height, boolean opaque) { in RawTexture() argument
30 mOpaque = opaque; in RawTexture()
/frameworks/rs/script_api/
Drs_object_types.spec46 An opaque handle to a RenderScript element.
55 An opaque handle to a RenderScript type.
64 An opaque handle to a RenderScript allocation.
73 An opaque handle to a RenderScript sampler object.
82 An opaque handle to a RenderScript script object.
/frameworks/native/libs/adbd_auth/
Dadbd_auth.cpp394 void IteratePublicKeys(bool (*callback)(void*, const char*, size_t), void* opaque) { in IteratePublicKeys()
404 if (!callback(opaque, line.data(), line.size())) { in IteratePublicKeys()
544 bool (*callback)(void* opaque, const char* public_key, size_t len), in adbd_auth_get_public_keys() argument
545 void* opaque) { in adbd_auth_get_public_keys()
546 ctx->IteratePublicKeys(callback, opaque); in adbd_auth_get_public_keys()
558 void* opaque) { in adbd_auth_prompt_user() argument
559 adbd_auth_prompt_user_with_id(ctx, public_key, len, opaque); in adbd_auth_prompt_user()
563 void* opaque) { in adbd_auth_prompt_user_with_id() argument
564 return ctx->PromptUser(std::string_view(public_key, len), opaque); in adbd_auth_prompt_user_with_id()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DLightRevealScrimTest.kt41 scrim.isScrimOpaqueChangedListener = Consumer { opaque -> in <lambda>() method
42 isOpaque = opaque in <lambda>()
/frameworks/base/libs/hwui/platform/host/pipeline/skia/
DSkiaGpuPipeline.h41 void renderLayersImpl(const LayerUpdateQueue& layers, bool opaque) override {} in renderLayersImpl() argument
52 const Rect& contentDrawBounds, bool opaque, const LightInfo& lightInfo, in draw() argument
/frameworks/base/libs/hwui/renderthread/
DIRenderPipeline.h66 const Rect& contentDrawBounds, bool opaque, const LightInfo& lightInfo,
84 LayerUpdateQueue* layerUpdateQueue, bool opaque,
DRenderProxy.h74 RenderProxy(bool opaque, RenderNode* rootNode, IContextFactory* contextFactory);
90 void setOpaque(bool opaque);
/frameworks/base/services/core/jni/
Dcom_android_server_adb_AdbDebuggingManager.cpp47 static void ResultCallback(const PeerInfo* peer_info, void* opaque) { in ResultCallback()
48 auto* p = reinterpret_cast<PairingResultWaiter*>(opaque); in ResultCallback()
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp83 return opaque() ? kOpaque_SkAlphaType in getOutAlphaType()
130 if (mUnpremultipliedRequired && !opaque()) { in setTargetSize()
166 if (!opaque()) { in setOutColorType()
190 if (required && !opaque()) { in setUnpremultipliedRequired()
230 bool ImageDecoder::opaque() const { in opaque() function in ImageDecoder
400 if (mUnpremultipliedRequired && !opaque()) { in decode()
/frameworks/rs/script_api/include/
Drs_object_types.rsh50 * An opaque handle to a RenderScript element.
59 * An opaque handle to a RenderScript type.
68 * An opaque handle to a RenderScript allocation.
77 * An opaque handle to a RenderScript sampler object.
86 * An opaque handle to a RenderScript script object.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBlurUtils.kt103 fun applyBlur(viewRootImpl: ViewRootImpl?, radius: Int, opaque: Boolean) { in applyBlur()
127 it.setOpaque(viewRootImpl.surfaceControl, opaque) in applyBlur()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java276 public boolean setSurfaceControlOpaque(boolean opaque) { in setSurfaceControlOpaque() argument
279 mTransaction.setOpaque(mSurfaceControl, opaque).apply(); in setSurfaceControlOpaque()
281 return opaque; in setSurfaceControlOpaque()
556 public boolean setSurfaceControlOpaque(boolean opaque) { in setSurfaceControlOpaque() argument
557 return mWebViewOverlayProvider.setSurfaceControlOpaque(opaque); in setSurfaceControlOpaque()
/frameworks/native/libs/binder/rust/src/
Dservice.rs209 unsafe extern "C" fn callback(instance: *const c_char, opaque: *mut c_void) { in get_declared_instances()
214 if let Some(instances) = unsafe { opaque.cast::<Vec<CString>>().as_mut() } { in get_declared_instances()
/frameworks/base/libs/hwui/platform/android/pipeline/skia/
DSkiaGpuPipeline.h40 void renderLayersImpl(const LayerUpdateQueue& layers, bool opaque) override;

123