Add and change comment in TVHome, TVApps
authorHeonjae Jang <heonjae.jang@samsung.com>
Mon, 22 May 2017 09:28:33 +0000 (18:28 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:56 +0000 (18:34 +0900)
Change-Id: I7538cc76d667b2751ced1a681cb81170b95a1cc1
Signed-off-by: Heonjae Jang <heonjae.jang@samsung.com>
48 files changed:
LibTVRefCommonPortable/DataModels/AppControlAction.cs
LibTVRefCommonPortable/DataModels/AppShortcutInfo.cs
LibTVRefCommonPortable/DataModels/IAction.cs
LibTVRefCommonPortable/DataModels/SettingShortcutInfo.cs
LibTVRefCommonPortable/DataModels/ShortcutInfo.cs
LibTVRefCommonPortable/Models/AppShortcutController.cs
LibTVRefCommonPortable/Models/RecentShortcutController.cs
LibTVRefCommonPortable/Utils/AppControlUtils.cs
LibTVRefCommonPortable/Utils/AppShortcutStorage.cs
LibTVRefCommonPortable/Utils/DebuggingUtils.cs
LibTVRefCommonPortable/Utils/IAppControl.cs
LibTVRefCommonPortable/Utils/IAppLifeControl.cs
LibTVRefCommonPortable/Utils/IApplicationManagerAPIs.cs
LibTVRefCommonPortable/Utils/IDebuggingAPIs.cs
LibTVRefCommonPortable/Utils/IFileSystemAPIs.cs
LibTVRefCommonPortable/Utils/IFileSystemWatcherAPIs.cs
LibTVRefCommonPortable/Utils/IMediaContentAPIs.cs
LibTVRefCommonPortable/Utils/IPackageManager.cs
LibTVRefCommonPortable/Utils/IPlatformNotification.cs
LibTVRefCommonPortable/Utils/ISystemSettings.cs
LibTVRefCommonPortable/Utils/ITVHome.cs
LibTVRefCommonPortable/Utils/IWindowAPIs.cs
LibTVRefCommonPortable/Utils/PackageManagerUtils.cs
LibTVRefCommonPortable/Utils/RecentShortcutStorage.cs
LibTVRefCommonPortable/Utils/TVHomeImpl.cs
LibTVRefCommonTizen/Ports/ApplicationManagerPort.cs
LibTVRefCommonTizen/Ports/DbgPort.cs
LibTVRefCommonTizen/Ports/PackageManagerPort.cs
TVApps/TVApps.TizenTV/Renderer/NinePatchImageRenderer.cs
TVApps/TVApps.TizenTV/TVApps.TizenTV.cs
TVApps/TVApps/Controls/AppItemCell.xaml.cs
TVApps/TVApps/Controls/AppListView.xaml.cs
TVApps/TVApps/TVApps.cs
TVApps/TVApps/ViewModels/AppsListSorter.cs
TVApps/TVApps/ViewModels/IAppsViewModel.cs
TVApps/TVApps/ViewModels/MainPageViewModel.cs
TVApps/TVApps/Views/FooterPinStatus.xaml.cs
TVHome/TVHome.TizenTV/Sniper.cs
TVHome/TVHome.TizenTV/TVHome.TizenTV.cs
TVHome/TVHome/Controls/PanelButton.cs
TVHome/TVHome/TVHome.cs
TVHome/TVHome/ViewModels/IHomeViewModel.cs
TVHome/TVHome/ViewModels/MainPageViewModel.cs
TVHome/TVHome/Views/MainPage.xaml.cs
TVHome/TVHome/Views/MainPanel.xaml.cs
TVHome/TVHome/Views/Panel.cs
TVHome/TVHome/Views/SubPanel.xaml.cs
TVHome/TVHome/Views/SubThumbnailPanel.xaml.cs

index b51e844a254d3eb35f514044f5d389ae37168f3d..e30afe4079e5baf5189e51f85b1969116ce40f58 100644 (file)
@@ -52,7 +52,7 @@ namespace LibTVRefCommonPortable.DataModels
         }
 
         /// <summary>
-        /// A method which invoke a App Control to the application of the AppID
+        /// A method which invoke an App Control to the application of the AppID
         /// </summary>
         /// <returns>a next state after App Control invocation</returns>
         public string Execute()
index cfef3e32f1519e09e606249b765de58cb03fb95d..7aeff96dbdd32ffadbbef5180d86c3be92ea26b2 100755 (executable)
@@ -27,12 +27,12 @@ namespace LibTVRefCommonPortable.DataModels
     public class AppShortcutInfo : ShortcutInfo
     {
         /// <summary>
-        /// A application ID of the App Shortcut.
+        /// An application ID of the App Shortcut.
         /// </summary>
         public string AppID { get; set; }
 
         /// <summary>
-        /// A App Shortcut status.
+        /// An App Shortcut status.
         /// </summary>
         [XmlIgnore]
         public string Status { get; set; }
@@ -179,7 +179,7 @@ namespace LibTVRefCommonPortable.DataModels
         }
 
         /// <summary>
-        /// A app installed time.
+        /// An app installed time.
         /// </summary>
         [XmlIgnore]
         public DateTime Installed { get; set; }
