Searched refs:AVERAGE_VALUE (Results 1 - 2 of 2) sorted by relevance
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_pattern.cpp | 55 constexpr int32_t AVERAGE_VALUE = 2; member 1151 auto rect = AdjustPaintRect((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone() 1152 (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, videoFrameSize.Width(), in OnModifyDone() 1156 renderContextForMediaPlayer_->SetBounds((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone() 1157 (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, videoFrameSize.Width(), in OnModifyDone() 1170 tmpRect = Rect((videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE + padding.left.value_or(0), in OnModifyDone() 1171 (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE + padding.top.value_or(0), in OnModifyDone() 1206 Rect(transformRelativeOffset.GetX() + (videoNodeSize.Width() - videoFrameSize.Width()) / AVERAGE_VALUE, in OnModifyDone() 1207 transformRelativeOffset.GetY() + (videoNodeSize.Height() - videoFrameSize.Height()) / AVERAGE_VALUE, in OnModifyDone()
|
/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_pattern.cpp | 45 constexpr int32_t AVERAGE_VALUE = 2; member 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()
|
Completed in 6 milliseconds