Searched refs:functor (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
H A DCanvasContextTests.cpp47 TestUtils::MockFunctor functor; local
48 CanvasContext::invokeFunctor(renderThread, &functor);
51 ASSERT_EQ(functor.getLastMode(), DrawGlInfo::kModeProcessNoContext);
53 ASSERT_EQ(functor.getLastMode(), DrawGlInfo::kModeProcess);
H A DSkiaDisplayListTests.cpp93 TestUtils::MockFunctor functor; local
94 skiaDL.mChildFunctors.emplace_back(&functor, nullptr, &dummyCanvas);
101 // ensure that the functor and vectorDrawable are properly synced
104 ASSERT_EQ(functor.getLastMode(), DrawGlInfo::kModeSync);
/frameworks/base/libs/hwui/
H A DGlFunctorLifecycleListener.h28 virtual void onGlFunctorReleased(Functor* functor) = 0;
H A DAnimatorManager.cpp146 AnimateFunctor functor(info, mAnimationHandle->context(), &dirtyMask);
147 auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor);
184 EndActiveAnimatorsFunctor functor(mAnimationHandle->context());
185 for_each(mAnimators.begin(), mAnimators.end(), functor);
H A DDisplayList.cpp76 iter.listener->onGlFunctorReleased(iter.functor);
95 (*iter.functor)(DrawGlInfo::kModeSync, nullptr);
H A DFontRenderer.h99 Rect* outBounds, TextDrawFunctor* functor, bool forceFinish = true);
103 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
146 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
H A DDisplayList.h68 Functor* functor; member in struct:android::uirenderer::FunctorContainer
H A DRecordedOp.h273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) argument
275 , functor(functor) {}
276 Functor* functor; member in struct:android::uirenderer::FunctorOp
/frameworks/base/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.h33 * This drawable wraps a OpenGL functor enabling it to be recorded into a list
38 GLFunctorDrawable(Functor* functor, GlFunctorLifecycleListener* listener, SkCanvas* canvas) argument
39 : mFunctor(functor)
H A DSkiaDisplayList.cpp31 for (auto& functor : mChildFunctors) {
32 functor.syncFunctor();
H A DSkiaOpenGLPipeline.h48 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
H A DSkiaVulkanPipeline.h49 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
H A DSkiaOpenGLPipeline.cpp186 void SkiaOpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument
192 (*functor)(mode, nullptr);
H A DSkiaVulkanPipeline.cpp155 void SkiaVulkanPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument
158 (*functor)(mode, nullptr);
H A DSkiaRecordingCanvas.h73 virtual void callDrawGLFunction(Functor* functor,
H A DSkiaRecordingCanvas.cpp114 void SkiaRecordingCanvas::callDrawGLFunction(Functor* functor, argument
116 mDisplayList->mChildFunctors.emplace_back(functor, listener, asSkCanvas());
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl_functor.cpp126 void DestroyGLFunctor(JNIEnv*, jclass, jlong functor) { argument
127 delete reinterpret_cast<DrawGLFunctor*>(functor);
/frameworks/native/vulkan/libvulkan/
H A Dlayers_extensions.cpp324 void ForEachFileInDir(const std::string& dirname, Functor functor) { argument
339 functor(entry->d_name);
345 Functor functor) {
378 functor(filename);
385 void ForEachFileInPath(const std::string& path, Functor functor) { argument
388 ForEachFileInDir(path, functor);
391 functor);
343 ForEachFileInZip(const std::string& zipname, const std::string& dir_in_zip, Functor functor) argument
/frameworks/base/libs/hwui/renderthread/
H A DOpenGLPipeline.h63 static void invokeFunctor(const RenderThread& thread, Functor* functor);
H A DOpenGLPipeline.cpp262 void OpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument
267 thread.renderState().invokeFunctor(functor, mode, nullptr);
H A DCanvasContext.cpp104 void CanvasContext::invokeFunctor(const RenderThread& thread, Functor* functor) { argument
109 OpenGLPipeline::invokeFunctor(thread, functor);
112 skiapipeline::SkiaOpenGLPipeline::invokeFunctor(thread, functor);
115 skiapipeline::SkiaVulkanPipeline::invokeFunctor(thread, functor);
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp81 virtual void onGlFunctorReleased(Functor* functor) override {
105 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
110 canvas->callDrawGLFunction(functor, bridge.get());
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h76 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
H A DRenderState.cpp166 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
170 (*functor)(mode, info);
173 (*functor)(mode, info);
186 // TODO: We need a way to know whether the functor is sRGB aware (b/32072673)
/frameworks/base/services/core/java/com/android/server/job/
H A DJobStore.java215 * Iterate over the set of all jobs, invoking the supplied functor on each. This is for
220 public void forEachJob(JobStatusFunctor functor) { argument
221 mJobSet.forEachJob(functor);
224 public void forEachJob(int uid, JobStatusFunctor functor) { argument
225 mJobSet.forEachJob(uid, functor);
926 public void forEachJob(JobStatusFunctor functor) { argument
930 functor.process(jobs.valueAt(i));
935 public void forEachJob(int uid, JobStatusFunctor functor) { argument
939 functor.process(jobs.valueAt(i));

Completed in 315 milliseconds

12