Home
last modified time | relevance | path

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

/system/teeui/libteeui_jni/
Dlibteeui_jni.cpp127 static std::unique_ptr<teeui::example::ITeeuiExample> sCurrentExample; variable
157 sCurrentExample = in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
160 return sCurrentExample->setDeviceInfo(device_info, magnified, inverted); in Java_com_android_framebufferizer_NativeRenderer_setDeviceInfo()
174 if (!sCurrentExample) return kLayoutExampleError; in Java_com_android_framebufferizer_NativeRenderer_renderBuffer()
175 return sCurrentExample->renderUIIntoBuffer((uint32_t)x, (uint32_t)y, (uint32_t)width, in Java_com_android_framebufferizer_NativeRenderer_renderBuffer()
188 if (sCurrentExample) sCurrentExample->selectLanguage(lang_id.begin()); in Java_com_android_framebufferizer_NativeRenderer_setLanguage()
241 if (sCurrentExample) sCurrentExample->setConfirmationMessage(confirmationMessage.begin()); in Java_com_android_framebufferizer_NativeRenderer_setConfimationMessage()
251 if (sCurrentExample) { in Java_com_android_framebufferizer_NativeRenderer_onEvent()
252 return (jint)sCurrentExample->onEvent((uint32_t)x, (uint32_t)y, (uint32_t)event); in Java_com_android_framebufferizer_NativeRenderer_onEvent()
/system/teeui/test/
Dteeui_device_config.cpp42 std::unique_ptr<ITeeuiExample> sCurrentExample = createExample( in runRenderTest() local
46 sCurrentExample->setDeviceInfo(*device_info_ptr, magnified, inverted); in runRenderTest()
52 sCurrentExample->setConfirmationMessage(confirmationMessage); in runRenderTest()
53 sCurrentExample->selectLanguage(language); in runRenderTest()
56 sCurrentExample->renderUIIntoBuffer(0, 0, w, h, linestride, buffer.data(), buffer_size); in runRenderTest()