Revert "[Tizen] widget-view, animated-gif test codes are added" 08/140408/1
authordongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 01:42:45 +0000 (10:42 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 01:42:49 +0000 (10:42 +0900)
This reverts commit fcc34e78a79aee9ac9d2a9d8addc8bb152b5e2e1.

Change-Id: I88e8310429113a14223cd93966e02d7630e94214

34 files changed:
NUISamples/NUISamples.sln
NUISamples/NUISamples/NUISamples.TizenTV/NUISamples.TizenTV.csproj
NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/as-is-test-sample.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker-using-json/date-picker-using-json.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/flex-container.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-test.cs [changed mode: 0755->0644]
NUISamples/NUISamples/NUISamples.TizenTV/examples/hello-world.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/relative-vector.cs [changed mode: 0755->0644]
NUISamples/NUISamples/NUISamples.TizenTV/examples/scroll-view.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/ttsplayer-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/user-alphafunction.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/view-navi-property.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-animation-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/visual-view-test2.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/widget-view-test.cs [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/0.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/1.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/10.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/11.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/12.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/13.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/14.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/2.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/3.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/4.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/5.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/6.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/7.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/8.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/9.gif [deleted file]
NUISamples/NUISamples/NUISamples.TizenTV/tizen-manifest.xml

index af1ae68..af8ea84 100755 (executable)
@@ -1,9 +1,16 @@
 \r
 Microsoft Visual Studio Solution File, Format Version 12.00\r
-# Visual Studio 15\r
-VisualStudioVersion = 15.0.26430.14\r
+# Visual Studio 14\r
+VisualStudioVersion = 14.0.25420.1\r
 MinimumVisualStudioVersion = 10.0.40219.1\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples-dummy", "NUISamples\NUISamples\NUISamples-dummy.csproj", "{56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}"\r
+EndProject\r
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples.TizenTV", "NUISamples\NUISamples.TizenTV\NUISamples.TizenTV.csproj", "{7731BE98-0A68-49A9-877C-A30A0D30D9F6}"\r
+       ProjectSection(ProjectDependencies) = postProject\r
+               {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA} = {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}\r
+       EndProjectSection\r
+EndProject\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tizen.NUI", "..\Tizen.NUI\Tizen.NUI.csproj", "{F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}"\r
 EndProject\r
 Global\r
        GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
@@ -11,10 +18,18 @@ Global
                Release|Any CPU = Release|Any CPU\r
        EndGlobalSection\r
        GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {56CA3B27-C662-4AC8-93CA-7ACEF926B2AA}.Release|Any CPU.Build.0 = Release|Any CPU\r
                {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
                {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
                {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
                {7731BE98-0A68-49A9-877C-A30A0D30D9F6}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {F03A3B48-9D9B-4BF3-92CE-BD63CADC3CD3}.Release|Any CPU.Build.0 = Release|Any CPU\r
        EndGlobalSection\r
        GlobalSection(SolutionProperties) = preSolution\r
                HideSolutionNode = FALSE\r
index ade8854..2442cfc 100755 (executable)
@@ -71,7 +71,6 @@
     <Compile Include="examples\relative-vector.cs" />\r
     <Compile Include="examples\scroll-view.cs" />\r
     <Compile Include="examples\sibling-order-test.cs" />\r
-    <Compile Include="examples\widget-view-test.cs" />\r
     <Compile Include="examples\test1.cs" />\r
     <Compile Include="examples\text-test.cs" />\r
     <Compile Include="examples\ttsplayer-test.cs" />\r
@@ -84,7 +83,6 @@
     <Compile Include="examples\visual-view-test2.cs" />\r
     <Compile Include="examples\visual-view-test.cs" />\r
     <Compile Include="examples\visual-view-test3.cs" />\r
-    <Compile Include="examples\visuals-example.cs" />\r
     <Compile Include="examples\visuals-using-custom-view\ContactData.cs" />\r
     <Compile Include="examples\visuals-using-custom-view\ContactView.cs" />\r
     <Compile Include="examples\visuals-using-custom-view\visuals-using-custom-view.cs" />\r
     <Folder Include="lib\" />\r
   </ItemGroup>\r
   <ItemGroup>\r
-    <Content Include="res\images\anim-gif\0.gif" />\r
-    <Content Include="res\images\anim-gif\1.gif" />\r
-    <Content Include="res\images\anim-gif\10.gif" />\r
-    <Content Include="res\images\anim-gif\11.gif" />\r
-    <Content Include="res\images\anim-gif\12.gif" />\r
-    <Content Include="res\images\anim-gif\13.gif" />\r
-    <Content Include="res\images\anim-gif\14.gif" />\r
-    <Content Include="res\images\anim-gif\2.gif" />\r
-    <Content Include="res\images\anim-gif\3.gif" />\r
-    <Content Include="res\images\anim-gif\4.gif" />\r
-    <Content Include="res\images\anim-gif\5.gif" />\r
-    <Content Include="res\images\anim-gif\6.gif" />\r
-    <Content Include="res\images\anim-gif\7.gif" />\r
-    <Content Include="res\images\anim-gif\8.gif" />\r
-    <Content Include="res\images\anim-gif\9.gif" />\r
+    <ProjectReference Include="..\..\..\Tizen.NUI\Tizen.NUI.csproj">\r
+      <Project>{f03a3b48-9d9b-4bf3-92ce-bd63cadc3cd3}</Project>\r
+      <Name>Tizen.NUI</Name>\r
+    </ProjectReference>\r
+    <ProjectReference Include="..\NUISamples\NUISamples-dummy.csproj">\r
+      <Project>{56ca3b27-c662-4ac8-93ca-7acef926b2aa}</Project>\r
+      <Name>NUISamples-dummy</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
     <Content Include="res\images\application-icon-0.png" />\r
     <Content Include="res\images\background-blocks.jpg" />\r
     <Content Include="res\images\dali-logo-anim.gif" />\r
     <Content Include="res\images\image-3.jpg" />\r
     <Content Include="res\images\Kid1.svg" />\r
     <Content Include="res\images\Mail.svg" />\r
-    <Content Include="res\images\mask.png" />\r
     <Content Include="res\images\menu\0.png" />\r
     <Content Include="res\images\menu\1.png" />\r
     <Content Include="res\images\menu\2.png" />\r
     <Content Include="res\images\focuseffect\white-pixel.png" />\r
     <Content Include="res\images\World.svg" />\r
   </ItemGroup>\r
-  <ItemGroup>\r
-    <Reference Include="Tizen.NUI">\r
-      <HintPath>..\..\..\..\..\..\..\..\..\GBS-BUILD\unified-arm\local\repos\unified.arm\armv7l\RPMS\Tizen.NUI.dll</HintPath>\r
-    </Reference>\r
-  </ItemGroup>\r
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it.\r
                Other similar extension points exist, see Microsoft.Common.targets.\r
   <ProjectExtensions>\r
     <VisualStudio>\r
       <FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Debug|Any CPU">\r
-        <ProjectCommonFlavorCfg />\r
+        <ProjectCorporateFlavorCfg />\r
       </FlavorProperties>\r
       <FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Release|Any CPU">\r
-        <ProjectCommonFlavorCfg />\r
+        <ProjectCorporateFlavorCfg />\r
       </FlavorProperties>\r
     </VisualStudio>\r
   </ProjectExtensions>\r
-</Project>
\ No newline at end of file
+</Project>\r
index 0b75aff..17ca5fb 100755 (executable)
@@ -39,8 +39,7 @@ namespace NUISamples.TizenTV.examples
             //new VisualsUsingCustomView.VisualsExample().Run(args);
             //new FirstScreen.FirstScreenApp().Run(args);
             //new VisualsExampleTest.Example().Run(args);
-            //new AsIsTest.Example().Run(args);
-            new WidgetViewTest.Example().Run(args);
+            new AsIsTest.Example().Run(args);
         }
     }
 }
index da94300..f9ea851 100755 (executable)
@@ -49,7 +49,7 @@ namespace AsIsTest
 
         private void ObjectDumpTrigger()
         {
-            for (int i = 0; i < Window.LayerCount; i++)
+            for (int i = 0; i < Window.GetLayerCount(); i++)
             {
                 BFS(Window.GetLayer((uint)i), 1);
             }
@@ -84,7 +84,7 @@ namespace AsIsTest
                     Tizen.Log.Fatal("NUI-APP", string.Format("it is not TextLaebl"));
                 }
 
-                for (int i = 0; i < myView.ChildCount; i++)
+                for (int i = 0; i < myView.GetChildCount(); i++)
                 {
                     BFS(myView.GetChildAt((uint)i), depth + 1);
                 }
@@ -148,12 +148,12 @@ namespace AsIsTest
             layer.Add(vi2);
             layer.Add(tb3);
 
-            Window.Instance.AddLayer(layer);
+            Window.Instance.Add(layer);
         }
 
         void ObjectDumpTrigger2()
         {
-            uint layerCnt = Window.LayerCount;
+            uint layerCnt = Window.GetLayerCount();
             Tizen.Log.Fatal("NUI-APP", "layerCnt=" + layerCnt);
 
             for (uint i = 0; i < layerCnt; i++)
@@ -196,7 +196,7 @@ namespace AsIsTest
         {
             if (view)
             {
-                uint childCnt = view.ChildCount;
+                uint childCnt = view.GetChildCount();
                 if (childCnt > 0)
                 {
                     depth = depth + 1;
index 5344d55..a797434 100755 (executable)
@@ -29,7 +29,7 @@ namespace DatePickerUsingJson
         private Spin _spinYear;  // spin control for year
         private Spin _spinMonth; // spin control for month
         private Spin _spinDay;   // spin control for day
-        //private Builder _builder; // DALi Builder
+        private Builder _builder; // DALi Builder
 
         //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
         private const string _resPath = "./res";  //for ubuntu
@@ -51,7 +51,7 @@ namespace DatePickerUsingJson
 
             //This is required for the Application which uses JSON theme and style of Dali builder
             ViewRegistryHelper.Initialize();
-            /*
+
             // load date JSON template...
             _builder = new Builder ();
 
@@ -89,10 +89,9 @@ namespace DatePickerUsingJson
 
             FocusManager keyboardFocusManager = FocusManager.Instance;
             keyboardFocusManager.PreFocusChange += OnKeyboardPreFocusChange;
-            //keyboardFocusManager.FocusedViewActivated += OnFocusedViewActivated;
+            keyboardFocusManager.FocusedViewActivated += OnFocusedViewActivated;
 
             StyleManager.Get().ApplyTheme(_resPath + "/json/date-picker-theme.json");
-            */
         }
 
         private View OnKeyboardPreFocusChange(object source, FocusManager.PreFocusChangeEventArgs e)
@@ -131,7 +130,7 @@ namespace DatePickerUsingJson
 
             return nextFocusView;
         }
-        /*
+
         private void OnFocusedViewActivated(object source, FocusManager.FocusedViewActivatedEventArgs e)
         {
             // Make the text field in the current focused spin to take the key input
@@ -159,7 +158,7 @@ namespace DatePickerUsingJson
                 }
             }
         }
-        */
+
 
         /// <summary>
         /// The main entry point for the application.
index f753255..2a6274b 100755 (executable)
@@ -79,7 +79,7 @@ namespace FlexContainerTest
             };
 
             //added
-            Window.Instance.TouchEvent += (sender, e) =>
+            Window.Instance.Touched += (sender, e) =>
             {
                 Tizen.Log.Debug("NUI", "Window Touch signal callback! To avoid crash, when losing key focus, set here again unless the NextView is null");
                 FocusManager.Instance.SetCurrentFocusView(label[3]);
index 04c9b29..fb1f994 100755 (executable)
@@ -239,18 +239,19 @@ namespace TizenVDUIApplication19
             //This function is called when the app exit normally.
             base.OnTerminate();
         }
-        /*
+
         protected override void OnLowMemory(LowMemoryEventArgs e)
         {
             //This function is called when the system is low on memory.
             base.OnLowMemory(e);
         }
+
         protected override void OnLocaleChanged(LocaleChangedEventArgs e)
         {
             //This function is called when the language is changed.
             base.OnLocaleChanged(e);
         }
-        */
+
         private static void _Main(string[] args)
         {
             //Create an Application
old mode 100755 (executable)
new mode 100644 (file)
index e67995f..4145383
@@ -59,7 +59,7 @@ namespace HelloTest
         {
             // Connect the signal callback for window touched signal
             _window = Window.Instance;
-            _window.TouchEvent += OnWindowTouched;
+            _window.Touched += OnWindowTouched;
 
             // Add a _text label to the window
             _text = new TextLabel("Hello Mono World");
@@ -82,7 +82,7 @@ namespace HelloTest
         }
 
         // Callback for window touched signal handling
-        private void OnWindowTouched(object sender, Window.TouchEventArgs e)
+        private void OnWindowTouched(object sender, Window.TouchedEventArgs e)
         {
             // Only animate the _text label when touch down happens
             if (e.Touch.GetState(0) == PointStateType.Down)
index 58fbbe5..b4dd9e2 100755 (executable)
@@ -53,12 +53,12 @@ namespace HelloWorldTest
         {
             Window window = Window.Instance;
             window.BackgroundColor = Color.White;
-            window.TouchEvent += OnWindowTouched;
-            window.KeyEvent += OnWindowKeyEvent;
+            window.Touched += OnWindowTouched;
+            window.KeyPressed += OnWindowKeyEvent;
             window.Resized += (obj, e) =>
             {
-                Tizen.Log.Debug("NUI", "Height: " + e.WindowSize.GetHeight());
-                Tizen.Log.Debug("NUI", "Width: " + e.WindowSize.GetWidth());
+                Tizen.Log.Debug("NUI", "Height: " + e.Height);
+                Tizen.Log.Debug("NUI", "Width: " + e.Width);
             };
 
             TextLabel pixelLabel = new TextLabel("Test Pixel Size 32.0f");
@@ -151,7 +151,7 @@ namespace HelloWorldTest
             }
         }
 
-        public void OnWindowTouched(object sender, Window.TouchEventArgs e)
+        public void OnWindowTouched(object sender, Window.TouchedEventArgs e)
         {
             if (e.Touch.GetState(0) == PointStateType.Down)
             {
index 97f974f..e119d29 100755 (executable)
@@ -63,16 +63,16 @@ namespace ImageViewTest
             Log("Customized Application Initialize event handler");
             window = Window.Instance;
             window.BackgroundColor = Color.Cyan;
-            window.TouchEvent += OnWindowTouched;
-            window.WheelEvent += OnWindowWheelMoved;
-            window.KeyEvent += OnWindowKeyPressed;
+            window.Touched += OnWindowTouched;
+            window.WheelRolled += OnWindowWheelMoved;
+            window.KeyPressed += OnWindowKeyPressed;
             //window.EventProcessingFinished += OnWindowEventProcessingFinished;
 
             layer = window.GetDefaultLayer();
             _layer1 = new Layer();
             _layer2 = new Layer();
-            window.AddLayer(_layer1);
-            window.AddLayer(_layer2);
+            window.Add(_layer1);
+            window.Add(_layer2);
             Log("_layer1.Behavior =" + _layer1.Behavior);
             if (_layer1.Behavior == Layer.LayerBehavior.LayerUI)
             {
@@ -236,7 +236,7 @@ namespace ImageViewTest
             Log("state=" + e.Key.State);
         }
 
-        public void OnWindowWheelMoved(object sender, Window.WheelEventArgs e)
+        public void OnWindowWheelMoved(object sender, Window.WheelRolledEventArgs e)
         {
             Log("OnWindowWheelEventOccured()!");
             Log("direction=" + e.Wheel.Direction);
@@ -244,7 +244,7 @@ namespace ImageViewTest
         }
 
         // Callback for window touched signal handling
-        public void OnWindowTouched(object sender, Window.TouchEventArgs e)
+        public void OnWindowTouched(object sender, Window.TouchedEventArgs e)
         {
             Log("OnWindowTouched()! e.TouchData.GetState(0)=" + e.Touch.GetState(0));
         }
old mode 100755 (executable)
new mode 100644 (file)
index eb27855..eaa8b7a
@@ -58,7 +58,7 @@ namespace RelativeVectorTest
         private void Initialize()
         {
             _window = Window.Instance;
-            _window.TouchEvent += OnWindowTouched;
+            _window.Touched += OnWindowTouched;
 
             _imageView = new ImageView();
             _imageView.ResourceUrl = resources+"/images/gallery-3.jpg";
@@ -70,7 +70,7 @@ namespace RelativeVectorTest
         }
 
         // Callback for window touched signal handling
-        private void OnWindowTouched(object sender, Window.TouchEventArgs e)
+        private void OnWindowTouched(object sender, Window.TouchedEventArgs e)
         {
             // Only animate the _text label when touch down happens
             if (e.Touch.GetState(0) == PointStateType.Down)
index 15eab91..4f4c45d 100755 (executable)
@@ -137,7 +137,7 @@ namespace ScrollViewTest
       // Connect to the OnRelayout signal
       _scrollView.Relayout += OnScrollViewRelayout;
       //_scrollView.Touched += OnTouch;
-      _scrollView.WheelEvent += Onwheel;
+      _scrollView.WheelRolled += Onwheel;
       _scrollView.FocusGained += OnKey;
       _text = new TextLabel("View Touch Event Handler Test");
       _text.ParentOrigin = ParentOrigin.Center;
@@ -158,13 +158,13 @@ namespace ScrollViewTest
       Tizen.Log.Debug("NUI", "View Keyevent EVENT callback....");
     }
 
-    private bool Onwheel(object source, View.WheelEventArgs e)
+    private bool Onwheel(object source, View.WheelRolledEventArgs e)
     {
       Tizen.Log.Debug("NUI", "View Wheel EVENT callback....");
       return true;
     }
 
-    private bool OnTouch(object source, View.TouchEventArgs e)
+    private bool OnTouch(object source, View.TouchedEventArgs e)
     {
       Tizen.Log.Debug("NUI", "View TOUCH EVENT callback....");
 
index e0807ce..ba4f0ef 100755 (executable)
@@ -50,12 +50,12 @@ namespace TTSPlayerTest
 
             ttsPlayer.StateChanged += (s, e) =>
             {
-                Tizen.Log.Debug("NUI", "TTS state changed!!!");
+                Tizen.Log.Debug("TTS state changed!!!");
             };
             ttsPlayer.Pause();
             ttsPlayer.Resume();
             ttsPlayer.Stop();
-            Tizen.Log.Debug("NUI", "TTS state: " + ttsPlayer.GetState());
+            Tizen.Log.Debug("TTS state: " + ttsPlayer.GetState());
         }
 
         [STAThread]
index f805af0..54f6891 100755 (executable)
@@ -64,10 +64,10 @@ namespace UserAlphaFunctionTest
             Log("Initialize() is called!");
             Window window = Window.Instance;
             window.BackgroundColor = Color.White;
-            window.TouchEvent += OnWindowTouched;
-            window.TouchEvent += OnWindowTouched2;
+            window.Touched += OnWindowTouched;
+            window.Touched += OnWindowTouched2;
             //window.EventProcessingFinished += OnEventProcessingFinished;
-            window.WheelEvent += OnWindowWheelEvent;
+            window.WheelRolled += OnWindowWheelEvent;
 
             // Add a _text label to the window
             _text = new TextLabel("Hello Mono World");
@@ -150,7 +150,7 @@ namespace UserAlphaFunctionTest
         }
 
         // Callback for window touched signal handling
-        public void OnWindowTouched(object source, Window.TouchEventArgs e)
+        public void OnWindowTouched(object source, Window.TouchedEventArgs e)
         {
             // Only animate the _text label when touch down happens
             if (e.Touch.GetState(0) == PointStateType.Down)
@@ -166,7 +166,7 @@ namespace UserAlphaFunctionTest
         }
 
         // Callback for window touched signal handling
-        public void OnWindowTouched2(object source, Window.TouchEventArgs e)
+        public void OnWindowTouched2(object source, Window.TouchedEventArgs e)
         {
             Log("OnWindowTouched2() is called!state=" + e.Touch.GetState(0));
         }
@@ -176,7 +176,7 @@ namespace UserAlphaFunctionTest
             Log("OnEventProcessingFinished() is called!");
         }
 
-        public void OnWindowWheelEvent(object source, Window.WheelEventArgs e)
+        public void OnWindowWheelEvent(object source, Window.WheelRolledEventArgs e)
         {
             Log("OnWindowWheelEvent() is called!");
             //Log("OnWindowWheelEvent() is called!direction="+ e.WheelEvent.direction + " timeStamp=" + e.WheelEvent.timeStamp );
index ce68ed0..71f324d 100755 (executable)
@@ -49,7 +49,7 @@ namespace MyCSharpExample
                 Window.Instance.Add(view[i]);
                 view[i].FocusGained += FocusNavigationSample_FocusGained;
                 view[i].FocusLost += FocusNavigationSample_FocusLost;
-                view[i].KeyEvent += FocusNavigationSample_KeyEvent;
+                view[i].Key += FocusNavigationSample_KeyEvent;
             }
 
             view[0].RightFocusableView = view[1];
@@ -60,10 +60,10 @@ namespace MyCSharpExample
             FocusManager.Instance.SetCurrentFocusView(view[0]);
             FocusManager.Instance.PreFocusChange += Instance_PreFocusChange;
 
-            Window.Instance.TouchEvent += Instance_Touch;
+            Window.Instance.Touched += Instance_Touch;
         }
 
-        private void Instance_Touch(object sender, Window.TouchEventArgs e)
+        private void Instance_Touch(object sender, Window.TouchedEventArgs e)
         {
             Tizen.Log.Debug("NUI", "window touched! set key focus as view[0]!");
             FocusManager.Instance.SetCurrentFocusView(view[0]);
index 39ea8f4..d175a11 100755 (executable)
@@ -30,8 +30,8 @@ namespace VisaulAnimationExample
         private TextLabel _title;
         private PushButton _shadowButton;
         private bool _active = false;
-        private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";  //for tizen
-        //private const string _resPath = "./res";  //for ubuntu
+        //private const string _resPath = "/home/owner/apps_rw/NUISamples.TizenTV/res";
+        private const string _resPath = "./res";  //for ubuntu
 
         private Animation _animation1;
         private bool _transitionInProgress = false;
@@ -41,6 +41,18 @@ namespace VisaulAnimationExample
         private AnimatedImageVisual gifVisual;
         private ImageVisual _icon;
 
+        public Example() : base()
+        {
+        }
+
+        public Example(string stylesheet) : base(stylesheet)
+        {
+        }
+
+        public Example(string stylesheet, WindowMode windowMode) : base(stylesheet, windowMode)
+        {
+        }
+
         protected override void OnCreate()
         {
             base.OnCreate();
@@ -201,9 +213,14 @@ namespace VisaulAnimationExample
             {
                 Tizen.Log.Debug("NUI", "gif button clicked!");
                 cnt2++;
-                int gifNum = cnt2 % 15;
-                gifVisual.URL = _resPath + "/images/anim-gif/" + gifNum + ".gif";
-                gifButton.LabelText = "file:" + gifNum + ".gif";
+                if (cnt2 % 2 == 0)
+                {
+                    gifVisual.URL = _resPath + "/images/dali-logo-anim.gif";
+                }
+                else
+                {
+                    gifVisual.URL = _resPath + "/images/echo.gif";
+                }
                 return true;
             };
             contentLayout.AddChild(gifButton, new TableView.CellPosition(2, 1));
index 659e9ba..cad1003 100755 (executable)
@@ -43,7 +43,7 @@ namespace VisualViewTest2
                 Window.Instance.Add(view[i]);
                 view[i].FocusGained += VisualSample_FocusGained;
                 view[i].FocusLost += VisualSample_FocusLost;
-                view[i].KeyEvent += VisualSample_KeyEvent;
+                view[i].Key += VisualSample_KeyEvent;
             }
 
             view[0].RightFocusableView = view[1];
@@ -137,9 +137,9 @@ namespace VisualViewTest2
                 "Enter - Change BG image\n";
             Window.Instance.Add(guide);
 
-            Window.Instance.KeyEvent += Instance_Key;
+            Window.Instance.KeyPressed += Instance_Key;
             FocusManager.Instance.SetCurrentFocusView(view[0]);
-            Window.Instance.TouchEvent += Instance_Touch;
+            Window.Instance.Touched += Instance_Touch;
             _window = Window.Instance;
             _window.FocusChanged += _window_WindowFocusChanged;
 
@@ -150,7 +150,7 @@ namespace VisualViewTest2
             Tizen.Log.Fatal("NUI", "window focus changed!() focus gained=" + e.FocusGained);
         }
 
-        private void Instance_Touch(object sender, Window.TouchEventArgs e)
+        private void Instance_Touch(object sender, Window.TouchedEventArgs e)
         {
             FocusManager.Instance.SetCurrentFocusView(view[0]);
         }
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/examples/widget-view-test.cs b/NUISamples/NUISamples/NUISamples.TizenTV/examples/widget-view-test.cs
deleted file mode 100755 (executable)
index 9a2fbfa..0000000
+++ /dev/null
@@ -1,105 +0,0 @@
-using System;\r
-using Tizen.NUI;\r
-using Tizen.NUI.UIComponents;\r
-using Tizen.NUI.BaseComponents;\r
-\r
-namespace WidgetViewTest\r
-{\r
-    class Example : NUIApplication\r
-    {\r
-        private PushButton _widgetButton;\r
-        private PushButton _deletedButton;\r
-        private WidgetView _widgetView;\r
-        private WidgetViewManager _widgetViewManager;\r
-        private View _container;\r
-        private string _instanceID;\r
-\r
-        protected override void OnCreate()\r
-        {\r
-            base.OnCreate();\r
-            Initialize();\r
-        }\r
-\r
-        protected override void OnTerminate()\r
-        {\r
-            //This function is called when the app exit normally.\r
-            base.OnTerminate();\r
-        }\r
-\r
-        public void Initialize()\r
-        {\r
-            Window window = Window.Instance;\r
-            window.BackgroundColor = Color.White;\r
-\r
-            Tizen.Log.Debug("NUI", "### DP1");\r
-            Layer layer = new Layer();\r
-            layer.Behavior = Layer.LayerBehavior.Layer3D;\r
-            window.AddLayer(layer);\r
-            Tizen.Log.Debug("NUI", "### DP2");\r
-            _container = new View();\r
-            _container.ParentOrigin = ParentOrigin.Center;\r
-            _container.PivotPoint = PivotPoint.Center;\r
-            _container.Size2D = new Size2D(400, 400);\r
-            Tizen.Log.Debug("NUI", "### DP3");\r
-            _widgetButton = new PushButton();\r
-            _widgetButton.LabelText = "Widget";\r
-            _widgetButton.ParentOrigin = ParentOrigin.BottomLeft;\r
-            _widgetButton.PivotPoint = PivotPoint.BottomLeft;\r
-            _widgetButton.PositionUsesAnchorPoint = true;\r
-            _widgetButton.Size2D = new Size2D(200, 100);\r
-            window.Add(_widgetButton);\r
-            _widgetButton.Clicked += (obj, e) =>\r
-            {\r
-                _widgetView = _widgetViewManager.AddWidget("widget-efl.example", "", 450, 700, -1);\r
-                //_widgetView.PositionUsesPivotPoint = true;\r
-                //_widgetView.ParentOrigin = ParentOrigin.Center;\r
-                _widgetView.PivotPoint = PivotPoint.TopLeft;\r
-                _widgetView.PositionUsesAnchorPoint = true;\r
-                _widgetView.BackgroundColor = Color.Yellow;\r
-                _widgetView.WidgetAdded += (sender, eargs) =>\r
-                {\r
-                    _widgetButton.LabelText = "Quit";\r
-                    window.Add(_widgetView);\r
-                };\r
-                _widgetView.WidgetDeleted += (sender, eargs) =>\r
-                {\r
-                    window.Remove(_widgetView);\r
-                    _widgetButton.LabelText = "Button";\r
-                };\r
-                _instanceID = _widgetView.InstanceID;\r
-                return false;\r
-            };\r
-\r
-            _deletedButton = new PushButton();\r
-            _deletedButton.LabelText = "Buton";\r
-            _deletedButton.ParentOrigin = ParentOrigin.BottomRight;\r
-            _deletedButton.PivotPoint = PivotPoint.BottomRight;\r
-            _deletedButton.PositionUsesAnchorPoint = true;\r
-            _deletedButton.Size2D = new Size2D(200, 100);\r
-            window.Add(_deletedButton);\r
-            _deletedButton.Clicked += (obj, e) =>\r
-            {\r
-                OnTerminate();\r
-                return true;\r
-            };\r
-\r
-            layer.Add(_container);\r
-            Tizen.Log.Debug("NUI", "### widget view manager create start");\r
-            _widgetViewManager = new WidgetViewManager(this, "org.tizen.example.NUISamples.TizenTV");\r
-            if (!_widgetViewManager)\r
-            {\r
-                Tizen.Log.Fatal("NUI", "### Widget is not enabled!");\r
-            }\r
-\r
-            Tizen.Log.Debug("NUI", "### widget view manager create sucess");\r
-        }\r
-\r
-        [STAThread]\r
-        static void _Main(string[] args)\r
-        {\r
-            Example example = new Example();\r
-            example.Run(args);\r
-        }\r
-    }\r
-}\r
-\r
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/0.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/0.gif
deleted file mode 100755 (executable)
index 9a085ba..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/0.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/1.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/1.gif
deleted file mode 100755 (executable)
index c4cc65a..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/1.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/10.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/10.gif
deleted file mode 100755 (executable)
index cc6d7a9..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/10.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/11.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/11.gif
deleted file mode 100755 (executable)
index 354459a..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/11.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/12.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/12.gif
deleted file mode 100755 (executable)
index a43380d..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/12.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/13.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/13.gif
deleted file mode 100755 (executable)
index 0f649dd..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/13.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/14.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/14.gif
deleted file mode 100755 (executable)
index 23e8199..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/14.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/2.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/2.gif
deleted file mode 100755 (executable)
index c33ba6c..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/2.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/3.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/3.gif
deleted file mode 100755 (executable)
index 5371a3e..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/3.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/4.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/4.gif
deleted file mode 100755 (executable)
index ab60928..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/4.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/5.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/5.gif
deleted file mode 100755 (executable)
index 68ec2f4..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/5.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/6.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/6.gif
deleted file mode 100755 (executable)
index 288f933..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/6.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/7.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/7.gif
deleted file mode 100755 (executable)
index 93ca68b..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/7.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/8.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/8.gif
deleted file mode 100755 (executable)
index decc493..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/8.gif and /dev/null differ
diff --git a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/9.gif b/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/9.gif
deleted file mode 100755 (executable)
index c97884b..0000000
Binary files a/NUISamples/NUISamples/NUISamples.TizenTV/res/images/anim-gif/9.gif and /dev/null differ
index a43ce60..a386df6 100755 (executable)
@@ -1,13 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>\r
-<manifest package="NUISamples.TizenTV" version="1.0.0" api-version="3.0" xmlns="http://tizen.org/ns/packages">\r
-  <profile name="common" />\r
-  <ui-application appid="org.tizen.example.NUISamples.TizenTV" exec="NUISamples.TizenTV.exe" multiple="false" nodisplay="false" taskmanage="true" splash-screen-display="true" type="dotnet" launch_mode="single">\r
-    <label>NUISamples.TizenTV</label>\r
-    <icon>NUISamples.TizenTV.png</icon>\r
-  </ui-application>\r
-  <shortcut-list />\r
-  <privileges>\r
-    <privilege>http://tizen.org/privilege/appmanager.launch</privilege>\r
-    <privilege>http://tizen.org/privilege/widget.viewer</privilege>\r
-  </privileges>\r
+<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="NUISamples.TizenTV" version="1.0.0">\r
+       <profile name="common" />\r
+       <ui-application appid="org.tizen.example.NUISamples.TizenTV"\r
+                                       exec="NUISamples.TizenTV.exe"\r
+                                       type="dotnet"\r
+                                       multiple="false"\r
+                                       taskmanage="true"\r
+                                       nodisplay="false"\r
+                                       launch_mode="single">\r
+  <label>NUISamples.TizenTV</label>\r
+       <icon>NUISamples.TizenTV.png</icon>\r
+       </ui-application>\r
 </manifest>\r