From: Eunki Hong Date: Sun, 15 Oct 2023 01:13:11 +0000 (+0900) Subject: [NUI.Wearable] Remove build warning X-Git-Tag: accepted/tizen/unified/20231205.024657~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfbf799ba2bda72f4ea4ee29e9447728590d2f5c;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI.Wearable] Remove build warning - Add comment for public API - Remove some unused private value/method Signed-off-by: Eunki Hong --- diff --git a/src/Tizen.NUI.Wearable/src/public/CircularPagination.cs b/src/Tizen.NUI.Wearable/src/public/CircularPagination.cs index 70183d2..3258e8e 100755 --- a/src/Tizen.NUI.Wearable/src/public/CircularPagination.cs +++ b/src/Tizen.NUI.Wearable/src/public/CircularPagination.cs @@ -47,8 +47,6 @@ namespace Tizen.NUI.Wearable private bool isCurrentIndicatorCentered = false; // When the current indicator is the center one, this variable becomes true. private bool isOddNumber = true; private bool uninitializedLeftIndicator = true; // Need it when the indicators are asymmetry and the right indicator count is set earlier than left one. - private Animation selectAnimation = null; - private bool isNeedAnimation = false; // TODO : Animation will support using override function later. Position2D[] oddArray = new Position2D[] { new Position2D(36, 74), new Position2D(47, 60), new Position2D(60, 47), new Position2D(74, 36), new Position2D(89, 26), new Position2D(105, 18), new Position2D(122, 11), new Position2D(139, 7), @@ -203,7 +201,6 @@ namespace Tizen.NUI.Wearable } } - /// /// Gets or sets the number of the pages/indicators. /// @@ -516,14 +513,6 @@ namespace Tizen.NUI.Wearable UpdateVisual(); } - private void CreateSelectAnimation() - { - if (selectAnimation == null) - { - selectAnimation = new Animation(250); - } - } - /// /// You can override it to do your select out operation. /// @@ -593,16 +582,6 @@ namespace Tizen.NUI.Wearable if (type == DisposeTypes.Explicit) { - if (selectAnimation != null) - { - if (selectAnimation.State == Animation.States.Playing) - { - selectAnimation.Stop(); - } - selectAnimation.Dispose(); - selectAnimation = null; - } - container.RemoveAll(); indicatorList.Clear(); diff --git a/src/Tizen.NUI.Wearable/src/public/RecyclerView/RecyclerView.cs b/src/Tizen.NUI.Wearable/src/public/RecyclerView/RecyclerView.cs index 94e2c2d..a311455 100755 --- a/src/Tizen.NUI.Wearable/src/public/RecyclerView/RecyclerView.cs +++ b/src/Tizen.NUI.Wearable/src/public/RecyclerView/RecyclerView.cs @@ -76,6 +76,11 @@ namespace Tizen.NUI.Wearable layoutManager.Layout(ScrollingDirection == Direction.Horizontal ? ContentContainer.CurrentPosition.X : ContentContainer.CurrentPosition.Y); } + /// + /// Gets / Sets total number of items. + /// + /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API + [EditorBrowsable(EditorBrowsableState.Never)] public int TotalItemCount { get @@ -127,7 +132,11 @@ namespace Tizen.NUI.Wearable } } - + /// + /// Scrolling direction mode for RecyclerView. . + /// + /// This may be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API + [EditorBrowsable(EditorBrowsableState.Never)] public new Direction ScrollingDirection { get @@ -253,6 +262,8 @@ namespace Tizen.NUI.Wearable private View focusedView; private int prevFocusedDataIndex = 0; + /// + [EditorBrowsable(EditorBrowsableState.Never)] public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled) { View nextFocusedView = null; diff --git a/src/Tizen.NUI.Wearable/src/public/WearableList.cs b/src/Tizen.NUI.Wearable/src/public/WearableList.cs index a7f4c32..9df4a16 100755 --- a/src/Tizen.NUI.Wearable/src/public/WearableList.cs +++ b/src/Tizen.NUI.Wearable/src/public/WearableList.cs @@ -57,6 +57,8 @@ namespace Tizen.NUI.Wearable DecelerationRate = 0.991f; } + /// + [EditorBrowsable(EditorBrowsableState.Never)] protected override void SetScrollbar() { if(LayoutManager != null) @@ -65,6 +67,8 @@ namespace Tizen.NUI.Wearable } } + /// + [EditorBrowsable(EditorBrowsableState.Never)] public new RecycleAdapter Adapter { get