index e226873d26b3fde59acc6b16e71a03582d8e73c4..d4616daceffc53524f84c1a18980324012f1de7e 100644 (file)
 namespace LibTVRefCommonPortable.DataModels
 {
     /// <summary>
-    /// A interface defines behaviors that will be exported by inherited classes.
+    /// An interface defines behaviors that will be exported by inherited classes.
     /// </summary>
     public interface IAction
     {
         /// <summary>
-        /// A method execute a action.
+        /// A method execute an action.
         /// </summary>
         /// <returns>A next statue of a Shortcut.</returns>
         string Execute();
index 4cdd35dffecdbd4ae9aa683d29664325513db78f..fd355d2b59ac32e19acd95b2d7f785802c215260 100755 (executable)
@@ -18,8 +18,14 @@ using System;
 
 namespace LibTVRefCommonPortable.DataModels
 {
+    /// <summary>
+    /// A Setting Shortcut information
+    /// </summary>
     public class SettingShortcutInfo : ShortcutInfo
     {
+        /// <summary>
+        /// Initialize State of a shortcut.
+        /// </summary>
         public override void UpdateState()
         {
             SetCurrentState("default");
index 96fb832f84f47f19d2dff9fa32550fa82c782612..b110f36d6fd6f5f4d4a282384e1cf3df48da3b77 100644 (file)
@@ -29,7 +29,7 @@ namespace LibTVRefCommonPortable.DataModels
     public abstract class ShortcutInfo : INotifyPropertyChanged
     {
         /// <summary>
-        /// A event handler for handing property changed. </summary>
+        /// An event handler for handing property changed. </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
         /// <summary>
index 953f0bbc58e6de7db8308e2aab51f3790c98b7db..db256bb27fdafa9f15954c00b7130c013f0fdd76 100755 (executable)
@@ -29,7 +29,7 @@ namespace LibTVRefCommonPortable.Models
     /// The TVHome shows the Pinned app list when the App Home Menu is pressed,
     /// by invoking AppShortcutController's API to retrieve the pinned app list.
     /// The TVApps shows the installed the Tizen UI apps in the main screen.
-    /// To provides the installed apps, the TVApps invokes a AppShortcutController's API.
+    /// To provides the installed apps, the TVApps invokes an AppShortcutController's API.
     /// </summary>
     public class AppShortcutController
     {
@@ -42,7 +42,7 @@ namespace LibTVRefCommonPortable.Models
         /// A method provides installed app list.
         /// The returned app list has only Tizen UI apps not the system app or no display apps.
         /// </summary>
-        /// <returns>A installed app list.</returns>
+        /// <returns>An installed app list.</returns>
         public async Task<IEnumerable<AppShortcutInfo>> GetInstalledApps()
         {
             List<AppShortcutInfo> appShortcutInfoList = new List<AppShortcutInfo>();
@@ -88,12 +88,12 @@ namespace LibTVRefCommonPortable.Models
         }
 
         /// <summary>
-        /// A method appends a All Apps Shortcut and a MediaHub Shortcut at first in the given App Shortcut list.
+        /// A method appends an All Apps Shortcut and a MediaHub Shortcut at first in the given App Shortcut list.
         /// Actually this method is used for making the Pinned App Shortcut panel of the TVHome
         /// </summary>
         /// <seealso cref="GetDefaultShortcuts"/>
         /// <seealso cref="GetPinnedAppsWithDefaultShortcuts"/>
-        /// <param name="returnPinnedAppsInfo">A App Shortcut list contains the additional Shortcuts.</param>
+        /// <param name="returnPinnedAppsInfo">An App Shortcut list contains the additional Shortcuts.</param>
         private void AddAllAppsAndMediaHubShortcut(ref List<ShortcutInfo> returnPinnedAppsInfo)
         {
             var allAppsShortcutInfo = new AppShortcutInfo()
@@ -166,11 +166,11 @@ namespace LibTVRefCommonPortable.Models
         }
 
         /// <summary>
-        /// A method appends a Add Pin Shortcut in the given App Shortcut list.
+        /// A method appends an Add Pin Shortcut in the given App Shortcut list.
         /// </summary>
         /// <seealso cref="GetDefaultShortcuts"/>
         /// <seealso cref="GetPinnedAppsWithDefaultShortcuts"/>
-        /// <param name="returnPinnedAppsInfo">A App Shortcut list contains the additional Shortcuts.</param>
+        /// <param name="returnPinnedAppsInfo">An App Shortcut list contains the additional Shortcuts.</param>
         private void AppendAddPinShortcut(ref List<ShortcutInfo> returnPinnedAppsInfo)
         {
             var addPinShortcutInfo = new AppShortcutInfo()
@@ -274,7 +274,7 @@ namespace LibTVRefCommonPortable.Models
         }
 
         /// <summary>
-        /// A method provides a App Shortcut list which contains default App Shortcuts
+        /// A method provides an App Shortcut list which contains default App Shortcuts
         /// such as the All Apps, the Media Hub, and the Add Pin.
         /// </summary>
         /// <returns>A default App Shortcut list.</returns>
index c35e8fe931e5b3da88cf000ac0b540176df43976..ec69ecd71395dc016bf6ac117cffd630bd9a5ccf 100755 (executable)
@@ -25,7 +25,7 @@ namespace LibTVRefCommonPortable.Models
 {
     /// <summary>
     /// A class provides Recent Shortcut information to the ViewModel
-    /// The Recent Shortcut can be a app which is recently used and
+    /// The Recent Shortcut can be an app which is recently used and
     /// a content which is recently consumed in the TV.
     /// </summary>
     public class RecentShortcutController
index 7add8b7507650dbbdde3646c0031690cc85c653a..64a88328b1e4e3b78e3efa83a8e883f683b8366b 100644 (file)
@@ -27,8 +27,8 @@ namespace LibTVRefCommonPortable.Utils
         /// <summary>
         /// A method makes the app to be launched.
         /// </summary>
-        /// <param name="appID">A application ID of the targeted application.</param>
-        /// <param name="extraData">A extra data for App Control invoking.</param>
+        /// <param name="appID">An application ID of the targeted application.</param>
+        /// <param name="extraData">An extra data for App Control invoking.</param>
         /// <param name="fileUri">A file Uri to be opened.</param>
         public static void SendLaunchRequest(string appID, IDictionary<string, string> extraData = null, string fileUri = null)
         {
@@ -56,7 +56,7 @@ namespace LibTVRefCommonPortable.Utils
         /// <summary>
         /// A method sends a pin added notification App control to TVHome app.
         /// </summary>
-        /// <param name="addedAddID">A app ID of newly added.</param>
+        /// <param name="addedAddID">An app ID of newly added.</param>
         public static void SendAppAddedNotificationToHome(string addedAddID)
         {
             if (DependencyService.Get<IAppControl>() == null)
index 83817d7a1a5d54f95fc97943fffc21b6128ee6cd..f415a44534c7f78724e128785c6afc8222fa4e82 100644 (file)
@@ -42,12 +42,12 @@ namespace LibTVRefCommonPortable.Utils
         private static IFileSystemWatcherAPIs fileSystemWatcher = DependencyService.Get<IFileSystemWatcherAPIs>();
 
         /// <summary>
-        /// A instance of AppShortcutStorage.
+        /// An instance of AppShortcutStorage.
         /// </summary>
         private static AppShortcutStorage instance = new AppShortcutStorage();
 
         /// <summary>
-        /// A instance of AppShortcutStorage.
+        /// An instance of AppShortcutStorage.
         /// </summary>
         public static AppShortcutStorage Instance
         {
@@ -59,7 +59,7 @@ namespace LibTVRefCommonPortable.Utils
         /// </summary>
         private AppShortcutStorage()
         {
-            // TODO : Make this working properly, a accessing below directory is not permitted.
+            // TODO : Make this working properly, an accessing below directory is not permitted.
             //return DependencyService.Get<IFileSystemAPIs>()?.AppDataStorage + "pinned_apps_info.xml";
             StoragePath = DependencyService.Get<IFileSystemAPIs>()?.PlatformShareStorage + "pinned_apps_info.xml";
 
@@ -67,9 +67,9 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A method provides a App Shortcut list.
+        /// A method provides an app Shortcut list.
         /// </summary>
-        /// <returns>A App Shortcut list.</returns>
+        /// <returns>An app Shortcut list.</returns>
         public static async Task<IEnumerable<AppShortcutInfo>> Read()
         {
             IFileSystemAPIs fileSystem = DependencyService.Get<IFileSystemAPIs>();
@@ -113,7 +113,7 @@ namespace LibTVRefCommonPortable.Utils
         /// <summary>
         /// A method updates App Shortcuts of the storage
         /// </summary>
-        /// <param name="pinnedAppInfo">A App Shortcuts that pinned by a user.</param>
+        /// <param name="pinnedAppInfo">An app Shortcuts that pinned by a user.</param>
         /// <returns>A status of storage update.</returns>
         public static bool Write(IEnumerable<AppShortcutInfo> pinnedAppInfo)
         {
@@ -133,9 +133,9 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A method sets a event listener for the storage watcher
+        /// A method sets an event listener for the storage watcher
         /// </summary>
-        /// <param name="eventListener">A event handler for the storage event </param>
+        /// <param name="eventListener">An event handler for the storage event </param>
         public void AddStorageChangedListener(EventHandler<EventArgs> eventListener)
         {
             fileSystemWatcher.CustomChanged += eventListener;
index 568659daf93701e49d5d9df741bc791436839d06..987251a41c9b1cfb898af01b16ec65a964d1726f 100644 (file)
@@ -31,7 +31,7 @@ namespace LibTVRefCommonPortable.Utils
         private static IDebuggingAPIs ism;
 
         /// <summary>
-        /// A instance of DebuggingUtils
+        /// An instance of DebuggingUtils
         /// </summary>
         private static readonly DebuggingUtils instance = new DebuggingUtils();
 
@@ -49,9 +49,9 @@ namespace LibTVRefCommonPortable.Utils
         private class DefaultSM : IDebuggingAPIs
         {
             /// <summary>
-            /// A method displays a error log.
+            /// A method displays an error log.
             /// </summary>
-            /// <param name="message"> A error message.</param>
+            /// <param name="message"> An error message.</param>
             /// <param name="file"> A file name.</param>
             /// <param name="func"> A function name.</param>
             /// <param name="line"> A line number.</param>
@@ -107,7 +107,7 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A method displays a error message
+        /// A method displays an error message
         /// </summary>
         /// <param name="message"> A list of command line arguments.</param>
         /// <param name="file"> A file name.</param>
index dca069394f9053695b9cfa09bfd7da547e3b0b8c..9aa4c3f9c3effe411906e5edec280edfc9206fd9 100644 (file)
@@ -20,7 +20,7 @@ using System.Collections.Generic;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for App Control feature
+    /// An interface for App Control feature
     /// </summary>
     public interface IAppControl
     {
@@ -33,14 +33,14 @@ namespace LibTVRefCommonPortable.Utils
         void SendLaunchRequest(string appId, IDictionary<string, string> extraData, string fileUri);
 
         /// <summary>
-        /// A method sends a add pin request App Control to TVApps app.
+        /// A method sends add pin request App Control to TVApps app.
         /// </summary>
         void SendAddAppRequestToApps();
 
         /// <summary>
         /// A method sends a pin added notification App control to TVHome app.
         /// </summary>
-        /// <param name="addedAddID">A app ID of newly added.</param>
+        /// <param name="addedAddID">An app ID of newly added.</param>
         void SendAppAddedNotificationToHome(string addedAddID);
     }
 }
index 149b3adb570d95265d4d9287639ed719ca4a147d..ab6e2e7ebccb8f3fe2cc09939fd15666efc8bb70 100644 (file)
@@ -17,7 +17,7 @@
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A Interface for app life management.
+    /// An interface for app life management.
     /// </summary>
     public interface IAppLifeControl
     {
index b5a7693d9ca5f21a8fb3a48a7a77cd1112732c3d..b8ee51c93b5c931c7bd5afe2fbc5e807c7eb3887 100755 (executable)
@@ -36,17 +36,17 @@ namespace LibTVRefCommonPortable.Utils
         public String InstanceLabel;
 
         /// <summary>
-        /// A app ID
+        /// An app ID
         /// </summary>
         public String AppID;
 
         /// <summary>
-        /// A app label
+        /// An app label
         /// </summary>
         public String Applabel;
 
         /// <summary>
-        /// A app icon path
+        /// An app icon path
         /// </summary>
         public String IconPath;
 
@@ -67,14 +67,14 @@ namespace LibTVRefCommonPortable.Utils
     }
 
     /// <summary>
-    /// A interface for Application Manager feature
+    /// An interface for Application Manager feature
     /// </summary>
     public interface IApplicationManagerAPIs
     {
         /// <summary>
         /// A method provides installed application list.
         /// </summary>
-        /// <returns>A installed application list</returns>
+        /// <returns>An installed application list</returns>
         Task<Dictionary<string, string[]>> GetAllInstalledApplication();
 
         /// <summary>
@@ -86,8 +86,8 @@ namespace LibTVRefCommonPortable.Utils
         /// <summary>
         /// A method provides application information which is matched with the given app ID.
         /// </summary>
-        /// <param name="applicationId">A application ID</param>
-        /// <returns>A installed application information</returns>
+        /// <param name="applicationId">An application ID</param>
+        /// <returns>An installed application information</returns>
         Dictionary<string, string> GetInstalledApplication(string applicationId);
 
         /// <summary>
@@ -98,7 +98,7 @@ namespace LibTVRefCommonPortable.Utils
         /// <summary>
         /// A method for removing the specified recent application
         /// </summary>
-        /// <param name="appId">A application ID</param>
+        /// <param name="appId">An application ID</param>
         void DeleteRecentApplication(string appId);
 
         /// <summary>
index 57e3440d039a9436d56a2bb1e40894fabb3f8205..eb466188817cfaebea6129178829b5957de759cd 100644 (file)
@@ -19,11 +19,11 @@ using System;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface contains debugging methods which are using platform subsystems.
+    /// An interface contains debugging methods which are using platform subsystems.
     /// </summary>
     /// <remarks>
     /// Implementing this class should be occurred in platform project.
-    /// Also the implementation should be registered to the DependencyService in a app initialization.
+    /// Also the implementation should be registered to the DependencyService in an app initialization.
     /// Please refer to Xamarin Dependency Service
     /// https://developer.xamarin.com/guides/xamarin-forms/dependency-service/introduction/
     /// </remarks>
@@ -35,8 +35,8 @@ namespace LibTVRefCommonPortable.Utils
         void Popup(string message);
 
         /// <summary>
-        /// A method displays a error log. </summary>
-        /// <param name="message"> A error message.</param>
+        /// A method displays an error log. </summary>
+        /// <param name="message"> An error message.</param>
         /// <param name="file"> A file name.</param>
         /// <param name="func"> A function name.</param>
         /// <param name="line"> A line number.</param>
index d3f60175d9ac1dab1b70222ca10b446818c1b2d6..edeb092b2d9cfa7d48292eea5fb8122104f05fcc 100644 (file)
@@ -24,7 +24,7 @@ using System.IO;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A enumeration for the file open mode.
+    /// An enumeration for the file open mode.
     /// </summary>
     public enum UtilFileMode
     {
@@ -37,7 +37,7 @@ namespace LibTVRefCommonPortable.Utils
     }
 
     /// <summary>
-    /// A interface for the file operations
+    /// An interface for the file operations
     /// </summary>
     public interface IFileSystemAPIs
     {
@@ -69,7 +69,7 @@ namespace LibTVRefCommonPortable.Utils
         /// A method opens a file on the given mode.
         /// </summary>
         /// <param name="filePath">A file path</param>
-        /// <param name="mode">A opening mode</param>
+        /// <param name="mode">An opening mode</param>
         /// <returns>A file descriptor</returns>
         Stream OpenFile(string filePath, UtilFileMode mode);
 
@@ -89,7 +89,7 @@ namespace LibTVRefCommonPortable.Utils
         /// A method checks if a file existence in the file system.
         /// </summary>
         /// <param name="filePath">A file path</param>
-        /// <returns>A existence of the file</returns>
+        /// <returns>An existence of the file</returns>
         bool IsFileExist(String filePath);
 
         /// <summary>
index 7966e52f1ffc8de5502fd878305d434face049e4..fda442dc110791ab71e218d698a89dd34fb729cc 100644 (file)
@@ -19,7 +19,7 @@ using System;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for the file system watcher.
+    /// An interface for the file system watcher.
     /// </summary>
     public interface IFileSystemWatcherAPIs
     {
index 82d916c650d8a1d3ca5fbe4ebc2c2ac227565736..a0b26a99c00757216c9820989a7b1b891b3ce224 100644 (file)
@@ -21,12 +21,12 @@ using System.Collections.Generic;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A information of recently played media content
+    /// An information of recently played media content
     /// </summary>
     public struct RecentlyPlayedMedia
     {
         /// <summary>
-        /// A id of media content
+        /// An ID of media content
         /// </summary>
         public string MediaId;
 
@@ -52,7 +52,7 @@ namespace LibTVRefCommonPortable.Utils
     }
 
     /// <summary>
-    /// A interface for getting recently played media contents.
+    /// An interface for getting recently played media contents.
     /// </summary>
     public interface IMediaContentAPIs
     {
index 58a8548941f293e34e3f909dd57f64bfd7a251b8..cfb14bde687ac91061c1bde158e1c7b06dc2cf9e 100644 (file)
@@ -19,7 +19,7 @@ using System.Collections.Generic;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for package manager subsystem.
+    /// An interface for package manager subsystem.
     /// </summary>
     public interface IPackageManager
     {
@@ -51,9 +51,9 @@ namespace LibTVRefCommonPortable.Utils
         bool UninstallPackage(string pkgID);
 
         /// <summary>
-        /// A method remove the package by using a app ID.
+        /// A method remove the package by using an app ID.
         /// </summary>
-        /// <param name="appID">A app ID</param>
+        /// <param name="appID">an app ID</param>
         /// <returns>A status of uninstall</returns>
         bool UninstallPackageByAppID(string appID);
 
index 648ef7c84b2abd947a257d1ce37f5edc99e56676..9c1c07d91bd4b00f8c1ad2884a7d986f28fb6844 100755 (executable)
@@ -18,7 +18,7 @@
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for the platform notification.
+    /// An interface for the platform notification.
     /// </summary>
     public interface IPlatformNotification
     {
@@ -33,13 +33,13 @@ namespace LibTVRefCommonPortable.Utils
         void OnMenuKeyPressed();
 
         /// <summary>
-        /// A method will be called if a app is installed.
+        /// A method will be called if an app is installed.
         /// </summary>
         /// <param name="pkgID">A package ID of newly installed.</param>
         void OnAppInstalled(string pkgID);
 
         /// <summary>
-        /// A method will be called if a app is uninstalled.
+        /// A method will be called if an app is uninstalled.
         /// </summary>
         /// <param name="pkgID">A package ID of uninstalled.</param>
         void OnAppUninstalled(string pkgID);
@@ -50,7 +50,7 @@ namespace LibTVRefCommonPortable.Utils
         void OnPinAppRequestReceived();
 
         /// <summary>
-        /// A method will be called if the app gets a app pinned notification App Control request.
+        /// A method will be called if the app gets an app pinned notification App Control request.
         /// </summary>
         /// <param name="appID">A pinned app ID</param>
         void OnAppPinnedNotificationReceived(string appID);
index fe34df8bfb712319b7e51a2470c7c172d1968d20..97c369e4adefd8d811945940706f24010ab2ba84 100644 (file)
@@ -17,7 +17,7 @@
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for getting system setting informations.
+    /// An interface for getting system setting informations.
     /// </summary>
     public interface ISystemSettings
     {
index 58f503ed2dd9cbec0e67ba46a052786a66812f18..c7c6f69149ba75a1d35c3efb981dfe3270899daf 100755 (executable)
@@ -19,7 +19,7 @@ using LibTVRefCommonPortable.Models;
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for the TVHomeImpl class
+    /// An interface for the TVHomeImpl class
     /// The Models' instances in the TVHomeImpl class,
     /// so to use the Models from other files, it should access the instance of the TVHomeImpl.
     /// To reduce dependency between the TVHome and any other file,
@@ -28,7 +28,7 @@ namespace LibTVRefCommonPortable.Utils
     public interface ITVHome
     {
         /// <summary>
-        /// A instance of the AppShortcutController
+        /// An instance of the AppShortcutController
         /// </summary>
         /// <see cref="AppShortcutController"/>
         AppShortcutController AppShortcutControllerInstance
@@ -37,7 +37,7 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A instance of the RecentShortcutController
+        /// An instance of the RecentShortcutController
         /// </summary>
         /// <see cref="RecentShortcutController"/>
         RecentShortcutController RecentShortcutControllerInstance
index 0db84f42ed4fa1d3b462c19d515ca8a0f58f0b08..98de5efa68916c68c4080b47cf651bb53e9c56d9 100644 (file)
@@ -17,7 +17,7 @@
 namespace LibTVRefCommonPortable.Utils
 {
     /// <summary>
-    /// A interface for the Window management.
+    /// An interface for the Window management.
     /// </summary>
     public interface IWindowAPIs
     {
index 20b6c992fa299c35ab0d8f402833e28beb50b134..36de82575ef5877de77fa9d9604be05f724df599 100644 (file)
@@ -84,9 +84,9 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A method remove the package by using a app ID.
+        /// A method remove the package by using an app ID.
         /// </summary>
-        /// <param name="appID">A app ID</param>
+        /// <param name="appID">An app ID</param>
         /// <returns>A status of uninstall</returns>
         public static bool UninstallPackageByAppID(string appID)
         {
index 769185017c39731f11df0d1194e8329e1a0691a3..6fa8df4cebdeb49361068298ccf8be835c007093 100755 (executable)
@@ -70,7 +70,7 @@ namespace LibTVRefCommonPortable.Utils
         /// <summary>
         /// A method deletes a Recent Shortcut.
         /// </summary>
-        /// <param name="appId">A application ID</param>
+        /// <param name="appId">An application ID</param>
         public static void Delete(string appId)
         {
             IApplicationManagerAPIs applicationManagerPort = DependencyService.Get<IApplicationManagerAPIs>();
index e85d531cba93e56ac4ca274a36a6b97b40d3c188..01cd0f267d62dadd3200294274c7ff6ff7c08276 100755 (executable)
@@ -30,12 +30,12 @@ namespace LibTVRefCommonPortable.Utils
     public class TVHomeImpl : ITVHome
     {
         /// <summary>
-        /// A instance of the TVHomeImpl
+        /// An instance of the TVHomeImpl
         /// </summary>
         private static readonly TVHomeImpl instance = new TVHomeImpl();
 
         /// <summary>
-        /// A instance of the TVHomeImpl
+        /// An instance of the TVHomeImpl
         /// </summary>
         public static ITVHome GetInstance
         {
@@ -55,7 +55,7 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A instance of the AppShortcutController
+        /// An instance of the AppShortcutController
         /// </summary>
         private static readonly AppShortcutController appShortcutController = new AppShortcutController();
         public AppShortcutController AppShortcutControllerInstance
@@ -67,7 +67,7 @@ namespace LibTVRefCommonPortable.Utils
         }
 
         /// <summary>
-        /// A instance of the RecentShortcutController
+        /// An instance of the RecentShortcutController
         /// </summary>
         private static readonly RecentShortcutController recentShortcutController = new RecentShortcutController();
         public RecentShortcutController RecentShortcutControllerInstance
index 98a4cd073db4d6f773bb247ceea2cc838fe5da40..72e833aea182958946314b95e51523f0c874f67f 100755 (executable)
@@ -57,7 +57,7 @@ namespace LibTVRefCommonTizen.Ports
         }
 
         /// <summary>
-        /// Clear all recent applications
+        /// Clears all recent applications
         /// </summary>
         public void DeleteAllRecentApplication()
         {
@@ -67,7 +67,7 @@ namespace LibTVRefCommonTizen.Ports
         /// <summary>
         /// Removes the specified application with the app ID
         /// </summary>
-        /// <param name="appId">A application ID that is removed</param>
+        /// <param name="appId">An alication ID that is removed</param>
         public void DeleteRecentApplication(string appId)
         {
             IEnumerable<RecentApplicationInfo> recentApps = ApplicationManager.GetRecentApplications();
index 3076dc5f6963888c569361e5923b0a2683f2a15f..64eb21389b7a6bb5664398137607e9f24b09fc67 100644 (file)
@@ -122,7 +122,7 @@ namespace LibTVRefCommonTizen.Ports
         }
 
         /// <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 c1c14ba43effcb21dc3865356a10830b375ef59d..b8dc1b1b98ce93fb0a9f17ef12bcd9ccd2eac2c1 100644 (file)
@@ -28,7 +28,7 @@ namespace LibTVRefCommonTizen.Ports
     public class PackageManagerPort : IPackageManager
     {
         /// <summary>
-        /// A interface for platform notification
+        /// An interface for platform notification
         /// </summary>
         private static IPlatformNotification Notification
         {
index 9b791b56335289d28fa7e947fe193d90201060c3..f4907673ebed7db27ab35cc2cc59ec693de2bebd 100644 (file)
@@ -32,7 +32,7 @@ namespace TVApps.TizenTV.Renderer
         /// <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);
@@ -43,7 +43,7 @@ namespace TVApps.TizenTV.Renderer
         /// 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 == NinePatchImage.BorderBottomProperty.PropertyName)
index f8a2f192347cf86c83ed06f3e68506c6b898b3e3..72abdc5e3e6043147f8b3e2d9f58b2e777c471ab 100755 (executable)
@@ -32,7 +32,7 @@ namespace TVApps.TizenTV
         private static Program instance;
 
         /// <summary>
-        /// A interface for the platform notification
+        /// An interface for the platform notification
         /// </summary>
         private IPlatformNotification notification;
 
index 3c8afa50905359e8fcfa1eec29a8743ad7039e36..9738449c69637fe4b4ceff4514a419608477f19a 100755 (executable)
@@ -27,7 +27,7 @@ namespace TVApps.Controls
     using LibTVRefCommonPortable.DataModels;
     using Tizen = Xamarin.Forms.PlatformConfiguration.Tizen;
     /// <summary>
-    /// A enumeration for AppItemCell icon size
+    /// An enumeration for AppItemCell icon size
     /// </summary>
     public enum IconSize
     {
@@ -120,33 +120,56 @@ namespace TVApps.Controls
             set { SetValue(IsItemFocusedProperty, value); }
         }
 
+        /// <summary>
+        /// Identifies the PinCommand bindable property
+        /// </summary>
         public static readonly BindableProperty PinCommandProperty = BindableProperty.Create("PinCommand", typeof(ICommand), typeof(AppItemCell));
 
+        /// <summary>
+        /// A command will be executed if pin item in context popup is clicked
+        /// </summary>
         public ICommand PinCommand
         {
             get { return (ICommand)GetValue(PinCommandProperty); }
             set { SetValue(PinCommandProperty, value); }
         }
 
+        /// <summary>
+        /// Identifies the DeleteCommand bindable property
+        /// </summary>
         public static readonly BindableProperty DeleteCommandProperty = BindableProperty.Create("DeleteCommand", typeof(ICommand), typeof(AppItemCell));
 
+        /// <summary>
+        /// A command will be executed if delete item in context popup is clicked
+        /// </summary>
         public ICommand DeleteCommand
         {
             get { return (ICommand)GetValue(DeleteCommandProperty); }
             set { SetValue(DeleteCommandProperty, value); }
         }
 
+        /// <summary>
+        /// Identifies the ToDefaultCommand bindable property
+        /// </summary>
         public static readonly BindableProperty ToDefaultCommandProperty = BindableProperty.Create("ToDefaultCommand", typeof(ICommand), typeof(AppItemCell));
 
+        /// <summary>
+        /// A command will be executed if context popup is dismissed
+        /// </summary>
         public ICommand ToDefaultCommand
         {
             get { return (ICommand)GetValue(ToDefaultCommandProperty); }
             set { SetValue(ToDefaultCommandProperty, value); }
         }
 
-
+        /// <summary>
+        /// Identifies the AppDescription bindable property
+        /// </summary>
         public static readonly BindableProperty AppDescriptionProperty = BindableProperty.Create("AppDescription", typeof(StateDescription), typeof(AppItemCell));
 
+        /// <summary>
+        /// Gets or sets current StateDescription
+        /// </summary>
         public StateDescription AppDescription
         {
             get { return (StateDescription)GetValue(AppDescriptionProperty); }
@@ -154,24 +177,17 @@ namespace TVApps.Controls
         }
 
         private int height16 = SizeUtils.GetHeightSize(16);
-
         private int height32 = SizeUtils.GetHeightSize(32);
-
         private int height84 = SizeUtils.GetHeightSize(84);
-
         private int height100 = SizeUtils.GetHeightSize(100);
-
-        /// <summary>
-        /// 144 px height size
-        /// </summary>
         private int height144 = SizeUtils.GetHeightSize(144);
-
         private int height271 = SizeUtils.GetHeightSize(271);
-
         private int height284 = SizeUtils.GetHeightSize(284);
-
         private int height300 = SizeUtils.GetHeightSize(300);
 
+        /// <summary>
+        /// A flag indicates whether the context popup is showing or not
+        /// </summary>
         private bool isPopupShowing = false;
 
         /// <summary>
@@ -189,6 +205,9 @@ namespace TVApps.Controls
 
         }
 
+        /// <summary>
+        /// Initializes Layout width and height
+        /// </summary>
         private void InitializeSize()
         {
             int Width240 = SizeUtils.GetWidthSize(240);
@@ -258,12 +277,14 @@ namespace TVApps.Controls
                     length: 167,
                     finished: (a, b) =>
                     {
-                        if (IsChecked) {
+                        if (IsChecked)
+                        {
                             StrokeImage.FadeTo(0.99, 167);
                             DimImage.FadeTo(0.99, 167);
                             StrokeImage.ScaleTo(1.195, 167);
                             DimImage.ScaleTo(1.195, 167);
                         }
+
                         ButtonImage.ScaleTo(1.195, 167);
                         TextArea.TranslateTo(0.0, height300, 167);
                     });
@@ -323,6 +344,9 @@ namespace TVApps.Controls
             }
         }
 
+        /// <summary>
+        /// Initializes and shows context popup
+        /// </summary>
         private void ShowContextPopup()
         {
             if (isPopupShowing)
index 49f7323a7118342124989e3924c58cddecb009cc..df96e6dfd1f1f8cf827ac9bad7dccafd55993af9 100755 (executable)
@@ -215,6 +215,7 @@ namespace TVApps.Controls
                 AppLowerList.IsVisible = false;
                 NoContentsView.IsVisible = true;
             }
+
             if (OnChangeFocusChainingCommand != null)
             {
                 OnChangeFocusChainingCommand.Execute("");
@@ -224,7 +225,7 @@ namespace TVApps.Controls
         /// <summary>
         /// A method scrolls the list with spacing
         /// </summary>
-        /// <param name="index">A index of focused item cell</param>
+        /// <param name="index">An index of focused item cell</param>
         private async void ScrollToIndex(int index)
         {
             if (AppUpperList.Children.Count > index)
index 95368dbfc960ed88cd3f9eddf7792a3dfa0fa603..1f014a081363ab50e387dc5808eb4f3596093949 100755 (executable)
@@ -35,22 +35,22 @@ namespace TVApps
     public class App : Application, IPlatformNotification
     {
         /// <summary>
-        /// A event handler for handling MenuKey event
+        /// An event handler for handling MenuKey event
         /// </summary>
         private static EventHandler<TVAppsEventArgs> MenuKeyListener;
 
         /// <summary>
-        /// A event handler for handling AppInstalled event
+        /// An event handler for handling AppInstalled event
         /// </summary>
         private static EventHandler<TVAppsEventArgs> AppInstalledListener;
 
         /// <summary>
-        /// A event handler for handling AppUninstalled event
+        /// An event handler for handling AppUninstalled event
         /// </summary>
         private static EventHandler<TVAppsEventArgs> AppUninstalledListener;
 
         /// <summary>
-        /// A event handler for handling PinApp request for TV Home
+        /// An event handler for handling PinApp request for TV Home
         /// </summary>
         private static EventHandler<TVAppsEventArgs> PinAppRequestListener;
 
@@ -148,7 +148,7 @@ namespace TVApps
         }
 
         /// <summary>
-        /// A method will be called if a app is installed.
+        /// A method will be called if an app is installed.
         /// </summary>
         /// <param name="pkgID">A package ID of newly installed.</param>
         public void OnAppInstalled(string pkgID)
@@ -161,7 +161,7 @@ namespace TVApps
         }
 
         /// <summary>
-        /// A method will be called if a app is uninstalled.
+        /// A method will be called if an app is uninstalled.
         /// </summary>
         /// <param name="pkgID">A package ID of uninstalled.</param>
         public void OnAppUninstalled(string pkgID)
@@ -183,7 +183,7 @@ namespace TVApps
         }
 
         /// <summary>
-        /// A method will be called if the app gets a app pinned notification App Control request.
+        /// A method will be called if the app gets an app pinned notification App Control request.
         /// </summary>
         /// <param name="appID">A pinned app ID</param>/// <summary>
         public void OnAppPinnedNotificationReceived(string appID)
index b65db7d9a1330ee97b72998dbd10a514ba6374bf..c2c9a203c1ab167f6753dc12ed56f87e99e0fa01 100644 (file)
@@ -29,8 +29,8 @@ namespace TVApps.ViewModels
         /// A method compares two labels of AppShortcutInfo
         /// Sorts AppShortcutInfo by label in ascending
         /// </summary>
-        /// <param name="left">A AppShortcutInfo to be compared with right</param>
-        /// <param name="right">A AppShortcutInfo to be compared with left</param>
+        /// <param name="left">An AppShortcutInfo to be compared with right</param>
+        /// <param name="right">An AppShortcutInfo to be compared with left</param>
         /// <returns>
         /// left precedes right, return lesser than 0.
         /// left follows right, return greater than 0.
@@ -45,8 +45,8 @@ namespace TVApps.ViewModels
         /// A method compares two labels of AppShortcutInfo
         /// Sorts AppShortcutInfo by label in descending
         /// </summary>
-        /// <param name="left">A AppShortcutInfo to be compared with right</param>
-        /// <param name="right">A AppShortcutInfo to be compared with left</param>
+        /// <param name="left">An AppShortcutInfo to be compared with right</param>
+        /// <param name="right">An AppShortcutInfo to be compared with left</param>
         /// <returns>
         /// If left precedes right, return greater than 0.
         /// If left follows right, return lesser than 0.
@@ -61,8 +61,8 @@ namespace TVApps.ViewModels
         /// A method compares two installed dates of AppShortcutInfo
         /// Sorts AppShortcutInfo by installed date in descending
         /// </summary>
-        /// <param name="left">A AppShortcutInfo to be compared with right</param>
-        /// <param name="right">A AppShortcutInfo to be compared with left</param>
+        /// <param name="left">An AppShortcutInfo to be compared with right</param>
+        /// <param name="right">An AppShortcutInfo to be compared with left</param>
         /// <returns>
         /// If left precedes right, return greater than 0.
         /// If left follows right, return lesser than 0.
index 1c06dcec6f502cbf799da503994638f6e35ed363..b2600817a3ffb9272a19d148feef687083e05b6c 100644 (file)
@@ -17,7 +17,7 @@
 namespace TVApps.ViewModels
 {
     /// <summary>
-    /// A interface for TV Apps MainPageViewModel feature
+    /// An interface for TV Apps MainPageViewModel feature
     /// </summary>
     interface IAppsViewModel
     {
index 5c77900972cb663695ff80a1f6912a433a61d114..7efefd9e9bfd7b3faf59deb64434051a0991191b 100755 (executable)
@@ -26,7 +26,7 @@ using System.Runtime.CompilerServices;
 namespace TVApps.ViewModels
 {
     /// <summary>
-    /// A enumeration for status of TV Apps
+    /// An enumeration for status of TV Apps
     /// </summary>
     public enum AppsStatus
     {
@@ -37,7 +37,7 @@ namespace TVApps.ViewModels
     };
 
     /// <summary>
-    /// A enumeration for flag how to sort
+    /// An enumeration for flag how to sort
     /// </summary>
     public enum SortingOptions
     {
@@ -52,7 +52,7 @@ namespace TVApps.ViewModels
     class MainPageViewModel : INotifyPropertyChanged, IAppsViewModel
     {
         /// <summary>
-        /// A instance of AppsHolder for getting application list
+        /// An instance of AppsHolder for getting application list
         /// </summary>
         AppsHolder appsHolder;
 
@@ -232,7 +232,7 @@ namespace TVApps.ViewModels
         public ShortcutInfo FocusedItem { get; set; }
 
         /// <summary>
-        /// A event that is occurred when property of MainPageViewModel is changed
+        /// An event that is occurred when property of MainPageViewModel is changed
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
index feb070f637e88d03bcf5f38f71a2432854716af4..f5c808ee04d50967243ef333df0c0ba65c80e6ad 100755 (executable)
@@ -204,6 +204,7 @@ namespace TVApps.Views
                     pinnedAppCount = SumOfCheckedApp;
                     return;
                 }
+
                 additionalInfo.Opacity = 0;
                 additionalInfo.Children.Add(AppNameLabel);
                 additionalInfo.Children.Add(AfterLabel);
index 3fc0b5e8fe4f75ded2726d090fce8d9102886a8b..22c55f0485d4045d887c6e6868a1a94028224f8e 100644 (file)
@@ -81,8 +81,8 @@ namespace CoreApp
         /// <summary>
         /// A method for handling launched application
         /// </summary>
-        /// <param name="appId">A ID of launched application</param>
-        /// <param name="instanceId">A instance ID of launched application</param>
+        /// <param name="appId">An ID of launched application</param>
+        /// <param name="instanceId">An instance ID of launched application</param>
         private void AddedCallback(string appId, string instanceId)
         {
             EventHandler<Event> handler = AddRemoveEvent;
@@ -115,8 +115,8 @@ namespace CoreApp
         /// <summary>
         /// A method for handling terminated application
         /// </summary>
-        /// <param name="appId">A ID of terminated application</param>
-        /// <param name="instanceId">A instance ID of terminated application</param>
+        /// <param name="appId">An ID of terminated application</param>
+        /// <param name="instanceId">An instance ID of terminated application</param>
         private void RemovedCallback(string appId, string instanceId)
         {
             EventHandler<Event> handler = AddRemoveEvent;
@@ -149,8 +149,8 @@ namespace CoreApp
         /// <summary>
         /// A method for handling application screen is updated
         /// </summary>
-        /// <param name="appId">A ID of application that screen is updated</param>
-        /// <param name="instanceId">A instance ID of application that screen is updated</param>
+        /// <param name="appId">An ID of application that screen is updated</param>
+        /// <param name="instanceId">An instance ID of application that screen is updated</param>
         /// <param name="Filename">A path of application screen shot</param>
         private void UpdatedCallback(string appId, string instanceId, string Filename)
         {
@@ -184,8 +184,8 @@ namespace CoreApp
         /// <summary>
         /// A method for handling screen update is skipped
         /// </summary>
-        /// <param name="appId">A ID of application that screen update is skipped</param>
-        /// <param name="instanceId">A instance ID of application that screen update is skipped</param>
+        /// <param name="appId">An ID of application that screen update is skipped</param>
+        /// <param name="instanceId">An instance ID of application that screen update is skipped</param>
         /// <param name="Filename">A path of application screen shot</param>
         /// <returns>Returns finish code</returns>
         private int SkipUpdateCallback(string appId, string instanceId, string Filename)
@@ -293,7 +293,7 @@ namespace CoreApp
         /// <summary>
         /// A method requests updating application screen shot
         /// </summary>
-        /// <param name="instanceId">A instance ID of application</param>
+        /// <param name="instanceId">An instance ID of application</param>
         public void RequestUpdate(string instanceId)
         {
             try
index 9fe9f5138e02ebbffe4fcbc0d0a00b5ec424a64a..c83c2c752fbf49747368fba621f68b83d7644414 100755 (executable)
@@ -29,7 +29,7 @@ namespace TVHome.TizenTV
     class Program : global::Xamarin.Forms.Platform.Tizen.FormsApplication
     {
         /// <summary>
-        /// A interface for the  platform notification
+        /// An interface for the  platform notification
         /// </summary>
         IPlatformNotification notification;
         /// <summary>
index 6c12bd3785c61f48efa95a354fcf25e1929d0205..895eff63d030e4d8acf1a159c2d1e0af439bec95 100755 (executable)
@@ -66,8 +66,14 @@ namespace TVHome.Controls
         /// </summary>
         public ICommand OnClearAllCommand { get; set; }
 
+        /// <summary>
+        /// A Command changes Panel Button to default mode.
+        /// </summary>
         public ICommand OnDefaultModeCommand { get; set; }
 
+        /// <summary>
+        /// A Command will be executed the option menus are showed.
+        /// </summary>
         public ICommand OnShowOptionsCommand { get; set; }
 
         /// <summary>
index 213a24abd48580f4fbd8a09731c49d43a7a32692..ac5121d261e46e17139130b4dc2913e1c55f8b38 100755 (executable)
@@ -50,27 +50,27 @@ namespace TVHome
         public static readonly string AppStatus = "appstatus";
 
         /// <summary>
-        /// A event handler for handling Home key pressed event
+        /// An event handler for handling Home key pressed event
         /// </summary>
         private static EventHandler<TVHomeEventArgs> HomeKeyListener;
 
         /// <summary>
-        /// A event handler for handling Menu key pressed event
+        /// An event handler for handling Menu key pressed event
         /// </summary>
         private static EventHandler<TVHomeEventArgs> MenuKeyListener;
 
         /// <summary>
-        /// A event handler for handling application installed event
+        /// An event handler for handling application installed event
         /// </summary>
         private static EventHandler<TVHomeEventArgs> AppInstalledListener;
 
         /// <summary>
-        /// A event handler for handling application uninstalled event
+        /// An event handler for handling application uninstalled event
         /// </summary>
         private static EventHandler<TVHomeEventArgs> AppUninstalledListener;
 
         /// <summary>
-        /// A event handler for handling application pinned event
+        /// An event handler for handling application pinned event
         /// </summary>
         private static EventHandler<TVHomeEventArgs> AppPinnedNotificationListener;
 
@@ -206,7 +206,7 @@ namespace TVHome
         /// <summary>
         /// A method for handling application installed event
         /// </summary>
-        /// <param name="pkgID">A installed package ID</param>
+        /// <param name="pkgID">An installed package ID</param>
         public void OnAppInstalled(string pkgID)
         {
             DebuggingUtils.Dbg("[[[ App Installed ]]] " + pkgID);
index 1aee6f4bd814981d7c08e283bbcee49f6387b505..d6d374f6bd6b8f8769b070b17660c1728ad6b03b 100755 (executable)
@@ -17,7 +17,7 @@
 namespace TVHome.ViewModels
 {
     /// <summary>
-    /// A interface for TV Home MainPageViewModel
+    /// An interface for TV Home MainPageViewModel
     /// </summary>
     interface IHomeViewModel
     {
index 493e011df87217c26526a1a160cd94543c43fe5a..3e5b88f33f5db51f6fa1e3b5fdf3d557de2f7436 100755 (executable)
@@ -129,7 +129,7 @@ namespace TVHome.ViewModels
         public bool IsShowNoRecentContents { get; set; }
 
         /// <summary>
-        /// A event that is occurred when property of MainPageViewModel is changed
+        /// An event that is occurred when property of MainPageViewModel is changed
         /// </summary>
         public event PropertyChangedEventHandler PropertyChanged;
 
@@ -500,7 +500,7 @@ namespace TVHome.ViewModels
         /// <summary>
         /// Removes specified recent application and updates the list to Recent SubPanel
         /// </summary>
-        /// <param name="appId">A application ID</param>
+        /// <param name="appId">An application ID</param>
         private void RemoveRecentApplication(string appId)
         {
             TVHomeImpl.GetInstance.RecentShortcutControllerInstance.Remove(appId);
@@ -627,7 +627,7 @@ namespace TVHome.ViewModels
         /// <summary>
         /// A method for unpin application
         /// </summary>
-        /// <param name="appId">A application ID for unpin</param>
+        /// <param name="appId">An application ID for unpin</param>
         private void UnpinAppShortcutInfo(string appId)
         {
             RemovePinnedApp(appId);
@@ -654,7 +654,7 @@ namespace TVHome.ViewModels
         /// <summary>
         /// A method for remove pinned application
         /// </summary>
-        /// <param name="appID">A ID of application for removing from pinned application list</param>
+        /// <param name="appID">An ID of application for removing from pinned application list</param>
         private async void RemovePinnedApp(string appID)
         {
             Dictionary<string, string> PinnedApps = await TVHomeImpl.GetInstance.AppShortcutControllerInstance.GetPinnedAppsAppIDs();
index 5780690c7d008053ebb6a1f6e182e91f0e9ed5bb..8479f6efff0fa191f766e05a07d77d22a70918e8 100755 (executable)
@@ -79,7 +79,7 @@ namespace TVHome.Views
         }
 
         /// <summary>
-        /// Uniconifies the Home screen(Maximize the Home screen)
+        /// Uniconifies the Home screen(Maximizes the Home screen)
         /// </summary>
         private async void Uniconified()
         {
index 1447636b78406264c59fd022525dddad2c2d14d9..6e4ad58bb665563babbff178477f0890e8492f71 100755 (executable)
@@ -52,7 +52,7 @@ namespace TVHome.Views
         }
 
         /// <summary>
-        /// A event handler for handling property changed event
+        /// An event handler for handling property changed event
         /// </summary>
         /// <param name="sender">The source of the event</param>
         /// <param name="e">The event that is occurred when property is changed</param>
@@ -103,7 +103,7 @@ namespace TVHome.Views
         /// <summary>
         /// A method for getting focusable element of Panel Button
         /// </summary>
-        /// <param name="index">A index of panel button to get</param>
+        /// <param name="index">An index of panel button to get</param>
         /// <returns>A Button element of Panel Button</returns>
         public Button GetButtonToFocusing(int index)
         {
@@ -147,18 +147,23 @@ namespace TVHome.Views
         /// <summary>
         /// A method for setting focus to Panel Button
         /// </summary>
-        /// <param name="index">A index of Panel Button to set focus</param>
+        /// <param name="index">An index of Panel Button to set focus</param>
         public void SetButtonFocus(int index)
         {
             var button = PanelButtonGrid.Children[index];
             button.FindByName<Button>("ButtonFocusArea").Focus();
         }
 
-
+        /// <summary>
+        /// A method for handling when menu key is pressed
+        /// </summary>
         public override void MenuKeyPressed()
         {
         }
 
+        /// <summary>
+        ///  A method for handling to hide panel without animation
+        /// </summary>
         public override void ForceHidePanel()
         {
         }
index a5cbb61a07f563c0e594d7bbc2d4fe97655e16fc..bb2e57cd8029d34a265ad952b5ced8543592c85a 100755 (executable)
@@ -119,7 +119,7 @@ namespace TVHome.Views
         /// <summary>
         /// A Event Handler invoker method.
         /// </summary>
-        /// <param name="e">A event argument. But this is always EventArgs.Empty</param>
+        /// <param name="e">An event argument. But this is always EventArgs.Empty</param>
         protected virtual void OnItemSourceChanged(EventArgs e)
         {
             EventHandler handler = ItemSourceChanged;
@@ -144,11 +144,15 @@ namespace TVHome.Views
         /// A flag indicates whether the panel is focused or not
         /// </summary>
         public bool isFocused;
+
         /// <summary>
         /// A flag indicates whether the panel is move mode or not
         /// </summary>
         public bool isMoveMode;
 
+        /// <summary>
+        /// A flag indicates wheter the ContextPopup Menu is shown or not
+        /// </summary>
         public bool isShowOptions;
 
         /// <summary>
index 145d4f46be0b7698152b086126579cdce90ff557..80e51899a1a0586959a47a5316ee0f9ed23af8e4 100755 (executable)
@@ -51,6 +51,10 @@ namespace TVHome.Views
         /// </summary>
         private int selectTransitionHeight = SizeUtils.GetHeightSize(146);
 
+        /// <summary>
+        /// A method for getting Panel Buttons
+        /// </summary>
+        /// <returns>A list of panel button views</returns>
         public IList<View> GetSubPanelButtons()
         {
             return PanelButtonStack.Children;
@@ -71,7 +75,9 @@ namespace TVHome.Views
             PropertyChanged += OnItemsSourcePropertyChanged;
         }
 
-
+        /// <summary>
+        /// A method for handling when menu key is pressed
+        /// </summary>
         public override void MenuKeyPressed()
         {
             isShowOptions = true;
@@ -93,8 +99,9 @@ namespace TVHome.Views
                 }
             }
         }
+
         /// <summary>
-        /// A event handler for handling property changed event
+        /// An event handler for handling property changed event
         /// </summary>
         /// <param name="sender">A source of event</param>
         /// <param name="e">The event that is occurred when property is changed</param>
@@ -372,7 +379,7 @@ namespace TVHome.Views
         /// <summary>
         /// A method for moving the selected item to right
         /// </summary>
-        /// <param name="index">A index of item to be moved</param>
+        /// <param name="index">An index of item to be moved</param>
         /// <param name="button">TODO : Comment this</param>
         private void MoveItemToRight(int index, PanelButton button)
         {
@@ -419,7 +426,7 @@ namespace TVHome.Views
         /// <summary>
         /// A method for moving the selected item to left
         /// </summary>
-        /// <param name="index">A index of item to be moved</param>
+        /// <param name="index">An index of item to be moved</param>
         /// <param name="button">TODO : Comment this</param>
         private void MoveItemToLeft(int index, PanelButton button)
         {
index fc1facc99380d72c9352e2e38d02b1602b6dd163..3e293a39724c103338e311200334fb387a44029a 100755 (executable)
@@ -72,7 +72,7 @@ namespace TVHome.Views
         }
 
         /// <summary>
-        ///
+        /// A method for handling when menu key is pressed
         /// </summary>
         public override void MenuKeyPressed()
         {
@@ -89,7 +89,7 @@ namespace TVHome.Views
         }
 
         /// <summary>
-        /// A event handler for handling property changed event
+        /// An event handler for handling property changed event
         /// </summary>
         /// <param name="sender">A source of event</param>
         /// <param name="e">The event that is occurred when property is changed</param>