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

12

/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.cpp78 iter.listener->onGlFunctorReleased(iter.functor);
H A DFontRenderer.h116 Rect* outBounds, TextDrawFunctor* functor, bool forceFinish = true);
120 float hOffset, float vOffset, Rect* outBounds, TextDrawFunctor* functor);
163 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
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 DDisplayList.h119 Functor* functor; member in struct:android::uirenderer::FunctorContainer
H A DFontRenderer.cpp644 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { argument
649 mFunctor = functor;
672 Rect* bounds, TextDrawFunctor* functor, bool forceFinish) {
678 initRender(clip, bounds, functor);
690 Rect* bounds, TextDrawFunctor* functor) {
696 initRender(clip, bounds, functor);
670 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
688 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 DOpenGLRenderer.cpp224 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument
230 // Since we don't know what the functor will draw, let's dirty
247 // setup GL state for functor
255 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info);
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(thi
[all...]
H A DDisplayListCanvas.cpp84 void DisplayListCanvas::callDrawGLFunction(Functor* functor, argument
86 addDrawOp(new (alloc()) DrawFunctorOp(functor));
87 mDisplayList->functors.push_back({functor, listener});
H A DRecordingCanvas.cpp615 void RecordingCanvas::callDrawGLFunction(Functor* functor, argument
617 mDisplayList->functors.push_back({functor, listener});
622 functor));
H A DBakedOpDispatcher.cpp303 TextDrawFunctor functor(&renderer, &state, renderClip,
310 op.positions, mustDirtyRenderTarget ? &layerBounds : nullptr, &functor, forceFinish);
764 TextDrawFunctor functor(&renderer, &state, renderTargetClip,
771 mustDirtyRenderTarget ? &layerBounds : nullptr, &functor)) {
H A DBakedOpRenderer.cpp369 mRenderState.invokeFunctor(op.functor, DrawGlInfo::kModeDraw, &info);
H A DDisplayListCanvas.h96 virtual void callDrawGLFunction(Functor* functor,
/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.cpp323 void ForEachFileInDir(const std::string& dirname, Functor functor) { argument
338 functor(entry->d_name);
344 Functor functor) {
377 functor(filename);
384 void ForEachFileInPath(const std::string& path, Functor functor) { argument
387 ForEachFileInDir(path, functor);
390 functor);
342 ForEachFileInZip(const std::string& zipname, const std::string& dir_in_zip, Functor functor) argument
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp81 virtual void onGlFunctorReleased(Functor* functor) override {
107 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
112 canvas->callDrawGLFunction(functor, bridge.get());
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp162 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
166 (*functor)(mode, info);
169 (*functor)(mode, info);
H A DRenderState.h70 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeTests.cpp72 void onGlFunctorReleased(Functor* functor) override {
/frameworks/base/services/core/java/com/android/server/job/
H A DJobStore.java204 * Iterate over the set of all jobs, invoking the supplied functor on each. This is for
209 public void forEachJob(JobStatusFunctor functor) { argument
210 mJobSet.forEachJob(functor);
213 public void forEachJob(int uid, JobStatusFunctor functor) { argument
214 mJobSet.forEachJob(uid, functor);
889 public void forEachJob(JobStatusFunctor functor) { argument
893 functor.process(jobs.valueAt(i));
898 public void forEachJob(int uid, JobStatusFunctor functor) { argument
902 functor.process(jobs.valueAt(i));
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.h91 ANDROID_API static void invokeFunctor(Functor* functor, bool waitForCompletion);
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;
H A DCanvasContext.h109 static void invokeFunctor(RenderThread& thread, Functor* functor);
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java794 static void invokeFunctor(long functor, boolean waitForCompletion) { argument
795 nInvokeFunctor(functor, waitForCompletion);
1006 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); argument
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h128 virtual void callDrawGLFunction(Functor* functor,

Completed in 490 milliseconds

12