Searched defs:functor (Results 1 - 24 of 24) sorted by relevance

/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/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 DSkiaOpenGLPipeline.cpp186 void SkiaOpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument
192 (*functor)(mode, nullptr);
H A DSkiaRecordingCanvas.cpp114 void SkiaRecordingCanvas::callDrawGLFunction(Functor* functor, argument
116 mDisplayList->mChildFunctors.emplace_back(functor, listener, asSkCanvas());
H A DSkiaVulkanPipeline.cpp155 void SkiaVulkanPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument
158 (*functor)(mode, nullptr);
/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/base/libs/hwui/
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
H A DFontRenderer.cpp625 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { argument
630 mFunctor = functor;
653 Rect* bounds, TextDrawFunctor* functor, bool forceFinish) {
659 initRender(clip, bounds, functor);
671 Rect* bounds, TextDrawFunctor* functor) {
677 initRender(clip, bounds, functor);
651 renderPosText(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, int x, int y, const float* positions, Rect* bounds, TextDrawFunctor* functor, bool forceFinish) argument
669 renderTextOnPath(const SkPaint* paint, const Rect* clip, const glyph_t* glyphs, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) argument
H A DRecordingCanvas.cpp618 void RecordingCanvas::callDrawGLFunction(Functor* functor, argument
620 mDisplayList->functors.push_back({functor, listener});
625 functor));
H A DSkiaCanvas.cpp773 void SkiaCanvas::callDrawGLFunction(Functor* functor, argument
/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());
H A Dandroid_view_RenderNode.cpp467 auto functor = std::bind( local
473 info.canvasContext.enqueueFrameWork(std::move(functor));
H A Dandroid_view_ThreadedRenderer.cpp730 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
731 RenderProxy::invokeFunctor(functor, waitForCompletion);
/frameworks/base/libs/hwui/renderstate/
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/libs/hwui/renderthread/
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);
H A DRenderProxy.cpp253 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { argument
254 CanvasContext::invokeFunctor(*args->thread, args->functor);
258 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { argument
263 args->functor = functor;
/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));
/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/core/java/android/view/
H A DThreadedRenderer.java789 static void invokeFunctor(long functor, boolean waitForCompletion) { argument
790 nInvokeFunctor(functor, waitForCompletion);
1003 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); argument
H A DViewRootImpl.java880 public void detachFunctor(long functor) { argument
889 * Schedules the functor for execution in either kModeProcess or
892 * @param functor The native functor to invoke
893 * @param waitForCompletion If true, this will not return until the functor
894 * has invoked. If false, the functor may be invoked
897 public static void invokeFunctor(long functor, boolean waitForCompletion) { argument
898 ThreadedRenderer.invokeFunctor(functor, waitForCompletion);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java20501 * it to a caller-supplied functor to be applied to the running system.
20504 String expectedStartTag, BlobXmlRestorer functor)
20528 Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
20529 functor.apply(parser, userId);
20503 restoreFromXml(XmlPullParser parser, int userId, String expectedStartTag, BlobXmlRestorer functor) argument
[all...]

Completed in 428 milliseconds