Home
last modified time | relevance | path

Searched refs:inputType (Results 1 - 25 of 41) sorted by relevance

12

/foundation/multimodalinput/input/tools/event_inject/src/
H A Dinjection_event_dispatch.cpp210 bool InjectionEventDispatch::CheckType(const std::string &inputType) in CheckType() argument
212 if ((inputType.length()) > INPUT_TYPE_LENGTH) { in CheckType()
213 MMI_HILOGE("The value entered is out of range, type:%{public}s", inputType.c_str()); in CheckType()
216 bool isTypeNumber = regex_match(inputType, std::regex("\\d+")); in CheckType()
218 int32_t numberType = stoi(inputType); in CheckType()
226 bool InjectionEventDispatch::CheckEventValue(const std::string &inputType, const std::string &inputCode, in CheckEventValue() argument
229 if (!(CheckType(inputType))) { in CheckEventValue()
230 MMI_HILOGE("Input error in type, type:%{public}s", inputType.c_str()); in CheckEventValue()
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/tools/
H A Dutils.cpp182 &topResults, settings.inputType); in AnalysisResults()
186 threshold, &topResults, settings.inputType); in AnalysisResults()
190 threshold, &topResults, settings.inputType); in AnalysisResults()
194 threshold, &topResults, settings.inputType); in AnalysisResults()
232 settings.inputType = interpreter->tensor(input)->type; in ImportData()
233 switch (settings.inputType) { in ImportData()
251 LOG(ERROR) << "cannot handle input type " << settings.inputType << " yet"; in ImportData()
H A Dget_topn.h29 std::vector<std::pair<float, int32_t>>* topResults, TfLiteType inputType) in GetTopN()
43 switch (inputType) { in GetTopN()
28 GetTopN(T* prediction, int32_t predictionSize, size_t numResults, float threshold, std::vector<std::pair<float, int32_t>>* topResults, TfLiteType inputType) GetTopN() argument
H A Dbitmap_helpers.h117 switch (s->inputType) { in Resize()
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/src/
H A Ddistributed_input_collector.cpp172 AffectDhIds DistributedInputCollector::SetSharingTypes(bool enabled, const uint32_t &inputType) in SetSharingTypes() argument
175 if ((inputType & static_cast<uint32_t>(DInputDeviceType::MOUSE)) != 0 || in SetSharingTypes()
176 (inputType & static_cast<uint32_t>(DInputDeviceType::TOUCHPAD)) != 0) { in SetSharingTypes()
179 if ((inputType & static_cast<uint32_t>(DInputDeviceType::KEYBOARD)) != 0) { in SetSharingTypes()
182 if ((inputType & static_cast<uint32_t>(DInputDeviceType::TOUCHSCREEN)) != 0) { in SetSharingTypes()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_view_ohos.cpp163 PerfActionType inputType = UNKNOWN_ACTION; in DispatchEventToPerf() local
179 inputType = LAST_DOWN; in DispatchEventToPerf()
185 inputType = LAST_UP; in DispatchEventToPerf()
190 inputType = FIRST_MOVE; in DispatchEventToPerf()
193 pMonitor->RecordInputEvent(inputType, sourceType, inputTime); in DispatchEventToPerf()
211 PerfActionType inputType = UNKNOWN_ACTION; in DispatchEventToPerf() local
214 inputType = LAST_UP; in DispatchEventToPerf()
216 inputType = LAST_DOWN; in DispatchEventToPerf()
220 pMonitor->RecordInputEvent(inputType, sourceType, inputTime); in DispatchEventToPerf()
/foundation/multimodalinput/input/tools/event_inject/include/
H A Dinjection_event_dispatch.h75 bool CheckType(const std::string &inputType);
78 bool CheckEventValue(const std::string &inputType, const std::string &inputCode,
/foundation/arkui/ace_engine/interfaces/native/event/
H A Dui_input_event_impl.h34 ArkUI_UIInputEvent_Type inputType; member
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/
H A Dlabel_classify.h32 TfLiteType inputType = kTfLiteFloat32; member
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/test/sinkcollectorunittest/
H A Ddistributed_input_collector_test.cpp102 uint32_t inputType = static_cast<uint32_t>(DInputDeviceType::ALL); in HWTEST_F() local
104 AffectDhIds ret = DistributedInputCollector::GetInstance().SetSharingTypes(enabled, inputType); in HWTEST_F()
/foundation/arkui/ui_lite/interfaces/innerkits/common/
H A Dinput_method_manager.h28 InputType inputType; member
/foundation/multimedia/media_foundation/engine/include/plugin/interface/
H A Dsource_plugin.h163 SrcInputType inputType; ///< Input type supported by record source member
/foundation/arkui/ace_engine/interfaces/napi/kits/performancemonitor/
H A Dnapi_perf_monitor.cpp144 int inputType = 0; in JSSceneStart() local
145 if (!ParseInt32Param(env, argv[SECOND_ARG_INDEX], inputType)) { in JSSceneStart()
153 SceneStart(sceneId, inputType, note); in JSSceneStart()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.h422 TextInputType inputType; in ConvertStrToTextInputType() local
424 inputType = TextInputType::NUMBER; in ConvertStrToTextInputType()
426 inputType = TextInputType::DATETIME; in ConvertStrToTextInputType()
428 inputType = TextInputType::EMAIL_ADDRESS; in ConvertStrToTextInputType()
430 inputType = TextInputType::VISIBLE_PASSWORD; in ConvertStrToTextInputType()
432 inputType = TextInputType::TEXT; in ConvertStrToTextInputType()
434 return inputType; in ConvertStrToTextInputType()
/foundation/arkui/ui_lite/frameworks/core/
H A Dinput_method_manager.cpp45 param.inputType = tmpView->GetInputType(); in ShowInputMethod()
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/include/
H A Ddistributed_input_collector.h46 AffectDhIds SetSharingTypes(bool enabled, const uint32_t &inputType);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_manager.cpp456 return textFieldInfo.inputType == TextInputType::VISIBLE_PASSWORD || in IsAutoFillPasswordType()
457 textFieldInfo.inputType == TextInputType::NEW_PASSWORD || in IsAutoFillPasswordType()
458 textFieldInfo.inputType == TextInputType::NUMBER_PASSWORD || in IsAutoFillPasswordType()
H A Dtext_field_manager.h32 TextInputType inputType; member
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/include/
H A Ddistributed_input_kit.h72 static DInputServerType IsStartDistributedInput(const uint32_t &inputType);
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/src/
H A Ddistributed_input_kit.cpp73 DInputServerType DistributedInputKit::IsStartDistributedInput(const uint32_t &inputType) in IsStartDistributedInput() argument
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_op_builder.cpp60 const auto inputType = mappingArgs.context->tensors[inputId].type; in AddZerosBias() local
62 if (inputType == kTfLiteFloat32) { in AddZerosBias()
76 if (inputType == kTfLiteFloat32) { in AddZerosBias()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dgesture_impl.cpp556 uiEvent.inputType = ARKUI_UIINPUTEVENT_TYPE_MOUSE; in HandleGestureEvent()
559 uiEvent.inputType = ARKUI_UIINPUTEVENT_TYPE_AXIS; in HandleGestureEvent()
562 uiEvent.inputType = ARKUI_UIINPUTEVENT_TYPE_TOUCH; in HandleGestureEvent()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_edit_text.cpp702 void UIEditText::SetInputType(InputType inputType) in SetInputType() argument
704 if (inputType_ == inputType) { in SetInputType()
707 inputType_ = inputType; in SetInputType()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Ddb_common.h96 static bool IsSameCipher(CipherType srcType, CipherType inputType);
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/
H A Dsendable_image_source_napi.cpp606 auto inputType = ImageNapiUtils::getType(env, argValue); in CreateNativeImageSource() local
607 if (napi_string == inputType) { // File Path in CreateNativeImageSource()
615 } else if (napi_number == inputType) { // Fd in CreateNativeImageSource()

Completed in 25 milliseconds

12