VideoView::WidthForHeight and VideoView::HeightForWidth
did exactly same jobs as Control::~~~For~~~. So just erase it.
Change-Id: Id741abaf5884651ed921e23727c3a0acf8085f16
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
}
}
-float VideoView::GetHeightForWidth(float width)
-{
- if(mVideoSize.GetWidth() > 0 && mVideoSize.GetHeight() > 0)
- {
- return GetHeightForWidthBase(width);
- }
- else
- {
- return Control::GetHeightForWidthBase(width);
- }
-}
-
-float VideoView::GetWidthForHeight(float height)
-{
- if(mVideoSize.GetWidth() > 0 && mVideoSize.GetHeight() > 0)
- {
- return GetWidthForHeightBase(height);
- }
- else
- {
- return Control::GetWidthForHeightBase(height);
- }
-}
-
void VideoView::SetWindowSurfaceTarget()
{
Actor self = Self();
*/
Vector3 GetNaturalSize() override;
- /**
- * @copydoc Toolkit::Control::GetHeightForWidth()
- */
- float GetHeightForWidth(float width) override;
-
- /**
- * @copydoc Toolkit::Control::GetWidthForHeight()
- */
- float GetWidthForHeight(float height) override;
-
private:
/**
* @brief Construct a new VideoView.