From: dongsug-song <35130733+dongsug-song@users.noreply.github.com> Date: Tue, 30 Jul 2019 05:10:45 +0000 (+0900) Subject: [NUI] Change CommonUI APIs (#950) X-Git-Tag: submit/tizen/20190731.005204~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f355f837f7ccb76d3beaef220c841b114792faac;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Change CommonUI APIs (#950) --- diff --git a/src/Tizen.NUI.CommonUI/Attributes/ImageAttributes.cs b/src/Tizen.NUI.CommonUI/Attributes/ImageAttributes.cs index 43048ea1b..8f30230e6 100755 --- a/src/Tizen.NUI.CommonUI/Attributes/ImageAttributes.cs +++ b/src/Tizen.NUI.CommonUI/Attributes/ImageAttributes.cs @@ -44,9 +44,9 @@ namespace Tizen.NUI.CommonUI return; } - if (attributes.ResourceUrl != null) + if (attributes.ResourceURL != null) { - ResourceUrl = attributes.ResourceUrl.Clone() as StringSelector; + ResourceURL = attributes.ResourceURL.Clone() as StringSelector; } if (attributes.Border != null) @@ -59,7 +59,7 @@ namespace Tizen.NUI.CommonUI /// /// This will be public opened in tizen_5.5 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] - public StringSelector ResourceUrl + public StringSelector ResourceURL { get; set; diff --git a/src/Tizen.NUI.CommonUI/Controls/Button.cs b/src/Tizen.NUI.CommonUI/Controls/Button.cs index 7015bc094..704da8d87 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Button.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Button.cs @@ -162,18 +162,18 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.BackgroundImageAttributes?.ResourceUrl?.All; + return buttonAttributes?.BackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateBackgroundAttributes(); - if (buttonAttributes.BackgroundImageAttributes.ResourceUrl == null) + if (buttonAttributes.BackgroundImageAttributes.ResourceURL == null) { - buttonAttributes.BackgroundImageAttributes.ResourceUrl = new StringSelector(); + buttonAttributes.BackgroundImageAttributes.ResourceURL = new StringSelector(); } - buttonAttributes.BackgroundImageAttributes.ResourceUrl.All = value; + buttonAttributes.BackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -214,18 +214,18 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.ShadowImageAttributes?.ResourceUrl?.All; + return buttonAttributes?.ShadowImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateShadowAttributes(); - if (buttonAttributes.ShadowImageAttributes.ResourceUrl == null) + if (buttonAttributes.ShadowImageAttributes.ResourceURL == null) { - buttonAttributes.ShadowImageAttributes.ResourceUrl = new StringSelector(); + buttonAttributes.ShadowImageAttributes.ResourceURL = new StringSelector(); } - buttonAttributes.ShadowImageAttributes.ResourceUrl.All = value; + buttonAttributes.ShadowImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -266,18 +266,18 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.OverlayImageAttributes?.ResourceUrl?.All; + return buttonAttributes?.OverlayImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateOverlayAttributes(); - if (buttonAttributes.OverlayImageAttributes.ResourceUrl == null) + if (buttonAttributes.OverlayImageAttributes.ResourceURL == null) { - buttonAttributes.OverlayImageAttributes.ResourceUrl = new StringSelector(); + buttonAttributes.OverlayImageAttributes.ResourceURL = new StringSelector(); } - buttonAttributes.OverlayImageAttributes.ResourceUrl.All = value; + buttonAttributes.OverlayImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -456,18 +456,18 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.IconAttributes?.ResourceUrl?.All; + return buttonAttributes?.IconAttributes?.ResourceURL?.All; } set { if (value != null) { CreateIconAttributes(); - if (buttonAttributes.IconAttributes.ResourceUrl == null) + if (buttonAttributes.IconAttributes.ResourceURL == null) { - buttonAttributes.IconAttributes.ResourceUrl = new StringSelector(); + buttonAttributes.IconAttributes.ResourceURL = new StringSelector(); } - buttonAttributes.IconAttributes.ResourceUrl.All = value; + buttonAttributes.IconAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -570,14 +570,14 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.IconAttributes?.ResourceUrl; + return buttonAttributes?.IconAttributes?.ResourceURL; } set { if (value != null) { CreateIconAttributes(); - buttonAttributes.IconAttributes.ResourceUrl = value.Clone() as StringSelector; + buttonAttributes.IconAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -592,14 +592,14 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.BackgroundImageAttributes?.ResourceUrl; + return buttonAttributes?.BackgroundImageAttributes?.ResourceURL; } set { if (value != null) { CreateBackgroundAttributes(); - buttonAttributes.BackgroundImageAttributes.ResourceUrl = value.Clone() as StringSelector; + buttonAttributes.BackgroundImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -636,14 +636,14 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.ShadowImageAttributes?.ResourceUrl; + return buttonAttributes?.ShadowImageAttributes?.ResourceURL; } set { if (value != null) { CreateShadowAttributes(); - buttonAttributes.ShadowImageAttributes.ResourceUrl = value.Clone() as StringSelector; + buttonAttributes.ShadowImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -680,14 +680,14 @@ namespace Tizen.NUI.CommonUI { get { - return buttonAttributes?.OverlayImageAttributes?.ResourceUrl; + return buttonAttributes?.OverlayImageAttributes?.ResourceURL; } set { if (value != null) { CreateOverlayAttributes(); - buttonAttributes.OverlayImageAttributes.ResourceUrl = value.Clone() as StringSelector; + buttonAttributes.OverlayImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Control.cs b/src/Tizen.NUI.CommonUI/Controls/Control.cs index 6ef08ab7f..66e2f4300 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Control.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Control.cs @@ -175,9 +175,9 @@ namespace Tizen.NUI.CommonUI ImageAttributes imageAttrs = attrs as ImageAttributes; if (image != null && imageAttrs != null) { - if (imageAttrs.ResourceUrl?.GetValue(State) != null) + if (imageAttrs.ResourceURL?.GetValue(State) != null) { - image.ResourceUrl = imageAttrs.ResourceUrl.GetValue(State); + image.ResourceUrl = imageAttrs.ResourceURL.GetValue(State); } if (imageAttrs.Border?.GetValue(State) != null) { diff --git a/src/Tizen.NUI.CommonUI/Controls/DropDown.cs b/src/Tizen.NUI.CommonUI/Controls/DropDown.cs index bccd1b68b..e5c038257 100755 --- a/src/Tizen.NUI.CommonUI/Controls/DropDown.cs +++ b/src/Tizen.NUI.CommonUI/Controls/DropDown.cs @@ -359,18 +359,18 @@ namespace Tizen.NUI.CommonUI { get { - return dropDownAttributes.ButtonAttributes?.IconAttributes?.ResourceUrl.All; + return dropDownAttributes.ButtonAttributes?.IconAttributes?.ResourceURL.All; } set { if (value != null) { CreateButtonIconAttributes(); - if (dropDownAttributes.ButtonAttributes.IconAttributes.ResourceUrl == null) + if (dropDownAttributes.ButtonAttributes.IconAttributes.ResourceURL == null) { - dropDownAttributes.ButtonAttributes.IconAttributes.ResourceUrl = new StringSelector(); + dropDownAttributes.ButtonAttributes.IconAttributes.ResourceURL = new StringSelector(); } - dropDownAttributes.ButtonAttributes.IconAttributes.ResourceUrl.All = value; + dropDownAttributes.ButtonAttributes.IconAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -466,18 +466,18 @@ namespace Tizen.NUI.CommonUI { get { - return dropDownAttributes.ListBackgroundImageAttributes?.ResourceUrl?.All; + return dropDownAttributes.ListBackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateListBackgroundAttributes(); - if (dropDownAttributes.ListBackgroundImageAttributes.ResourceUrl == null) + if (dropDownAttributes.ListBackgroundImageAttributes.ResourceURL == null) { - dropDownAttributes.ListBackgroundImageAttributes.ResourceUrl = new StringSelector(); + dropDownAttributes.ListBackgroundImageAttributes.ResourceURL = new StringSelector(); } - dropDownAttributes.ListBackgroundImageAttributes.ResourceUrl.All = value; + dropDownAttributes.ListBackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -799,7 +799,7 @@ namespace Tizen.NUI.CommonUI } if (dropDownAttributes.ButtonAttributes.IconAttributes != null) { - button.IconURLSelector = dropDownAttributes.ButtonAttributes.IconAttributes.ResourceUrl; + button.IconURLSelector = dropDownAttributes.ButtonAttributes.IconAttributes.ResourceURL; int iconWidth = 0; int buttonTextWidth = 0; if (dropDownAttributes.ButtonAttributes.IconAttributes.Size2D != null) @@ -1368,18 +1368,18 @@ namespace Tizen.NUI.CommonUI { get { - return itemDataAttributes.IconAttributes?.ResourceUrl?.All; + return itemDataAttributes.IconAttributes?.ResourceURL?.All; } set { CreateIconAttributes(); - if (itemDataAttributes.IconAttributes.ResourceUrl == null) + if (itemDataAttributes.IconAttributes.ResourceURL == null) { - itemDataAttributes.IconAttributes.ResourceUrl = new StringSelector { All = value }; + itemDataAttributes.IconAttributes.ResourceURL = new StringSelector { All = value }; } else { - itemDataAttributes.IconAttributes.ResourceUrl.All = value; + itemDataAttributes.IconAttributes.ResourceURL.All = value; } } } @@ -1432,18 +1432,18 @@ namespace Tizen.NUI.CommonUI { get { - return itemDataAttributes.CheckImageAttributes?.ResourceUrl?.All; + return itemDataAttributes.CheckImageAttributes?.ResourceURL?.All; } set { CreateCheckImageAttributes(); - if (itemDataAttributes.CheckImageAttributes.ResourceUrl == null) + if (itemDataAttributes.CheckImageAttributes.ResourceURL == null) { - itemDataAttributes.CheckImageAttributes.ResourceUrl = new StringSelector { All = value }; + itemDataAttributes.CheckImageAttributes.ResourceURL = new StringSelector { All = value }; } else { - itemDataAttributes.CheckImageAttributes.ResourceUrl.All = value; + itemDataAttributes.CheckImageAttributes.ResourceURL.All = value; } } } diff --git a/src/Tizen.NUI.CommonUI/Controls/FlexibleView/FlexibleView.cs b/src/Tizen.NUI.CommonUI/Controls/FlexibleView/FlexibleView.cs index 9d7a5928b..d0960c6ea 100755 --- a/src/Tizen.NUI.CommonUI/Controls/FlexibleView/FlexibleView.cs +++ b/src/Tizen.NUI.CommonUI/Controls/FlexibleView/FlexibleView.cs @@ -1454,9 +1454,9 @@ namespace Tizen.NUI.CommonUI else if (mScrollAni.State == Animation.States.Playing) { //StopScroll(); - mScrollAni.Stop(); + mScrollAni.Stop(Animation.EndActions.StopFinal); } - mScrollAni.Duration = 2000; + mScrollAni.Duration = 500; mScrollAni.DefaultAlphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSquare); mScrollAni.Clear(); @@ -1504,9 +1504,9 @@ namespace Tizen.NUI.CommonUI else if (mScrollAni.State == Animation.States.Playing) { //StopScroll(); - mScrollAni.Stop(); + mScrollAni.Stop(Animation.EndActions.StopFinal); } - mScrollAni.Duration = 2000; + mScrollAni.Duration = 500; mScrollAni.DefaultAlphaFunction = new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSquare); mScrollAni.Clear(); @@ -1731,7 +1731,7 @@ namespace Tizen.NUI.CommonUI { if (mScrollAni != null && mScrollAni.State == Animation.States.Playing) { - mScrollAni.Stop(); + mScrollAni.Stop(Animation.EndActions.StopFinal); mScrollAni.Clear(); OnScrollAnimationFinished(mScrollAni, null); } diff --git a/src/Tizen.NUI.CommonUI/Controls/InputField.cs b/src/Tizen.NUI.CommonUI/Controls/InputField.cs index 4cc26b911..f69e12001 100755 --- a/src/Tizen.NUI.CommonUI/Controls/InputField.cs +++ b/src/Tizen.NUI.CommonUI/Controls/InputField.cs @@ -351,18 +351,18 @@ namespace Tizen.NUI.CommonUI { get { - return inputFieldAttrs.BackgroundImageAttributes?.ResourceUrl?.All; + return inputFieldAttrs.BackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateBackgroundAttributes(); - if (inputFieldAttrs.BackgroundImageAttributes.ResourceUrl == null) + if (inputFieldAttrs.BackgroundImageAttributes.ResourceURL == null) { - inputFieldAttrs.BackgroundImageAttributes.ResourceUrl = new StringSelector(); + inputFieldAttrs.BackgroundImageAttributes.ResourceURL = new StringSelector(); } - inputFieldAttrs.BackgroundImageAttributes.ResourceUrl.All = value; + inputFieldAttrs.BackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Popup.cs b/src/Tizen.NUI.CommonUI/Controls/Popup.cs index 699b6f2be..6b2b2efd1 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Popup.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Popup.cs @@ -151,18 +151,18 @@ namespace Tizen.NUI.CommonUI { get { - return popupAttributes?.ShadowImageAttributes?.ResourceUrl?.All; + return popupAttributes?.ShadowImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateShadowAttributes(); - if (popupAttributes.ShadowImageAttributes.ResourceUrl == null) + if (popupAttributes.ShadowImageAttributes.ResourceURL == null) { - popupAttributes.ShadowImageAttributes.ResourceUrl = new StringSelector(); + popupAttributes.ShadowImageAttributes.ResourceURL = new StringSelector(); } - popupAttributes.ShadowImageAttributes.ResourceUrl.All = value; + popupAttributes.ShadowImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -205,18 +205,18 @@ namespace Tizen.NUI.CommonUI { get { - return popupAttributes?.BackgroundImageAttributes?.ResourceUrl?.All; + return popupAttributes?.BackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateBackgroundAttributes(); - if (popupAttributes.BackgroundImageAttributes.ResourceUrl == null) + if (popupAttributes.BackgroundImageAttributes.ResourceURL == null) { - popupAttributes.BackgroundImageAttributes.ResourceUrl = new StringSelector(); + popupAttributes.BackgroundImageAttributes.ResourceURL = new StringSelector(); } - popupAttributes.BackgroundImageAttributes.ResourceUrl.All = value; + popupAttributes.BackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -544,18 +544,18 @@ namespace Tizen.NUI.CommonUI { get { - return popupAttributes?.ButtonAttributes?.BackgroundImageAttributes?.ResourceUrl?.All; + return popupAttributes?.ButtonAttributes?.BackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateButtonAttributes(); - if (popupAttributes.ButtonAttributes.BackgroundImageAttributes.ResourceUrl == null) + if (popupAttributes.ButtonAttributes.BackgroundImageAttributes.ResourceURL == null) { - popupAttributes.ButtonAttributes.BackgroundImageAttributes.ResourceUrl = new StringSelector(); + popupAttributes.ButtonAttributes.BackgroundImageAttributes.ResourceURL = new StringSelector(); } - popupAttributes.ButtonAttributes.BackgroundImageAttributes.ResourceUrl.All = value; + popupAttributes.ButtonAttributes.BackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Progress.cs b/src/Tizen.NUI.CommonUI/Controls/Progress.cs index 55a9dc76d..d09d3f0b9 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Progress.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Progress.cs @@ -123,16 +123,16 @@ namespace Tizen.NUI.CommonUI { get { - return progressAttrs.TrackImageAttributes?.ResourceUrl?.All; + return progressAttrs.TrackImageAttributes?.ResourceURL?.All; } set { CreateTrackImageAttributes(); - if (progressAttrs.TrackImageAttributes.ResourceUrl == null) + if (progressAttrs.TrackImageAttributes.ResourceURL == null) { - progressAttrs.TrackImageAttributes.ResourceUrl = new StringSelector(); + progressAttrs.TrackImageAttributes.ResourceURL = new StringSelector(); } - progressAttrs.TrackImageAttributes.ResourceUrl.All = value; + progressAttrs.TrackImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -147,16 +147,16 @@ namespace Tizen.NUI.CommonUI { get { - return progressAttrs.ProgressImageAttributes?.ResourceUrl?.All; + return progressAttrs.ProgressImageAttributes?.ResourceURL?.All; } set { CreateProgressImageAttributes(); - if (progressAttrs.ProgressImageAttributes.ResourceUrl == null) + if (progressAttrs.ProgressImageAttributes.ResourceURL == null) { - progressAttrs.ProgressImageAttributes.ResourceUrl = new StringSelector(); + progressAttrs.ProgressImageAttributes.ResourceURL = new StringSelector(); } - progressAttrs.ProgressImageAttributes.ResourceUrl.All = value; + progressAttrs.ProgressImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -171,16 +171,16 @@ namespace Tizen.NUI.CommonUI { get { - return progressAttrs.BufferImageAttributes?.ResourceUrl?.All; + return progressAttrs.BufferImageAttributes?.ResourceURL?.All; } set { CreateBufferImageAttributes(); - if (progressAttrs.BufferImageAttributes.ResourceUrl == null) + if (progressAttrs.BufferImageAttributes.ResourceURL == null) { - progressAttrs.BufferImageAttributes.ResourceUrl = new StringSelector(); + progressAttrs.BufferImageAttributes.ResourceURL = new StringSelector(); } - progressAttrs.BufferImageAttributes.ResourceUrl.All = value; + progressAttrs.BufferImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Scrollbar.cs b/src/Tizen.NUI.CommonUI/Controls/Scrollbar.cs index 7a5cd1e15..706e63cef 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Scrollbar.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Scrollbar.cs @@ -175,17 +175,17 @@ namespace Tizen.NUI.CommonUI { get { - return scrollBarAttrs.TrackImageAttributes.ResourceUrl.All; + return scrollBarAttrs.TrackImageAttributes.ResourceURL.All; } set { if (trackImage != null) { - if (scrollBarAttrs.TrackImageAttributes.ResourceUrl == null) + if (scrollBarAttrs.TrackImageAttributes.ResourceURL == null) { - scrollBarAttrs.TrackImageAttributes.ResourceUrl = new StringSelector(); + scrollBarAttrs.TrackImageAttributes.ResourceURL = new StringSelector(); } - scrollBarAttrs.TrackImageAttributes.ResourceUrl.All = value; + scrollBarAttrs.TrackImageAttributes.ResourceURL.All = value; } RelayoutRequest(); } diff --git a/src/Tizen.NUI.CommonUI/Controls/SelectButton.cs b/src/Tizen.NUI.CommonUI/Controls/SelectButton.cs index e723d3fcc..d04aaa66a 100755 --- a/src/Tizen.NUI.CommonUI/Controls/SelectButton.cs +++ b/src/Tizen.NUI.CommonUI/Controls/SelectButton.cs @@ -115,18 +115,18 @@ namespace Tizen.NUI.CommonUI { get { - return selectButtonAttributes?.CheckImageAttributes?.ResourceUrl?.All; + return selectButtonAttributes?.CheckImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateCheckImageAttributes(); - if (selectButtonAttributes.CheckImageAttributes.ResourceUrl == null) + if (selectButtonAttributes.CheckImageAttributes.ResourceURL == null) { - selectButtonAttributes.CheckImageAttributes.ResourceUrl = new StringSelector(); + selectButtonAttributes.CheckImageAttributes.ResourceURL = new StringSelector(); } - selectButtonAttributes.CheckImageAttributes.ResourceUrl.All = value; + selectButtonAttributes.CheckImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -142,14 +142,14 @@ namespace Tizen.NUI.CommonUI { get { - return selectButtonAttributes?.CheckImageAttributes?.ResourceUrl; + return selectButtonAttributes?.CheckImageAttributes?.ResourceURL; } set { if (value != null) { CreateCheckImageAttributes(); - selectButtonAttributes.CheckImageAttributes.ResourceUrl = value.Clone() as StringSelector; + selectButtonAttributes.CheckImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -232,18 +232,18 @@ namespace Tizen.NUI.CommonUI { get { - return selectButtonAttributes?.CheckBackgroundImageAttributes?.ResourceUrl?.All; + return selectButtonAttributes?.CheckBackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateCheckBackgroundImageAttributes(); - if (selectButtonAttributes.CheckBackgroundImageAttributes.ResourceUrl == null) + if (selectButtonAttributes.CheckBackgroundImageAttributes.ResourceURL == null) { - selectButtonAttributes.CheckBackgroundImageAttributes.ResourceUrl = new StringSelector(); + selectButtonAttributes.CheckBackgroundImageAttributes.ResourceURL = new StringSelector(); } - selectButtonAttributes.CheckBackgroundImageAttributes.ResourceUrl.All = value; + selectButtonAttributes.CheckBackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -259,14 +259,14 @@ namespace Tizen.NUI.CommonUI { get { - return selectButtonAttributes?.CheckBackgroundImageAttributes?.ResourceUrl; + return selectButtonAttributes?.CheckBackgroundImageAttributes?.ResourceURL; } set { if (value != null) { CreateCheckBackgroundImageAttributes(); - selectButtonAttributes.CheckBackgroundImageAttributes.ResourceUrl = value.Clone() as StringSelector; + selectButtonAttributes.CheckBackgroundImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -329,18 +329,18 @@ namespace Tizen.NUI.CommonUI { get { - return selectButtonAttributes?.CheckShadowImageAttributes?.ResourceUrl?.All; + return selectButtonAttributes?.CheckShadowImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateCheckShadowImageAttributes(); - if (selectButtonAttributes.CheckShadowImageAttributes.ResourceUrl == null) + if (selectButtonAttributes.CheckShadowImageAttributes.ResourceURL == null) { - selectButtonAttributes.CheckShadowImageAttributes.ResourceUrl = new StringSelector(); + selectButtonAttributes.CheckShadowImageAttributes.ResourceURL = new StringSelector(); } - selectButtonAttributes.CheckShadowImageAttributes.ResourceUrl.All = value; + selectButtonAttributes.CheckShadowImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -356,14 +356,14 @@ namespace Tizen.NUI.CommonUI { get { - return selectButtonAttributes?.CheckShadowImageAttributes?.ResourceUrl; + return selectButtonAttributes?.CheckShadowImageAttributes?.ResourceURL; } set { if (value != null) { CreateCheckShadowImageAttributes(); - selectButtonAttributes.CheckShadowImageAttributes.ResourceUrl = value.Clone() as StringSelector; + selectButtonAttributes.CheckShadowImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Slider.cs b/src/Tizen.NUI.CommonUI/Controls/Slider.cs index 62d8ce2dc..99a9729a4 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Slider.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Slider.cs @@ -355,14 +355,14 @@ namespace Tizen.NUI.CommonUI { get { - return sliderAttrs.ThumbBackgroundAttributes?.ResourceUrl; + return sliderAttrs.ThumbBackgroundAttributes?.ResourceURL; } set { CreateThumbBackgroundAttributes(); if (value != null) { - sliderAttrs.ThumbBackgroundAttributes.ResourceUrl = value.Clone() as StringSelector; + sliderAttrs.ThumbBackgroundAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -378,16 +378,16 @@ namespace Tizen.NUI.CommonUI { get { - return sliderAttrs.ThumbAttributes?.ResourceUrl?.All; + return sliderAttrs.ThumbAttributes?.ResourceURL?.All; } set { CreateThumbAttributes(); - if (sliderAttrs.ThumbAttributes.ResourceUrl == null) + if (sliderAttrs.ThumbAttributes.ResourceURL == null) { - sliderAttrs.ThumbAttributes.ResourceUrl = new StringSelector(); + sliderAttrs.ThumbAttributes.ResourceURL = new StringSelector(); } - sliderAttrs.ThumbAttributes.ResourceUrl.All = value; + sliderAttrs.ThumbAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -402,14 +402,14 @@ namespace Tizen.NUI.CommonUI { get { - return sliderAttrs.ThumbAttributes?.ResourceUrl; + return sliderAttrs.ThumbAttributes?.ResourceURL; } set { CreateThumbAttributes(); if (value != null) { - sliderAttrs.ThumbAttributes.ResourceUrl = value.Clone() as StringSelector; + sliderAttrs.ThumbAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -513,16 +513,16 @@ namespace Tizen.NUI.CommonUI { get { - return sliderAttrs.LowIndicatorImageAttributes?.ResourceUrl?.All; + return sliderAttrs.LowIndicatorImageAttributes?.ResourceURL?.All; } set { CreateLowIndicatorImageAttributes(); - if (sliderAttrs.LowIndicatorImageAttributes.ResourceUrl == null) + if (sliderAttrs.LowIndicatorImageAttributes.ResourceURL == null) { - sliderAttrs.LowIndicatorImageAttributes.ResourceUrl = new StringSelector(); + sliderAttrs.LowIndicatorImageAttributes.ResourceURL = new StringSelector(); } - sliderAttrs.LowIndicatorImageAttributes.ResourceUrl.All = value; + sliderAttrs.LowIndicatorImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -537,16 +537,16 @@ namespace Tizen.NUI.CommonUI { get { - return sliderAttrs.HighIndicatorImageAttributes?.ResourceUrl?.All; + return sliderAttrs.HighIndicatorImageAttributes?.ResourceURL?.All; } set { CreateHighIndicatorImageAttributes(); - if (sliderAttrs.HighIndicatorImageAttributes.ResourceUrl == null) + if (sliderAttrs.HighIndicatorImageAttributes.ResourceURL == null) { - sliderAttrs.HighIndicatorImageAttributes.ResourceUrl = new StringSelector(); + sliderAttrs.HighIndicatorImageAttributes.ResourceURL = new StringSelector(); } - sliderAttrs.HighIndicatorImageAttributes.ResourceUrl.All = value; + sliderAttrs.HighIndicatorImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Switch.cs b/src/Tizen.NUI.CommonUI/Controls/Switch.cs index 1a5e81712..4d8cf46fd 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Switch.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Switch.cs @@ -86,18 +86,18 @@ namespace Tizen.NUI.CommonUI { get { - return switchAttributes?.SwitchBackgroundImageAttributes?.ResourceUrl?.All; + return switchAttributes?.SwitchBackgroundImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateSwitchBackgroundImageAttributes(); - if (switchAttributes.SwitchBackgroundImageAttributes.ResourceUrl == null) + if (switchAttributes.SwitchBackgroundImageAttributes.ResourceURL == null) { - switchAttributes.SwitchBackgroundImageAttributes.ResourceUrl = new StringSelector(); + switchAttributes.SwitchBackgroundImageAttributes.ResourceURL = new StringSelector(); } - switchAttributes.SwitchBackgroundImageAttributes.ResourceUrl.All = value; + switchAttributes.SwitchBackgroundImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -113,14 +113,14 @@ namespace Tizen.NUI.CommonUI { get { - return switchAttributes?.SwitchBackgroundImageAttributes?.ResourceUrl; + return switchAttributes?.SwitchBackgroundImageAttributes?.ResourceURL; } set { if (value != null) { CreateSwitchBackgroundImageAttributes(); - switchAttributes.SwitchBackgroundImageAttributes.ResourceUrl = value.Clone() as StringSelector; + switchAttributes.SwitchBackgroundImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } @@ -136,18 +136,18 @@ namespace Tizen.NUI.CommonUI { get { - return switchAttributes?.SwitchHandlerImageAttributes?.ResourceUrl?.All; + return switchAttributes?.SwitchHandlerImageAttributes?.ResourceURL?.All; } set { if (value != null) { CreateSwitchHandlerImageAttributes(); - if (switchAttributes.SwitchHandlerImageAttributes.ResourceUrl == null) + if (switchAttributes.SwitchHandlerImageAttributes.ResourceURL == null) { - switchAttributes.SwitchHandlerImageAttributes.ResourceUrl = new StringSelector(); + switchAttributes.SwitchHandlerImageAttributes.ResourceURL = new StringSelector(); } - switchAttributes.SwitchHandlerImageAttributes.ResourceUrl.All = value; + switchAttributes.SwitchHandlerImageAttributes.ResourceURL.All = value; RelayoutRequest(); } } @@ -163,14 +163,14 @@ namespace Tizen.NUI.CommonUI { get { - return switchAttributes?.SwitchHandlerImageAttributes?.ResourceUrl; + return switchAttributes?.SwitchHandlerImageAttributes?.ResourceURL; } set { if (value != null) { CreateSwitchHandlerImageAttributes(); - switchAttributes.SwitchHandlerImageAttributes.ResourceUrl = value.Clone() as StringSelector; + switchAttributes.SwitchHandlerImageAttributes.ResourceURL = value.Clone() as StringSelector; RelayoutRequest(); } } diff --git a/src/Tizen.NUI.CommonUI/Controls/Toast.cs b/src/Tizen.NUI.CommonUI/Controls/Toast.cs index 9680ba65e..f883b576a 100755 --- a/src/Tizen.NUI.CommonUI/Controls/Toast.cs +++ b/src/Tizen.NUI.CommonUI/Controls/Toast.cs @@ -205,7 +205,7 @@ namespace Tizen.NUI.CommonUI { get { - return toastAttributes.BackgroundImageAttributes?.ResourceUrl?.All; + return toastAttributes.BackgroundImageAttributes?.ResourceURL?.All; } set { @@ -214,12 +214,12 @@ namespace Tizen.NUI.CommonUI CreateBackgroundAttributes(); if (toastAttributes.BackgroundImageAttributes != null) { - if (null == toastAttributes.BackgroundImageAttributes?.ResourceUrl) + if (null == toastAttributes.BackgroundImageAttributes?.ResourceURL) { - toastAttributes.BackgroundImageAttributes.ResourceUrl = new StringSelector(); + toastAttributes.BackgroundImageAttributes.ResourceURL = new StringSelector(); } - toastAttributes.BackgroundImageAttributes.ResourceUrl.All = value; + toastAttributes.BackgroundImageAttributes.ResourceURL.All = value; SetToastBackground(); } } @@ -566,9 +566,9 @@ namespace Tizen.NUI.CommonUI private void SetToastBackground() { - if (null != toastAttributes?.BackgroundImageAttributes?.ResourceUrl) + if (null != toastAttributes?.BackgroundImageAttributes?.ResourceURL) { - toastBackground.URL = toastAttributes.BackgroundImageAttributes.ResourceUrl.All; + toastBackground.URL = toastAttributes.BackgroundImageAttributes.ResourceURL.All; } if (null != toastAttributes?.BackgroundImageAttributes?.Border) { diff --git a/src/Tizen.NUI/src/internal/DefaultItemLayoutProperty.cs b/src/Tizen.NUI/src/internal/DefaultItemLayoutProperty.cs index c1431d2f1..146019809 100755 --- a/src/Tizen.NUI/src/internal/DefaultItemLayoutProperty.cs +++ b/src/Tizen.NUI/src/internal/DefaultItemLayoutProperty.cs @@ -15,10 +15,14 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - internal enum DefaultItemLayoutProperty + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public enum DefaultItemLayoutProperty { TYPE = 0, ITEM_SIZE, diff --git a/src/Tizen.NUI/src/internal/DefaultItemLayoutType.cs b/src/Tizen.NUI/src/internal/DefaultItemLayoutType.cs index ebbeebb9b..1787984ca 100755 --- a/src/Tizen.NUI/src/internal/DefaultItemLayoutType.cs +++ b/src/Tizen.NUI/src/internal/DefaultItemLayoutType.cs @@ -15,10 +15,13 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - - internal enum DefaultItemLayoutType + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public enum DefaultItemLayoutType { DEPTH, GRID, diff --git a/src/Tizen.NUI/src/internal/DefaultRuler.cs b/src/Tizen.NUI/src/internal/DefaultRuler.cs index b4026d593..9d6718797 100755 --- a/src/Tizen.NUI/src/internal/DefaultRuler.cs +++ b/src/Tizen.NUI/src/internal/DefaultRuler.cs @@ -15,10 +15,13 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - - internal class DefaultRuler : Ruler + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class DefaultRuler : Ruler { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -32,6 +35,8 @@ namespace Tizen.NUI return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { if (disposed) @@ -64,11 +69,15 @@ namespace Tizen.NUI base.Dispose(type); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public DefaultRuler() : this(Interop.Ruler.new_DefaultRuler(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override float Snap(float x, float bias) { float ret = Interop.Ruler.DefaultRuler_Snap(swigCPtr, x, bias); @@ -76,6 +85,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override float GetPositionFromPage(uint page, out uint volume, bool wrap) { float ret = Interop.Ruler.DefaultRuler_GetPositionFromPage(swigCPtr, page, out volume, wrap); @@ -83,6 +94,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override uint GetPageFromPosition(float position, bool wrap) { uint ret = Interop.Ruler.DefaultRuler_GetPageFromPosition(swigCPtr, position, wrap); @@ -90,6 +103,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override uint GetTotalPages() { uint ret = Interop.Ruler.DefaultRuler_GetTotalPages(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/FixedRuler.cs b/src/Tizen.NUI/src/internal/FixedRuler.cs index bbe5d995e..644e5b3b3 100755 --- a/src/Tizen.NUI/src/internal/FixedRuler.cs +++ b/src/Tizen.NUI/src/internal/FixedRuler.cs @@ -15,10 +15,14 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - internal class FixedRuler : Ruler + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class FixedRuler : Ruler { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -32,6 +36,8 @@ namespace Tizen.NUI return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] protected override void Dispose(DisposeTypes type) { if (disposed) @@ -64,16 +70,22 @@ namespace Tizen.NUI base.Dispose(type); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public FixedRuler(float spacing) : this(Interop.Ruler.new_FixedRuler__SWIG_0(spacing), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public FixedRuler() : this(Interop.Ruler.new_FixedRuler__SWIG_1(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override float Snap(float x, float bias) { float ret = Interop.Ruler.FixedRuler_Snap(swigCPtr, x, bias); @@ -81,6 +93,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override float GetPositionFromPage(uint page, out uint volume, bool wrap) { float ret = Interop.Ruler.FixedRuler_GetPositionFromPage(swigCPtr, page, out volume, wrap); @@ -88,6 +102,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override uint GetPageFromPosition(float position, bool wrap) { uint ret = Interop.Ruler.FixedRuler_GetPageFromPosition(swigCPtr, position, wrap); @@ -95,6 +111,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public override uint GetTotalPages() { uint ret = Interop.Ruler.FixedRuler_GetTotalPages(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.CubeTransitionEffect.cs b/src/Tizen.NUI/src/internal/Interop/Interop.CubeTransitionEffect.cs new file mode 100755 index 000000000..92920e23c --- /dev/null +++ b/src/Tizen.NUI/src/internal/Interop/Interop.CubeTransitionEffect.cs @@ -0,0 +1,150 @@ +/* + * Copyright(c) 2019 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +namespace Tizen.NUI +{ + internal static partial class Interop + { + internal static partial class CubeTransitionEffect + { + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_SWIGUpcast")] + public static extern global::System.IntPtr CubeTransitionEffect_SWIGUpcast(global::System.IntPtr jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_CubeTransitionEffect")] + public static extern global::System.IntPtr new_CubeTransitionEffect(); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_CubeTransitionEffect")] + public static extern void delete_CubeTransitionEffect(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_SetTransitionDuration")] + public static extern void CubeTransitionEffect_SetTransitionDuration(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_GetTransitionDuration")] + public static extern float CubeTransitionEffect_GetTransitionDuration(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_SetCubeDisplacement")] + public static extern void CubeTransitionEffect_SetCubeDisplacement(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_GetCubeDisplacement")] + public static extern float CubeTransitionEffect_GetCubeDisplacement(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_IsTransitioning")] + public static extern bool CubeTransitionEffect_IsTransitioning(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_SetCurrentTexture")] + public static extern void CubeTransitionEffect_SetCurrentTexture(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_SetTargetTexture")] + public static extern void CubeTransitionEffect_SetTargetTexture(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_StartTransition__SWIG1")] + public static extern void CubeTransitionEffect_StartTransition__SWIG1(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_StartTransition__SWIG2")] + public static extern void CubeTransitionEffect_StartTransition__SWIG2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_PauseTransition")] + public static extern void CubeTransitionEffect_PauseTransition(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_ResumeTransition")] + public static extern void CubeTransitionEffect_ResumeTransition(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_StopTransition")] + public static extern void CubeTransitionEffect_StopTransition(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffect_TransitionCompletedSignal")] + public static extern global::System.IntPtr CubeTransitionEffect_TransitionCompletedSignal(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffectSignal_Empty")] + public static extern bool CubeTransitionEffectSignal_Empty(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffectSignal_GetConnectionCount")] + public static extern uint CubeTransitionEffectSignal_GetConnectionCount(global::System.Runtime.InteropServices.HandleRef jarg1); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffectSignal_Connect")] + public static extern void CubeTransitionEffectSignal_Connect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffectSignal_Disconnect")] + public static extern void CubeTransitionEffectSignal_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionEffectSignal_Emit")] + public static extern void CubeTransitionEffectSignal_Emit(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_CubeTransitionEffectSignal")] + public static extern global::System.IntPtr new_CubeTransitionEffectSignal(); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_CubeTransitionEffectSignal")] + public static extern void delete_CubeTransitionEffectSignal(global::System.Runtime.InteropServices.HandleRef jarg1); + + } + + internal static partial class CubeTransitionWaveEffect + { + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionWaveEffect_New")] + public static extern global::System.IntPtr CubeTransitionWaveEffect_New(uint numRows, uint numColumns); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionWaveEffect_SWIGUpcast")] + public static extern global::System.IntPtr CubeTransitionWaveEffect_SWIGUpcast(global::System.IntPtr jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_CubeTransitionWaveEffect")] + public static extern void delete_CubeTransitionWaveEffect(global::System.Runtime.InteropServices.HandleRef jarg1); + } + + internal static partial class CubeTransitionCrossEffect + { + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionCrossEffect_New")] + public static extern global::System.IntPtr CubeTransitionCrossEffect_New(uint numRows, uint numColumns); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionCrossEffect_SWIGUpcast")] + public static extern global::System.IntPtr CubeTransitionCrossEffect_SWIGUpcast(global::System.IntPtr jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_CubeTransitionCrossEffect")] + public static extern void delete_CubeTransitionCrossEffect(global::System.Runtime.InteropServices.HandleRef jarg1); + } + + internal static partial class CubeTransitionFoldEffect + { + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionFoldEffect_New")] + public static extern global::System.IntPtr CubeTransitionFoldEffect_New(uint numRows, uint numColumns); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_CubeTransitionFoldEffect_SWIGUpcast")] + public static extern global::System.IntPtr CubeTransitionFoldEffect_SWIGUpcast(global::System.IntPtr jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_CubeTransitionFoldEffect")] + public static extern void delete_CubeTransitionFoldEffect(global::System.Runtime.InteropServices.HandleRef jarg1); + } + } +} diff --git a/src/Tizen.NUI/src/internal/Interop/Interop.FrameCallback.cs b/src/Tizen.NUI/src/internal/Interop/Interop.FrameCallback.cs new file mode 100755 index 000000000..c4530c8a4 --- /dev/null +++ b/src/Tizen.NUI/src/internal/Interop/Interop.FrameCallback.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Tizen.NUI +{ + internal static partial class Interop + { + internal static partial class FrameCallback + { + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_New")] + public static extern global::System.IntPtr FrameUpdateCallback_New(); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SWIGUpcast")] + public static extern global::System.IntPtr FrameUpdateCallback_SWIGUpcast(global::System.IntPtr jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_AddCallback")] + public static extern global::System.IntPtr FrameUpdateCallback_AddCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_AddMainThreadCallback")] + public static extern global::System.IntPtr FrameUpdateCallback_AddMainThreadCallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_RemoveCallback")] + public static extern global::System.IntPtr FrameUpdateCallback_RemoveCallback(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_GetPosition")] + public static extern global::System.IntPtr FrameUpdateCallback_GetPosition(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SetPosition")] + public static extern global::System.IntPtr FrameUpdateCallback_SetPosition(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_BakePosition")] + public static extern global::System.IntPtr FrameUpdateCallback_BakePosition(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_GetSize")] + public static extern global::System.IntPtr FrameUpdateCallback_GetSize(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SetSize")] + public static extern global::System.IntPtr FrameUpdateCallback_SetSize(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_BakeSize")] + public static extern global::System.IntPtr FrameUpdateCallback_BakeSize(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_GetScale")] + public static extern global::System.IntPtr FrameUpdateCallback_GetScale(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SetScale")] + public static extern global::System.IntPtr FrameUpdateCallback_SetScale(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_BakeScale")] + public static extern global::System.IntPtr FrameUpdateCallback_BakeScale(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_GetColor")] + public static extern global::System.IntPtr FrameUpdateCallback_GetColor(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SetColor")] + public static extern global::System.IntPtr FrameUpdateCallback_SetColor(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_BakeColor")] + public static extern global::System.IntPtr FrameUpdateCallback_BakeColor(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SetAlphaFunction")] + public static extern void FrameUpdateCallback_SetAlphaFunction(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_GetAlphaFunction")] + public static extern global::System.IntPtr FrameUpdateCallback_GetAlphaFunction(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_SetDuration")] + public static extern void FrameUpdateCallback_SetDuration(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); + + [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_FrameUpdateCallback_GetDuration")] + public static extern float FrameUpdateCallback_GetDuration(global::System.Runtime.InteropServices.HandleRef jarg1); + } + } +} diff --git a/src/Tizen.NUI/src/internal/Item.cs b/src/Tizen.NUI/src/internal/Item.cs index 183e337b3..53faae5bf 100755 --- a/src/Tizen.NUI/src/internal/Item.cs +++ b/src/Tizen.NUI/src/internal/Item.cs @@ -15,10 +15,15 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { using Tizen.NUI.BaseComponents; - internal class Item : global::System.IDisposable + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class Item : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -49,6 +54,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -68,6 +75,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] protected virtual void Dispose(DisposeTypes type) { if (disposed) @@ -100,21 +109,29 @@ namespace Tizen.NUI disposed = true; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Item() : this(Interop.Item.new_Item__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Item(uint t, View u) : this(Interop.Item.new_Item__SWIG_1(t, View.getCPtr(u)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Item(Item p) : this(Interop.Item.new_Item__SWIG_2(Item.getCPtr(p)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint first { set @@ -130,6 +147,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public View second { set diff --git a/src/Tizen.NUI/src/internal/ItemContainer.cs b/src/Tizen.NUI/src/internal/ItemContainer.cs index 5948c39be..8e7df1c1b 100755 --- a/src/Tizen.NUI/src/internal/ItemContainer.cs +++ b/src/Tizen.NUI/src/internal/ItemContainer.cs @@ -15,10 +15,14 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - internal class ItemContainer : global::System.IDisposable, global::System.Collections.IEnumerable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class ItemContainer : global::System.IDisposable, global::System.Collections.IEnumerable , global::System.Collections.Generic.IEnumerable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -50,6 +54,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -69,6 +75,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] protected virtual void Dispose(DisposeTypes type) { if (disposed) @@ -101,6 +109,8 @@ namespace Tizen.NUI disposed = true; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainer(global::System.Collections.ICollection c) : this() { if (c == null) @@ -111,6 +121,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsFixedSize { get @@ -119,6 +131,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsReadOnly { get @@ -127,6 +141,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Item this[int index] { get @@ -139,6 +155,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int Capacity { get @@ -153,6 +171,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int Count { get @@ -161,6 +181,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsSynchronized { get @@ -169,16 +191,22 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void CopyTo(Item[] array) { CopyTo(0, array, 0, this.Count); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void CopyTo(Item[] array, int arrayIndex) { CopyTo(0, array, arrayIndex, this.Count); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void CopyTo(int index, Item[] array, int arrayIndex, int count) { if (array == null) @@ -207,6 +235,8 @@ namespace Tizen.NUI return new ItemContainerEnumerator(this); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainerEnumerator GetEnumerator() { return new ItemContainerEnumerator(this); @@ -217,7 +247,8 @@ namespace Tizen.NUI /// whenever the collection is modified. This has been done for changes in the size of the /// collection, but not when one of the elements of the collection is modified as it is a bit /// tricky to detect unmanaged code that modifies the collection under our feet. - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public sealed class ItemContainerEnumerator : global::System.Collections.IEnumerator , global::System.Collections.Generic.IEnumerator { @@ -226,7 +257,8 @@ namespace Tizen.NUI private object currentObject; private int currentSize; - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainerEnumerator(ItemContainer collection) { collectionRef = collection; @@ -236,7 +268,8 @@ namespace Tizen.NUI } // Type-safe iterator Current - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Item Current { get @@ -260,7 +293,8 @@ namespace Tizen.NUI } } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool MoveNext() { int size = collectionRef.Count; @@ -277,7 +311,8 @@ namespace Tizen.NUI return moveOkay; } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reset() { currentIndex = -1; @@ -288,7 +323,8 @@ namespace Tizen.NUI } } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { currentIndex = -1; @@ -296,12 +332,16 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Clear() { Interop.ItemContainer.ItemContainer_Clear(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Add(Item x) { Interop.ItemContainer.ItemContainer_Add(swigCPtr, Item.getCPtr(x)); @@ -328,16 +368,22 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainer() : this(Interop.ItemContainer.new_ItemContainer__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainer(ItemContainer other) : this(Interop.ItemContainer.new_ItemContainer__SWIG_1(ItemContainer.getCPtr(other)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainer(int capacity) : this(Interop.ItemContainer.new_ItemContainer__SWIG_2(capacity), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -363,12 +409,16 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void AddRange(ItemContainer values) { Interop.ItemContainer.ItemContainer_AddRange(swigCPtr, ItemContainer.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemContainer GetRange(int index, int count) { global::System.IntPtr cPtr = Interop.ItemContainer.ItemContainer_GetRange(swigCPtr, index, count); @@ -377,30 +427,40 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Insert(int index, Item x) { Interop.ItemContainer.ItemContainer_Insert(swigCPtr, index, Item.getCPtr(x)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void InsertRange(int index, ItemContainer values) { Interop.ItemContainer.ItemContainer_InsertRange(swigCPtr, index, ItemContainer.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveAt(int index) { Interop.ItemContainer.ItemContainer_RemoveAt(swigCPtr, index); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveRange(int index, int count) { Interop.ItemContainer.ItemContainer_RemoveRange(swigCPtr, index, count); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static ItemContainer Repeat(Item value, int count) { global::System.IntPtr cPtr = Interop.ItemContainer.ItemContainer_Repeat(Item.getCPtr(value), count); @@ -409,18 +469,24 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reverse() { Interop.ItemContainer.ItemContainer_Reverse__SWIG_0(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reverse(int index, int count) { Interop.ItemContainer.ItemContainer_Reverse__SWIG_1(swigCPtr, index, count); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetRange(int index, ItemContainer values) { Interop.ItemContainer.ItemContainer_SetRange(swigCPtr, index, ItemContainer.getCPtr(values)); diff --git a/src/Tizen.NUI/src/internal/ItemFactory.cs b/src/Tizen.NUI/src/internal/ItemFactory.cs index d70ffcf8d..38214abb7 100755 --- a/src/Tizen.NUI/src/internal/ItemFactory.cs +++ b/src/Tizen.NUI/src/internal/ItemFactory.cs @@ -15,12 +15,15 @@ * */ +using System.ComponentModel; using System.Reflection; +using Tizen.NUI.BaseComponents; namespace Tizen.NUI { - using Tizen.NUI.BaseComponents; - internal class ItemFactory : global::System.IDisposable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class ItemFactory : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -51,6 +54,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -102,6 +107,8 @@ namespace Tizen.NUI disposed = true; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual uint GetNumberOfItems() { uint ret = Interop.ItemFactory.ItemFactory_GetNumberOfItems(swigCPtr); @@ -109,6 +116,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual View NewItem(uint itemId) { View ret = new View(Interop.ItemFactory.ItemFactory_NewItem(swigCPtr, itemId), true); @@ -116,12 +125,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual void ItemReleased(uint itemId, View view) { if (SwigDerivedClassHasMethod("ItemReleased", swigMethodTypes2)) Interop.ItemFactory.ItemFactory_ItemReleasedSwigExplicitItemFactory(swigCPtr, itemId, View.getCPtr(view)); else Interop.ItemFactory.ItemFactory_ItemReleased(swigCPtr, itemId, View.getCPtr(view)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemFactory() : this(Interop.ItemFactory.new_ItemFactory(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -162,11 +175,16 @@ namespace Tizen.NUI ItemReleased(itemId, new View(actor, true)); } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public delegate uint SwigDelegateItemFactory_0(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public delegate global::System.IntPtr SwigDelegateItemFactory_1(uint itemId); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public delegate void SwigDelegateItemFactory_2(uint itemId, global::System.IntPtr actor); private SwigDelegateItemFactory_0 swigDelegate0; diff --git a/src/Tizen.NUI/src/internal/ItemIdContainer.cs b/src/Tizen.NUI/src/internal/ItemIdContainer.cs index c2f4a95f4..037e3f9ca 100755 --- a/src/Tizen.NUI/src/internal/ItemIdContainer.cs +++ b/src/Tizen.NUI/src/internal/ItemIdContainer.cs @@ -15,10 +15,14 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - internal class ItemIdContainer : global::System.IDisposable, global::System.Collections.IEnumerable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class ItemIdContainer : global::System.IDisposable, global::System.Collections.IEnumerable , global::System.Collections.Generic.IList { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -50,6 +54,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -101,6 +107,8 @@ namespace Tizen.NUI disposed = true; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainer(global::System.Collections.ICollection c) : this() { if (c == null) @@ -111,6 +119,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsFixedSize { get @@ -119,6 +129,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsReadOnly { get @@ -127,6 +139,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint this[int index] { get @@ -139,6 +153,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int Capacity { get @@ -153,6 +169,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int Count { get @@ -161,6 +179,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsSynchronized { get @@ -169,16 +189,22 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void CopyTo(uint[] array) { CopyTo(0, array, 0, this.Count); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void CopyTo(uint[] array, int arrayIndex) { CopyTo(0, array, arrayIndex, this.Count); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void CopyTo(int index, uint[] array, int arrayIndex, int count) { if (array == null) @@ -207,6 +233,8 @@ namespace Tizen.NUI return new ItemIdContainerEnumerator(this); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainerEnumerator GetEnumerator() { return new ItemIdContainerEnumerator(this); @@ -217,7 +245,8 @@ namespace Tizen.NUI /// whenever the collection is modified. This has been done for changes in the size of the /// collection, but not when one of the elements of the collection is modified as it is a bit /// tricky to detect unmanaged code that modifies the collection under our feet. - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public sealed class ItemIdContainerEnumerator : global::System.Collections.IEnumerator , global::System.Collections.Generic.IEnumerator { @@ -226,7 +255,8 @@ namespace Tizen.NUI private object currentObject; private int currentSize; - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainerEnumerator(ItemIdContainer collection) { collectionRef = collection; @@ -236,7 +266,8 @@ namespace Tizen.NUI } // Type-safe iterator Current - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint Current { get @@ -260,7 +291,8 @@ namespace Tizen.NUI } } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool MoveNext() { int size = collectionRef.Count; @@ -277,7 +309,8 @@ namespace Tizen.NUI return moveOkay; } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reset() { currentIndex = -1; @@ -288,7 +321,8 @@ namespace Tizen.NUI } } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { currentIndex = -1; @@ -296,12 +330,16 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Clear() { Interop.ItemIdContainer.ItemIdContainer_Clear(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Add(uint x) { Interop.ItemIdContainer.ItemIdContainer_Add(swigCPtr, x); @@ -328,16 +366,22 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainer() : this(Interop.ItemIdContainer.new_ItemIdContainer__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainer(ItemIdContainer other) : this(Interop.ItemIdContainer.new_ItemIdContainer__SWIG_1(ItemIdContainer.getCPtr(other)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainer(int capacity) : this(Interop.ItemIdContainer.new_ItemIdContainer__SWIG_2(capacity), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -363,12 +407,16 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void AddRange(ItemIdContainer values) { Interop.ItemIdContainer.ItemIdContainer_AddRange(swigCPtr, ItemIdContainer.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemIdContainer GetRange(int index, int count) { global::System.IntPtr cPtr = Interop.ItemIdContainer.ItemIdContainer_GetRange(swigCPtr, index, count); @@ -377,30 +425,40 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Insert(int index, uint x) { Interop.ItemIdContainer.ItemIdContainer_Insert(swigCPtr, index, x); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void InsertRange(int index, ItemIdContainer values) { Interop.ItemIdContainer.ItemIdContainer_InsertRange(swigCPtr, index, ItemIdContainer.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveAt(int index) { Interop.ItemIdContainer.ItemIdContainer_RemoveAt(swigCPtr, index); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveRange(int index, int count) { Interop.ItemIdContainer.ItemIdContainer_RemoveRange(swigCPtr, index, count); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static ItemIdContainer Repeat(uint value, int count) { global::System.IntPtr cPtr = Interop.ItemIdContainer.ItemIdContainer_Repeat(value, count); @@ -409,24 +467,32 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reverse() { Interop.ItemIdContainer.ItemIdContainer_Reverse__SWIG_0(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reverse(int index, int count) { Interop.ItemIdContainer.ItemIdContainer_Reverse__SWIG_1(swigCPtr, index, count); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetRange(int index, ItemIdContainer values) { Interop.ItemIdContainer.ItemIdContainer_SetRange(swigCPtr, index, ItemIdContainer.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool Contains(uint value) { bool ret = Interop.ItemIdContainer.ItemIdContainer_Contains(swigCPtr, value); @@ -434,6 +500,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int IndexOf(uint value) { int ret = Interop.ItemIdContainer.ItemIdContainer_IndexOf(swigCPtr, value); @@ -441,6 +509,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int LastIndexOf(uint value) { int ret = Interop.ItemIdContainer.ItemIdContainer_LastIndexOf(swigCPtr, value); @@ -448,6 +518,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool Remove(uint value) { bool ret = Interop.ItemIdContainer.ItemIdContainer_Remove(swigCPtr, value); diff --git a/src/Tizen.NUI/src/internal/ItemLayout.cs b/src/Tizen.NUI/src/internal/ItemLayout.cs index 389767160..38ff66b06 100755 --- a/src/Tizen.NUI/src/internal/ItemLayout.cs +++ b/src/Tizen.NUI/src/internal/ItemLayout.cs @@ -16,11 +16,14 @@ */ using Tizen.NUI.BaseComponents; +using System.ComponentModel; namespace Tizen.NUI { - internal class ItemLayout : RefObject + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class ItemLayout : RefObject { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -67,12 +70,16 @@ namespace Tizen.NUI } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetLayoutProperties(PropertyMap properties) { Interop.ItemLayout.ItemLayout_SetLayoutProperties(swigCPtr, PropertyMap.getCPtr(properties)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public PropertyMap GetLayoutProperties() { PropertyMap ret = new PropertyMap(Interop.ItemLayout.ItemLayout_GetLayoutProperties(swigCPtr), true); @@ -80,18 +87,24 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void GetItemSize(uint itemId, Vector3 layoutSize, Vector3 itemSize) { Interop.ItemLayout.ItemLayout_GetItemSize(swigCPtr, itemId, Vector3.getCPtr(layoutSize), Vector3.getCPtr(itemSize)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetItemSize(Vector3 itemSize) { Interop.ItemLayout.ItemLayout_SetItemSize(swigCPtr, Vector3.getCPtr(itemSize)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetMinimumLayoutPosition(uint numberOfItems, Vector3 layoutSize) { float ret = Interop.ItemLayout.ItemLayout_GetMinimumLayoutPosition(swigCPtr, numberOfItems, Vector3.getCPtr(layoutSize)); @@ -99,6 +112,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetClosestAnchorPosition(float layoutPosition) { float ret = Interop.ItemLayout.ItemLayout_GetClosestAnchorPosition(swigCPtr, layoutPosition); @@ -106,6 +121,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetItemScrollToPosition(uint itemId) { float ret = Interop.ItemLayout.ItemLayout_GetItemScrollToPosition(swigCPtr, itemId); @@ -113,6 +130,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual ItemRange GetItemsWithinArea(float firstItemPosition, Vector3 layoutSize) { ItemRange ret = new ItemRange(Interop.ItemLayout.ItemLayout_GetItemsWithinArea(swigCPtr, firstItemPosition, Vector3.getCPtr(layoutSize)), true); @@ -120,6 +139,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetClosestOnScreenLayoutPosition(int itemID, float currentLayoutPosition, Vector3 layoutSize) { float ret = Interop.ItemLayout.ItemLayout_GetClosestOnScreenLayoutPosition(swigCPtr, itemID, currentLayoutPosition, Vector3.getCPtr(layoutSize)); @@ -127,6 +148,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual uint GetReserveItemCount(Vector3 layoutSize) { uint ret = Interop.ItemLayout.ItemLayout_GetReserveItemCount(swigCPtr, Vector3.getCPtr(layoutSize)); @@ -134,12 +157,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual void GetDefaultItemSize(uint itemId, Vector3 layoutSize, Vector3 itemSize) { Interop.ItemLayout.ItemLayout_GetDefaultItemSize(swigCPtr, itemId, Vector3.getCPtr(layoutSize), Vector3.getCPtr(itemSize)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual Degree GetScrollDirection() { Degree ret = new Degree(Interop.ItemLayout.ItemLayout_GetScrollDirection(swigCPtr), true); @@ -147,6 +174,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetScrollSpeedFactor() { float ret = Interop.ItemLayout.ItemLayout_GetScrollSpeedFactor(swigCPtr); @@ -154,6 +183,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetMaximumSwipeSpeed() { float ret = Interop.ItemLayout.ItemLayout_GetMaximumSwipeSpeed(swigCPtr); @@ -161,6 +192,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetItemFlickAnimationDuration() { float ret = Interop.ItemLayout.ItemLayout_GetItemFlickAnimationDuration(swigCPtr); @@ -168,6 +201,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual int GetNextFocusItemID(int itemID, int maxItems, View.FocusDirection direction, bool loopEnabled) { int ret = Interop.ItemLayout.ItemLayout_GetNextFocusItemID(swigCPtr, itemID, maxItems, (int)direction, loopEnabled); @@ -175,6 +210,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetFlickSpeedFactor() { float ret = Interop.ItemLayout.ItemLayout_GetFlickSpeedFactor(swigCPtr); @@ -182,12 +219,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual void ApplyConstraints(View view, int itemId, Vector3 layoutSize, View itemView) { Interop.ItemLayout.ItemLayout_ApplyConstraints(swigCPtr, View.getCPtr(view), itemId, Vector3.getCPtr(layoutSize), View.getCPtr(itemView)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual Vector3 GetItemPosition(int itemID, float currentLayoutPosition, Vector3 layoutSize) { Vector3 ret = new Vector3(Interop.ItemLayout.ItemLayout_GetItemPosition(swigCPtr, itemID, currentLayoutPosition, Vector3.getCPtr(layoutSize)), true); diff --git a/src/Tizen.NUI/src/internal/ItemRange.cs b/src/Tizen.NUI/src/internal/ItemRange.cs index 1f6948709..757b0499a 100755 --- a/src/Tizen.NUI/src/internal/ItemRange.cs +++ b/src/Tizen.NUI/src/internal/ItemRange.cs @@ -15,10 +15,14 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - internal class ItemRange : global::System.IDisposable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class ItemRange : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -49,6 +53,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -101,16 +107,22 @@ namespace Tizen.NUI } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemRange(uint beginItem, uint endItem) : this(Interop.ItemRange.new_ItemRange__SWIG_0(beginItem, endItem), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemRange(ItemRange copy) : this(Interop.ItemRange.new_ItemRange__SWIG_1(ItemRange.getCPtr(copy)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemRange Assign(ItemRange range) { ItemRange ret = new ItemRange(Interop.ItemRange.ItemRange_Assign(swigCPtr, ItemRange.getCPtr(range)), false); @@ -118,6 +130,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool Within(uint itemId) { bool ret = Interop.ItemRange.ItemRange_Within(swigCPtr, itemId); @@ -125,6 +139,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemRange Intersection(ItemRange second) { ItemRange ret = new ItemRange(Interop.ItemRange.ItemRange_Intersection(swigCPtr, ItemRange.getCPtr(second)), true); @@ -132,6 +148,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint begin { set @@ -147,6 +165,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint end { set diff --git a/src/Tizen.NUI/src/internal/ItemView.cs b/src/Tizen.NUI/src/internal/ItemView.cs index e305766a7..eb7e257dd 100755 --- a/src/Tizen.NUI/src/internal/ItemView.cs +++ b/src/Tizen.NUI/src/internal/ItemView.cs @@ -15,16 +15,17 @@ * */ +using System; +using System.Runtime.InteropServices; using Tizen.NUI.BaseComponents; +using System.ComponentModel; namespace Tizen.NUI { - using System; - using System.Runtime.InteropServices; - - - internal class ItemView : Scrollable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class ItemView : Scrollable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -70,6 +71,8 @@ namespace Tizen.NUI base.Dispose(type); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public new Tizen.NUI.PropertyArray Layout { get @@ -84,35 +87,61 @@ namespace Tizen.NUI } } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public new class Property { - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int LAYOUT = Interop.ItemView.ItemView_Property_LAYOUT_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int MINIMUM_SWIPE_SPEED = Interop.ItemView.ItemView_Property_MINIMUM_SWIPE_SPEED_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int MINIMUM_SWIPE_DISTANCE = Interop.ItemView.ItemView_Property_MINIMUM_SWIPE_DISTANCE_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int WHEEL_SCROLL_DISTANCE_STEP = Interop.ItemView.ItemView_Property_WHEEL_SCROLL_DISTANCE_STEP_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int SNAP_TO_ITEM_ENABLED = Interop.ItemView.ItemView_Property_SNAP_TO_ITEM_ENABLED_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int REFRESH_INTERVAL = Interop.ItemView.ItemView_Property_REFRESH_INTERVAL_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int LAYOUT_POSITION = Interop.ItemView.ItemView_Property_LAYOUT_POSITION_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int SCROLL_SPEED = Interop.ItemView.ItemView_Property_SCROLL_SPEED_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int OVERSHOOT = Interop.ItemView.ItemView_Property_OVERSHOOT_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int SCROLL_DIRECTION = Interop.ItemView.ItemView_Property_SCROLL_DIRECTION_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int LAYOUT_ORIENTATION = Interop.ItemView.ItemView_Property_LAYOUT_ORIENTATION_get(); - /// 3 + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static readonly int SCROLL_CONTENT_SIZE = Interop.ItemView.ItemView_Property_SCROLL_CONTENT_SIZE_get(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public ItemView(ItemFactory factory) : this(Interop.ItemView.ItemView_New(ItemFactory.getCPtr(factory)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); @@ -126,6 +155,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint GetLayoutCount() { uint ret = Interop.ItemView.ItemView_GetLayoutCount(swigCPtr); @@ -133,32 +164,56 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void AddLayout(ItemLayout layout) { Interop.ItemView.ItemView_AddLayout(swigCPtr, ItemLayout.getCPtr(layout)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveLayout(uint layoutIndex) { Interop.ItemView.ItemView_RemoveLayout(swigCPtr, layoutIndex); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetLayout(uint layoutIndex) + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public new uint GetChildCount() + { + uint ret = Interop.ActorInternal.Actor_GetChildCount(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public new View GetChildAt(uint index) + { + View ret = new View(Interop.ActorInternal.Actor_GetChildAt(swigCPtr, index), true); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + internal SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetLayout(uint layoutIndex) { SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(Interop.ItemView.ItemView_GetLayout(swigCPtr, layoutIndex), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } - public SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetActiveLayout() + internal SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t GetActiveLayout() { SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(Interop.ItemView.ItemView_GetActiveLayout(swigCPtr), true); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetCurrentLayoutPosition(uint itemId) { float ret = Interop.ItemView.ItemView_GetCurrentLayoutPosition(swigCPtr, itemId); @@ -166,24 +221,32 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void ActivateLayout(uint layoutIndex, Vector3 targetSize, float durationSeconds) { Interop.ItemView.ItemView_ActivateLayout(swigCPtr, layoutIndex, Vector3.getCPtr(targetSize), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void DeactivateCurrentLayout() { Interop.ItemView.ItemView_DeactivateCurrentLayout(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetMinimumSwipeSpeed(float speed) { Interop.ItemView.ItemView_SetMinimumSwipeSpeed(swigCPtr, speed); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetMinimumSwipeSpeed() { float ret = Interop.ItemView.ItemView_GetMinimumSwipeSpeed(swigCPtr); @@ -191,12 +254,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetMinimumSwipeDistance(float distance) { Interop.ItemView.ItemView_SetMinimumSwipeDistance(swigCPtr, distance); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetMinimumSwipeDistance() { float ret = Interop.ItemView.ItemView_GetMinimumSwipeDistance(swigCPtr); @@ -204,12 +271,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetWheelScrollDistanceStep(float step) { Interop.ItemView.ItemView_SetWheelScrollDistanceStep(swigCPtr, step); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetWheelScrollDistanceStep() { float ret = Interop.ItemView.ItemView_GetWheelScrollDistanceStep(swigCPtr); @@ -217,12 +288,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetAnchoring(bool enabled) { Interop.ItemView.ItemView_SetAnchoring(swigCPtr, enabled); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool GetAnchoring() { bool ret = Interop.ItemView.ItemView_GetAnchoring(swigCPtr); @@ -230,12 +305,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetAnchoringDuration(float durationSeconds) { Interop.ItemView.ItemView_SetAnchoringDuration(swigCPtr, durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetAnchoringDuration() { float ret = Interop.ItemView.ItemView_GetAnchoringDuration(swigCPtr); @@ -243,18 +322,24 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void ScrollToItem(uint itemId, float durationSeconds) { Interop.ItemView.ItemView_ScrollToItem(swigCPtr, itemId, durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetRefreshInterval(float intervalLayoutPositions) { Interop.ItemView.ItemView_SetRefreshInterval(swigCPtr, intervalLayoutPositions); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetRefreshInterval() { float ret = Interop.ItemView.ItemView_GetRefreshInterval(swigCPtr); @@ -262,12 +347,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Refresh() { Interop.ItemView.ItemView_Refresh(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public View GetItem(uint itemId) { View ret = new View(Interop.ItemView.ItemView_GetItem(swigCPtr, itemId), true); @@ -275,6 +364,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint GetItemId(View view) { uint ret = Interop.ItemView.ItemView_GetItemId(swigCPtr, View.getCPtr(view)); @@ -282,48 +373,64 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void InsertItem(Item newItem, float durationSeconds) { Interop.ItemView.ItemView_InsertItem(swigCPtr, Item.getCPtr(newItem), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void InsertItems(ItemContainer newItems, float durationSeconds) { Interop.ItemView.ItemView_InsertItems(swigCPtr, ItemContainer.getCPtr(newItems), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveItem(uint itemId, float durationSeconds) { Interop.ItemView.ItemView_RemoveItem(swigCPtr, itemId, durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void RemoveItems(ItemIdContainer itemIds, float durationSeconds) { Interop.ItemView.ItemView_RemoveItems(swigCPtr, ItemIdContainer.getCPtr(itemIds), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void ReplaceItem(Item replacementItem, float durationSeconds) { Interop.ItemView.ItemView_ReplaceItem(swigCPtr, Item.getCPtr(replacementItem), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void ReplaceItems(ItemContainer replacementItems, float durationSeconds) { Interop.ItemView.ItemView_ReplaceItems(swigCPtr, ItemContainer.getCPtr(replacementItems), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetItemsParentOrigin(Vector3 parentOrigin) { Interop.ItemView.ItemView_SetItemsParentOrigin(swigCPtr, Vector3.getCPtr(parentOrigin)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Vector3 GetItemsParentOrigin() { Vector3 ret = new Vector3(Interop.ItemView.ItemView_GetItemsParentOrigin(swigCPtr), true); @@ -331,12 +438,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetItemsAnchorPoint(Vector3 anchorPoint) { Interop.ItemView.ItemView_SetItemsAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Vector3 GetItemsAnchorPoint() { Vector3 ret = new Vector3(Interop.ItemView.ItemView_GetItemsAnchorPoint(swigCPtr), true); @@ -344,19 +455,23 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void GetItemsRange(ItemRange range) { Interop.ItemView.ItemView_GetItemsRange(swigCPtr, ItemRange.getCPtr(range)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - public VoidSignal LayoutActivatedSignal() + internal VoidSignal LayoutActivatedSignal() { VoidSignal ret = new VoidSignal(Interop.ItemView.ItemView_LayoutActivatedSignal(swigCPtr), false); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float MinimumSwipeSpeed { get @@ -370,6 +485,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.MINIMUM_SWIPE_SPEED, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float MinimumSwipeDistance { get @@ -383,6 +501,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.MINIMUM_SWIPE_DISTANCE, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float WheelScrollDistanceStep { get @@ -396,6 +517,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool SnapToItemEnabled { get @@ -409,6 +533,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.SNAP_TO_ITEM_ENABLED, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float RefreshInterval { get @@ -422,6 +549,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.REFRESH_INTERVAL, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float LayoutPosition { get @@ -435,6 +565,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.LAYOUT_POSITION, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float ScrollSpeed { get @@ -448,6 +581,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.SCROLL_SPEED, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Overshoot { get @@ -461,6 +597,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.OVERSHOOT, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Vector2 ScrollDirection { get @@ -474,6 +613,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.SCROLL_DIRECTION, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int LayoutOrientation { get @@ -487,6 +629,9 @@ namespace Tizen.NUI SetProperty(ItemView.Property.LAYOUT_ORIENTATION, new Tizen.NUI.PropertyValue(value)); } } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float ScrollContentSize { get diff --git a/src/Tizen.NUI/src/internal/NUICoreBackend.cs b/src/Tizen.NUI/src/internal/NUICoreBackend.cs index ca79f2abc..51d63d38b 100755 --- a/src/Tizen.NUI/src/internal/NUICoreBackend.cs +++ b/src/Tizen.NUI/src/internal/NUICoreBackend.cs @@ -127,6 +127,11 @@ namespace Tizen.NUI NDalicPINVOKE.SWIGStringHelper.RegistCallback(); args[0] = Tizen.Applications.Application.Current.ApplicationInfo.ExecutablePath; + if ("" == args[0]) + { + args[0] = this.GetType().Assembly.FullName; + } + if (args.Length == 1) { _application = Application.NewApplication(); diff --git a/src/Tizen.NUI/src/internal/RefObject.cs b/src/Tizen.NUI/src/internal/RefObject.cs index 87248ad6c..be1b23738 100755 --- a/src/Tizen.NUI/src/internal/RefObject.cs +++ b/src/Tizen.NUI/src/internal/RefObject.cs @@ -15,10 +15,13 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - - internal class RefObject : global::System.IDisposable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class RefObject : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -48,6 +51,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -99,6 +104,8 @@ namespace Tizen.NUI disposed = true; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public static RefObject GetRefObjectFromPtr(global::System.IntPtr cPtr) { RefObject ret = new RefObject(cPtr, false); @@ -106,18 +113,24 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reference() { Interop.RefObject.RefObject_Reference(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Unreference() { Interop.RefObject.RefObject_Unreference(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int ReferenceCount() { int ret = Interop.RefObject.RefObject_ReferenceCount(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/Ruler.cs b/src/Tizen.NUI/src/internal/Ruler.cs index 0a57e2b1b..eeddc4f8c 100755 --- a/src/Tizen.NUI/src/internal/Ruler.cs +++ b/src/Tizen.NUI/src/internal/Ruler.cs @@ -15,10 +15,13 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - - internal class Ruler : RefObject + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class Ruler : RefObject { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -64,6 +67,8 @@ namespace Tizen.NUI base.Dispose(type); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float Snap(float x, float bias) { float ret = Interop.Ruler.Ruler_Snap__SWIG_0(swigCPtr, x, bias); @@ -71,6 +76,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float Snap(float x) { float ret = Interop.Ruler.Ruler_Snap__SWIG_1(swigCPtr, x); @@ -78,6 +85,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual float GetPositionFromPage(uint page, out uint volume, bool wrap) { float ret = Interop.Ruler.Ruler_GetPositionFromPage(swigCPtr, page, out volume, wrap); @@ -85,6 +94,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual uint GetPageFromPosition(float position, bool wrap) { uint ret = Interop.Ruler.Ruler_GetPageFromPosition(swigCPtr, position, wrap); @@ -92,6 +103,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public virtual uint GetTotalPages() { uint ret = Interop.Ruler.Ruler_GetTotalPages(swigCPtr); @@ -99,6 +112,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public new Ruler.RulerType GetType() { Ruler.RulerType ret = (Ruler.RulerType)Interop.Ruler.Ruler_GetType(swigCPtr); @@ -106,6 +121,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsEnabled() { bool ret = Interop.Ruler.Ruler_IsEnabled(swigCPtr); @@ -113,24 +130,32 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Enable() { Interop.Ruler.Ruler_Enable(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Disable() { Interop.Ruler.Ruler_Disable(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetDomain(RulerDomain domain) { Interop.Ruler.Ruler_SetDomain(swigCPtr, RulerDomain.getCPtr(domain)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerDomain GetDomain() { RulerDomain ret = new RulerDomain(Interop.Ruler.Ruler_GetDomain(swigCPtr), false); @@ -138,12 +163,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void DisableDomain() { Interop.Ruler.Ruler_DisableDomain(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x, float length, float scale) { float ret = Interop.Ruler.Ruler_Clamp__SWIG_0(swigCPtr, x, length, scale); @@ -151,6 +180,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x, float length) { float ret = Interop.Ruler.Ruler_Clamp__SWIG_1(swigCPtr, x, length); @@ -158,6 +189,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x) { float ret = Interop.Ruler.Ruler_Clamp__SWIG_2(swigCPtr, x); @@ -172,6 +205,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x, float bias, float length, float scale) { float ret = Interop.Ruler.Ruler_SnapAndClamp__SWIG_0(swigCPtr, x, bias, length, scale); @@ -179,6 +214,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x, float bias, float length) { float ret = Interop.Ruler.Ruler_SnapAndClamp__SWIG_1(swigCPtr, x, bias, length); @@ -186,6 +223,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x, float bias) { float ret = Interop.Ruler.Ruler_SnapAndClamp__SWIG_2(swigCPtr, x, bias); @@ -193,6 +232,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x) { float ret = Interop.Ruler.Ruler_SnapAndClamp__SWIG_3(swigCPtr, x); @@ -207,7 +248,8 @@ namespace Tizen.NUI return ret; } - /// 3 + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public enum RulerType { Fixed, diff --git a/src/Tizen.NUI/src/internal/RulerDomain.cs b/src/Tizen.NUI/src/internal/RulerDomain.cs index 48d0acc6f..f177e450a 100755 --- a/src/Tizen.NUI/src/internal/RulerDomain.cs +++ b/src/Tizen.NUI/src/internal/RulerDomain.cs @@ -15,10 +15,14 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - internal class RulerDomain : global::System.IDisposable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class RulerDomain : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -49,6 +53,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { //Throw excpetion if Dispose() is called in separate thread. @@ -101,16 +107,22 @@ namespace Tizen.NUI } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerDomain(float min, float max, bool enabled) : this(Interop.Ruler.new_RulerDomain__SWIG_0(min, max, enabled), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerDomain(float min, float max) : this(Interop.Ruler.new_RulerDomain__SWIG_1(min, max), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float min { set @@ -126,6 +138,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float max { set @@ -141,6 +155,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool enabled { set @@ -156,6 +172,8 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x, float length, float scale) { float ret = Interop.Ruler.RulerDomain_Clamp__SWIG_0(swigCPtr, x, length, scale); @@ -163,6 +181,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x, float length) { float ret = Interop.Ruler.RulerDomain_Clamp__SWIG_1(swigCPtr, x, length); @@ -170,6 +190,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x) { float ret = Interop.Ruler.RulerDomain_Clamp__SWIG_2(swigCPtr, x); @@ -184,6 +206,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetSize() { float ret = Interop.Ruler.RulerDomain_GetSize(swigCPtr); diff --git a/src/Tizen.NUI/src/internal/RulerPtr.cs b/src/Tizen.NUI/src/internal/RulerPtr.cs index 8937262a4..016c523fd 100755 --- a/src/Tizen.NUI/src/internal/RulerPtr.cs +++ b/src/Tizen.NUI/src/internal/RulerPtr.cs @@ -15,10 +15,13 @@ * */ +using System.ComponentModel; + namespace Tizen.NUI { - - internal class RulerPtr : global::System.IDisposable + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class RulerPtr : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -49,8 +52,11 @@ namespace Tizen.NUI } } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Dispose() { + mRuler = null; //Throw excpetion if Dispose() is called in separate thread. if (!Window.IsInstalled()) { @@ -101,21 +107,32 @@ namespace Tizen.NUI } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerPtr() : this(Interop.Ruler.new_RulerPtr__SWIG_0(), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + private Ruler mRuler; + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerPtr(Ruler p) : this(Interop.Ruler.new_RulerPtr__SWIG_1(Ruler.getCPtr(p)), true) { + mRuler = p; if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerPtr(RulerPtr rhs) : this(Interop.Ruler.new_RulerPtr__SWIG_2(RulerPtr.getCPtr(rhs)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Ruler Get() { global::System.IntPtr cPtr = Interop.Ruler.RulerPtr_Get(swigCPtr); @@ -124,6 +141,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Ruler __deref__() { global::System.IntPtr cPtr = Interop.Ruler.RulerPtr___deref__(swigCPtr); @@ -132,6 +151,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Ruler __ref__() { Ruler ret = new Ruler(Interop.Ruler.RulerPtr___ref__(swigCPtr), false); @@ -139,6 +160,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerPtr Assign(RulerPtr rhs) { RulerPtr ret = new RulerPtr(Interop.Ruler.RulerPtr_Assign__SWIG_0(swigCPtr, RulerPtr.getCPtr(rhs)), false); @@ -146,6 +169,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerPtr Assign(Ruler rhs) { RulerPtr ret = new RulerPtr(Interop.Ruler.RulerPtr_Assign__SWIG_1(swigCPtr, Ruler.getCPtr(rhs)), false); @@ -153,18 +178,24 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reset() { Interop.Ruler.RulerPtr_Reset__SWIG_0(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reset(Ruler rhs) { Interop.Ruler.RulerPtr_Reset__SWIG_1(swigCPtr, Ruler.getCPtr(rhs)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public Ruler Detach() { global::System.IntPtr cPtr = Interop.Ruler.RulerPtr_Detach(swigCPtr); @@ -173,6 +204,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Snap(float x, float bias) { float ret = Interop.Ruler.RulerPtr_Snap__SWIG_0(swigCPtr, x, bias); @@ -180,6 +213,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Snap(float x) { float ret = Interop.Ruler.RulerPtr_Snap__SWIG_1(swigCPtr, x); @@ -187,6 +222,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float GetPositionFromPage(uint page, out uint volume, bool wrap) { float ret = Interop.Ruler.RulerPtr_GetPositionFromPage(swigCPtr, page, out volume, wrap); @@ -194,6 +231,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint GetPageFromPosition(float position, bool wrap) { uint ret = Interop.Ruler.RulerPtr_GetPageFromPosition(swigCPtr, position, wrap); @@ -201,6 +240,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public uint GetTotalPages() { uint ret = Interop.Ruler.RulerPtr_GetTotalPages(swigCPtr); @@ -208,6 +249,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public new Ruler.RulerType GetType() { Ruler.RulerType ret = (Ruler.RulerType)Interop.Ruler.RulerPtr_GetType(swigCPtr); @@ -215,6 +258,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public bool IsEnabled() { bool ret = Interop.Ruler.RulerPtr_IsEnabled(swigCPtr); @@ -222,24 +267,32 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Enable() { Interop.Ruler.RulerPtr_Enable(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Disable() { Interop.Ruler.RulerPtr_Disable(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void SetDomain(RulerDomain domain) { Interop.Ruler.RulerPtr_SetDomain(swigCPtr, RulerDomain.getCPtr(domain)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public RulerDomain GetDomain() { RulerDomain ret = new RulerDomain(Interop.Ruler.RulerPtr_GetDomain(swigCPtr), false); @@ -247,12 +300,16 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void DisableDomain() { Interop.Ruler.RulerPtr_DisableDomain(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x, float length, float scale) { float ret = Interop.Ruler.RulerPtr_Clamp__SWIG_0(swigCPtr, x, length, scale); @@ -260,6 +317,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x, float length) { float ret = Interop.Ruler.RulerPtr_Clamp__SWIG_1(swigCPtr, x, length); @@ -267,6 +326,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float Clamp(float x) { float ret = Interop.Ruler.RulerPtr_Clamp__SWIG_2(swigCPtr, x); @@ -281,6 +342,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x, float bias, float length, float scale) { float ret = Interop.Ruler.RulerPtr_SnapAndClamp__SWIG_0(swigCPtr, x, bias, length, scale); @@ -288,6 +351,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x, float bias, float length) { float ret = Interop.Ruler.RulerPtr_SnapAndClamp__SWIG_1(swigCPtr, x, bias, length); @@ -295,6 +360,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x, float bias) { float ret = Interop.Ruler.RulerPtr_SnapAndClamp__SWIG_2(swigCPtr, x, bias); @@ -302,6 +369,8 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public float SnapAndClamp(float x) { float ret = Interop.Ruler.RulerPtr_SnapAndClamp__SWIG_3(swigCPtr, x); @@ -316,18 +385,24 @@ namespace Tizen.NUI return ret; } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Reference() { Interop.Ruler.RulerPtr_Reference(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public void Unreference() { Interop.Ruler.RulerPtr_Unreference(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] public int ReferenceCount() { int ret = Interop.Ruler.RulerPtr_ReferenceCount(swigCPtr); diff --git a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs index d19ccc7ee..f21fef669 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TableView.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TableView.cs @@ -278,6 +278,7 @@ namespace Tizen.NUI.BaseComponents public bool AddChild(View child, TableView.CellPosition position) { bool ret = Interop.TableView.TableView_AddChild(swigCPtr, View.getCPtr(child), TableView.CellPosition.getCPtr(position)); + Children.Add(child); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -317,6 +318,9 @@ namespace Tizen.NUI.BaseComponents CPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + + Children.Remove(ret); + return ret; } diff --git a/src/Tizen.NUI/src/public/BaseComponents/View.cs b/src/Tizen.NUI/src/public/BaseComponents/View.cs index 56c14c120..6a27657d8 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/View.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/View.cs @@ -1275,7 +1275,7 @@ namespace Tizen.NUI.BaseComponents }); /// This will be public opened in tizen_5.0 after ACR done. Before ACR, need to be hidden as inhouse API. [EditorBrowsable(EditorBrowsableState.Never)] - public static readonly BindableProperty StyleProperty = BindableProperty.Create("Style", typeof(Style), typeof(View), default(Style), propertyChanged: (bindable, oldvalue, newvalue) => ((View)bindable)._mergedStyle.Style = (Style)newvalue); + public static readonly BindableProperty XamlStyleProperty = BindableProperty.Create("XamlStyle", typeof(Style), typeof(View), default(Style), propertyChanged: (bindable, oldvalue, newvalue) => ((View)bindable)._mergedStyle.Style = (Style)newvalue); /// /// Flag to indicate if layout set explicitly via API call or View was automatically given a Layout. @@ -3488,11 +3488,11 @@ namespace Tizen.NUI.BaseComponents { get { - return (Style)GetValue(StyleProperty); + return (Style)GetValue(XamlStyleProperty); } set { - SetValue(StyleProperty, value); + SetValue(XamlStyleProperty, value); } } @@ -5020,7 +5020,9 @@ namespace Tizen.NUI.BaseComponents return ret; } - internal void SetColorMode(ColorMode colorMode) + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetColorMode(ColorMode colorMode) { Interop.ActorInternal.Actor_SetColorMode(swigCPtr, (int)colorMode); if (NDalicPINVOKE.SWIGPendingException.Pending) @@ -5335,6 +5337,8 @@ namespace Tizen.NUI.BaseComponents return; } + //_mergedStyle = null; + if (type == DisposeTypes.Explicit) { //Called by User diff --git a/src/Tizen.NUI/src/public/CubeTransitionEffect.cs b/src/Tizen.NUI/src/public/CubeTransitionEffect.cs new file mode 100755 index 000000000..1f5571adb --- /dev/null +++ b/src/Tizen.NUI/src/public/CubeTransitionEffect.cs @@ -0,0 +1,618 @@ +/* + * Copyright(c) 2019 Samsung Electronics Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + +using System; +using System.Runtime.InteropServices; +using Tizen.NUI.BaseComponents; +using System.ComponentModel; + +namespace Tizen.NUI +{ + /// + /// Cube Transition Effect base class, used to apply custom effects to a + /// Cube Transition instance. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class CubeTransitionEffect : View + { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + private EventHandler _transitionCompletedEventHandler; + private TransitionCompletedCallbackDelegate _transitionCompletedCallbackDelegate; + + [UnmanagedFunctionPointer(CallingConvention.StdCall)] + private delegate void TransitionCompletedCallbackDelegate(IntPtr cubeTransition, IntPtr cubeTexture); + + /// + /// The constructor. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public CubeTransitionEffect() : this(Interop.CubeTransitionEffect.new_CubeTransitionEffect(), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CubeTransitionEffect obj) + { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal CubeTransitionEffect(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.CubeTransitionEffect.CubeTransitionEffect_SWIGUpcast(cPtr), cMemoryOwn) + { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetTransitionDuration(float duration) + { + Interop.CubeTransitionEffect.CubeTransitionEffect_SetTransitionDuration(swigCPtr, duration); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public float GetTransitionDuration() + { + float result = Interop.CubeTransitionEffect.CubeTransitionEffect_GetTransitionDuration(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return result; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetCubeDisplacement(float displacement) + { + Interop.CubeTransitionEffect.CubeTransitionEffect_SetCubeDisplacement(swigCPtr, displacement); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public float GetCubeDisplacement() + { + float result = Interop.CubeTransitionEffect.CubeTransitionEffect_GetCubeDisplacement(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return result; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public bool IsTransitioning() + { + bool result = Interop.CubeTransitionEffect.CubeTransitionEffect_IsTransitioning(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return result; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetCurrentTexture(Texture texture) + { + Interop.CubeTransitionEffect.CubeTransitionEffect_SetCurrentTexture(swigCPtr, Texture.getCPtr(texture)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetTargetTexture(Texture texture) + { + Interop.CubeTransitionEffect.CubeTransitionEffect_SetTargetTexture(swigCPtr, Texture.getCPtr(texture)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void StartTransition(bool toNextImage = true) + { + Interop.CubeTransitionEffect.CubeTransitionEffect_StartTransition__SWIG1(swigCPtr, toNextImage); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void StartTransition(Vector2 panPosition, Vector2 panDisplacement) + { + Interop.CubeTransitionEffect.CubeTransitionEffect_StartTransition__SWIG2(swigCPtr, Vector2.getCPtr(panPosition), Vector2.getCPtr(panDisplacement)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void PauseTransition() + { + Interop.CubeTransitionEffect.CubeTransitionEffect_PauseTransition(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void ResumeTransition() + { + Interop.CubeTransitionEffect.CubeTransitionEffect_ResumeTransition(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void StopTransition() + { + Interop.CubeTransitionEffect.CubeTransitionEffect_StopTransition(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + CubeTransitionEffectSignal TransitionCompletedSignal() + { + CubeTransitionEffectSignal ret = new CubeTransitionEffectSignal(Interop.CubeTransitionEffect.CubeTransitionEffect_TransitionCompletedSignal(swigCPtr), false); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + /// + /// The TransitionCompleted event. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public event EventHandler TransitionCompleted + { + add + { + if (_transitionCompletedEventHandler == null) + { + _transitionCompletedCallbackDelegate = (OnTransitionCompleted); + TransitionCompletedSignal().Connect(_transitionCompletedCallbackDelegate); + } + _transitionCompletedEventHandler += value; + } + remove + { + _transitionCompletedEventHandler -= value; + if (_transitionCompletedEventHandler == null && TransitionCompletedSignal().Empty() == false) + { + TransitionCompletedSignal().Disconnect(_transitionCompletedCallbackDelegate); + } + } + } + + private void OnTransitionCompleted(IntPtr cubeTransition, IntPtr cubeTexture) + { + TransitionCompletedEventArgs e = new TransitionCompletedEventArgs(); + + // Populate all members of "e" (TransitionCompletedEventArgs) with real data + //e.CubeTransitionEffect = Registry.GetManagedBaseHandleFromNativePtr(cubeTransition) as CubeTransitionEffect; + + if (_transitionCompletedEventHandler != null) + { + //here we send all data to user event handlers + _transitionCompletedEventHandler(this, e); + } + } + + /// + /// Dispose. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + protected override void Dispose(DisposeTypes type) + { + if (disposed) + { + return; + } + + if (type == DisposeTypes.Explicit) + { + //Called by User + //Release your own managed resources here. + //You should release all of your own disposable objects here. + + } + + //Release your own unmanaged resources here. + //You should not access any managed member here except static instance. + //because the execution order of Finalizes is non-deterministic. + + if (swigCPtr.Handle != global::System.IntPtr.Zero) + { + if (swigCMemOwn) + { + swigCMemOwn = false; + Interop.CubeTransitionEffect.delete_CubeTransitionEffect(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + base.Dispose(type); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class TransitionCompletedEventArgs : EventArgs + { + private CubeTransitionEffect _cubeTransitionEffect; + private Texture _cubeTransitonTexture; + + /// + /// CubeTransitionEffect. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public CubeTransitionEffect CubeTransitionEffect + { + get + { + return _cubeTransitionEffect; + } + set + { + _cubeTransitionEffect = value; + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public Texture CubeTransitonTexture + { + get + { + return _cubeTransitonTexture; + } + set + { + _cubeTransitonTexture = value; + } + } + } + } + + internal class CubeTransitionEffectSignal : global::System.IDisposable + { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal CubeTransitionEffectSignal(global::System.IntPtr cPtr, bool cMemoryOwn) + { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CubeTransitionEffectSignal obj) + { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + //A Flag to check who called Dispose(). (By User or DisposeQueue) + private bool isDisposeQueued = false; + //A Flat to check if it is already disposed. + protected bool disposed = false; + + + ~CubeTransitionEffectSignal() + { + if (!isDisposeQueued) + { + isDisposeQueued = true; + DisposeQueue.Instance.Add(this); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public bool Empty() + { + bool ret = Interop.CubeTransitionEffect.CubeTransitionEffectSignal_Empty(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public uint GetConnectionCount() + { + uint ret = Interop.CubeTransitionEffect.CubeTransitionEffectSignal_GetConnectionCount(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void Connect(System.Delegate func) + { + System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func); + { + Interop.CubeTransitionEffect.CubeTransitionEffectSignal_Connect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void Disconnect(System.Delegate func) + { + System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(func); + { + Interop.CubeTransitionEffect.CubeTransitionEffectSignal_Disconnect(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void Emit(CubeTransitionEffect arg) + { + Interop.TextField.TextFieldSignal_Emit(swigCPtr, CubeTransitionEffect.getCPtr(arg)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public CubeTransitionEffectSignal() : this(Interop.CubeTransitionEffect.new_CubeTransitionEffectSignal(), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void Dispose() + { + //Throw excpetion if Dispose() is called in separate thread. + if (!Window.IsInstalled()) + { + throw new System.InvalidOperationException("This API called from separate thread. This API must be called from MainThread."); + } + + if (isDisposeQueued) + { + Dispose(DisposeTypes.Implicit); + } + else + { + Dispose(DisposeTypes.Explicit); + System.GC.SuppressFinalize(this); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + protected virtual void Dispose(DisposeTypes type) + { + if (disposed) + { + return; + } + + if (type == DisposeTypes.Explicit) + { + //Called by User + //Release your own managed resources here. + //You should release all of your own disposable objects here. + + } + + //Release your own unmanaged resources here. + //You should not access any managed member here except static instance. + //because the execution order of Finalizes is non-deterministic. + + if (swigCPtr.Handle != global::System.IntPtr.Zero) + { + if (swigCMemOwn) + { + swigCMemOwn = false; + Interop.CubeTransitionEffect.delete_CubeTransitionEffectSignal(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + disposed = true; + } + } + + + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class CubeTransitionWaveEffect : CubeTransitionEffect + { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + /// + /// The constructor. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public CubeTransitionWaveEffect(uint numRows, uint numColumns) : this(Interop.CubeTransitionWaveEffect.CubeTransitionWaveEffect_New(numRows, numColumns), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CubeTransitionWaveEffect obj) + { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal CubeTransitionWaveEffect(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.CubeTransitionWaveEffect.CubeTransitionWaveEffect_SWIGUpcast(cPtr), cMemoryOwn) + { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + /// + /// Dispose. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + protected override void Dispose(DisposeTypes type) + { + if (disposed) + { + return; + } + + if (type == DisposeTypes.Explicit) + { + //Called by User + //Release your own managed resources here. + //You should release all of your own disposable objects here. + + } + + //Release your own unmanaged resources here. + //You should not access any managed member here except static instance. + //because the execution order of Finalizes is non-deterministic. + + if (swigCPtr.Handle != global::System.IntPtr.Zero) + { + if (swigCMemOwn) + { + swigCMemOwn = false; + Interop.CubeTransitionWaveEffect.delete_CubeTransitionWaveEffect(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + base.Dispose(type); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class CubeTransitionCrossEffect : CubeTransitionEffect + { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + /// + /// The constructor. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public CubeTransitionCrossEffect(uint numRows, uint numColumns) : this(Interop.CubeTransitionCrossEffect.CubeTransitionCrossEffect_New(numRows, numColumns), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CubeTransitionCrossEffect obj) + { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal CubeTransitionCrossEffect(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.CubeTransitionCrossEffect.CubeTransitionCrossEffect_SWIGUpcast(cPtr), cMemoryOwn) + { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + /// + /// Dispose. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + protected override void Dispose(DisposeTypes type) + { + if (disposed) + { + return; + } + + if (type == DisposeTypes.Explicit) + { + //Called by User + //Release your own managed resources here. + //You should release all of your own disposable objects here. + + } + + //Release your own unmanaged resources here. + //You should not access any managed member here except static instance. + //because the execution order of Finalizes is non-deterministic. + + if (swigCPtr.Handle != global::System.IntPtr.Zero) + { + if (swigCMemOwn) + { + swigCMemOwn = false; + Interop.CubeTransitionCrossEffect.delete_CubeTransitionCrossEffect(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + base.Dispose(type); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class CubeTransitionFoldEffect : CubeTransitionEffect + { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + /// + /// The constructor. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public CubeTransitionFoldEffect(uint numRows, uint numColumns) : this(Interop.CubeTransitionFoldEffect.CubeTransitionFoldEffect_New(numRows, numColumns), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CubeTransitionFoldEffect obj) + { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal CubeTransitionFoldEffect(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.CubeTransitionWaveEffect.CubeTransitionWaveEffect_SWIGUpcast(cPtr), cMemoryOwn) + { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + /// + /// Dispose. + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + protected override void Dispose(DisposeTypes type) + { + if (disposed) + { + return; + } + + if (type == DisposeTypes.Explicit) + { + //Called by User + //Release your own managed resources here. + //You should release all of your own disposable objects here. + + } + + //Release your own unmanaged resources here. + //You should not access any managed member here except static instance. + //because the execution order of Finalizes is non-deterministic. + + if (swigCPtr.Handle != global::System.IntPtr.Zero) + { + if (swigCMemOwn) + { + swigCMemOwn = false; + Interop.CubeTransitionFoldEffect.delete_CubeTransitionFoldEffect(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + base.Dispose(type); + } + } +} \ No newline at end of file diff --git a/src/Tizen.NUI/src/public/FrameCallback.cs b/src/Tizen.NUI/src/public/FrameCallback.cs new file mode 100755 index 000000000..5ed4d428e --- /dev/null +++ b/src/Tizen.NUI/src/public/FrameCallback.cs @@ -0,0 +1,181 @@ +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Text; +using System.ComponentModel; + +namespace Tizen.NUI +{ + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public class FrameCallback : BaseHandle + { + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public FrameCallback() : this(Interop.FrameCallback.FrameUpdateCallback_New(), true) + { + + } + + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal FrameCallback(global::System.IntPtr cPtr, bool cMemoryOwn) : base(Interop.FrameCallback.FrameUpdateCallback_SWIGUpcast(cPtr), cMemoryOwn) + { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + [UnmanagedFunctionPointer(CallingConvention.StdCall)] + public delegate void FrameUpdateCallback(float progress); + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void AddCallback(FrameUpdateCallback callback) + { + System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(callback); + { + Interop.FrameCallback.FrameUpdateCallback_AddCallback(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void AddMainThreadCallback(FrameUpdateCallback callback) + { + System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate(callback); + { + Interop.FrameCallback.FrameUpdateCallback_AddMainThreadCallback(swigCPtr, new System.Runtime.InteropServices.HandleRef(this, ip)); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void RemoveCallback() + { + Interop.FrameCallback.FrameUpdateCallback_RemoveCallback(swigCPtr); + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public Vector3 GetPosition(uint actorID) + { + Vector3 ret = new Vector3(Interop.FrameCallback.FrameUpdateCallback_GetPosition(swigCPtr, actorID), false); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetPosition(uint actorID, Vector3 position) + { + Interop.FrameCallback.FrameUpdateCallback_SetPosition(swigCPtr, actorID, Vector3.getCPtr(position)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void BakePosition(uint actorID, Vector3 position) + { + Interop.FrameCallback.FrameUpdateCallback_BakePosition(swigCPtr, actorID, Vector3.getCPtr(position)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public Vector3 GetSize(uint actorID) + { + Vector3 ret = new Vector3(Interop.FrameCallback.FrameUpdateCallback_GetSize(swigCPtr, actorID), false); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetSize(uint actorID, Vector3 size) + { + Interop.FrameCallback.FrameUpdateCallback_SetSize(swigCPtr, actorID, Vector3.getCPtr(size)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void BakeSize(uint actorID, Vector3 size) + { + Interop.FrameCallback.FrameUpdateCallback_BakeSize(swigCPtr, actorID, Vector3.getCPtr(size)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public Vector3 GetScale(uint actorID) + { + Vector3 ret = new Vector3(Interop.FrameCallback.FrameUpdateCallback_GetScale(swigCPtr, actorID), false); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetScale(uint actorID, Vector3 scale) + { + Interop.FrameCallback.FrameUpdateCallback_SetScale(swigCPtr, actorID, Vector3.getCPtr(scale)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void BakeScale(uint actorID, Vector3 scale) + { + Interop.FrameCallback.FrameUpdateCallback_BakeScale(swigCPtr, actorID, Vector3.getCPtr(scale)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public Vector4 GetColor(uint actorID) + { + Vector4 ret = new Vector4(Interop.FrameCallback.FrameUpdateCallback_GetColor(swigCPtr, actorID), false); + return ret; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetColor(uint actorID, Vector4 color) + { + Interop.FrameCallback.FrameUpdateCallback_SetColor(swigCPtr, actorID, Vector4.getCPtr(color)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void BakeColor(uint actorID, Vector4 color) + { + Interop.FrameCallback.FrameUpdateCallback_BakeColor(swigCPtr, actorID, Vector4.getCPtr(color)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetAlphaFunction(AlphaFunction alphaFunction) + { + Interop.FrameCallback.FrameUpdateCallback_SetAlphaFunction(swigCPtr, AlphaFunction.getCPtr(alphaFunction)); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public AlphaFunction GetAlphaFunction() + { + AlphaFunction alphaFunction = new AlphaFunction(Interop.FrameCallback.FrameUpdateCallback_GetAlphaFunction(swigCPtr), false); + return alphaFunction; + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetDuration(float seconds) + { + Interop.FrameCallback.FrameUpdateCallback_SetDuration(swigCPtr, seconds); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public float GetDuration() + { + return Interop.FrameCallback.FrameUpdateCallback_GetDuration(swigCPtr); + } + + } +} diff --git a/src/Tizen.NUI/src/public/Layer.cs b/src/Tizen.NUI/src/public/Layer.cs index c0e16547c..8c141423c 100755 --- a/src/Tizen.NUI/src/public/Layer.cs +++ b/src/Tizen.NUI/src/public/Layer.cs @@ -508,14 +508,36 @@ namespace Tizen.NUI return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal void SetAnchorPoint(Vector3 anchorPoint) + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetAnchorPoint(Vector3 anchorPoint) { Interop.Actor.Actor_SetAnchorPoint(swigCPtr, Vector3.getCPtr(anchorPoint)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } - internal void SetResizePolicy(ResizePolicyType policy, DimensionType dimension) + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetSize(float width, float height) + { + Interop.ActorInternal.Actor_SetSize__SWIG_0(swigCPtr, width, height); + if (NDalicPINVOKE.SWIGPendingException.Pending) + throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetParentOrigin(Vector3 parentOrigin) + { + Interop.ActorInternal.Actor_SetParentOrigin(swigCPtr, Vector3.getCPtr(parentOrigin)); + if (NDalicPINVOKE.SWIGPendingException.Pending) + throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetResizePolicy(ResizePolicyType policy, DimensionType dimension) { Interop.Actor.Actor_SetResizePolicy(swigCPtr, (int)policy, (int)dimension); if (NDalicPINVOKE.SWIGPendingException.Pending) diff --git a/src/Tizen.NUI/src/public/TapGestureDetector.cs b/src/Tizen.NUI/src/public/TapGestureDetector.cs index 48e8ff462..2f7dec36d 100755 --- a/src/Tizen.NUI/src/public/TapGestureDetector.cs +++ b/src/Tizen.NUI/src/public/TapGestureDetector.cs @@ -241,6 +241,12 @@ namespace Tizen.NUI // Populate all members of "e" (DetectedEventArgs) with real data e.View = Registry.GetManagedBaseHandleFromNativePtr(actor) as View; + + if (null == e.View) + { + e.View = Registry.GetManagedBaseHandleFromRefObject(actor) as View; + } + e.TapGesture = Tizen.NUI.TapGesture.GetTapGestureFromPtr(tapGesture); if (_tapGestureEventHandler != null) diff --git a/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs b/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs index 757d6f7b4..494e1c4c2 100755 --- a/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs +++ b/src/Tizen.NUI/src/public/UIComponents/ScrollView.cs @@ -1318,6 +1318,26 @@ namespace Tizen.NUI if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } + /// + /// Set ruler X + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetRulerX(RulerPtr ruler) + { + Interop.ScrollView.ScrollView_SetRulerX(swigCPtr, RulerPtr.getCPtr(ruler)); + } + + /// + /// Set ruler Y + /// + /// This will be public opened in next tizen after ACR done. Before ACR, need to be hidden as inhouse API. + [EditorBrowsable(EditorBrowsableState.Never)] + public void SetRulerY(RulerPtr ruler) + { + Interop.ScrollView.ScrollView_SetRulerY(swigCPtr, RulerPtr.getCPtr(ruler)); + } + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ScrollView obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; diff --git a/src/Tizen.NUI/src/public/UIComponents/Slider.cs b/src/Tizen.NUI/src/public/UIComponents/Slider.cs index 9e9279610..767f87013 100755 --- a/src/Tizen.NUI/src/public/UIComponents/Slider.cs +++ b/src/Tizen.NUI/src/public/UIComponents/Slider.cs @@ -683,7 +683,12 @@ namespace Tizen.NUI.UIComponents /// The object of the slider type. internal static Slider GetSliderFromPtr(global::System.IntPtr cPtr) { - Slider ret = new Slider(cPtr, false); + Slider ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as Slider; + if (null == ret) + { + ret = Registry.GetManagedBaseHandleFromRefObject(cPtr) as Slider; + } + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; }