From: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
Date: Tue, 10 Sep 2019 08:22:06 +0000 (+0900)
Subject: Revert "[NUI] Open VectorAnimationView API (#1003)" (#1006)
X-Git-Tag: submit/tizen/20190911.005213~1^2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dbc907b0773d6c08e630725c1d1b7d5bf07e35d9;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
Revert "[NUI] Open VectorAnimationView API (#1003)" (#1006)
This reverts commit b1e88135350e5f595bad974fc9ee7d0665ab4c38.
---
diff --git a/src/Tizen.NUI/src/public/BaseComponents/VectorAnimationView.cs b/src/Tizen.NUI/src/public/BaseComponents/VectorAnimationView.cs
index 75f1b1cbb..c6e189c2e 100755
--- a/src/Tizen.NUI/src/public/BaseComponents/VectorAnimationView.cs
+++ b/src/Tizen.NUI/src/public/BaseComponents/VectorAnimationView.cs
@@ -26,37 +26,37 @@ namespace Tizen.NUI.BaseComponents
///
/// VectorAnimationView is a class for displaying a vector resource.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public class VectorAnimationView : AnimatedVectorImageView
+ public class VectorAnimationViewTBD : AnimatedVectorImageView
{
#region Constructor, Distructor, Dispose
///
/// Construct VectorAnimationView.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public VectorAnimationView() : base()
+ public VectorAnimationViewTBD() : base()
{
- tlog.Fatal(tag, $"VectorAnimationView() constuctor objId={GetId()} ");
+ tlog.Fatal(tag, $"<<< VectorAnimationView() constuctor objId={GetId()} >>>");
}
///
/// Construct VectorAnimationView.
///
/// Set scaling factor for Vector Animation, while creating.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
- public VectorAnimationView(float scale) : base(scale)
+ public VectorAnimationViewTBD(float scale) : base(scale)
{
- tlog.Fatal(tag, $"VectorAnimationView(scale={scale}) constuctor objId={GetId()}");
+ tlog.Fatal(tag, $"<<< VectorAnimationView(scale={scale}) constuctor objId={GetId()}>>>");
}
///
/// You can override it to clean-up your own resources
///
/// DisposeTypes
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
protected override void Dispose(DisposeTypes type)
{
@@ -64,7 +64,7 @@ namespace Tizen.NUI.BaseComponents
{
return;
}
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Dispose(type={type})");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Dispose(type={type})");
if (type == DisposeTypes.Explicit)
{
@@ -79,7 +79,7 @@ namespace Tizen.NUI.BaseComponents
base.Dispose(type);
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Dispose() ");
+ tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Dispose() >>>");
}
#endregion Constructor, Distructor, Dispose
@@ -88,13 +88,13 @@ namespace Tizen.NUI.BaseComponents
///
/// Set Resource URL
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public string ResourceURL
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.ResourceURL SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.ResourceURL SET");
if (value == mResourceURL)
{
@@ -105,7 +105,7 @@ namespace Tizen.NUI.BaseComponents
URL = mResourceURL;
mIsMinMaxSet = false;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.ResourceURL SET mResourceURL={mResourceURL}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.ResourceURL SET mResourceURL={mResourceURL}) >>>");
}
get => mResourceURL;
}
@@ -117,19 +117,19 @@ namespace Tizen.NUI.BaseComponents
/// If the RepeatCount is greater than 0, the repeat mode will be taken into account.
/// If RepeatCount is -1, animation is infinite loops.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public int RepeatCount
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatCount SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.RepeatCount SET");
mRepeatCount = (value < -1) ? -1 : value;
//LoopCount = mRepeatCount;
LoopCount = (mRepeatCount < 0) ? mRepeatCount : mRepeatCount + 1;
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatCount SET mRepeatCount={mRepeatCount} ");
+ tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatCount SET mRepeatCount={mRepeatCount} >>>");
}
get => mRepeatCount;
}
@@ -137,7 +137,7 @@ namespace Tizen.NUI.BaseComponents
///
/// TotalFrame of animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public int TotalFrame
{
@@ -148,13 +148,13 @@ namespace Tizen.NUI.BaseComponents
/// CurrentFrame of animation.
///
/// Returns user set value for the current frame. Cannot provide actual playing current frame.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public int CurrentFrame
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.CurrentFrame SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.CurrentFrame SET");
if (mResourceURL == null || mResourceURL == String.Empty)
{
@@ -178,7 +178,7 @@ namespace Tizen.NUI.BaseComponents
SetPlayRange(mCurrentFrame, mCurrentFrame);
CurrentFrameNumber = mCurrentFrame;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.CurrentFrame SET mCurrentFrame={mCurrentFrame}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.CurrentFrame SET mCurrentFrame={mCurrentFrame}) >>>");
}
get => mCurrentFrame;
}
@@ -186,13 +186,13 @@ namespace Tizen.NUI.BaseComponents
///
/// RepeatMode of animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public RepeatModes RepeatMode
{
set
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.RepeatMode SET");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.RepeatMode SET");
mRepeatMode = value;
switch (mRepeatMode)
@@ -208,7 +208,7 @@ namespace Tizen.NUI.BaseComponents
break;
}
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.RepeatMode SET mRepeatMode={mRepeatMode}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.RepeatMode SET mRepeatMode={mRepeatMode}) >>>");
}
get => mRepeatMode;
}
@@ -216,7 +216,7 @@ namespace Tizen.NUI.BaseComponents
///
/// Get state of animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public AnimationStates AnimationState
{
@@ -232,11 +232,11 @@ namespace Tizen.NUI.BaseComponents
///
/// minimum frame.
/// maximum frame.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetMinAndMaxFrame(int minFrame, int maxFrame)
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.SetMinAndMaxFrame({minFrame}, {maxFrame})");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.SetMinAndMaxFrame({minFrame}, {maxFrame})");
mMinFrame = (minFrame) > 0 ? minFrame : 0;
mMaxFrame = (maxFrame) > 0 ? maxFrame : 0;
@@ -262,17 +262,17 @@ namespace Tizen.NUI.BaseComponents
SetPlayRange(mMinFrame, mMaxFrame);
CurrentFrameNumber = mMinFrame;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.SetMinAndMaxFrame(m: {mMinFrame}, {mMaxFrame}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.SetMinAndMaxFrame(m: {mMinFrame}, {mMaxFrame}) >>>");
}
///
/// Play Animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public new void Play()
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Play()");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Play()");
if (mResourceURL == null || mResourceURL == String.Empty)
{
@@ -295,17 +295,17 @@ namespace Tizen.NUI.BaseComponents
base.Play();
AnimationState = AnimationStates.Playing;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Play(mIsMinMaxSet={mIsMinMaxSet}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Play(mIsMinMaxSet={mIsMinMaxSet}) >>>");
}
///
/// Pause Animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public new void Pause()
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Pause() AnimationState={AnimationState}");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Pause() AnimationState={AnimationState}");
if (mResourceURL == null || mResourceURL == String.Empty)
{
@@ -315,7 +315,7 @@ namespace Tizen.NUI.BaseComponents
base.Pause();
AnimationState = AnimationStates.Paused;
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Pause() ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Pause() >>>");
}
///
@@ -326,11 +326,11 @@ namespace Tizen.NUI.BaseComponents
/// End action is Discard, Animation Stops at the Min Frame
/// End action is StopFinal, Animation Stops at the Max Frame
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public void Stop(EndActions endAction = EndActions.Cancel)
{
- tlog.Fatal(tag, $"[{GetId()}] VectorAnimationView.Stop({endAction})");
+ tlog.Fatal(tag, $"<<< [{GetId()}] VectorAnimationView.Stop({endAction})");
if (mResourceURL == null || mResourceURL == String.Empty)
{
@@ -373,7 +373,7 @@ namespace Tizen.NUI.BaseComponents
base.Stop();
- tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Stop(endaction={endAction}) ");
+ tlog.Fatal(tag, $" [{GetId()}] VectorAnimationView.Stop(endaction={endAction}) >>>");
}
#endregion Method
@@ -382,20 +382,20 @@ namespace Tizen.NUI.BaseComponents
///
/// RepeatMode of animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum RepeatModes
{
///
/// When the animation reaches the end and RepeatCount is nonZero, the animation restarts from the beginning.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Restart = LoopModes.Forward,
///
/// When the animation reaches the end and RepeatCount nonZero, the animation reverses direction on every animation cycle.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Reverse = LoopModes.Backward
}
@@ -403,20 +403,20 @@ namespace Tizen.NUI.BaseComponents
///
/// EndActions of animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum EndActions
{
/// End action is Cancel, Animation Stops at the Current Frame.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Cancel = 0,
/// End action is Discard, Animation Stops at the Min Frame
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Discard = 1,
/// End action is StopFinal, Animation Stops at the Max Frame
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
StopFinal = 2
}
@@ -424,20 +424,20 @@ namespace Tizen.NUI.BaseComponents
///
/// AnimationStates of animation.
///
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
public enum AnimationStates
{
/// The animation has stopped.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Stopped = PlayStateType.Stopped,
/// The animation is playing.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Playing = PlayStateType.Playing,
/// The animation is paused.
- // InhouseAPI (HiddenAPI)
+ // This will be public opened after ACR done. (Before ACR, need to be hidden as Inhouse API)
[EditorBrowsable(EditorBrowsableState.Never)]
Paused = PlayStateType.Paused
}