/ohos5.0/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/ |
H A D | key_event_input_subscribe_manager.cpp | 61 std::set<int32_t>::const_iterator tIter = tPrekeys.cbegin(); in operator <() local 62 for (; sIter != sPrekeys.cend() && tIter != tPrekeys.cend(); ++sIter, ++tIter) { in operator <() 63 if (*sIter != *tIter) { in operator <() 64 return (*sIter < *tIter); in operator <() 67 if (sIter != sPrekeys.cend() || tIter != tPrekeys.cend()) { in operator <() 68 return (tIter != tPrekeys.cend()); in operator <() 113 return tIter->GetSubscribeId(); in SubscribeKeyEvent() 115 if (MMIEventHdl.SubscribeKeyEvent(*tIter) != RET_OK) { in SubscribeKeyEvent() 117 subscribeInfos_.erase(tIter); in SubscribeKeyEvent() 123 tIter->GetSubscribeId(), keyOption->GetFinalKey(), in SubscribeKeyEvent() [all …]
|
/ohos5.0/base/msdp/device_status/tools/vdev/src/ |
H A D | virtual_mouse_builder.cpp | 376 auto tIter = model.find("actions"); in ReadModel() local 377 if (tIter != model.cend() && tIter->is_array()) { in ReadModel() 378 … std::for_each(tIter->cbegin(), tIter->cend(), [](const auto &item) { ReadAction(item); }); in ReadModel() 415 auto tIter = mouseBtns.find(it.value()); in HandleDown() local 416 if (tIter != mouseBtns.cend()) { in HandleDown() 417 std::cout << "[mouse] down button: " << tIter->first << std::endl; in HandleDown() 418 VirtualMouse::GetDevice()->DownButton(tIter->second); in HandleDown() 446 auto tIter = mouseBtns.find(it.value()); in HandleUp() local 447 if (tIter != mouseBtns.cend()) { in HandleUp() 448 std::cout << "[mouse] release button: " << tIter->first << std::endl; in HandleUp() [all …]
|
H A D | virtual_keyboard_builder.cpp | 253 auto tIter = model.find("actions"); in ReadModel() local 254 if (tIter != model.cend() && tIter->is_array()) { in ReadModel() 255 … std::for_each(tIter->cbegin(), tIter->cend(), [](const auto &item) { ReadAction(item); }); in ReadModel()
|
H A D | virtual_device_builder.cpp | 250 auto tIter = mapNames.find(std::string(uinputDev_.name)); in SetPhys() local 251 if (tIter == mapNames.cend()) { in SetPhys() 255 phys = tIter->second; in SetPhys()
|
/ohos5.0/foundation/multimodalinput/input/intention/scheduler/timer_manager/src/ |
H A D | timer_manager.cpp | 269 auto tIter = timers_.begin(); in ProcessTimersInternal() local 270 if (tIter == timers_.end()) { in ProcessTimersInternal() 273 if ((*tIter)->nextCallTime > presentTime) { in ProcessTimersInternal() 276 auto currentTimer = std::move(*tIter); in ProcessTimersInternal() 277 timers_.erase(tIter); in ProcessTimersInternal()
|
/ohos5.0/base/msdp/device_status/intention/scheduler/timer_manager/src/ |
H A D | timer_manager.cpp | 269 auto tIter = timers_.begin(); in ProcessTimersInternal() local 270 if (tIter == timers_.end()) { in ProcessTimersInternal() 273 if ((*tIter)->nextCallTime > presentTime) { in ProcessTimersInternal() 276 auto currentTimer = std::move(*tIter); in ProcessTimersInternal() 277 timers_.erase(tIter); in ProcessTimersInternal()
|
/ohos5.0/foundation/multimodalinput/input/service/monitor/src/ |
H A D | event_monitor_handler.cpp | 318 auto tIter = states_.begin(); in MarkConsumed() local 319 for (; tIter != states_.end(); ++tIter) { in MarkConsumed() 320 const auto &eventIds = tIter->second.eventIds_; in MarkConsumed() 325 if (tIter == states_.end()) { in MarkConsumed() 329 ConsumptionState &state = tIter->second; in MarkConsumed() 472 auto [tIter, isOk] = states_.emplace(pointerEvent->GetDeviceId(), ConsumptionState()); in UpdateConsumptionState() 477 sIter = tIter; in UpdateConsumptionState() 484 auto [tIter, isOk] = state.eventIds_.emplace(pointerEvent->GetId()); in UpdateConsumptionState() 499 auto [tIter, isOk] = state.eventIds_.emplace(pointerEvent->GetId()); in UpdateConsumptionState()
|
/ohos5.0/base/msdp/device_status/utils/ipc/src/ |
H A D | stream_buffer.cpp | 191 auto tIter = std::find_if(remark.cbegin(), remark.cend(), in GetErrorStatusRemark() local 195 return (tIter != remark.cend() ? tIter->second : invalidStatus); in GetErrorStatusRemark()
|
/ohos5.0/base/sensors/sensor/utils/ipc/src/ |
H A D | stream_buffer.cpp | 248 auto tIter = std::find_if(remark.cbegin(), remark.cend(), [this](const auto &item) { in GetErrorStatusRemark() 251 return (tIter != remark.cend() ? tIter->second : invalidStatus); in GetErrorStatusRemark()
|
/ohos5.0/foundation/multimodalinput/input/service/mouse_event_normalize/src/ |
H A D | mouse_event_normalize.cpp | 108 auto [tIter, isOk] = processors_.emplace(deviceId, processor); in OnEvent() 156 auto [tIter, isOk] = processors_.emplace(deviceId, processor); in NormalizeRotateEvent()
|
/ohos5.0/foundation/multimodalinput/input/intention/services/device_manager/src/ |
H A D | device_manager.cpp | 151 auto tIter = std::find_if(devices_.cbegin(), devices_.cend(), in FindDevice() local 155 return (tIter != devices_.cend() ? tIter->second : nullptr); in FindDevice()
|
/ohos5.0/base/msdp/device_status/intention/services/device_manager/src/ |
H A D | device_manager.cpp | 152 auto tIter = std::find_if(devices_.cbegin(), devices_.cend(), in FindDevice() local 156 return (tIter != devices_.cend() ? tIter->second : nullptr); in FindDevice()
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_event_normalize.cpp | 50 auto [tIter, isOk] = processors_.emplace(deviceId, processor); in OnLibInput()
|