Adds and modifies comment of TV MediaHub
authorHyerim Kim <rimi.kim@samsung.com>
Mon, 22 May 2017 12:35:59 +0000 (21:35 +0900)
committerHyerim Kim <rimi.kim@samsung.com>
Mon, 22 May 2017 12:35:59 +0000 (21:35 +0900)
Change-Id: I17a0892ee22b4aa0a5923f41b114f8c473202b33
Signed-off-by: Hyerim Kim <rimi.kim@samsung.com>
35 files changed:
TVMediaHub/TVMediaHub.Tizen/Controls/ContentPageEx.cs
TVMediaHub/TVMediaHub.Tizen/Controls/CustomImageButton.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Controls/CustomImageRenderer.cs
TVMediaHub/TVMediaHub.Tizen/Controls/MediaHubButton.xaml.cs
TVMediaHub/TVMediaHub.Tizen/DataModels/GroupItemFocusEventArgs.cs
TVMediaHub/TVMediaHub.Tizen/DataModels/ImageViewerInfomation.cs
TVMediaHub/TVMediaHub.Tizen/DataModels/SlideShowEffect.cs
TVMediaHub/TVMediaHub.Tizen/DataModels/SlideShowSpeed.cs
TVMediaHub/TVMediaHub.Tizen/Models/ContentProvider.cs
TVMediaHub/TVMediaHub.Tizen/Models/GroupItem.cs
TVMediaHub/TVMediaHub.Tizen/Models/MediaHubImpl.cs
TVMediaHub/TVMediaHub.Tizen/Models/MediaShortcutInfo.cs
TVMediaHub/TVMediaHub.Tizen/TVMediaHub.Tizen.cs
TVMediaHub/TVMediaHub.Tizen/TVMediaHub.cs
TVMediaHub/TVMediaHub.Tizen/Utils/DbgPort.cs [changed mode: 0644->0755]
TVMediaHub/TVMediaHub.Tizen/Utils/InOutDbgRAII.cs
TVMediaHub/TVMediaHub.Tizen/Utils/NinePatchImageRenderer.cs
TVMediaHub/TVMediaHub.Tizen/ViewModels/ImageTabViewModel.cs
TVMediaHub/TVMediaHub.Tizen/ViewModels/ImageTabViewModelLocator.cs
TVMediaHub/TVMediaHub.Tizen/ViewModels/MediaHubMainPageViewModel.cs
TVMediaHub/TVMediaHub.Tizen/ViewModels/MusicTabViewModel.cs
TVMediaHub/TVMediaHub.Tizen/ViewModels/VideoTabViewModel.cs
TVMediaHub/TVMediaHub.Tizen/ViewModels/VideoTabViewModelLocator.cs
TVMediaHub/TVMediaHub.Tizen/Views/FooterNormalStatus.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/ImageGroup.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/ImageItem.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/ImageTab.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/ImageViewer.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/ImageViewerSlideShow.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/MediaHubMainPage.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/MusicTab.xaml.cs [changed mode: 0644->0755]
TVMediaHub/TVMediaHub.Tizen/Views/VideoGroup.xaml.cs [changed mode: 0644->0755]
TVMediaHub/TVMediaHub.Tizen/Views/VideoItem.xaml.cs [changed mode: 0644->0755]
TVMediaHub/TVMediaHub.Tizen/Views/VideoPlayer.xaml.cs
TVMediaHub/TVMediaHub.Tizen/Views/VideoTab.xaml.cs [changed mode: 0644->0755]

index f1a991597e4ec69704f51118c1c9e20af3bbc0c8..fcd84dcc7eb541b7f120c9ab34cd39d6c2543b1c 100755 (executable)
@@ -31,6 +31,8 @@ namespace TVMediaHub.Tizen.Controls
 
         /// <summary>
         /// A constructor
+        /// Adds or removes a back button to page
+        /// Sets a value that indicates whether or not this NavigationPage element has a navigation bar
         /// </summary>
         protected ContentPageEx()
             : base()
