/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | slow_motion_session.cpp | 80 // 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 D | metadata_output.cpp | 441 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 D | ai_image.h | 63 int topLeftX; member
|
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | metadata_output_impl.cpp | 67 boundingBox.topLeftX = metaObjects[index]->GetBoundingBox().topLeftX;
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | slow_motion_session_napi.cpp | 244 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 D | scene_session_dirty_manager.cpp | 809 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 D | camera.h | 868 int32_t topLeftX; member
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ |
H A D | camera_napi_object_types.cpp | 103 { "topLeftX", &rect_.topLeftX }, in GetCameraNapiObject()
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | input_manager.cpp | 618 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 D | mmi_service.h | 150 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 D | test_common.cpp | 304 metaObjects[i]->GetBoundingBox().topLeftX, metaObjects[i]->GetBoundingBox().topLeftY, in OnMetadataObjectsAvailable()
|
/foundation/multimodalinput/input/service/connect_manager/include/ |
H A D | multimodal_input_connect_manager.h | 135 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
|
H A D | i_multimodal_input_connect.h | 146 virtual int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) = 0;
|
H A D | multimodal_input_connect_proxy.h | 131 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY) override;
|
/foundation/multimodalinput/input/frameworks/napi/input_device/src/ |
H A D | js_input_device_context.cpp | 676 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 D | metadata_output.h | 57 double topLeftX; member
|
/foundation/multimodalinput/input/frameworks/proxy/event_handler/include/ |
H A D | input_manager_impl.h | 216 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
|
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/ |
H A D | input_manager.h | 920 int32_t SetVKeyboardArea(double topLeftX, double topLeftY, double bottomRightX, double bottomRightY);
|
/foundation/multimodalinput/input/service/module_loader/src/ |
H A D | mmi_service.cpp | 160 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 D | multimodal_input_connect_manager.cpp | 795 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 D | multimodal_input_connect_stub.cpp | 2478 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 D | multimodal_input_connect_proxy.cpp | 2056 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 D | input_manager_impl.cpp | 2350 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 D | input_manager_test.cpp | 3467 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 D | camera_framework_unittest.cpp | 8096 rect.topLeftX = 0.1; in HWTEST_F()
|