/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() 82 rect.topLeftY = std::max(0.0, std::min(1.0, rect.topLeftY)); 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 | 442 double topLeftY = 0; in ProcessRectBox() local 447 topLeftY = scale - offsetBottomRightX; in ProcessRectBox() 452 topLeftY = offsetTopLeftX; in ProcessRectBox() 457 topLeftY = offsetTopLeftX; in ProcessRectBox() 463 topLeftY = topLeftY < 0 ? 0 : topLeftY; in ProcessRectBox() 464 topLeftY = topLeftY > scale ? scale : topLeftY; in ProcessRectBox() [all...] |
/foundation/ai/ai_engine/interfaces/kits/cv/ |
H A D | ai_image.h | 64 int topLeftY; member
|
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/ |
H A D | metadata_output_impl.cpp | 68 boundingBox.topLeftY = metaObjects[index]->GetBoundingBox().topLeftY;
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | slow_motion_session_napi.cpp | 245 double topLeftY; in SetSlowMotionDetectionArea() local 252 (GetDoubleProperty(env, argv[PARAM0], "topLeftY", topLeftY) == 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 | 810 auto topLeftY = static_cast<int32_t>(topLeft[1]);
in CalRectInScreen() local 818 if ((topLeftY > 0 && bottomRightY < INT32_MIN + topLeftY) ||
in CalRectInScreen() 819 (topLeftY < 0 && bottomRightY > INT32_MAX + topLeftY)) {
in CalRectInScreen() 820 TLOGE(WmsLogTag::WMS_EVENT, "data overflows topLeftY:%{public}d bottomRightY:%{public}d",
in CalRectInScreen() 821 topLeftY, bottomRightY);
in CalRectInScreen() 824 auto height = std::abs(topLeftY - bottomRightY);
in CalRectInScreen()
|
/foundation/multimedia/camera_framework/interfaces/kits/native/include/camera/ |
H A D | camera.h | 873 int32_t topLeftY; member
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/ |
H A D | camera_napi_object_types.cpp | 104 { "topLeftY", &rect_.topLeftY }, 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 | 682 double topLeftY = 0.0; in SetVKeyboardArea() local 683 if (!JsUtil::ParseDouble(env, argv[1], topLeftY)) { in SetVKeyboardArea() 684 MMI_HILOGE("ParseDouble failed. property name: topLeftY"); in SetVKeyboardArea() 685 THROWERR_API9(env, COMMON_PARAMETER_ERROR, "topLeftY", "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 | 58 double topLeftY; 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 | 2479 double topLeftY = 0.0; in StubSetVKeyboardArea() local 2483 READDOUBLE(data, topLeftY, 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 2065 WRITEDOUBLE(data, topLeftY, 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 | 3468 double topLeftY = 2.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 | 8097 rect.topLeftY = 0.1; in HWTEST_F()
|