index 26e5386674cee04d23da5169694b4ebc4def3f9b..6dac2563c73cd21f69e532d200aef1762bf6bbc7 100755 (executable)
@@ -21,7 +21,7 @@ using Xamarin.Forms;
 namespace TVMediaHub.Tizen.Controls
 {
     /// <summary>
-    /// A custom image that is used as button of image viewer
+    /// A custom image for displaying the buttons of image viewer
     /// </summary>
     public partial class CustomImageButton : Image
     {
@@ -35,7 +35,7 @@ namespace TVMediaHub.Tizen.Controls
         private string imgPressedPostFix = "_pressed.png";
 
         /// <summary>
-        /// Gets or set button type
+        /// Gets or sets the button type
         /// </summary>
         public string Type
         {
@@ -44,7 +44,7 @@ namespace TVMediaHub.Tizen.Controls
         }
 
         /// <summary>
-        /// Gets or set button subtype
+        /// Gets or sets the button subtype
         /// </summary>
         public string SubType
         {
@@ -62,7 +62,7 @@ namespace TVMediaHub.Tizen.Controls
         }
 
         /// <summary>
-        /// A method for handling button when the button is pressed.
+        /// A method for handling the actions when the button is pressed.
         /// </summary>
         public void OnButtonPressed()
         {
@@ -80,7 +80,7 @@ namespace TVMediaHub.Tizen.Controls
         }
 
         /// <summary>
-        /// A method for handling button when the button is released.
+        /// A method for handling the actions when the button is released.
         /// </summary>
         public void OnButtonReleased()
         {
@@ -98,6 +98,7 @@ namespace TVMediaHub.Tizen.Controls
 
         /// <summary>
         /// A constructor
+        /// Implements the TapGestureCommand
         /// </summary>
         public CustomImageButton()
         {
index 9ed892101f5463073ddb1cac0efd494d5391e415..04baadf7f63b3df1c2f077f0428485fd59ff90b1 100755 (executable)
@@ -21,16 +21,16 @@ using TVMediaHub.Tizen.Controls;
 namespace TVMediaHub.Tizen.Controls
 {
     /// <summary>
-    /// A custom image renderer for making custom image button.
+    /// A custom renderer for making custom image button.
     /// </summary>
     public class CustomImageRenderer : ImageRenderer
     {
         private ElmSharp.GestureLayer GestureRecognizer;
 
         /// <summary>
-        /// Creates GestureRecognizer and sets callbacks for tap and longtap event when ElementProperty is changed.
+        /// Creates GestureRecognizer and sets callbacks for tap and longtap event when Element is changed.
         /// </summary>
-        /// <param name="args">A image element property changed event's argument</param>
+        /// <param name="args">An image element property changed event's argument</param>
         protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.Image> args)
         {
             base.OnElementChanged(args);
index 2d14b9c55598b96b3c9e6dfc57a9ded92a3b5fe8..5c3b221dd9f11530bfdac8062347ee899546ad7b 100755 (executable)
  */
 
 using System;
-using System.Windows.Input;
 using TVMediaHub.Tizen.Utils;
 using Xamarin.Forms;
 
 namespace TVMediaHub.Tizen.Controls
 {
     /// <summary>
-    /// A custom grid view for using button of MediaHub application
+    /// A custom grid view for displaying the button of MediaHub application
     /// </summary>
     public partial class MediaHubButton : Grid
     {
+        /// <summary>
+        /// An Event Handler to notify if the button is clicked
+        /// </summary>
         public event EventHandler Clicked;
+        /// <summary>
+        /// A value of effect duration
+        /// </summary>
         int effectDuration = 200;
 
+        /// <summary>
+        /// A flag that whether the button is handling clicked event or not
+        /// </summary>
         private static bool isButtonRunning = false;
 
         /// <summary>
-        /// Gets or sets MediaHubButtonIcon's source
+        /// Gets or sets MediaHubButtonIcon's image source
         /// </summary>
         public string MediaHubButtonIcon
         {
@@ -78,6 +86,7 @@ namespace TVMediaHub.Tizen.Controls
 
         /// <summary>
         /// A constructor of MediaHubBUtton
+        /// Initializes the MediaHubButton and the button's BG image animation
         /// </summary>
         public MediaHubButton()
         {
index 2d53e6755cab9b650143555c9b59b6fb0274d352..1665cc7c817b9ad6ab42caf2e6fa6efeeb69de7f 100755 (executable)
@@ -19,7 +19,7 @@ using System;
 namespace TVMediaHub.Tizen.DataModels
 {
     /// <summary>
-    /// A custom EventArgs for group item of Image and Video contents
+    /// A custom EventArgs for group item's focus event
     /// </summary>
     public class GroupItemFocusEventArgs : EventArgs
     {
index 6bcf11d4224ec1fe6730958121ab72d13fab7b6d..eda225d3240159811875b3290c1a96de27830956 100755 (executable)
@@ -17,7 +17,7 @@
 namespace TVMediaHub.Tizen.DataModels
 {
     /// <summary>
-    /// A data model for Image Viewer
+    /// A data model for Image Viewer with detail information
     /// </summary>
     public class ImageViewerInfomation
     {
index 9e7c6b8bd0bb66701e1266c63d55ab7884e91fd1..b08ebcf2ea48b5e37e5efbc467238d3a43fbe4db 100755 (executable)
@@ -17,7 +17,7 @@
 namespace TVMediaHub.Tizen.DataModels
 {
     /// <summary>
-    /// A enumeration of SlideShow effect option
+    /// An enumeration for SlideShow effect option
     /// </summary>
     public enum SlideShowEffect
     {
index 67ce7fa683dd14a02585eac3529c8b95d08f310f..3bd559fce57cfc9380aa76fd493a671c5910220d 100755 (executable)
@@ -17,7 +17,7 @@
 namespace TVMediaHub.Tizen.DataModels
 {
     /// <summary>
-    /// A enumeration of SlideShow speed option
+    /// An enumeration for SlideShow speed option
     /// </summary>
     public enum SlideShowSpeed
     {
index 9fdd5516a7a2b9515b4974a69d38dc1bf46d6922..d854f10ec2b0aa22346ad74f6614b0d5ba77fe13 100755 (executable)
@@ -25,7 +25,7 @@ using TVMediaHub.Tizen.Utils;
 namespace TVMediaHub.Tizen.Models
 {
     /// <summary>
-    /// A enumeration of sort option
+    /// An enumeration for sort option of contents
     /// </summary>
     public enum SortOption
     {
@@ -50,7 +50,7 @@ namespace TVMediaHub.Tizen.Models
         abstract protected string GetConditionStringForSelection();
 
         /// <summary>
-        /// A event handler for update event
+        /// An event handler for update event
         /// </summary>
         private EventHandler UpdateListeners;
 
@@ -58,6 +58,7 @@ namespace TVMediaHub.Tizen.Models
 
         /// <summary>
         /// A constructor
+        /// Connect to the media database to search, insert, remove or modify media information.
         /// </summary>
         public ContentProvider()
         {
@@ -73,10 +74,10 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A method for getting the string from specific date
+        /// Converts the value of the DateTime object to its equivalent string representation.
         /// </summary>
-        /// <param name="date">A current DateTime information</param>
-        /// <returns>A date string to be displayed</returns>
+        /// <param name="date">A DateTime information</param>
+        /// <returns>A string to be displayed</returns>
         private string GetDateString(DateTime date)
         {
             if (date.Equals(DateTime.Today))
@@ -92,7 +93,7 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A method for getting group item to be added to the proper group
+        /// A method for creating group item to be added to the proper group
         /// </summary>
         /// <param name="sortOption">A current sort option</param>
         /// <param name="lastGroupItem">A latest group item of current group</param>
@@ -353,7 +354,7 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A method for reading media contents from database
+        /// A method for reading media contents from database and make a group
         /// </summary>
         /// <param name="sortOption">The current sort option</param>
         /// <param name="storageId">The current storage id</param>
@@ -368,7 +369,7 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A method for reading media content with specific mediaID
+        /// A method for reading media content with specific media id
         /// </summary>
         /// <param name="mediaID">A media Id to be read</param>
         /// <returns>A media content with specific media id</returns>
@@ -402,7 +403,7 @@ namespace TVMediaHub.Tizen.Models
         /// <summary>
         /// A method for adding update event handler
         /// </summary>
-        /// <param name="listener">A event handler to be executed</param>
+        /// <param name="listener">An event handler to be executed</param>
         void SetUpdateListener(EventHandler listener)
         {
             UpdateListeners += listener;
index 03346badd2581983db0c80a58b22561f02e66655..cc67bcb891a2093e9230886b1380cd8dd7054df3 100755 (executable)
@@ -19,7 +19,7 @@ using System.Collections.Generic;
 namespace TVMediaHub.Tizen.Models
 {
     /// <summary>
-    /// A class for group data model
+    /// A class for group item's data model
     /// </summary>
     public class GroupItem
     {
@@ -29,12 +29,13 @@ namespace TVMediaHub.Tizen.Models
         public string Title { get; set; }
 
         /// <summary>
-        /// Gets or sets the list of MediaShortcutInfo for group
+        /// Gets or sets the list of MediaShortcutInfo to display the group
         /// </summary>
         public ICollection<MediaShortcutInfo> Contents { get; set; }
 
         /// <summary>
         /// A constructor
+        /// Initializes the list of MediaShortcutInfo
         /// </summary>
         public GroupItem()
         {
index 32702858c902bdfcc2d6b0a16f699015b00c8b63..bb53dfaec95811fc46a0e51bffc43a17c71657c2 100755 (executable)
@@ -23,11 +23,11 @@ namespace TVMediaHub.Tizen.Models
     public sealed class MediaHubImpl
     {
         /// <summary>
-        /// A instance of the MediaHubImpl
+        /// An instance of the MediaHubImpl
         /// </summary>
         private static readonly MediaHubImpl instance = new MediaHubImpl();
         /// <summary>
-        /// Gets a instance of the MediaHubImpl
+        /// Gets an instance of the MediaHubImpl
         /// </summary>
         public static MediaHubImpl GetInstance
         {
@@ -38,11 +38,11 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A instance of the ImageProvider
+        /// An instance of the ImageProvider
         /// </summary>
         private static readonly ImageProvider imageProviderInstance = new ImageProvider();
         /// <summary>
-        /// Gets a instance of the ImageProvider
+        /// Gets an instance of the ImageProvider
         /// </summary>
         public ImageProvider ImageProviderInstance
         {
@@ -53,11 +53,11 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A instance of the MusicProvider
+        /// An instance of the MusicProvider
         /// </summary>
         private static readonly MusicProvider musicProviderInstance = new MusicProvider();
         /// <summary>
-        /// Gets a instance of the MusicProvider
+        /// Gets an instance of the MusicProvider
         /// </summary>
         public MusicProvider MusicProviderInstance
         {
@@ -68,11 +68,11 @@ namespace TVMediaHub.Tizen.Models
         }
 
         /// <summary>
-        /// A instance of the MusicProvider
+        /// An instance of the MusicProvider
         /// </summary>
         private static readonly VideoProvider videoProviderInstance = new VideoProvider();
         /// <summary>
-        /// Gets a instance of the MusicProvider
+        /// Gets an instance of the MusicProvider
         /// </summary>
         public VideoProvider VideoProviderInstance
         {
index 623cd702a98388f2b64a80945c2c961830b59936..ee3dafef3f192c91ee60cd23937de81479133e87 100755 (executable)
@@ -25,7 +25,7 @@ namespace TVMediaHub.Tizen.Models
     public class MediaShortcutInfo : INotifyPropertyChanged
     {
         /// <summary>
-        /// A event handler for handling property changed.
+        /// An event handler for handling property changed.
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
@@ -42,10 +42,13 @@ namespace TVMediaHub.Tizen.Models
             }
         }
 
+        /// <summary>
+        /// A flag that whether the content is delete mode or not
+        /// </summary>
         private bool isDeleteStatus;
 
         /// <summary>
-        /// Gets or sets whether the content is delete mode or not
+        /// Gets or sets the isDeleteStatus
         /// </summary>
         public bool IsDeleteStatus
         {
index 115dd905bd386534ddec4e0383b4e757e3a595e6..45c8cd05921d3a4a297452475ed48240c23f7da5 100755 (executable)
@@ -27,18 +27,27 @@ namespace TVMediaHub.Tizen
     /// </summary>
     class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
     {
+        /// <summary>
+        /// Gets or sets the instance of TV MediaHub
+        /// </summary>
         public static Program Instance
         {
             get;
             private set;
         }
 
+        /// <summary>
+        /// Gets or sets the resource directory path of TV MediaHub
+        /// </summary>
         public static string ResourceDirectoryPath
         {
             get;
             private set;
         }
 
+        /// <summary>
+        /// An instance of the TV MediaHub application
+        /// </summary>
         private static App app;
 
         /// <summary>
@@ -83,11 +92,19 @@ namespace TVMediaHub.Tizen
             }
         }
 
+        /// <summary>
+        /// A method for pushing a specific page to navigation stack.
+        /// </summary>
+        /// <param name="page">A page to be pushed</param>
         public static void TransitionTo(ContentPage page)
         {
             app.TransitionTo(page);
         }
 
+        /// <summary>
+        /// A method for setting the root page as MainPage.
+        /// </summary>
+        /// <param name="tabIndex">An index of tab to be set as MainPage. Default value is 0</param>
         public static void TransitionToMain(int tabIndex = 0)
         {
             app.TransitionToMain(tabIndex);
@@ -105,6 +122,9 @@ namespace TVMediaHub.Tizen
             Instance.Run(args);
         }
 
+        /// <summary>
+        /// A method terminates application
+        /// </summary>
         public void SelfTerminate()
         {
             Instance.Exit();
index affddb7fef4a1625331b6d9fdeeb368c4ae2819e..0bba0924a90fc7d56a37d714093b905d191366e6 100755 (executable)
@@ -27,7 +27,13 @@ namespace TVMediaHub
     /// </summary>
     public class App : Application
     {
+        /// <summary>
+        /// Gets or sets the window of TV MediaHub
+        /// </summary>
         public static Window MainWindow { get; private set; }
+        /// <summary>
+        /// Gets or sets the NavigationPage of TV MediaHub
+        /// </summary>
         public static NavigationPage AppMainPage { get; private set; }
         /// <summary>
         /// A constructor
@@ -76,7 +82,7 @@ namespace TVMediaHub
         /// <summary>
         /// A method for setting the root page as MainPage.
         /// </summary>
-        /// <param name="tabIndex">A index of tab to be set as MainPage. Default value is 0</param>
+        /// <param name="tabIndex">An index of tab to be set as MainPage. Default value is 0</param>
         public void TransitionToMain(int tabIndex = 0)
         {
             /*
old mode 100644 (file)
new mode 100755 (executable)
index 097561e..70c33f1
@@ -52,7 +52,7 @@ namespace TVMediaHub.Tizen.Utils
         }
 
         /// <summary>
-        /// Displays a error log message
+        /// Displays an error log message
         /// </summary>
         /// <param name="message"> A debugging message </param>
         /// <param name="file"> A file name that debugging message is exist </param>
index 7442190a1fc7b3b8e99d02d192abdd3290bf927e..0f8be67ac0aa249429c538a69f283c0416ae04c9 100755 (executable)
@@ -23,7 +23,13 @@ namespace TVMediaHub.Tizen.Utils
     /// </summary>
     public class InOutDbgRAII
     {
+        /// <summary>
+        /// A function name that debugging message is exist
+        /// </summary>
         private string function;
+        /// <summary>
+        /// A file name that debugging message is exist
+        /// </summary>
         private string fileName;
 
         /// <summary>
index 8ce464b462069ad579ccb412e17e540905c22b45..4530c9cb23911111a6e25d5ad06cad51352f5c4e 100755 (executable)
@@ -30,7 +30,7 @@ namespace TVMediaHub.Tizen.Utils
         /// <summary>
         /// Updates border when Element is changed
         /// </summary>
-        /// <param name="args">A image element changed event's argument </param>
+        /// <param name="args">An image element changed event's argument </param>
         protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.Image> args)
         {
             base.OnElementChanged(args);
@@ -41,7 +41,7 @@ namespace TVMediaHub.Tizen.Utils
         /// Updates border when ElementProperty is changed
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="args">A image element property changed event's argument </param>
+        /// <param name="args">An image element property changed event's argument </param>
         protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs args)
         {
             if ((args.PropertyName == NinePatch.BorderBottomProperty.PropertyName)
index 4904f5d32c5f2690b3c7df75fd93de969be5c4e7..03d23c7c61d7edd157fc7835fb40de0e233a722d 100755 (executable)
@@ -40,7 +40,7 @@ namespace TVMediaHub.Tizen.ViewModels
         public ObservableCollection<GroupItem> ImageList { get; set; }
 
         /// <summary>
-        /// A index of displaying image
+        /// An index of displaying image
         /// </summary>
         private int displayingImageIndex;
 
@@ -125,10 +125,13 @@ namespace TVMediaHub.Tizen.ViewModels
         public ICommand ChangeSortOptionCommand { get; set; }
 
         private int SortBy;
+        /// <summary>
+        /// A flag that whether the content is delete mode or not
+        /// </summary>
         private bool isDeleteStatus;
 
         /// <summary>
-        /// Gets or sets the DeleteStatus
+        /// Gets or sets the isDeleteStatus
         /// </summary>
         public bool IsDeleteStatus
         {
@@ -215,7 +218,7 @@ namespace TVMediaHub.Tizen.ViewModels
         }
 
         /// <summary>
-        /// A event that is occurred when property of ViewModel is changed
+        /// An event that is occurred when property of ViewModel is changed
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
@@ -233,6 +236,9 @@ namespace TVMediaHub.Tizen.ViewModels
 
         /// <summary>
         /// A constructor
+        /// Initializes the footer's item source
+        /// Initializes the commands that are used in Image tab
+        /// Initializes several lists that are used in Image tab
         /// </summary>
         public ImageTabViewModel()
         {
@@ -396,7 +402,7 @@ namespace TVMediaHub.Tizen.ViewModels
         /// <summary>
         /// A method for setting the current image
         /// </summary>
-        /// <param name="info">A information of current image</param>
+        /// <param name="info">An information of current image</param>
         private void SetCurrentImage(MediaInformation info)
         {
             FindImageInfoInList(info);
index b602ecd69dbc618f1363456b47ca82939d835604..498d83abdc54a9400aa6cb5dc031977fce4c9bf7 100755 (executable)
@@ -22,7 +22,7 @@ namespace TVMediaHub.Tizen.ViewModels
     public static class ImageTabViewModelLocator
     {
         /// <summary>
-        /// A instance of the ImageTabViewModel
+        /// An instance of the ImageTabViewModel
         /// </summary>
         private static ImageTabViewModel _viewModel = new ImageTabViewModel();
 
index da09a437558b8c4973eb92e987fcce0ae3c5e6dc..252933179ba7f0d4b094fce994a41127608502b9 100755 (executable)
@@ -25,16 +25,22 @@ namespace TVMediaHub.Tizen.ViewModels
     /// </summary>
     class MediaHubMainPageViewModel : INotifyPropertyChanged
     {
+        /// <summary>
+        /// A flag that whether footer is normal mode or not
+        /// </summary>
         bool isFooterNor;
+        /// <summary>
+        /// A flag that whether footer is select mode or not
+        /// </summary>
         bool isFooterSel;
 
         /// <summary>
-        /// A event that is occurred when property of MediaHubMainPageViewModel is changed
+        /// An event that is occurred when property of MediaHubMainPageViewModel is changed
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
         /// <summary>
-        /// Gets or sets the value that whether the footer's status is normal mode or not
+        /// Gets or sets the isFooterNor
         /// </summary>
         public bool IsFooterNorStatus
         {
@@ -55,7 +61,7 @@ namespace TVMediaHub.Tizen.ViewModels
         }
 
         /// <summary>
-        /// Gets or sets the value that whether the footer's status is select mode or not
+        /// Gets or sets the isFooterSel
         /// </summary>
         public bool IsFooterSelStatus
         {
@@ -94,7 +100,10 @@ namespace TVMediaHub.Tizen.ViewModels
         /// </summary>
         public Command OnSeleteModeCommand { get; set; }
 
-
+        /// <summary>
+        /// A consturctor
+        /// Initializes OnSelectModeCommand that is called to change the footer to select mode
+        /// </summary>
         public MediaHubMainPageViewModel()
         {
             IsFooterNorStatus = true;
index b8b40a28ad0f927361e83559503755013dcc22bc..ba505dae1653ceee6c8dde06580b4d526a22d25b 100755 (executable)
  * limitations under the License.
  */
 
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
 namespace TVMediaHub.Tizen.ViewModels
 {
     /// <summary>
index 1c7e778f2c32281f239cf6d10b524c51a650f1f3..9ef6ff240b181ca8e2aa1ae53aee2ac9b1734ed6 100755 (executable)
@@ -33,7 +33,7 @@ namespace TVMediaHub.Tizen.ViewModels
     public class VideoTabViewModel : INotifyPropertyChanged
     {
         /// <summary>
-        /// A event that is occurred when property of ViewModel is changed
+        /// An event that is occurred when property of ViewModel is changed
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
@@ -280,7 +280,7 @@ namespace TVMediaHub.Tizen.ViewModels
         /// <summary>
         /// A method for setting the current video
         /// </summary>
-        /// <param name="videoContent">A information of current video</param>
+        /// <param name="videoContent">An information of current video</param>
         private void SetCurrentVideo(MediaInformation videoContent)
         {
             CurrentVideo = videoContent;
index 546503448cda84dcda219d0ccc34d13e08f8c8b1..fab84cdaf4116501431c365a3ef3ebc39ddfddbd 100755 (executable)
@@ -22,7 +22,7 @@ namespace TVMediaHub.Tizen.ViewModels
     public class VideoTabViewModelLocator
     {
         /// <summary>
-        /// A instance of the VideoTabViewModel
+        /// An instance of the VideoTabViewModel
         /// </summary>
         private static VideoTabViewModel _viewModel = null;
         /// <summary>
index 5c28ec3683cfaf77af5d496d23b0499deca942d1..de5a12ec059b6a486c1290fdd6609fd6253df371 100755 (executable)
@@ -82,17 +82,17 @@ namespace TVMediaHub.Tizen.Views
         }
 
         /// <summary>
-        /// A EventHandler for DropdownSource ItemSelected event
+        /// An EventHandler for DropdownSource ItemSelected event
         /// </summary>
         public EventHandler<SelectedItemChangedEventArgs> OnDropdownSourceItemSelected;
 
         /// <summary>
-        /// A EventHandler for DropdownSort ItemSelected event
+        /// An EventHandler for DropdownSort ItemSelected event
         /// </summary>
         public EventHandler<SelectedItemChangedEventArgs> OnDropdownSortItemSelected;
 
         /// <summary>
-        /// A EventHandler for DropdownOption ItemSelected event
+        /// An EventHandler for selected item's IndexChanged event of Context popup
         /// </summary>
         public EventHandler<ContextPopupSelectedEventArgs> OnSelectedOptionIndexChanged;
 
index 5a96c698d5ed11d465495b69f85e3646962318d1..546273e554afcaa69a978ad66b4c3ac9954c5f6c 100755 (executable)
@@ -60,6 +60,7 @@ namespace TVMediaHub.Tizen.Views
         {
             return TitleFocusArea;
         }
+
         private List<Button> ChildrenFocusList;
         public List<Button> LeftFocusList { get; protected set; }
         public List<Button> RightFocusList { get; protected set; }
index 5c5bd92272fc4a3fe62ef5f4fa3c63a48bfc3c88..463e1fafd9990aa4974abe3f0c6fe8ad2694708f 100755 (executable)
@@ -30,7 +30,7 @@ namespace TVMediaHub.Tizen.Views
     public partial class ImageItem : RelativeLayout
     {
         /// <summary>
-        /// A enumeration for ItemStatus
+        /// An enumeration for ItemStatus
         /// </summary>
         public enum ItemStatus
         {
@@ -38,6 +38,9 @@ namespace TVMediaHub.Tizen.Views
             SELECTED,
         };
 
+        /// <summary>
+        /// A flag that whether the item is loaded or not
+        /// </summary>
         private bool IsLoaded = false;
 
         private Rectangle ImageAreaNormalBounds;
@@ -52,9 +55,22 @@ namespace TVMediaHub.Tizen.Views
         //private Rectangle NormalBounds;
         //private Rectangle FocusedBounds;
 
+        /// <summary>
+        /// An EventHandler for focus event of the item
+        /// </summary>
         public EventHandler OnFocusedEventHandler;
+        /// <summary>
+        /// An EventHandler for unfocus event of the item
+        /// </summary>
         public EventHandler OnUnfocusedEventHandler;
+        /// <summary>
+        /// A delegate will be executed when the item is clicked
+        /// </summary>
+        /// <param name="info">A clicked item's MediaInformation</param>
         public delegate void ClickEventHandler(MediaInformation info);
+        /// <summary>
+        /// A ClickEventHandler for click event of the item
+        /// </summary>
         public ClickEventHandler OnItemClickedHandler;
 
         /// <summary>
@@ -99,10 +115,14 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A value of current ItemStatus
+        /// </summary>
         private ItemStatus CurStatus;
 
         /// <summary>
         /// A constructor
+        /// Initializes the size of the items that are used in this class
         /// </summary>
         public ImageItem()
         {
@@ -112,7 +132,7 @@ namespace TVMediaHub.Tizen.Views
         }
 
         /// <summary>
-        /// A method for initializing several sizes
+        /// A method for initializing size of the items that are used in this class
         /// </summary>
         private void InitializeSize()
         {
@@ -176,7 +196,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when item is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event argument</param>
+        /// <param name="e">An event argument</param>
         private async void OnItemClicked(object sender, EventArgs e)
         {
             if (ImgDimmed.AnimationIsRunning("LayoutTo"))
@@ -256,7 +276,7 @@ namespace TVMediaHub.Tizen.Views
         /// <summary>
         /// A method for getting absolute position of item
         /// </summary>
-        /// <returns>A absolute position</returns>
+        /// <returns>An absolute position</returns>
         private Point GetAbsolutePosition()
         {
             // TODO : Find proper way to get absolute location of this element.
index b5d498fdb74d7d4dd6766351c134f6cf90956392..33d8d58c618de305f8a1f66303d503fda0fca5fc 100755 (executable)
@@ -398,7 +398,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when cancel button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OnCancelClicked(object sender, EventArgs e)
         {
             DeleteModeChangeCommand?.Execute("");
@@ -411,7 +411,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when SelectAll button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OnSelectAllClicked(object sender, EventArgs e)
         {
 
@@ -421,7 +421,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when OK button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OnOKClicked(object sender, EventArgs e)
         {
             DeleteModeChangeCommand?.Execute("");
index 14a48d5985576e34da4b42a20aa8035793693897..35dab6ee50c9f88fdaa626d0de16e3e83df6382b 100755 (executable)
@@ -34,7 +34,7 @@ namespace TVMediaHub.Tizen.Views
     public partial class ImageViewer : ContentPage
     {
         /// <summary>
-        /// A enumeration for NaviDirection
+        /// An enumeration for NaviDirection
         /// </summary>
         enum NaviDirection
         {
@@ -44,7 +44,7 @@ namespace TVMediaHub.Tizen.Views
         };
 
         /// <summary>
-        /// A enumeration for ControlAreaState
+        /// An enumeration for ControlAreaState
         /// </summary>
         enum ControlAreaState
         {
@@ -140,7 +140,7 @@ namespace TVMediaHub.Tizen.Views
         }
 
         /// <summary>
-        /// A event handler for BackButton pressed event
+        /// An event handler for BackButton pressed event
         /// </summary>
         private EventHandler OnBackButtonPressedHandler { get; set; }
 
@@ -232,7 +232,7 @@ namespace TVMediaHub.Tizen.Views
         /// A method will be called when application receives KeyDown event
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A EvasKey event's argument</param>
+        /// <param name="e">An EvasKey event's argument</param>
         private void RemoteKeyDownListener(object sender, ElmSharp.EvasKeyEventArgs e)
         {
             SetControlAreaState(ControlAreaState.AUTO);
@@ -472,7 +472,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when Rotate button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private async void RotateBtnClicked(object sender, EventArgs e)
         {
             if (ControlArea.Opacity == 0)
@@ -516,7 +516,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when Zoom button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void ZoomBtnClicked(object sender, EventArgs e)
         {
             if (ControlArea.Opacity == 0)
@@ -535,7 +535,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when Left button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void LeftBtnClicked(object sender, EventArgs e)
         {
             if (ControlArea.Opacity == 0)
@@ -561,7 +561,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when Right button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void RightBtnClicked(object sender, EventArgs e)
         {
 
@@ -588,7 +588,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when Slide show button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void SlideShowBtnClicked(object sender, EventArgs e)
         {
 
@@ -608,7 +608,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when Option button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OptionBtnClicked(object sender, EventArgs e)
         {
             if (ControlArea.Opacity == 0)
index 81a9a8fabc06b36d715aa9d8f908430eb401b67c..121fae8f3915c74adb7ba30b8d16afda48c14c03 100755 (executable)
@@ -199,7 +199,7 @@ namespace TVMediaHub.Tizen.Views
         /// <summary>
         /// A method for showing slide show on dissolve mode
         /// </summary>
-        /// <param name="index">A index of start image</param>
+        /// <param name="index">An index of start image</param>
         /// <param name="delay">A delay time</param>
         private void DissolveSlideShowAnimation(int index, uint delay)
         {
index 9b78d06709d13bbccd6d6ed5bb55077dd5f6d9cb..ad222cd7aec1ff4c18c3cde631e198cbad42bb50 100755 (executable)
@@ -18,19 +18,25 @@ using System;
 using System.Threading;
 using System.Threading.Tasks;
 using TVMediaHub.Tizen.Controls;
-using TVMediaHub.Tizen.Utils;
 using Xamarin.Forms;
 using Xamarin.Forms.Xaml;
 
 namespace TVMediaHub.Tizen.Views
 {
     /// <summary>
-    /// @TODO: Comment
+    /// A custom page for displaying main page of TV MediaHub
     /// </summary>
     [XamlCompilation(XamlCompilationOptions.Compile)]
     public partial class MediaHubMainPage : TabbedPage
     {
+        /// <summary>
+        /// A flag that whether app is loaded or not
+        /// </summary>
         private bool IsAppLoaded;
+        /// <summary>
+        /// A constructor
+        /// </summary>
+        /// <param name="tabIndex">An index of tab to be set as MainPage</param>
         public MediaHubMainPage(int tabIndex)
         {
             IsAppLoaded = false;
@@ -40,12 +46,20 @@ namespace TVMediaHub.Tizen.Views
             CurrentPageChanged += MediaHubMainPage_CurrentPageChanged;
         }
 
+        /// <summary>
+        /// This method is called when the CurrentPage is changed
+        /// </summary>
+        /// <param name="sender">The source of event</param>
+        /// <param name="e">An event argument</param>
         private void MediaHubMainPage_CurrentPageChanged(object sender, EventArgs e)
         {
             var page = CurrentPage as ContentPageEx;
             page.RunShowAnimation();
         }
 
+        /// <summary>
+        /// This method is called when the page becoming visible
+        /// </summary>
         protected override async void OnAppearing()
         {
             base.OnAppearing();
@@ -60,6 +74,10 @@ namespace TVMediaHub.Tizen.Views
             Focus();
         }
 
+        /// <summary>
+        /// This method is called when Back button is pressed
+        /// </summary>
+        /// <returns>Always returns true</returns>
         protected override bool OnBackButtonPressed()
         {
             SynchronizationContext.Current.Post((o) =>
@@ -71,6 +89,10 @@ namespace TVMediaHub.Tizen.Views
             return true;
         }
 
+        /// <summary>
+        /// This method is called when Back button is pressed at MainPage
+        /// </summary>
+        /// <returns>Always returns true</returns>
         private async Task<bool> OnBackKeyPressedAtMain()
         {
             var answer = await DisplayAlert("QUIT", "Do you want to quit?", "YES", "NO");
old mode 100644 (file)
new mode 100755 (executable)
index aa6cd50..87f9415
@@ -21,16 +21,23 @@ using Xamarin.Forms;
 namespace TVMediaHub.Tizen.Views
 {
     /// <summary>
-    /// @TODO: Comment
+    /// A custom ContentPage for displaying Music tab
     /// </summary>
     public partial class MusicTab : ContentPageEx
     {
+        /// <summary>
+        /// A constructor
+        /// Initializes the size of the items that are used in Music tab
+        /// </summary>
         public MusicTab()
         {
             InitializeComponent();
             InitializeSize();
         }
 
+        /// <summary>
+        /// A method for initializing the size of the items that are used in Music tab
+        /// </summary>
         private void InitializeSize()
         {
             ImgNoContents.Margin = new Thickness(0, SizeUtils.GetHeightSize(266), 0, SizeUtils.GetHeightSize(28));
@@ -40,18 +47,30 @@ namespace TVMediaHub.Tizen.Views
             LabelNoContents.FontSize = SizeUtils.GetFontSize(28);
         }
 
+        /// <summary>
+        /// A method for initializing page when the page is appeared
+        /// </summary>
         protected override void InitializePage()
         {
         }
 
+        /// <summary>
+        /// A method for finalizing page when the page is disappeared
+        /// </summary>
         protected override void FinalizePage()
         {
         }
 
+        /// <summary>
+        /// A method for running hide animation
+        /// </summary>
         public override void RunHideAnimation()
         {
         }
 
+        /// <summary>
+        /// A method for running show animation
+        /// </summary>
         public override void RunShowAnimation()
         {
         }
old mode 100644 (file)
new mode 100755 (executable)
index a0f38e7..72032e7
@@ -26,14 +26,26 @@ using Xamarin.Forms.PlatformConfiguration.TizenSpecific;
 namespace TVMediaHub.Tizen.Views
 {
     /// <summary>
-    /// @TODO: Comment
+    /// A custom view for displaying Video group
     /// </summary>
     public partial class VideoGroup : RelativeLayout
     {
+        /// <summary>
+        /// A label of group title
+        /// </summary>
         private Xamarin.Forms.Label GroupTitle;
+        /// <summary>
+        /// A grid view of group content area
+        /// </summary>
         private Grid GroupContentArea;
+        /// <summary>
+        /// Gets or sets the focus area of group title
+        /// </summary>
         public Button GroupTitleFocusArea { get; protected set; }
 
+        /// <summary>
+        /// An event EventHandler for group item's focus event
+        /// </summary>
         public EventHandler<GroupItemFocusEventArgs> GroupItemFocused;
 
         /// <summary>
@@ -41,6 +53,9 @@ namespace TVMediaHub.Tizen.Views
         /// </summary>
         public static readonly BindableProperty ItemsSourceProperty = BindableProperty.Create("ItemsSource", typeof(IEnumerable<MediaShortcutInfo>), typeof(VideoTab), default(IEnumerable<MediaShortcutInfo>));
 
+        /// <summary>
+        /// A command will be executed when item is clicked
+        /// </summary>
         private ICommand ItemClickCommand;
 
         /// <summary>
@@ -52,11 +67,28 @@ namespace TVMediaHub.Tizen.Views
             set { SetValue(ItemsSourceProperty, value); }
         }
 
+        /// <summary>
+        /// A list of children's button objects of group
+        /// </summary>
         private List<Button> ChildrenFocusList;
+        /// <summary>
+        /// @TODO:Comment
+        /// </summary>
         public List<Button> LeftFocusList { get; protected set; }
+        /// <summary>
+        /// @TODO:Comment
+        /// </summary>
         public List<Button> RightFocusList { get; protected set; }
+        /// <summary>
+        /// @TODO:Comment
+        /// </summary>
         public List<KeyValuePair<double, Button>> BottomFocusList { get; protected set; }
 
+        /// <summary>
+        /// A constructor
+        /// Initializes several lists and properties that are used in this class
+        /// Initializes several size of the items that are used in this class
+        /// </summary>
         public VideoGroup()
         {
             InitializeComponent();
@@ -65,6 +97,9 @@ namespace TVMediaHub.Tizen.Views
             PropertyChanged += VideoGroupPropertyChanged;
         }
 
+        /// <summary>
+        /// A method for initializing several lists and properties that are used in this class
+        /// </summary>
         private void Init()
         {
             ChildrenFocusList = new List<Button>();
@@ -84,6 +119,11 @@ namespace TVMediaHub.Tizen.Views
             GroupTitleFocusArea.Unfocused += TitleUnfocused;
         }
 
+        /// <summary>
+        /// This method is called when the group's title is unfocused
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A Focus event's argument</param>
         private void TitleUnfocused(object sender, FocusEventArgs e)
         {
             GroupTitle.AbortAnimation("FocusAnimation");
@@ -106,6 +146,11 @@ namespace TVMediaHub.Tizen.Views
                 });
         }
 
+        /// <summary>
+        /// This method is called when the group's title is focused
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A Focus event's argument</param>
         private void TitleFocused(object sender, FocusEventArgs e)
         {
             GroupTitle.AbortAnimation("FocusAnimation");
@@ -138,6 +183,9 @@ namespace TVMediaHub.Tizen.Views
                 });
         }
 
+        /// <summary>
+        /// A method for initializing several size of the items that are used in this class
+        /// </summary>
         private void InitializeSize()
         {
 
@@ -166,6 +214,11 @@ namespace TVMediaHub.Tizen.Views
             GroupTitle.FontSize = SizeUtils.GetFontSize(24);
         }
 
+        /// <summary>
+        /// This method is called when the properties is changed
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A propertyChanged event argument</param>
         private void VideoGroupPropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
         {
             if (e.PropertyName.Equals("ItemsSource"))
@@ -195,6 +248,9 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A method for making focus chain among items
+        /// </summary>
         private void SetFocusChain()
         {
             if (ChildrenFocusList.Count < 1)
@@ -260,6 +316,9 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// @TODO:comment
+        /// </summary>
         private void SetFocusList()
         {
             var totalCount = ChildrenFocusList.Count - 1;
@@ -293,6 +352,10 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A method for setting the command to ItemClickCommand
+        /// </summary>
+        /// <param name="command">A command to be set</param>
         public void SetClickCommand(ICommand command)
         {
             ItemClickCommand = command;
old mode 100644 (file)
new mode 100755 (executable)
index 89f4a92..e5a66e2
@@ -23,18 +23,27 @@ using Xamarin.Forms;
 namespace TVMediaHub.Tizen.Views
 {
     /// <summary>
-    /// @TODO: Comment
+    /// A custom view for displaying video item
     /// </summary>
     public partial class VideoItem : RelativeLayout
     {
+        /// <summary>
+        /// A flag that whether the item is loaded or not
+        /// </summary>
         private bool IsLoaded = false;
 
+        /// <summary>
+        /// An enumeration for ItemStatus
+        /// </summary>
         public enum ItemStatus
         {
             NORMAL = 0,
             SELECTED,
         };
 
+        /// <summary>
+        /// A value of current ItemStatus
+        /// </summary>
         private ItemStatus CurStatus;
 
         private Rectangle NormalShadowBounds;
@@ -49,14 +58,32 @@ namespace TVMediaHub.Tizen.Views
 
         private Rectangle TitleContainerBounds;
 
+        /// <summary>
+        /// An EventHandler for focus event of item
+        /// </summary>
         public EventHandler OnFocusedEventHandler;
+        /// <summary>
+        /// An EventHandler for unfocus event of item
+        /// </summary>
         public EventHandler OnUnfocusedEventHandler;
+        /// <summary>
+        /// A delegate will be executed when the item is clicked
+        /// </summary>
+        /// <param name="info">A clicked item's MediaInformation</param>
         public delegate void ClickEventHandler(MediaInformation info);
+        /// <summary>
+        /// A ClickEventHandler for click event of the item
+        /// </summary>
         public ClickEventHandler OnItemClickedHandler;
 
+        /// <summary>
+        /// Identifies the IsDeleteMode bindable property
+        /// </summary>
         public static readonly BindableProperty IsDeleteModeProperty = BindableProperty.Create("IsDeleteMode", typeof(bool), typeof(VideoItem), false);
 
-
+        /// <summary>
+        /// Gets or sets the value whether item is delete mode or not
+        /// </summary>
         public bool IsDeleteMode
         {
             set
@@ -70,8 +97,14 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// Identifies the VideoInfo bindable property
+        /// </summary>
         public static readonly BindableProperty VideoInfoProperty = BindableProperty.Create("VideoInfo", typeof(MediaInformation), typeof(VideoItem), null);
 
+        /// <summary>
+        /// Gets or sets the VideoInfo of current video
+        /// </summary>
         public MediaInformation VideoInfo
         {
             set
@@ -85,6 +118,10 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A constructor
+        /// Initializes the size of the items that are used in this class
+        /// </summary>
         public VideoItem()
         {
             InitializeComponent();
@@ -92,6 +129,9 @@ namespace TVMediaHub.Tizen.Views
             PropertyChanged += VideoTabPropertyChanged;
         }
 
+        /// <summary>
+        /// A method for initializing size of the items that are used in this class
+        /// </summary>
         private void InitializeSize()
         {
             int w0 = SizeUtils.GetWidthSize(0);
@@ -148,6 +188,13 @@ namespace TVMediaHub.Tizen.Views
             CheckImage.ImageColor = ElmSharp.Color.White;
         }
 
+        /// <summary>
+        /// Positions and sizes the children of a Layout.
+        /// </summary>
+        /// <param name="x">A value representing the x coordinate of the child region bounding box.</param>
+        /// <param name="y">A value representing the y coordinate of the child region bounding box.</param>
+        /// <param name="width">A value representing the width of the child region bounding box.</param>
+        /// <param name="height">A value representing the height of the child region bounding box.</param>
         protected override void LayoutChildren(double x, double y, double width, double height)
         {
             if (IsLoaded == false)
@@ -165,11 +212,20 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A method for getting item's button object
+        /// </summary>
+        /// <returns>A button object</returns>
         public Button GetFocusArea()
         {
             return FocusArea;
         }
 
+        /// <summary>
+        /// This method is called when item is unfocused
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A Focus event's argument</param>
         public void OnUnfocused(object sender, FocusEventArgs e)
         {
             Easing easing = new Easing(EasingFunction.EasyIn2);
@@ -191,6 +247,11 @@ namespace TVMediaHub.Tizen.Views
             ImageArea.LayoutTo(NormalBounds, 167, easing);
         }
 
+        /// <summary>
+        /// This method is called when item is focused
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A Focus event's argument</param>
         public void OnFocused(object sender, FocusEventArgs e)
         {
             Easing easing = new Easing(EasingFunction.EasyIn1);
@@ -241,6 +302,11 @@ namespace TVMediaHub.Tizen.Views
                 });
         }
 
+        /// <summary>
+        /// This method is called when item is focused
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A Focus event's argument</param>
         private async void OnItemClicked(object sender, EventArgs e)
         {
             if (DimImage.AnimationIsRunning("LayoutTo"))
@@ -283,6 +349,9 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A method for updating view according to current status
+        /// </summary>
         private void UpdateView()
         {
             switch (CurStatus)
@@ -298,11 +367,19 @@ namespace TVMediaHub.Tizen.Views
             }
         }
 
+        /// <summary>
+        /// A method for pushing VideoPlayer page at MainPage of TV MediaHub
+        /// </summary>
         private void PushNavigationPage()
         {
             Program.TransitionTo(new VideoPlayer());
         }
 
+        /// <summary>
+        /// This method is called when the properties is changed
+        /// </summary>
+        /// <param name="sender">The source of the event</param>
+        /// <param name="e">A propertyChanged event argument</param>
         private void VideoTabPropertyChanged(object sender, PropertyChangedEventArgs e)
         {
             if (e.PropertyName.CompareTo("IsDeleteMode") == 0)
index 16c1bd73fdd8140e03862b8303e9eca3a56a4fd6..d92c7c8d1c56b8ee25a1d09ad533e12878a014c7 100755 (executable)
@@ -668,7 +668,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when previous button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private async void PreviousBtnClicked(object sender, EventArgs e)
         {
             if (ControlArea.Opacity == 0)
@@ -697,7 +697,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when rewind button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void RewindBtnClicked(object sender, EventArgs e)
         {
             PlayBackForwardIndex = 0;
@@ -755,7 +755,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when pause/play button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void PausePlayBtnClicked(object sender, EventArgs e)
         {
             if (SpeedInfo.Opacity == 1)
@@ -796,7 +796,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when forward button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void ForwardBtnClicked(object sender, EventArgs e)
         {
             PlayBackRewindIndex = 0;
@@ -833,7 +833,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when next button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private async void NextBtnClicked(object sender, EventArgs e)
         {
             if (ControlArea.Opacity == 0)
old mode 100644 (file)
new mode 100755 (executable)
index 5edaf1f..cbf1b65
@@ -395,7 +395,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when cancel button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OnCancelClicked(object sender, EventArgs e)
         {
             ChangeTabStatusCommand?.Execute("");
@@ -408,7 +408,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when SelectAll button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OnSelectAllClicked(object sender, EventArgs e)
         {
         }
@@ -417,7 +417,7 @@ namespace TVMediaHub.Tizen.Views
         /// This method is called when OK button is clicked
         /// </summary>
         /// <param name="sender">The source of the event</param>
-        /// <param name="e">A event's argument</param>
+        /// <param name="e">An event's argument</param>
         private void OnOKClicked(object sender, EventArgs e)
         {
             // TODO : Change to delete Content command