Home
last modified time | relevance | path

Searched refs:slots_ (Results 1 - 4 of 4) sorted by relevance

/base/msdp/device_status/tools/vdev/src/
H A Dvirtual_touchscreen.cpp54 VirtualTouchScreen::VirtualTouchScreen(const std::string &node) : VirtualDevice(node), slots_(N_SLOTS_AVAILABLE) in VirtualTouchScreen()
87 if (!slots_[s].active) { in SendTouchEvent()
90 SendEvent(EV_ABS, ABS_MT_POSITION_X, slots_[s].coord.x); in SendTouchEvent()
91 SendEvent(EV_ABS, ABS_MT_POSITION_Y, slots_[s].coord.y); in SendTouchEvent()
94 FI_HILOGD("Send event [%{public}d], (%{public}d, %{public}d)", s, slots_[s].coord.x, slots_[s].coord.y); in SendTouchEvent()
105 bool firstTouchDown = std::none_of(slots_.cbegin(), slots_.cend(), [](const auto &slot) { return slot.active; }); in DownButton()
106 if (slots_.size() <= static_cast<size_t>(slot)) { in DownButton()
110 slots_[slo in DownButton()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dnotification_preferences_info.cpp97 slots_.insert_or_assign(slot->GetType(), slot); in SetSlot()
103 auto iter = slots_.find(type); in GetSlot()
104 if (iter != slots_.end()) { in GetSlot()
171 std::for_each(slots_.begin(), in GetAllSlots()
172 slots_.end(), in GetAllSlots()
181 return slots_.size(); in GetAllSlotsSize()
186 auto iter = slots_.find(type); in IsExsitSlot()
187 return (iter != slots_.end()); in IsExsitSlot()
192 auto iter = slots_.find(type); in RemoveSlot()
193 if (iter != slots_ in RemoveSlot()
[all...]
/base/msdp/device_status/tools/vdev/include/
H A Dvirtual_touchscreen.h50 std::vector<Slot> slots_; member in OHOS::Msdp::DeviceStatus::final
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences_info.h231 std::map<NotificationConstant::SlotType, sptr<NotificationSlot>> slots_; member in OHOS::Notification::final::final

Completed in 2 milliseconds