Home
last modified time | relevance | path

Searched refs:topLeftY (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()
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 Dmetadata_output.cpp442 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 Dai_image.h64 int topLeftY; member
/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dmetadata_output_impl.cpp68 boundingBox.topLeftY = metaObjects[index]->GetBoundingBox().topLeftY;
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dslow_motion_session_napi.cpp245 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 Dscene_session_dirty_manager.cpp810 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 Dcamera.h873 int32_t topLeftY; member
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/
H A Dcamera_napi_object_types.cpp104 { "topLeftY", &rect_.topLeftY }, 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.cpp682 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 Dmetadata_output.h58 double topLeftY; 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.cpp2479 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 Dmultimodal_input_connect_proxy.cpp2056 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 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.cpp3468 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 Dcamera_framework_unittest.cpp8097 rect.topLeftY = 0.1; in HWTEST_F()

Completed in 55 milliseconds