Searched refs:sAnw (Results 1 – 1 of 1) sorted by relevance
34 static ANativeWindow* sAnw; variable39 sAnw = ANativeWindow_fromSurface(env, surfaceObject); in Java_com_android_test_SurfaceProxy_setSurface()40 assert(sAnw); in Java_com_android_test_SurfaceProxy_setSurface()41 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_setSurface()44 native_window_set_usage(sAnw, GRALLOC_USAGE_SW_WRITE_OFTEN); in Java_com_android_test_SurfaceProxy_setSurface()45 native_window_set_buffers_format(sAnw, HAL_PIXEL_FORMAT_RGBA_8888); in Java_com_android_test_SurfaceProxy_setSurface()52 assert(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed()53 android::sp<android::Surface> surface = static_cast<android::Surface*>(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed()80 assert(sAnw); in Java_com_android_test_SurfaceProxy_draw()82 ANativeWindow_lock(sAnw, &outBuffer, nullptr); in Java_com_android_test_SurfaceProxy_draw()[all …]