Home
last modified time | relevance | path

Searched refs:functor (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/libs/hwui/
DAnimatorManager.cpp146 AnimateFunctor functor(info, mAnimationHandle->context(), &dirtyMask); in animateCommon() local
147 auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor); in animateCommon()
184 EndActiveAnimatorsFunctor functor(mAnimationHandle->context()); in endAllActiveAnimators() local
185 for_each(mAnimators.begin(), mAnimators.end(), functor); in endAllActiveAnimators()
DFontRenderer.h112 Rect* outBounds, TextDrawFunctor* functor, bool forceFinish = true);
116 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
154 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
DGlFunctorLifecycleListener.h28 virtual void onGlFunctorReleased(Functor* functor) = 0;
DRecordedOp.h273 FunctorOp(const Matrix4& localMatrix, const ClipBase* localClip, Functor* functor) in FunctorOp()
275 , functor(functor) {} in FunctorOp()
276 Functor* functor; member
DFontRenderer.cpp630 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { in initRender() argument
635 mFunctor = functor; in initRender()
658 Rect* bounds, TextDrawFunctor* functor, bool forceFinish) { in renderPosText() argument
664 initRender(clip, bounds, functor); in renderPosText()
676 Rect* bounds, TextDrawFunctor* functor) { in renderTextOnPath() argument
682 initRender(clip, bounds, functor); in renderTextOnPath()
DDisplayList.cpp78 iter.listener->onGlFunctorReleased(iter.functor); in cleanupResources()
DDisplayList.h124 Functor* functor; member
DDisplayListCanvas.cpp84 void DisplayListCanvas::callDrawGLFunction(Functor* functor, in callDrawGLFunction() argument
86 addDrawOp(new (alloc()) DrawFunctorOp(functor)); in callDrawGLFunction()
87 mDisplayList->functors.push_back({functor, listener}); in callDrawGLFunction()
DOpenGLRenderer.cpp224 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { in callDrawGLFunction() argument
255 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info); in callDrawGLFunction()
2157 TextDrawFunctor functor(nullptr, nullptr, nullptr, x, y, pureTranslate, alpha, mode, paint);
2159 TextDrawFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2168 positions, hasActiveLayer ? &layerBounds : nullptr, &functor, forceFinish);
2171 positions, hasActiveLayer ? &layerBounds : nullptr, &functor, forceFinish);
2201 TextDrawFunctor functor(nullptr, nullptr, nullptr, 0.0f, 0.0f, false, alpha, mode, paint);
2203 TextDrawFunctor functor(this, 0.0f, 0.0f, false, alpha, mode, paint);
2210 hOffset, vOffset, hasLayer() ? &bounds : nullptr, &functor)) {
DRecordingCanvas.cpp597 void RecordingCanvas::callDrawGLFunction(Functor* functor, in callDrawGLFunction() argument
599 mDisplayList->functors.push_back({functor, listener}); in callDrawGLFunction()
604 functor)); in callDrawGLFunction()
DBakedOpDispatcher.cpp303 TextDrawFunctor functor(&renderer, &state, renderClip, in renderText() local
310 op.positions, mustDirtyRenderTarget ? &layerBounds : nullptr, &functor, forceFinish); in renderText()
764 TextDrawFunctor functor(&renderer, &state, renderTargetClip, in onTextOnPathOp() local
771 mustDirtyRenderTarget ? &layerBounds : nullptr, &functor)) { in onTextOnPathOp()
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp323 void ForEachFileInDir(const std::string& dirname, Functor functor) { in ForEachFileInDir() argument
338 functor(entry->d_name); in ForEachFileInDir()
344 Functor functor) { in ForEachFileInZip() argument
377 functor(filename); in ForEachFileInZip()
384 void ForEachFileInPath(const std::string& path, Functor functor) { in ForEachFileInPath() argument
387 ForEachFileInDir(path, functor); in ForEachFileInPath()
390 functor); in ForEachFileInPath()
/frameworks/base/core/jni/
Dandroid_view_DisplayListCanvas.cpp81 virtual void onGlFunctorReleased(Functor* functor) override { in onGlFunctorReleased() argument
107 Functor* functor = reinterpret_cast<Functor*>(functorPtr); in android_view_DisplayListCanvas_callDrawGLFunction() local
112 canvas->callDrawGLFunction(functor, bridge.get()); in android_view_DisplayListCanvas_callDrawGLFunction()
Dandroid_view_RenderNode.cpp576 auto functor = std::bind( in android_view_RenderNode_requestPositionUpdates() local
582 info.canvasContext.enqueueFrameWork(std::move(functor)); in android_view_RenderNode_requestPositionUpdates()
589 auto functor = std::bind( in android_view_RenderNode_requestPositionUpdates() local
593 info->canvasContext.enqueueFrameWork(std::move(functor)); in android_view_RenderNode_requestPositionUpdates()
/frameworks/webview/chromium/plat_support/
Ddraw_gl_functor.cpp126 void DestroyGLFunctor(JNIEnv*, jclass, jlong functor) { in DestroyGLFunctor() argument
127 delete reinterpret_cast<DrawGLFunctor*>(functor); in DestroyGLFunctor()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java209 public void forEachJob(JobStatusFunctor functor) { in forEachJob() argument
210 mJobSet.forEachJob(functor); in forEachJob()
213 public void forEachJob(int uid, JobStatusFunctor functor) { in forEachJob() argument
214 mJobSet.forEachJob(uid, functor); in forEachJob()
889 public void forEachJob(JobStatusFunctor functor) { in forEachJob() argument
893 functor.process(jobs.valueAt(i)); in forEachJob()
898 public void forEachJob(int uid, JobStatusFunctor functor) { in forEachJob() argument
902 functor.process(jobs.valueAt(i)); in forEachJob()
/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp162 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { in invokeFunctor() argument
166 (*functor)(mode, info); in invokeFunctor()
169 (*functor)(mode, info); in invokeFunctor()
DRenderState.h70 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp249 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { in CREATE_BRIDGE2() argument
250 CanvasContext::invokeFunctor(*args->thread, args->functor); in CREATE_BRIDGE2()
254 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { in invokeFunctor() argument
259 args->functor = functor; in invokeFunctor()
DRenderProxy.h91 ANDROID_API static void invokeFunctor(Functor* functor, bool waitForCompletion);
DCanvasContext.h109 static void invokeFunctor(RenderThread& thread, Functor* functor);
DCanvasContext.cpp577 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { in invokeFunctor() argument
584 thread.renderState().invokeFunctor(functor, mode, nullptr); in invokeFunctor()
/frameworks/base/libs/hwui/tests/unit/
DRenderNodeTests.cpp59 void onGlFunctorReleased(Functor* functor) override { in TEST() argument
/frameworks/base/core/java/android/view/
DThreadedRenderer.java802 static void invokeFunctor(long functor, boolean waitForCompletion) { in invokeFunctor() argument
803 nInvokeFunctor(functor, waitForCompletion); in invokeFunctor()
996 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); in nInvokeFunctor() argument
/frameworks/base/libs/hwui/hwui/
DCanvas.h128 virtual void callDrawGLFunction(Functor* functor,

12