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

/frameworks/base/libs/hwui/
H A DAnimatorManager.cpp132 AnimateFunctor functor(info, mAnimationHandle->context());
134 newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor);
137 return functor.dirtyMask;
172 EndActiveAnimatorsFunctor functor(mAnimationHandle->context());
173 for_each(mAnimators.begin(), mAnimators.end(), functor);
H A DRenderState.cpp103 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
105 (*functor)(mode, info);
H A DRenderState.h52 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
H A DFontRenderer.h106 Rect* bounds, Functor* functor, bool forceFinish = true);
111 float hOffset, float vOffset, Rect* bounds, Functor* functor);
157 void initRender(const Rect* clip, Rect* bounds, Functor* functor);
H A DFontRenderer.cpp664 void FontRenderer::initRender(const Rect* clip, Rect* bounds, Functor* functor) { argument
669 mFunctor = functor;
692 const float* positions, Rect* bounds, Functor* functor, bool forceFinish) {
698 initRender(clip, bounds, functor);
710 float hOffset, float vOffset, Rect* bounds, Functor* functor) {
716 initRender(clip, bounds, functor);
690 renderPosText(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, int x, int y, const float* positions, Rect* bounds, Functor* functor, bool forceFinish) argument
708 renderTextOnPath(const SkPaint* paint, const Rect* clip, const char *text, uint32_t startIndex, uint32_t len, int numGlyphs, const SkPath* path, float hOffset, float vOffset, Rect* bounds, Functor* functor) argument
H A DDisplayListRenderer.cpp90 status_t DisplayListRenderer::callDrawGLFunction(Functor *functor, Rect& dirty) { argument
92 addDrawOp(new (alloc()) DrawFunctorOp(functor));
93 mDisplayListData->functors.add(functor);
H A DRenderer.h227 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty) = 0;
H A DDisplayListRenderer.h159 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
H A DOpenGLRenderer.cpp206 // This ensures we don't use tiling when a functor is going to be
352 status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument
358 // Since we don't know what the functor will draw, let's dirty
375 // setup GL state for functor
383 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info);
2715 TextSetupFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2717 positions, hasActiveLayer ? &bounds : NULL, &functor)) {
2811 TextSetupFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2819 positions, hasActiveLayer ? &layerBounds : NULL, &functor, forceFinish);
2822 positions, hasActiveLayer ? &layerBounds : NULL, &functor, forceFinis
[all...]
H A DOpenGLRenderer.h139 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
H A DDisplayListOp.h1451 DrawFunctorOp(Functor* functor) argument
1452 : DrawOp(NULL), mFunctor(functor) {}
1455 renderer.startMark("GL 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/webview/chromium/java/com/android/webview/chromium/
H A DDrawGLFunctor.java122 private static native void nativeDestroyGLFunctor(long functor); argument
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.h92 static void invokeFunctor(RenderThread& thread, Functor* functor);
H A DRenderProxy.h80 ANDROID_API static void invokeFunctor(Functor* functor, bool waitForCompletion);
H A DRenderProxy.cpp222 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { argument
223 CanvasContext::invokeFunctor(*args->thread, args->functor);
227 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { argument
232 args->functor = functor;
H A DCanvasContext.cpp270 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { argument
278 thread.renderState().invokeFunctor(functor, mode, NULL);
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java354 static void invokeFunctor(long functor, boolean waitForCompletion) { argument
355 nInvokeFunctor(functor, waitForCompletion);
510 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); argument
H A DViewRootImpl.java282 // Currently this means a functor was detached.
659 public void detachFunctor(long functor) { argument
670 * Schedules the functor for execution in either kModeProcess or
673 * @param functor The native functor to invoke
674 * @param waitForCompletion If true, this will not return until the functor
675 * has invoked. If false, the functor may be invoked
678 public void invokeFunctor(long functor, boolean waitForCompletion) { argument
679 ThreadedRenderer.invokeFunctor(functor, waitForCompletion);
/frameworks/base/core/jni/
H A Dandroid_view_ThreadedRenderer.cpp319 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
320 RenderProxy::invokeFunctor(functor, waitForCompletion);
H A Dandroid_view_GLES20Canvas.cpp158 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
160 return renderer->callDrawGLFunction(functor, dirty);

Completed in 7209 milliseconds