Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DHardwareCanvas.java123 abstract void detachFunctor(int functor); in detachFunctor() argument
134 abstract void attachFunctor(int functor); in attachFunctor() argument
DHardwareRenderer.java485 abstract void detachFunctor(int functor); in detachFunctor() argument
498 abstract boolean attachFunctor(View.AttachInfo attachInfo, int functor); in attachFunctor() argument
1316 void detachFunctor(int functor) { in detachFunctor() argument
1318 mCanvas.detachFunctor(functor); in detachFunctor()
1323 boolean attachFunctor(View.AttachInfo attachInfo, int functor) { in attachFunctor() argument
1325 mCanvas.attachFunctor(functor); in attachFunctor()
DGLES20Canvas.java287 public void detachFunctor(int functor) { in detachFunctor() argument
288 nDetachFunctor(mRenderer, functor); in detachFunctor()
291 private static native void nDetachFunctor(int renderer, int functor); in nDetachFunctor() argument
294 public void attachFunctor(int functor) { in attachFunctor() argument
295 nAttachFunctor(mRenderer, functor); in attachFunctor()
298 private static native void nAttachFunctor(int renderer, int functor); in nAttachFunctor() argument
DViewRootImpl.java668 public boolean attachFunctor(int functor) { in attachFunctor() argument
671 return mAttachInfo.mHardwareRenderer.attachFunctor(mAttachInfo, functor); in attachFunctor()
676 public void detachFunctor(int functor) { in detachFunctor() argument
678 mAttachInfo.mHardwareRenderer.detachFunctor(functor); in detachFunctor()
/frameworks/base/libs/hwui/
DOpenGLRenderer.h137 ANDROID_API void detachFunctor(Functor* functor);
138 ANDROID_API void attachFunctor(Functor* functor);
139 virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
DDisplayListRenderer.cpp345 Functor *functor = (Functor *) getInt(); in output() local
346 ALOGD("%s%s %p", (char*) indent, OP_NAMES[op], functor); in output()
923 Functor *functor = (Functor *) getInt(); in replay() local
924 DISPLAY_LIST_LOGD("%s%s %p", (char*) indent, OP_NAMES[op], functor); in replay()
926 drawGlStatus |= renderer.callDrawGLFunction(functor, dirty); in replay()
1463 status_t DisplayListRenderer::callDrawGLFunction(Functor *functor, Rect& dirty) { in callDrawGLFunction() argument
1466 addInt((int) functor); in callDrawGLFunction()
DOpenGLRenderer.cpp329 void OpenGLRenderer::detachFunctor(Functor* functor) { in detachFunctor() argument
330 mFunctors.remove(functor); in detachFunctor()
333 void OpenGLRenderer::attachFunctor(Functor* functor) { in attachFunctor() argument
334 mFunctors.add(functor); in attachFunctor()
375 status_t OpenGLRenderer::callDrawGLFunction(Functor* functor, Rect& dirty) { in callDrawGLFunction() argument
377 detachFunctor(functor); in callDrawGLFunction()
403 status_t result = (*functor)(DrawGlInfo::kModeDraw, &info) | DrawGlInfo::kStatusDrew; in callDrawGLFunction()
410 mFunctors.add(functor); in callDrawGLFunction()
DDisplayListRenderer.h556 virtual status_t callDrawGLFunction(Functor *functor, Rect& dirty);
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp164 OpenGLRenderer* renderer, Functor* functor) { in android_view_GLES20Canvas_callDrawGLFunction() argument
166 return renderer->callDrawGLFunction(functor, dirty); in android_view_GLES20Canvas_callDrawGLFunction()
170 jobject clazz, OpenGLRenderer* renderer, Functor* functor) { in android_view_GLES20Canvas_detachFunctor() argument
171 renderer->detachFunctor(functor); in android_view_GLES20Canvas_detachFunctor()
175 jobject clazz, OpenGLRenderer* renderer, Functor* functor) { in android_view_GLES20Canvas_attachFunctor() argument
176 renderer->attachFunctor(functor); in android_view_GLES20Canvas_attachFunctor()
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java4248 int functor = nativeCreateDrawGLFunction(mNativeClass, invScreenRect, in drawContent() local
4250 ((HardwareCanvas) canvas).callDrawGLFunction(functor); in drawContent()
7964 int functor = 0; in setNewPicture() local
7970 functor = nativeGetDrawGLFunction(mNativeClass); in setNewPicture()
7971 if (functor != 0) { in setNewPicture()
7973 forceInval |= !viewRoot.attachFunctor(functor); in setNewPicture()
7977 if (functor == 0 in setNewPicture()