Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAnimatorManager.cpp132 AnimateFunctor functor(info, mAnimationHandle->context()); in animateCommon() local
134 newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor); in animateCommon()
137 return functor.dirtyMask; in animateCommon()
172 EndActiveAnimatorsFunctor functor(mAnimationHandle->context()); in endAllActiveAnimators() local
173 for_each(mAnimators.begin(), mAnimators.end(), functor); in endAllActiveAnimators()
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);
DRenderState.cpp103 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { in invokeFunctor() argument
105 (*functor)(mode, info); in invokeFunctor()
DFontRenderer.cpp664 void FontRenderer::initRender(const Rect* clip, Rect* bounds, Functor* functor) { in initRender() argument
669 mFunctor = functor; in initRender()
692 const float* positions, Rect* bounds, Functor* functor, bool forceFinish) { in renderPosText() argument
698 initRender(clip, bounds, functor); in renderPosText()
710 float hOffset, float vOffset, Rect* bounds, Functor* functor) { in renderTextOnPath() argument
716 initRender(clip, bounds, functor); in renderTextOnPath()
DRenderState.h52 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
DDisplayListRenderer.cpp90 status_t DisplayListRenderer::callDrawGLFunction(Functor *functor, Rect& dirty) { in callDrawGLFunction() argument
92 addDrawOp(new (alloc()) DrawFunctorOp(functor)); in callDrawGLFunction()
93 mDisplayListData->functors.add(functor); in callDrawGLFunction()
DRenderer.h227 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty) = 0;
DOpenGLRenderer.cpp352 status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { in callDrawGLFunction() argument
383 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info); in callDrawGLFunction()
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, forceFinish);
2853 TextSetupFunctor functor(this, 0.0f, 0.0f, false, alpha, mode, paint);
2861 hOffset, vOffset, hasActiveLayer ? &bounds : NULL, &functor)) {
DDisplayListRenderer.h159 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
DOpenGLRenderer.h139 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
DDisplayListOp.h1451 DrawFunctorOp(Functor* functor) in DrawFunctorOp() argument
1452 : DrawOp(NULL), mFunctor(functor) {} in DrawFunctorOp()
/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/libs/hwui/renderthread/
DRenderProxy.cpp222 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { in CREATE_BRIDGE2() argument
223 CanvasContext::invokeFunctor(*args->thread, args->functor); in CREATE_BRIDGE2()
227 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { in invokeFunctor() argument
232 args->functor = functor; in invokeFunctor()
DCanvasContext.h92 static void invokeFunctor(RenderThread& thread, Functor* functor);
DRenderProxy.h80 ANDROID_API static void invokeFunctor(Functor* functor, bool waitForCompletion);
DCanvasContext.cpp270 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { in invokeFunctor() argument
278 thread.renderState().invokeFunctor(functor, mode, NULL); in invokeFunctor()
/frameworks/webview/chromium/java/com/android/webview/chromium/
DDrawGLFunctor.java122 private static native void nativeDestroyGLFunctor(long functor); in nativeDestroyGLFunctor() argument
/frameworks/base/core/java/android/view/
DThreadedRenderer.java354 static void invokeFunctor(long functor, boolean waitForCompletion) { in invokeFunctor() argument
355 nInvokeFunctor(functor, waitForCompletion); in invokeFunctor()
510 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); in nInvokeFunctor() argument
DViewRootImpl.java659 public void detachFunctor(long functor) { in detachFunctor() argument
678 public void invokeFunctor(long functor, boolean waitForCompletion) { in invokeFunctor() argument
679 ThreadedRenderer.invokeFunctor(functor, waitForCompletion); in invokeFunctor()
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp319 Functor* functor = reinterpret_cast<Functor*>(functorPtr); in android_view_ThreadedRenderer_invokeFunctor() local
320 RenderProxy::invokeFunctor(functor, waitForCompletion); in android_view_ThreadedRenderer_invokeFunctor()
Dandroid_view_GLES20Canvas.cpp158 Functor* functor = reinterpret_cast<Functor*>(functorPtr); in android_view_GLES20Canvas_callDrawGLFunction() local
160 return renderer->callDrawGLFunction(functor, dirty); in android_view_GLES20Canvas_callDrawGLFunction()