Searched refs:videoFrameSize (Results 1 - 2 of 2) sorted by relevance
/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_pattern.cpp | 629 auto videoFrameSize = MeasureContentLayout(movingPhotoNodeSize, layoutProperty); in OnDirtyLayoutWrapperSwap() local 631 renderContextForMediaPlayer_->SetBounds((movingPhotoNodeSize.Width() - videoFrameSize.Width()) / HALF, in OnDirtyLayoutWrapperSwap() 632 (movingPhotoNodeSize.Height() - videoFrameSize.Height()) / HALF, videoFrameSize.Width(), in OnDirtyLayoutWrapperSwap() 633 videoFrameSize.Height()); in OnDirtyLayoutWrapperSwap() 648 (movingPhotoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE + padding.left.value_or(0), in OnDirtyLayoutWrapperSwap() 649 (movingPhotoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE + padding.top.value_or(0), in OnDirtyLayoutWrapperSwap() 650 videoFrameSize.Width(), videoFrameSize.Height()); in OnDirtyLayoutWrapperSwap() 1353 auto videoFrameSize in OnAreaChangedInner() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_pattern.cpp | 1147 auto videoFrameSize = MeasureVideoContentLayout(videoNodeSize, layoutProperty); in OnModifyDone() local 1151 auto rect = AdjustPaintRect((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone() 1152 (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, videoFrameSize.Width(), in OnModifyDone() 1153 videoFrameSize.Height(), true); in OnModifyDone() 1156 renderContextForMediaPlayer_->SetBounds((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone() 1157 (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, videoFrameSize.Width(), in OnModifyDone() 1158 videoFrameSize.Height()); in OnModifyDone() 1170 tmpRect = Rect((videoNodeSize.Width() - videoFrameSize in OnModifyDone() 1202 auto videoFrameSize = MeasureVideoContentLayout(videoNodeSize, layoutProperty); OnModifyDone() local [all...] |
Completed in 5 milliseconds