Home
last modified time | relevance | path

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

/system/teeui/libteeui/example/
Dtouch_button_example.cpp36 class GUIStateTouch : public ITeeuiExample { class
47 GUIStateTouch() : okTapped_(false), cancelTapped_(false), inverted_(false), layoutInstance_{} {} in GUIStateTouch() function in teeui::example::touch_button::GUIStateTouch
89 return std::make_unique<GUIStateTouch>(); in createTeeuiExample()
92 EventResult GUIStateTouch::onEvent(uint32_t x, uint32_t y, uint32_t) { in onEvent()
125 uint32_t GUIStateTouch::setDeviceInfo(DeviceInfo device_info, bool magnified, bool inverted) { in setDeviceInfo()
131 [](Event e, void* p) -> Error { return reinterpret_cast<GUIStateTouch*>(p)->tapOk(e); }, in setDeviceInfo()
136 return reinterpret_cast<GUIStateTouch*>(p)->tapCancel(e); in setDeviceInfo()
142 uint32_t GUIStateTouch::renderUIIntoBuffer(uint32_t x, uint32_t y, uint32_t w, uint32_t h, in renderUIIntoBuffer()