[Tizen][Legacy][Svace] Remove useless API at VideoView - WidthForHeight / HeightForWidth 99/270999/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060314 accepted/tizen/7.0/unified/hotfix/20221116.110005 accepted/tizen/unified/20220214.211144 submit/tizen/20220214.045213 tizen_7.0_m2_release
authorEunki, Hong <eunkiki.hong@samsung.com>
Mon, 14 Feb 2022 04:42:27 +0000 (13:42 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 14 Feb 2022 04:44:22 +0000 (13:44 +0900)
VideoView::GetWidthForHeight and VideoView::GetHeightForWidth
did exactly same jobs as Control::~~~For~~~. So just erase it.

Change-Id: I1245cb134cac9802f2cd16a3e54192a48d5486f7
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-toolkit/internal/controls/video-view/video-view-impl.cpp
dali-toolkit/internal/controls/video-view/video-view-impl.h

index d85be9a..e1b2f06 100755 (executable)
@@ -583,30 +583,6 @@ Vector3 VideoView::GetNaturalSize()
   }
 }
 
-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();
index 3d345a3..5cef6c6 100755 (executable)
@@ -278,16 +278,6 @@ private: // From Control
    */
   virtual Vector3 GetNaturalSize();
 
-  /**
-   * @copydoc Toolkit::Control::GetHeightForWidth()
-   */
-  virtual float GetHeightForWidth( float width );
-
-  /**
-   * @copydoc Toolkit::Control::GetWidthForHeight()
-   */
-  virtual float GetWidthForHeight( float height );
-
 private:
 
   /**