/frameworks/base/libs/hwui/tests/unit/ |
H A D | CanvasContextTests.cpp | 47 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 D | SkiaDisplayListTests.cpp | 93 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 D | GlFunctorLifecycleListener.h | 28 virtual void onGlFunctorReleased(Functor* functor) = 0;
|
H A D | AnimatorManager.cpp | 146 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 D | DisplayList.cpp | 76 iter.listener->onGlFunctorReleased(iter.functor); 95 (*iter.functor)(DrawGlInfo::kModeSync, nullptr);
|
H A D | FontRenderer.h | 99 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 D | DisplayList.h | 68 Functor* functor; member in struct:android::uirenderer::FunctorContainer
|
H A D | RecordedOp.h | 273 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 D | GLFunctorDrawable.h | 33 * 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 D | SkiaDisplayList.cpp | 31 for (auto& functor : mChildFunctors) { 32 functor.syncFunctor();
|
H A D | SkiaOpenGLPipeline.h | 48 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
|
H A D | SkiaVulkanPipeline.h | 49 static void invokeFunctor(const renderthread::RenderThread& thread, Functor* functor);
|
H A D | SkiaOpenGLPipeline.cpp | 186 void SkiaOpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument 192 (*functor)(mode, nullptr);
|
H A D | SkiaVulkanPipeline.cpp | 155 void SkiaVulkanPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument 158 (*functor)(mode, nullptr);
|
H A D | SkiaRecordingCanvas.h | 73 virtual void callDrawGLFunction(Functor* functor,
|
H A D | SkiaRecordingCanvas.cpp | 114 void SkiaRecordingCanvas::callDrawGLFunction(Functor* functor, argument 116 mDisplayList->mChildFunctors.emplace_back(functor, listener, asSkCanvas());
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_gl_functor.cpp | 126 void DestroyGLFunctor(JNIEnv*, jclass, jlong functor) { argument 127 delete reinterpret_cast<DrawGLFunctor*>(functor);
|
/frameworks/native/vulkan/libvulkan/ |
H A D | layers_extensions.cpp | 324 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 D | OpenGLPipeline.h | 63 static void invokeFunctor(const RenderThread& thread, Functor* functor);
|
H A D | OpenGLPipeline.cpp | 262 void OpenGLPipeline::invokeFunctor(const RenderThread& thread, Functor* functor) { argument 267 thread.renderState().invokeFunctor(functor, mode, nullptr);
|
H A D | CanvasContext.cpp | 104 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 D | android_view_DisplayListCanvas.cpp | 81 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 D | RenderState.h | 76 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
|
H A D | RenderState.cpp | 166 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 D | JobStore.java | 215 * 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));
|