Searched refs:slots_ (Results 1 – 4 of 4) sorted by relevance
/base/msdp/device_status/tools/vdev/src/ |
D | virtual_touchscreen.cpp | 52 VirtualTouchScreen::VirtualTouchScreen(const std::string &node) : VirtualDevice(node), slots_(N_SLO… in VirtualTouchScreen() 85 if (!slots_[s].active) { in SendTouchEvent() 88 SendEvent(EV_ABS, ABS_MT_POSITION_X, slots_[s].coord.x); in SendTouchEvent() 89 SendEvent(EV_ABS, ABS_MT_POSITION_Y, slots_[s].coord.y); in SendTouchEvent() 92 …FI_HILOGD("Send event [%{public}d], (%{public}d, %{public}d)", s, slots_[s].coord.x, slots_[s].coo… in SendTouchEvent() 103 …bool firstTouchDown = std::none_of(slots_.cbegin(), slots_.cend(), [](const auto &slot) { return s… in DownButton() 105 slots_[slot].coord.x = std::min(std::max(x, 0), screenWidth_ - 1); in DownButton() 106 slots_[slot].coord.y = std::min(std::max(y, 0), screenHeight_ - 1); in DownButton() 107 slots_[slot].active = true; in DownButton() 108 …GD("Press down [%{public}d], (%{public}d, %{public}d)", slot, slots_[slot].coord.x, slots_[slot].c… in DownButton() [all …]
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_preferences_info.cpp | 87 slots_.insert_or_assign(slot->GetType(), slot); in SetSlot() 93 auto iter = slots_.find(type); in GetSlot() 94 if (iter != slots_.end()) { in GetSlot() 104 std::for_each(slots_.begin(), in GetAllSlots() 105 slots_.end(), in GetAllSlots() 114 return slots_.size(); in GetAllSlotsSize() 119 auto iter = slots_.find(type); in IsExsitSlot() 120 return (iter != slots_.end()); in IsExsitSlot() 125 auto iter = slots_.find(type); in RemoveSlot() 126 if (iter != slots_.end()) { in RemoveSlot() [all …]
|
/base/msdp/device_status/tools/vdev/include/ |
D | virtual_touchscreen.h | 49 std::vector<Slot> slots_; variable
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_preferences_info.h | 194 std::map<NotificationConstant::SlotType, sptr<NotificationSlot>> slots_; variable
|