/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | injection_event_dispatch.cpp | 210 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 D | utils.cpp | 182 &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 D | get_topn.h | 29 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 D | bitmap_helpers.h | 117 switch (s->inputType) { in Resize()
|
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/src/ |
H A D | distributed_input_collector.cpp | 172 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 D | ace_view_ohos.cpp | 163 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 D | injection_event_dispatch.h | 75 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 D | ui_input_event_impl.h | 34 ArkUI_UIInputEvent_Type inputType; member
|
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/label_classify/ |
H A D | label_classify.h | 32 TfLiteType inputType = kTfLiteFloat32; member
|
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/test/sinkcollectorunittest/ |
H A D | distributed_input_collector_test.cpp | 102 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 D | input_method_manager.h | 28 InputType inputType; member
|
/foundation/multimedia/media_foundation/engine/include/plugin/interface/ |
H A D | source_plugin.h | 163 SrcInputType inputType; ///< Input type supported by record source member
|
/foundation/arkui/ace_engine/interfaces/napi/kits/performancemonitor/ |
H A D | napi_perf_monitor.cpp | 144 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 D | utils.h | 422 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 D | input_method_manager.cpp | 45 param.inputType = tmpView->GetInputType(); in ShowInputMethod()
|
/foundation/distributedhardware/distributed_input/services/sink/inputcollector/include/ |
H A D | distributed_input_collector.h | 46 AffectDhIds SetSharingTypes(bool enabled, const uint32_t &inputType);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_field_manager.cpp | 456 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 D | text_field_manager.h | 32 TextInputType inputType; member
|
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/include/ |
H A D | distributed_input_kit.h | 72 static DInputServerType IsStartDistributedInput(const uint32_t &inputType);
|
/foundation/distributedhardware/distributed_input/interfaces/inner_kits/src/ |
H A D | distributed_input_kit.cpp | 73 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 D | nnrt_op_builder.cpp | 60 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 D | gesture_impl.cpp | 556 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 D | ui_edit_text.cpp | 702 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 D | db_common.h | 96 static bool IsSameCipher(CipherType srcType, CipherType inputType);
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_source_napi.cpp | 606 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()
|