Home
last modified time | relevance | path

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

/ohos5.0/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_touchscreen.cpp32 constexpr int32_t N_SLOTS_AVAILABLE { 10 }; variable
54 …creen::VirtualTouchScreen(const std::string &node) : VirtualDevice(node), slots_(N_SLOTS_AVAILABLE) in VirtualTouchScreen()
86 for (int32_t s = 0; s < N_SLOTS_AVAILABLE; ++s) { in SendTouchEvent()
101 if (slot < 0 || slot >= N_SLOTS_AVAILABLE) { in DownButton()
103 slot = N_SLOTS_AVAILABLE - 1; in DownButton()
128 if (slot < 0 || slot >= N_SLOTS_AVAILABLE) { in UpButton()
130 slot = N_SLOTS_AVAILABLE - 1; in UpButton()
160 if (slot < 0 || slot >= N_SLOTS_AVAILABLE) { in Move()
161 slot = N_SLOTS_AVAILABLE - 1; in Move()
201 if (slot < 0 || slot >= N_SLOTS_AVAILABLE) { in MoveTo()
[all …]