Home
last modified time | relevance | path

Searched refs:videoFrameSize (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp1151 auto videoFrameSize = MeasureVideoContentLayout(videoNodeSize, layoutProperty); in OnModifyDone() local
1155 … auto rect = AdjustPaintRect((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone()
1156 … (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, videoFrameSize.Width(), in OnModifyDone()
1157 videoFrameSize.Height(), true); in OnModifyDone()
1161 … (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, videoFrameSize.Width(), in OnModifyDone()
1162 videoFrameSize.Height()); in OnModifyDone()
1175 … (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE + padding.top.value_or(0), in OnModifyDone()
1176 videoFrameSize.Width(), videoFrameSize.Height()); in OnModifyDone()
1206 auto videoFrameSize = MeasureVideoContentLayout(videoNodeSize, layoutProperty); in OnModifyDone() local
1210 …Rect(transformRelativeOffset.GetX() + (videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_V… in OnModifyDone()
[all …]
/ohos5.0/foundation/arkui/ace_engine/component_ext/movingphoto/
H A Dmovingphoto_pattern.cpp631 auto videoFrameSize = MeasureContentLayout(movingPhotoNodeSize, layoutProperty); in OnDirtyLayoutWrapperSwap() local
633 …renderContextForMediaPlayer_->SetBounds((movingPhotoNodeSize.Width() - videoFrameSize.Width()) / H… in OnDirtyLayoutWrapperSwap()
634 (movingPhotoNodeSize.Height() - videoFrameSize.Height()) / HALF, videoFrameSize.Width(), in OnDirtyLayoutWrapperSwap()
635 videoFrameSize.Height()); in OnDirtyLayoutWrapperSwap()
1292 auto videoFrameSize = MeasureContentLayout(videoNodeSize, layoutProperty); in OnAreaChangedInner() local
1295 …Rect rect = Rect(transformRelativeOffset.GetX() + (videoNodeSize.Width() - videoFrameSize.Width())… in OnAreaChangedInner()
1296 transformRelativeOffset.GetY() + (videoNodeSize.Height() - videoFrameSize.Height()) / HALF, in OnAreaChangedInner()
1297 videoFrameSize.Width(), videoFrameSize.Height()); in OnAreaChangedInner()