Home
last modified time | relevance | path

Searched refs:rotation (Results 1 - 14 of 14) sorted by relevance

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/image/
H A Dimage_sweepgradient_test.cpp42 float rotation = DEFAULT_ROTATION_VALUE; in TestImageSweepGradient001() local
46 {.f32 = end}, {.f32 = rotation}, {.i32 = repeating}}; in TestImageSweepGradient001()
55 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_SWEEP_GRADIENT)->value[PARAM_4].f32, rotation); in TestImageSweepGradient001()
69 float rotation = ROTATION_VALUE; in TestImageSweepGradient002() local
73 {.f32 = end}, {.f32 = rotation}, {.i32 = repeating}}; in TestImageSweepGradient002()
82 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_SWEEP_GRADIENT)->value[PARAM_4].f32, rotation); in TestImageSweepGradient002()
96 float rotation = DEFAULT_ROTATION_VALUE; in TestImageSweepGradient003() local
100 {.f32 = end}, {.f32 = rotation}, {.i32 = repeating}}; in TestImageSweepGradient003()
109 ASSERT_EQ(nodeAPI->getAttribute(image, NODE_SWEEP_GRADIENT)->value[PARAM_4].f32, rotation); in TestImageSweepGradient003()
123 float rotation in TestImageSweepGradient004() local
[all...]
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
H A Dnativeavmuxerndk.cpp58 int32_t rotation = ZEROVAL; in OHAVMuxerSetRotation() local
70 OH_AVErrCode backInfo = OH_AVMuxer_SetRotation(muxer, rotation); in OHAVMuxerSetRotation()
92 int32_t rotation = ZEROVAL; in OHAVMuxerStart() local
104 OH_AVMuxer_SetRotation(muxer, rotation); in OHAVMuxerStart()
129 int32_t rotation = ZEROVAL; in OHAVMuxerStop() local
141 OH_AVMuxer_SetRotation(muxer, rotation); in OHAVMuxerStop()
166 int32_t rotation = ZEROVAL; in OHAVMuxerWriteSample() local
178 OH_AVMuxer_SetRotation(muxer, rotation); in OHAVMuxerWriteSample()
202 int32_t rotation = ZEROVAL; in OHAVMuxerWriteSampleBuffer() local
215 OH_AVMuxer_SetRotation(muxer, rotation); in OHAVMuxerWriteSampleBuffer()
241 int32_t rotation = ZEROVAL; OHAVMuxerAddTrack() local
311 int32_t rotation = ZEROVAL; OHAVMuxerSetRotationAbnormal() local
345 int32_t rotation = ZEROVAL; OHAVMuxerStartAbnormal() local
379 int32_t rotation = ZEROVAL; OHAVMuxerStopAbnormal() local
413 int32_t rotation = ZEROVAL; OHAVMuxerWriteSampleAbnormal() local
447 int32_t rotation = ZEROVAL; OHAVMuxerAddTrackAbnormal() local
[all...]
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/
H A Dcamera_manager_ndk.h205 Camera_ErrorCode SessionGetPhotoRotation(int rotation);
206 Camera_ErrorCode SessionGetVideoRotation(int rotation);
207 Camera_ErrorCode SessionGetPreviewRotation(int rotation);
208 Camera_ErrorCode SessionSetPreviewRotation(int rotation, bool isDisplayLocked);
H A Dmain.cpp27 int32_t rotation; member
564 int32_t rotation; in SessionGetPhotoRotation() local
565 napi_get_value_int32(env, args[0], &rotation); in SessionGetPhotoRotation()
566 Camera_ErrorCode ret = ndkCamera_->SessionGetPhotoRotation(rotation); in SessionGetPhotoRotation()
579 int32_t rotation; in SessionGetVideoRotation() local
580 napi_get_value_int32(env, args[0], &rotation); in SessionGetVideoRotation()
581 Camera_ErrorCode ret = ndkCamera_->SessionGetVideoRotation(rotation); in SessionGetVideoRotation()
594 int32_t rotation; in SessionGetPreviewRotation() local
595 napi_get_value_int32(env, args[0], &rotation); in SessionGetPreviewRotation()
596 Camera_ErrorCode ret = ndkCamera_->SessionGetPreviewRotation(rotation); in SessionGetPreviewRotation()
609 int32_t rotation; SessionSetPreviewRotation() local
[all...]
H A Dcamera_manager.cpp881 Camera_ErrorCode NDKCamera::SessionGetPhotoRotation(int rotation) in SessionGetPhotoRotation() argument
884 int32_t testRotation = static_cast<int32_t>(rotation); in SessionGetPhotoRotation()
894 Camera_ErrorCode NDKCamera::SessionGetVideoRotation(int rotation) in SessionGetVideoRotation() argument
897 int32_t testRotation = static_cast<int32_t>(rotation); in SessionGetVideoRotation()
907 Camera_ErrorCode NDKCamera::SessionGetPreviewRotation(int rotation) in SessionGetPreviewRotation() argument
910 int32_t testRotation = static_cast<int32_t>(rotation); in SessionGetPreviewRotation()
920 Camera_ErrorCode NDKCamera::SessionSetPreviewRotation(int rotation, bool isDisplayLocked) in SessionSetPreviewRotation() argument
923 Camera_ImageRotation testRotation = static_cast<Camera_ImageRotation>(rotation); in SessionSetPreviewRotation()
/test/xts/acts/graphic/displayNdk/entry/src/main/cpp/
H A Dnapi_init.cpp120 napi_value rotation; in GetDefaultDisplayRotation() local
121 napi_create_int32(env, displayRotation, &rotation); in GetDefaultDisplayRotation()
122 return rotation; in GetDefaultDisplayRotation()
/test/testfwk/arkxtest/uitest/core/
H A Dui_controller.h84 virtual void SetDisplayRotation(DisplayRotation rotation) const {}; in SetDisplayRotation()
H A Dui_driver.h76 void SetDisplayRotation(DisplayRotation rotation, ApiCallErr &error);
H A Dui_driver.cpp439 void UiDriver::SetDisplayRotation(DisplayRotation rotation, ApiCallErr &error) in SetDisplayRotation() argument
444 uiController_->SetDisplayRotation(rotation); in SetDisplayRotation()
H A Dfrontend_api_handler.cpp1111 auto rotation = ReadCallArg<DisplayRotation>(in, INDEX_ZERO); in RegisterUiDriverDisplayOperators()
1112 driver.SetDisplayRotation(rotation, out.exception_); in RegisterUiDriverDisplayOperators()
/test/testfwk/arkxtest/uitest/server/
H A Dsystem_ui_controller.h57 void SetDisplayRotation(DisplayRotation rotation) const override;
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dmodule_test.cpp34 int32_t rotation; member
899 napi_get_named_property(env, captureConfigValue, "rotation", &value); in GetCaptureParam()
900 napi_get_value_int32(env, value, &config->rotation); in GetCaptureParam()
923 photoSetting->rotation = static_cast<Camera_ImageRotation>(settings.rotation); in SetConfig()
/test/xts/acts/multimedia/camera/camera_ndk_xts/OHCameraNdk/entry/src/main/cpp/
H A Dmian.cpp1309 int32_t rotation; member
1322 napi_get_named_property(env, captureConfigValue, "rotation", &value); in GetCaptureParam()
1323 napi_get_value_int32(env, value, &config->rotation); in GetCaptureParam()
1345 photoSetting->rotation = static_cast<Camera_ImageRotation>(settings.rotation); in SetConfig()
/test/xts/acts/multimedia/av_codec/demuxer/src/
H A Dproc_test.cpp974 int32_t rotation; in HWTEST_F() local
998 ASSERT_FALSE(OH_AVFormat_GetIntValue(trackFormatSecond, OH_MD_KEY_ROTATION, &rotation)); in HWTEST_F()

Completed in 21 milliseconds