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

/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/renderstate/
H A DRenderState.cpp126 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
130 (*functor)(mode, info);
133 (*functor)(mode, info);
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp96 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
97 renderer->callDrawGLFunction(functor);
H A Dandroid_view_ThreadedRenderer.cpp335 Functor* functor = reinterpret_cast<Functor*>(functorPtr); local
336 RenderProxy::invokeFunctor(functor, waitForCompletion);
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp305 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { argument
312 thread.renderState().invokeFunctor(functor, mode, nullptr);
H A DRenderProxy.cpp241 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { argument
242 CanvasContext::invokeFunctor(*args->thread, args->functor);
246 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { argument
251 args->functor = functor;
/frameworks/base/core/java/android/view/
H A DThreadedRenderer.java354 static void invokeFunctor(long functor, boolean waitForCompletion) { argument
355 nInvokeFunctor(functor, waitForCompletion);
518 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); argument
H A DViewRootImpl.java293 // Currently this means a functor was detached.
676 public void detachFunctor(long functor) { argument
687 * Schedules the functor for execution in either kModeProcess or
690 * @param functor The native functor to invoke
691 * @param waitForCompletion If true, this will not return until the functor
692 * has invoked. If false, the functor may be invoked
695 public void invokeFunctor(long functor, boolean waitForCompletion) { argument
696 ThreadedRenderer.invokeFunctor(functor, waitForCompletion);
/frameworks/base/libs/hwui/
H A DDisplayListCanvas.cpp91 void DisplayListCanvas::callDrawGLFunction(Functor *functor) { argument
92 addDrawOp(new (alloc()) DrawFunctorOp(functor));
93 mDisplayListData->functors.add(functor);
H A DFontRenderer.cpp627 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { argument
632 mFunctor = functor;
655 const float* positions, Rect* bounds, TextDrawFunctor* functor, bool forceFinish) {
661 initRender(clip, bounds, functor);
673 float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) {
679 initRender(clip, bounds, functor);
653 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, TextDrawFunctor* functor, bool forceFinish) argument
671 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, TextDrawFunctor* functor) argument
H A DDisplayListOp.h1399 DrawFunctorOp(Functor* functor) argument
1400 : DrawOp(nullptr), mFunctor(functor) {}
1403 renderer.startMark("GL functor");
H A DOpenGLRenderer.cpp138 // This ensures we don't use tiling when a functor is going to be
272 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { argument
278 // Since we don't know what the functor will draw, let's dirty
295 // setup GL state for functor
303 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info);
2105 TextDrawFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2107 positions, hasLayer() ? &bounds : nullptr, &functor)) {
2267 TextDrawFunctor functor(this, x, y, pureTranslate, alpha, mode, paint);
2275 positions, hasActiveLayer ? &layerBounds : nullptr, &functor, forceFinish);
2278 positions, hasActiveLayer ? &layerBounds : nullptr, &functor, forceFinis
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java14034 * it to a caller-supplied functor to be applied to the running system.
14037 String expectedStartTag, BlobXmlRestorer functor)
14061 functor.apply(parser, userId);
14036 restoreFromXml(XmlPullParser parser, int userId, String expectedStartTag, BlobXmlRestorer functor) argument

Completed in 200 milliseconds