Searched defs:functor (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/
H A DRenderState.cpp94 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
96 (*functor)(mode, info);
H A DDisplayListRenderer.cpp89 status_t DisplayListRenderer::callDrawGLFunction(Functor *functor, Rect& dirty) { argument
91 addDrawOp(new (alloc()) DrawFunctorOp(functor));
92 mDisplayListData->functors.add(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 DDisplayListOp.h1454 DrawFunctorOp(Functor* functor) argument
1455 : DrawOp(NULL), mFunctor(functor) {}
1458 renderer.startMark("GL functor");
H A DOpenGLRenderer.cpp206 // This ensures we don't use tiling when a functor is going to be
351 status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument
357 // Since we don't know what the functor will draw, let's dirty
374 // setup GL state for functor
382 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info);
2768 TextSetupFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2770 positions, hasActiveLayer ? &bounds : NULL, &functor)) {
2864 TextSetupFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2872 positions, hasActiveLayer ? &layerBounds : NULL, &functor, forceFinish);
2875 positions, hasActiveLayer ? &layerBounds : NULL, &functor, forceFinis
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DDrawGLFunctor.java111 private static native void nativeDestroyGLFunctor(long functor); argument
/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/base/libs/hwui/renderthread/
H A DCanvasContext.cpp255 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { argument
263 thread.renderState().invokeFunctor(functor, mode, NULL);
H A DRenderProxy.cpp211 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { argument
212 CanvasContext::invokeFunctor(*args->thread, args->functor);
216 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { argument
221 args->functor = functor;
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java340 static void invokeFunctor(long functor, boolean waitForCompletion) { argument
341 nInvokeFunctor(functor, waitForCompletion);
494 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); argument
H A DViewRootImpl.java282 // Currently this means a functor was detached.
655 public void detachFunctor(long functor) { argument
666 * Schedules the functor for execution in either kModeProcess or
669 * @param functor The native functor to invoke
670 * @param waitForCompletion If true, this will not return until the functor
671 * has invoked. If false, the functor may be invoked
674 public void invokeFunctor(long functor, boolean waitForCompletion) { argument
675 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.cpp157 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
159 return renderer->callDrawGLFunction(functor, dirty);

Completed in 723 milliseconds