Searched refs:globalCallbackRef (Results 1 – 1 of 1) sorted by relevance
868 auto globalCallbackRef = std::make_shared<JGlobalRefHolder>(vm, in android_view_ThreadedRenderer_setPictureCapturedCallbackJNI() local870 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() local891 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()