Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp868 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() local
870 proxy->setPictureCapturedCallback([globalCallbackRef](sk_sp<SkPicture>&& picture) { in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
871 JNIEnv* env = getenv(globalCallbackRef->vm()); in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
876 globalCallbackRef->object()); in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI()
889 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setFrameCallback() local
891 proxy->setFrameCallback([globalCallbackRef](int64_t frameNr) { in android_view_ThreadedRenderer_setFrameCallback()
892 JNIEnv* env = getenv(globalCallbackRef->vm()); in android_view_ThreadedRenderer_setFrameCallback()
893 env->CallVoidMethod(globalCallbackRef->object(), gFrameDrawingCallback.onFrameDraw, in android_view_ThreadedRenderer_setFrameCallback()