Home
last modified time | relevance | path

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

/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dslow_motion_session.cpp80 // Validate and adjust topLeftX and topLeftY in NormalizeRect()
81 rect.topLeftX = std::max(0.0, std::min(1.0, rect.topLeftX)); in NormalizeRect()
100 MEDIA_INFO_LOG("topLeftX: %{public}f, topLeftY: %{public}f, width: %{public}f, height: %{public}f", in SetSlowMotionDetectionArea()
101 rect.topLeftX, rect.topLeftY, rect.width, rect.height); in SetSlowMotionDetectionArea()
106 std::vector<float> rectVec = {static_cast<float>(rect.topLeftX), static_cast<float>(rect.topLeftY), in SetSlowMotionDetectionArea()
/foundation/multimedia/camera_framework/frameworks/native/camera/src/output/
H A Dmetadata_output.cpp441 double topLeftX = 0; in ProcessRectBox() local
446 topLeftX = scale - offsetBottomRightY; in ProcessRectBox()
451 topLeftX = offsetTopLeftY; in ProcessRectBox()
456 topLeftX = scale - offsetBottomRightY; in ProcessRectBox()
461 topLeftX = topLeftX < 0 ? 0 : topLeftX; in ProcessRectBox()
462 topLeftX = topLeftX > scale ? scale : topLeftX; in ProcessRectBox()
[all...]
/foundation/ai/ai_engine/interfaces/kits/cv/
H A Dai_image.h63 int topLeftX; member
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dmetadata_output_impl.cpp67 boundingBox.topLeftX = metaObjects[index]->GetBoundingBox().topLeftX;
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dslow_motion_session_napi.cpp244 double topLeftX; in SetSlowMotionDetectionArea() local
251 if ((GetDoubleProperty(env, argv[PARAM0], "topLeftX", topLeftX) == nullptr) || in SetSlowMotionDetectionArea()
258 Rect rect = (Rect) {topLeftX, topLeftY, width, height}; in SetSlowMotionDetectionArea()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_dirty_manager.cpp809 auto topLeftX = static_cast<int32_t>(topLeft[0]); in CalRectInScreen() local
813 if ((topLeftX > 0 && bottomRightX < INT32_MIN + topLeftX) || in CalRectInScreen()
814 (topLeftX < 0 && bottomRightX > INT32_MAX + topLeftX)) { in CalRectInScreen()
815 TLOGE(WmsLogTag::WMS_EVENT, "data overflows topLeftX:%{public}d bottomRightX:%{public}d", in CalRectInScreen()
816 topLeftX, bottomRightX); in CalRectInScreen()
823 auto width = std::abs(topLeftX - bottomRightX); in CalRectInScreen()
/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/
H A Dcamera.h868 int32_t topLeftX; member
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_object_types.cpp103 { "topLeftX", &rect_.topLeftX }, in GetCameraNapiObject()
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dinput_manager.cpp618 int32_t InputManager::SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) in SetVKeyboardArea() argument
620 return InputMgrImpl.SetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in SetVKeyboardArea()
/foundation/multimodalinput/input/service/module_loader/include/
H A Dmmi_service.h150 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) override;
151 int32_t OnSetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dtest_common.cpp304 metaObjects[i]->GetBoundingBox().topLeftX, metaObjects[i]->GetBoundingBox().topLeftY, in OnMetadataObjectsAvailable()
/foundation/multimodalinput/input/service/connect_manager/include/
H A Dmultimodal_input_connect_manager.h135 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
H A Di_multimodal_input_connect.h146 virtual int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) = 0;
H A Dmultimodal_input_connect_proxy.h131 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) override;
/foundation/multimodalinput/input/frameworks/napi/input_device/src/
H A Djs_input_device_context.cpp676 double topLeftX = 0.0; in SetVKeyboardArea() local
677 if (!JsUtil::ParseDouble(env, argv[0], topLeftX)) { in SetVKeyboardArea()
678 MMI_HILOGE("ParseDouble failed. property name: topLeftX"); in SetVKeyboardArea()
679 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "topLeftX", "number"); in SetVKeyboardArea()
700 int32_t ret = InputManager::GetInstance()->SetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in SetVKeyboardArea()
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/
H A Dmetadata_output.h57 double topLeftX; member
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/
H A Dinput_manager_impl.h216 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dinput_manager.h920 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
/foundation/multimodalinput/input/service/module_loader/src/
H A Dmmi_service.cpp160 double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
3305 int32_t MMIService::SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) in SetVKeyboardArea() argument
3313 [this, topLeftX, topLeftY, bottomRightX, bottomRightY] { in SetVKeyboardArea()
3314 return this->OnSetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in SetVKeyboardArea()
3323 int32_t MMIService::OnSetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) in OnSetVKeyboardArea() argument
3325 gaussiankeyboard_setVKeyboardArea_(topLeftX, topLeftY, bottomRightX, bottomRightY); in OnSetVKeyboardArea()
/foundation/multimodalinput/input/service/connect_manager/src/
H A Dmultimodal_input_connect_manager.cpp795 int32_t MultimodalInputConnectManager::SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) in SetVKeyboardArea() argument
799 return multimodalInputConnectService_->SetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in SetVKeyboardArea()
H A Dmultimodal_input_connect_stub.cpp2478 double topLeftX = 0.0; in StubSetVKeyboardArea() local
2482 READDOUBLE(data, topLeftX, IPC_PROXY_DEAD_OBJECT_ERR); in StubSetVKeyboardArea()
2487 int32_t ret = SetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in StubSetVKeyboardArea()
H A Dmultimodal_input_connect_proxy.cpp2056 int32_t MultimodalInputConnectProxy::SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) in SetVKeyboardArea() argument
2064 WRITEDOUBLE(data, topLeftX, ERR_INVALID_VALUE); in SetVKeyboardArea()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp2350 int32_t InputManagerImpl::SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) in SetVKeyboardArea() argument
2353 return MULTIMODAL_INPUT_CONNECT_MGR->SetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in SetVKeyboardArea()
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_test.cpp3467 double topLeftX = 1.0; in HWTEST_F() local
3471 int32_t ret = InputManager::GetInstance()->SetVKeyboardArea(topLeftX, topLeftY, bottomRightX, bottomRightY); in HWTEST_F()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/unittest/src/v1_1/
H A Dcamera_framework_unittest.cpp8096 rect.topLeftX = 0.1; in HWTEST_F()

Completed in 54 milliseconds