Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAnimatorManager.cpp133 AnimateFunctor functor(info, mAnimationHandle->context()); in animateCommon() local
135 newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor); in animateCommon()
139 return functor.dirtyMask; in animateCommon()
174 EndActiveAnimatorsFunctor functor(mAnimationHandle->context()); in endAllActiveAnimators() local
175 for_each(mAnimators.begin(), mAnimators.end(), functor); in endAllActiveAnimators()
DFontRenderer.h93 Rect* bounds, TextDrawFunctor* functor, bool forceFinish = true);
98 float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor);
136 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
DFontRenderer.cpp627 void FontRenderer::initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor) { in initRender() argument
632 mFunctor = functor; in initRender()
655 const float* positions, Rect* bounds, TextDrawFunctor* functor, bool forceFinish) { in renderPosText() argument
661 initRender(clip, bounds, functor); in renderPosText()
673 float hOffset, float vOffset, Rect* bounds, TextDrawFunctor* functor) { in renderTextOnPath() argument
679 initRender(clip, bounds, functor); in renderTextOnPath()
DDisplayListCanvas.cpp91 void DisplayListCanvas::callDrawGLFunction(Functor *functor) { in callDrawGLFunction() argument
92 addDrawOp(new (alloc()) DrawFunctorOp(functor)); in callDrawGLFunction()
93 mDisplayListData->functors.add(functor); in callDrawGLFunction()
DOpenGLRenderer.cpp272 void OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { in callDrawGLFunction() argument
303 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info); in callDrawGLFunction()
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, forceFinish);
2309 TextDrawFunctor functor(this, 0.0f, 0.0f, false, alpha, mode, paint);
2315 hOffset, vOffset, hasLayer() ? &bounds : nullptr, &functor)) {
DDisplayListCanvas.h121 void callDrawGLFunction(Functor* functor);
DOpenGLRenderer.h168 void callDrawGLFunction(Functor* functor, Rect& dirty);
DDisplayListOp.h1399 DrawFunctorOp(Functor* functor) in DrawFunctorOp() argument
1400 : DrawOp(nullptr), 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/renderstate/
DRenderState.cpp126 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { in invokeFunctor() argument
130 (*functor)(mode, info); in invokeFunctor()
133 (*functor)(mode, info); in invokeFunctor()
DRenderState.h62 void invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info);
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp241 CREATE_BRIDGE2(invokeFunctor, RenderThread* thread, Functor* functor) { in CREATE_BRIDGE2() argument
242 CanvasContext::invokeFunctor(*args->thread, args->functor); in CREATE_BRIDGE2()
246 void RenderProxy::invokeFunctor(Functor* functor, bool waitForCompletion) { in invokeFunctor() argument
251 args->functor = functor; in invokeFunctor()
DRenderProxy.h81 ANDROID_API static void invokeFunctor(Functor* functor, bool waitForCompletion);
DCanvasContext.h95 static void invokeFunctor(RenderThread& thread, Functor* functor);
DCanvasContext.cpp305 void CanvasContext::invokeFunctor(RenderThread& thread, Functor* functor) { in invokeFunctor() argument
312 thread.renderState().invokeFunctor(functor, mode, nullptr); in invokeFunctor()
/frameworks/base/core/java/android/view/
DThreadedRenderer.java354 static void invokeFunctor(long functor, boolean waitForCompletion) { in invokeFunctor() argument
355 nInvokeFunctor(functor, waitForCompletion); in invokeFunctor()
518 private static native void nInvokeFunctor(long functor, boolean waitForCompletion); in nInvokeFunctor() argument
DViewRootImpl.java676 public void detachFunctor(long functor) { in detachFunctor() argument
695 public void invokeFunctor(long functor, boolean waitForCompletion) { in invokeFunctor() argument
696 ThreadedRenderer.invokeFunctor(functor, waitForCompletion); in invokeFunctor()
/frameworks/base/core/jni/
Dandroid_view_DisplayListCanvas.cpp96 Functor* functor = reinterpret_cast<Functor*>(functorPtr); in android_view_DisplayListCanvas_callDrawGLFunction() local
97 renderer->callDrawGLFunction(functor); in android_view_DisplayListCanvas_callDrawGLFunction()
Dandroid_view_ThreadedRenderer.cpp335 Functor* functor = reinterpret_cast<Functor*>(functorPtr); in android_view_ThreadedRenderer_invokeFunctor() local
336 RenderProxy::invokeFunctor(functor, waitForCompletion); in android_view_ThreadedRenderer_invokeFunctor()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14037 String expectedStartTag, BlobXmlRestorer functor) in restoreFromXml() argument
14061 functor.apply(parser, userId); in restoreFromXml()