Searched refs:jsRotation (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/ |
H A D | js_screen_utils.cpp | 221 …napi_value jsNotifyRotation = nullptr, jsScreenRotation = nullptr, jsRotation = nullptr, jsPhyRota… in ConvertScreenDirectionInfoFromJs() local 224 napi_get_named_property(env, jsObject, "rotation", &jsRotation); in ConvertScreenDirectionInfoFromJs() 242 if (GetType(env, jsRotation) != napi_undefined) { in ConvertScreenDirectionInfoFromJs() 244 if (!ConvertFromJsValue(env, jsRotation, rotation)) { in ConvertScreenDirectionInfoFromJs()
|
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/ |
H A D | js_scene_utils.cpp | 504 napi_value jsRotation = nullptr; in ConvertHookInfoFromJs() local 505 napi_get_named_property(env, jsObject, "rotation", &jsRotation); in ConvertHookInfoFromJs() 531 if (!ConvertFromJsValue(env, jsRotation, rotation)) { in ConvertHookInfoFromJs()
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
H A D | photo_output_napi.cpp | 147 bool ValidImageRotationFromJs(int32_t jsRotation) in ValidImageRotationFromJs() argument 149 MEDIA_INFO_LOG("js rotation = %{public}d", jsRotation); in ValidImageRotationFromJs() 150 switch (jsRotation) { in ValidImageRotationFromJs()
|