summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxb.teng <xb.teng@samsung.com>2017-09-01 15:36:23 +0800
committerdongsug.song <dongsug.song@samsung.com>2017-09-14 20:44:21 +0900
commitcbec3d299c494859c3a41f4745de0a771526475c (patch)
treec5c12930bc0b361d69c4862531784df8174f9c74
parent24c513ba6b3870e2692db554c2a839f2cede15cc (diff)
downloadnui-cbec3d299c494859c3a41f4745de0a771526475c.tar.gz
nui-cbec3d299c494859c3a41f4745de0a771526475c.tar.bz2
nui-cbec3d299c494859c3a41f4745de0a771526475c.zip
[Tizen] Update NUISamples to support .netcore 2.0
- Simplify NUISamples - To support .netcore 2.0 Conflicts: NUISamples/examples/hello-world.cs Change-Id: I3b5955022644c4cd6345bfd56591fa189b9cd8e6
-rwxr-xr-x.gitignore3
-rwxr-xr-xNUISamples/NUISamples.csproj52
-rwxr-xr-xNUISamples/NUISamples.sln2
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.csproj223
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.project.json25
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/Properties/AssemblyInfo.cs36
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/firstscreen/App.cs478
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/firstscreen/Constants.cs51
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusData.cs110
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusEffect.cs207
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/firstscreen/IFocusEffect.cs17
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/firstscreen/ScrollContainer.cs644
-rwxr-xr-xNUISamples/NUISamples/NUISamples.Tizen/tizen-manifest.xml14
-rwxr-xr-xNUISamples/examples/Main.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/Main.cs)0
-rwxr-xr-xNUISamples/examples/as-is-test-sample.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/as-is-test-sample.cs)0
-rwxr-xr-xNUISamples/examples/control-dashboard.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/control-dashboard.cs)0
-rwxr-xr-xNUISamples/examples/custom-control.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/custom-control.cs)0
-rwxr-xr-xNUISamples/examples/dali-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/dali-test.cs)0
-rwxr-xr-xNUISamples/examples/date-picker-using-json/ViewRegistryHelper.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker-using-json/ViewRegistryHelper.cs)0
-rwxr-xr-xNUISamples/examples/date-picker-using-json/date-picker-using-json.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker-using-json/date-picker-using-json.cs)0
-rwxr-xr-xNUISamples/examples/date-picker.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker.cs)0
-rwxr-xr-xNUISamples/examples/feedkey-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/feedkey-test.cs)0
-rwxr-xr-xNUISamples/examples/flex-container.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/flex-container.cs)0
-rwxr-xr-xNUISamples/examples/gc-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/gc-test.cs)0
-rwxr-xr-xNUISamples/examples/hello-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/hello-test.cs)0
-rwxr-xr-xNUISamples/examples/hello-world.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/hello-world.cs)43
-rwxr-xr-xNUISamples/examples/image-view.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/image-view.cs)0
-rwxr-xr-xNUISamples/examples/positionUsesPivotPoint-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/positionUsesPivotPoint-test.cs)0
-rwxr-xr-xNUISamples/examples/relative-vector.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/relative-vector.cs)0
-rwxr-xr-xNUISamples/examples/scroll-view.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/scroll-view.cs)0
-rwxr-xr-xNUISamples/examples/sibling-order-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/sibling-order-test.cs)0
-rwxr-xr-xNUISamples/examples/test1.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/test1.cs)0
-rwxr-xr-xNUISamples/examples/text-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/text-test.cs)0
-rwxr-xr-xNUISamples/examples/text-test2.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/text-test2.cs)0
-rwxr-xr-xNUISamples/examples/ttsplayer-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/ttsplayer-test.cs)0
-rwxr-xr-xNUISamples/examples/user-alphafunction.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/user-alphafunction.cs)0
-rwxr-xr-xNUISamples/examples/view-navi-property.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/view-navi-property.cs)0
-rwxr-xr-xNUISamples/examples/visual-animation-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test.cs)0
-rwxr-xr-xNUISamples/examples/visual-animation-test2.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test2.cs)0
-rwxr-xr-xNUISamples/examples/visual-animation-test3.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test3.cs)0
-rwxr-xr-xNUISamples/examples/visual-view-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test.cs)0
-rwxr-xr-xNUISamples/examples/visual-view-test2.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test2.cs)0
-rwxr-xr-xNUISamples/examples/visual-view-test3.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test3.cs)0
-rwxr-xr-xNUISamples/examples/visuals-example.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-example.cs)0
-rwxr-xr-xNUISamples/examples/visuals-using-custom-view/ContactData.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/ContactData.cs)0
-rwxr-xr-xNUISamples/examples/visuals-using-custom-view/ContactView.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/ContactView.cs)0
-rwxr-xr-xNUISamples/examples/visuals-using-custom-view/visuals-using-custom-view.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/visuals-using-custom-view.cs)0
-rwxr-xr-xNUISamples/examples/widget-view-test.cs (renamed from NUISamples/NUISamples/NUISamples.Tizen/examples/widget-view-test.cs)0
-rwxr-xr-xNUISamples/res/images/Dino-Painted_lambert2SG_color.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_color.png)bin1799353 -> 1799353 bytes
-rwxr-xr-xNUISamples/res/images/Dino-Painted_lambert2SG_gloss.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_gloss.png)bin2019291 -> 2019291 bytes
-rwxr-xr-xNUISamples/res/images/Dino-Painted_lambert2SG_nmap.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_nmap.png)bin3078038 -> 3078038 bytes
-rwxr-xr-xNUISamples/res/images/Dino2_lambert2SG_color.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino2_lambert2SG_color.png)bin486536 -> 486536 bytes
-rwxr-xr-xNUISamples/res/images/Dino2_lambert2SG_nmap.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino2_lambert2SG_nmap.png)bin819921 -> 819921 bytes
-rwxr-xr-xNUISamples/res/images/Kid1.svg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Kid1.svg)0
-rwxr-xr-xNUISamples/res/images/Mail.svg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/Mail.svg)0
-rwxr-xr-xNUISamples/res/images/World.svg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/World.svg)0
-rwxr-xr-xNUISamples/res/images/anim-gif/0.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/0.gif)bin85825 -> 85825 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/1.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/1.gif)bin28672 -> 28672 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/10.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/10.gif)bin1101 -> 1101 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/11.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/11.gif)bin39853 -> 39853 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/12.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/12.gif)bin2172 -> 2172 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/13.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/13.gif)bin22586 -> 22586 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/14.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/14.gif)bin1581871 -> 1581871 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/2.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/2.gif)bin2172 -> 2172 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/3.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/3.gif)bin2172 -> 2172 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/4.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/4.gif)bin16836 -> 16836 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/5.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/5.gif)bin16836 -> 16836 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/6.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/6.gif)bin10360 -> 10360 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/7.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/7.gif)bin34532 -> 34532 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/8.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/8.gif)bin32768 -> 32768 bytes
-rwxr-xr-xNUISamples/res/images/anim-gif/9.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/9.gif)bin42434 -> 42434 bytes
-rwxr-xr-xNUISamples/res/images/application-icon-0.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/application-icon-0.png)bin5473 -> 5473 bytes
-rwxr-xr-xNUISamples/res/images/arrow.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/arrow.png)bin2515 -> 2515 bytes
-rwxr-xr-xNUISamples/res/images/background-blocks.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/background-blocks.jpg)bin170588 -> 170588 bytes
-rwxr-xr-xNUISamples/res/images/dali-logo-anim.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/dali-logo-anim.gif)bin85825 -> 85825 bytes
-rwxr-xr-xNUISamples/res/images/dog-anim.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/dog-anim.gif)bin58580 -> 58580 bytes
-rwxr-xr-xNUISamples/res/images/echo.gif (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/echo.gif)bin454408 -> 454408 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/0-normal.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/0-normal.png)bin3310 -> 3310 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/1-normal.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/1-normal.png)bin3104 -> 3104 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/2-normal.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/2-normal.png)bin3593 -> 3593 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/background.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/background.png)bin16033 -> 16033 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/focus_grid.9.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_grid.9.png)bin3322 -> 3322 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/focus_launcher_shadow.9.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_launcher_shadow.9.png)bin6028 -> 6028 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/focus_launcher_shadow_n.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_launcher_shadow_n.png)bin1777 -> 1777 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/halo.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/halo.png)bin791 -> 791 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/highlight_spot.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/highlight_spot.png)bin22664 -> 22664 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/highlight_stroke.9.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/highlight_stroke.9.png)bin281 -> 281 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/horizontalFrame.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/horizontalFrame.png)bin157 -> 157 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/thumbnail_shadow.9.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/thumbnail_shadow.9.png)bin7105 -> 7105 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/verticalFrame.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/verticalFrame.png)bin154 -> 154 bytes
-rwxr-xr-xNUISamples/res/images/focuseffect/white-pixel.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/white-pixel.png)bin159 -> 159 bytes
-rwxr-xr-xNUISamples/res/images/gallery-0.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-0.jpg)bin62478 -> 62478 bytes
-rwxr-xr-xNUISamples/res/images/gallery-1.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-1.jpg)bin35079 -> 35079 bytes
-rwxr-xr-xNUISamples/res/images/gallery-2.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-2.jpg)bin37913 -> 37913 bytes
-rwxr-xr-xNUISamples/res/images/gallery-3.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-3.jpg)bin72174 -> 72174 bytes
-rwxr-xr-xNUISamples/res/images/gallery-4.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-4.jpg)bin92356 -> 92356 bytes
-rwxr-xr-xNUISamples/res/images/gallery-5.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-5.jpg)bin73715 -> 73715 bytes
-rwxr-xr-xNUISamples/res/images/gallery-small-43.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-small-43.jpg)bin24249 -> 24249 bytes
-rwxr-xr-xNUISamples/res/images/image-1.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/image-1.jpg)bin301699 -> 301699 bytes
-rwxr-xr-xNUISamples/res/images/image-2.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/image-2.jpg)bin163950 -> 163950 bytes
-rwxr-xr-xNUISamples/res/images/image-3.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/image-3.jpg)bin146848 -> 146848 bytes
-rwxr-xr-xNUISamples/res/images/mask.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/mask.png)bin4454 -> 4454 bytes
-rwxr-xr-xNUISamples/res/images/menu/0.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/0.png)bin8107 -> 8107 bytes
-rwxr-xr-xNUISamples/res/images/menu/1.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/1.png)bin10713 -> 10713 bytes
-rwxr-xr-xNUISamples/res/images/menu/2.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/2.png)bin10333 -> 10333 bytes
-rwxr-xr-xNUISamples/res/images/menu/3.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/3.png)bin9746 -> 9746 bytes
-rwxr-xr-xNUISamples/res/images/menu/4.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/4.png)bin9738 -> 9738 bytes
-rwxr-xr-xNUISamples/res/images/menu/5.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/5.png)bin9640 -> 9640 bytes
-rwxr-xr-xNUISamples/res/images/menu/6.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/6.png)bin9397 -> 9397 bytes
-rwxr-xr-xNUISamples/res/images/not_yet_sign.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/not_yet_sign.png)bin8606 -> 8606 bytes
-rwxr-xr-xNUISamples/res/images/poster0/0.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/0.jpg)bin201063 -> 201063 bytes
-rwxr-xr-xNUISamples/res/images/poster0/1.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/1.jpg)bin239656 -> 239656 bytes
-rwxr-xr-xNUISamples/res/images/poster0/10.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/10.jpg)bin85472 -> 85472 bytes
-rwxr-xr-xNUISamples/res/images/poster0/11.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/11.jpg)bin95137 -> 95137 bytes
-rwxr-xr-xNUISamples/res/images/poster0/12.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/12.jpg)bin67671 -> 67671 bytes
-rwxr-xr-xNUISamples/res/images/poster0/13.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/13.jpg)bin92356 -> 92356 bytes
-rwxr-xr-xNUISamples/res/images/poster0/2.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/2.jpg)bin226391 -> 226391 bytes
-rwxr-xr-xNUISamples/res/images/poster0/3.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/3.jpg)bin314693 -> 314693 bytes
-rwxr-xr-xNUISamples/res/images/poster0/4.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/4.jpg)bin165626 -> 165626 bytes
-rwxr-xr-xNUISamples/res/images/poster0/5.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/5.jpg)bin208909 -> 208909 bytes
-rwxr-xr-xNUISamples/res/images/poster0/6.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/6.jpg)bin205310 -> 205310 bytes
-rwxr-xr-xNUISamples/res/images/poster0/7.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/7.jpg)bin221240 -> 221240 bytes
-rwxr-xr-xNUISamples/res/images/poster0/8.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/8.jpg)bin346019 -> 346019 bytes
-rwxr-xr-xNUISamples/res/images/poster0/9.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/9.jpg)bin163950 -> 163950 bytes
-rwxr-xr-xNUISamples/res/images/poster1/0.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/0.jpg)bin48940 -> 48940 bytes
-rwxr-xr-xNUISamples/res/images/poster1/1.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/1.jpg)bin65691 -> 65691 bytes
-rwxr-xr-xNUISamples/res/images/poster1/2.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/2.jpg)bin65902 -> 65902 bytes
-rwxr-xr-xNUISamples/res/images/poster1/3.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/3.jpg)bin68901 -> 68901 bytes
-rwxr-xr-xNUISamples/res/images/poster1/4.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/4.jpg)bin96399 -> 96399 bytes
-rwxr-xr-xNUISamples/res/images/poster1/5.jpg (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/5.jpg)bin73715 -> 73715 bytes
-rwxr-xr-xNUISamples/res/images/star-dim.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/star-dim.png)bin4225 -> 4225 bytes
-rwxr-xr-xNUISamples/res/images/star-highlight.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/star-highlight.png)bin4104 -> 4104 bytes
-rwxr-xr-xNUISamples/res/images/star-mod.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/images/star-mod.png)bin5215 -> 5215 bytes
-rwxr-xr-xNUISamples/res/json/control-dashboard.json (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/json/control-dashboard.json)0
-rwxr-xr-xNUISamples/res/json/date-picker-template.json (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker-template.json)0
-rwxr-xr-xNUISamples/res/json/date-picker-theme.json (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker-theme.json)0
-rwxr-xr-xNUISamples/res/json/date-picker.json (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker.json)0
-rwxr-xr-xNUISamples/res/json/spin.json (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/json/spin.json)0
-rwxr-xr-xNUISamples/res/json/style-example-theme-one.json (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/json/style-example-theme-one.json)0
-rwxr-xr-xNUISamples/res/models/Dino.mtl (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/models/Dino.mtl)0
-rwxr-xr-xNUISamples/res/models/Dino.obj (renamed from NUISamples/NUISamples/NUISamples.Tizen/res/models/Dino.obj)0
-rwxr-xr-xNUISamples/shared/res/NUISamples.png (renamed from NUISamples/NUISamples/NUISamples.Tizen/shared/res/NUISamples.Tizen.png)bin57662 -> 57662 bytes
-rwxr-xr-xNUISamples/tizen-manifest.xml13
143 files changed, 86 insertions, 1832 deletions
diff --git a/.gitignore b/.gitignore
index 3a33512..246ffa0 100755
--- a/.gitignore
+++ b/.gitignore
@@ -11,3 +11,6 @@ Tizen.NUI/bin
*.lock.json
Tizen.NUI/.vs/
Tizen.NUI.Code/
+NUISamples/.vs/
+NUISamples/bin/
+NUISamples/obj/
diff --git a/NUISamples/NUISamples.csproj b/NUISamples/NUISamples.csproj
new file mode 100755
index 0000000..3c76dc6
--- /dev/null
+++ b/NUISamples/NUISamples.csproj
@@ -0,0 +1,52 @@
+<Project>
+ <Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
+
+ <PropertyGroup Label="Globals">
+ <TizenProjectExtensionsPath>$(MSBuildExtensionsPath)\Tizen\VisualStudio\</TizenProjectExtensionsPath>
+ <Configurations>Debug;Release</Configurations>
+ </PropertyGroup>
+
+ <Import Project="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props" Condition="Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props')" />
+
+ <PropertyGroup>
+ <OutputType>Exe</OutputType>
+ <TargetFramework>netcoreapp2.0</TargetFramework>
+ </PropertyGroup>
+
+ <!-- Property Group for Tizen Project -->
+ <PropertyGroup>
+ <TizenCreateTpkOnBuild>true</TizenCreateTpkOnBuild>
+ </PropertyGroup>
+
+
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugType>portable</DebugType>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>None</DebugType>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <Folder Include="lib\" />
+ <Folder Include="res\" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\Tizen.NUI\Tizen.NUI.csproj" />
+ </ItemGroup>
+
+ <!-- Include Nuget Package for Tizen Project building -->
+ <ItemGroup>
+ <PackageReference Include="Tizen.NET.Sdk" Version="0.9.18-pre1" />
+ </ItemGroup>
+
+ <Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
+ <Import Project="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets" Condition="Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets')" />
+
+ <!-- Install Check 'Visual Studio for Tizen' for developing on Visual Studio -->
+ <Target Name="TizenVsixInstallCheck" BeforeTargets="CompileDesignTime">
+ <Warning Condition="!Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props')" Text="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.props is not exist.&#xA; you need to check if 'Visual Studio for Tizen' is installed" />
+ <Warning Condition="!Exists('$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets')" Text="$(TizenProjectExtensionsPath)Tizen.NET.ProjectType.targets is not exist.\&#xA; you need to check if 'Visual Studio for Tizen' is installed" />
+ </Target>
+</Project>
+
diff --git a/NUISamples/NUISamples.sln b/NUISamples/NUISamples.sln
index 5b55f3c..987e516 100755
--- a/NUISamples/NUISamples.sln
+++ b/NUISamples/NUISamples.sln
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples.Tizen", "NUISamples\NUISamples.Tizen\NUISamples.Tizen.csproj", "{715DF7A0-DDCB-4D9D-9B91-34E00DFF5FEB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUISamples", "NUISamples.csproj", "{715DF7A0-DDCB-4D9D-9B91-34E00DFF5FEB}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Tizen.NUI", "..\Tizen.NUI\Tizen.NUI.csproj", "{DDF08AB9-FA06-4FF5-87AB-356B0058B40C}"
EndProject
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.csproj b/NUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.csproj
deleted file mode 100755
index 2bb9df1..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.csproj
+++ /dev/null
@@ -1,223 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup>
- <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
- <ProductVersion>8.0.30703</ProductVersion>
- <SchemaVersion>2.0</SchemaVersion>
- <ProjectTypeGuids>{2F98DAC9-6F16-457B-AED7-D43CAC379341};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
- <ProjectGuid>{715DF7A0-DDCB-4D9D-9B91-34E00DFF5FEB}</ProjectGuid>
- <OutputType>Exe</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>NUISamples.Tizen</RootNamespace>
- <AssemblyName>NUISamples.Tizen</AssemblyName>
- <FileAlignment>512</FileAlignment>
- <DefaultLanguage>en-US</DefaultLanguage>
- </PropertyGroup>
- <PropertyGroup>
- <TargetFrameworkIdentifier>.NETCoreApp</TargetFrameworkIdentifier>
- <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
- <AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
- <NuGetTargetMoniker>.NETCoreApp,Version=v2.0</NuGetTargetMoniker>
- <BaseNuGetRuntimeIdentifier>tizen.4.0.0-armel</BaseNuGetRuntimeIdentifier>
- <NoStdLib>true</NoStdLib>
- <NoWarn>$(NoWarn);1701</NoWarn>
- <UseVSHostingProcess>false</UseVSHostingProcess>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>portable</DebugType>
- <Optimize>false</Optimize>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
- <DebugSymbols>true</DebugSymbols>
- <DebugType>portable</DebugType>
- <Optimize>true</Optimize>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>TRACE</DefineConstants>
- <ErrorReport>prompt</ErrorReport>
- <WarningLevel>4</WarningLevel>
- </PropertyGroup>
- <ItemGroup>
- <None Include="NUISamples.Tizen.project.json" />
- <None Include="res\json\control-dashboard.json" />
- <None Include="res\json\date-picker-template.json" />
- <None Include="res\json\date-picker-theme.json" />
- <None Include="res\json\date-picker.json" />
- <None Include="res\json\spin.json" />
- <None Include="res\json\style-example-theme-one.json" />
- <None Include="res\models\Dino.mtl" />
- <None Include="res\models\Dino.obj" />
- <None Include="tizen-manifest.xml" />
- <None Include="shared\res\NUISamples.Tizen.png" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="examples\as-is-test-sample.cs" />
- <Compile Include="examples\control-dashboard.cs" />
- <Compile Include="examples\custom-control.cs" />
- <Compile Include="examples\dali-test.cs" />
- <Compile Include="examples\date-picker-using-json\date-picker-using-json.cs" />
- <Compile Include="examples\date-picker-using-json\ViewRegistryHelper.cs" />
- <Compile Include="examples\date-picker.cs" />
- <Compile Include="examples\feedkey-test.cs" />
- <Compile Include="examples\flex-container.cs" />
- <Compile Include="examples\gc-test.cs" />
- <Compile Include="examples\hello-test.cs" />
- <Compile Include="examples\hello-world.cs" />
- <Compile Include="examples\image-view.cs" />
- <Compile Include="examples\Main.cs" />
- <Compile Include="examples\positionUsesPivotPoint-test.cs" />
- <Compile Include="examples\relative-vector.cs" />
- <Compile Include="examples\scroll-view.cs" />
- <Compile Include="examples\sibling-order-test.cs" />
- <Compile Include="examples\test1.cs" />
- <Compile Include="examples\text-test.cs" />
- <Compile Include="examples\text-test2.cs" />
- <Compile Include="examples\ttsplayer-test.cs" />
- <Compile Include="examples\user-alphafunction.cs" />
- <Compile Include="examples\view-navi-property.cs" />
- <Compile Include="examples\visual-animation-test.cs" />
- <Compile Include="examples\visual-animation-test2.cs" />
- <Compile Include="examples\visual-animation-test3.cs" />
- <Compile Include="examples\visual-view-test.cs" />
- <Compile Include="examples\visual-view-test2.cs" />
- <Compile Include="examples\visual-view-test3.cs" />
- <Compile Include="examples\visuals-example.cs" />
- <Compile Include="examples\visuals-using-custom-view\ContactData.cs" />
- <Compile Include="examples\visuals-using-custom-view\ContactView.cs" />
- <Compile Include="examples\visuals-using-custom-view\visuals-using-custom-view.cs" />
- <Compile Include="examples\widget-view-test.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- </ItemGroup>
- <ItemGroup>
- <Folder Include="lib\" />
- </ItemGroup>
- <ItemGroup>
- <Content Include="res\images\anim-gif\0.gif" />
- <Content Include="res\images\anim-gif\1.gif" />
- <Content Include="res\images\anim-gif\10.gif" />
- <Content Include="res\images\anim-gif\11.gif" />
- <Content Include="res\images\anim-gif\12.gif" />
- <Content Include="res\images\anim-gif\13.gif" />
- <Content Include="res\images\anim-gif\14.gif" />
- <Content Include="res\images\anim-gif\2.gif" />
- <Content Include="res\images\anim-gif\3.gif" />
- <Content Include="res\images\anim-gif\4.gif" />
- <Content Include="res\images\anim-gif\5.gif" />
- <Content Include="res\images\anim-gif\6.gif" />
- <Content Include="res\images\anim-gif\7.gif" />
- <Content Include="res\images\anim-gif\8.gif" />
- <Content Include="res\images\anim-gif\9.gif" />
- <Content Include="res\images\application-icon-0.png" />
- <Content Include="res\images\arrow.png" />
- <Content Include="res\images\background-blocks.jpg" />
- <Content Include="res\images\dali-logo-anim.gif" />
- <Content Include="res\images\Dino-Painted_lambert2SG_color.png" />
- <Content Include="res\images\Dino-Painted_lambert2SG_gloss.png" />
- <Content Include="res\images\Dino-Painted_lambert2SG_nmap.png" />
- <Content Include="res\images\Dino2_lambert2SG_color.png" />
- <Content Include="res\images\Dino2_lambert2SG_nmap.png" />
- <Content Include="res\images\dog-anim.gif" />
- <Content Include="res\images\echo.gif" />
- <Content Include="res\images\focuseffect\0-normal.png" />
- <Content Include="res\images\focuseffect\1-normal.png" />
- <Content Include="res\images\focuseffect\2-normal.png" />
- <Content Include="res\images\focuseffect\background.png" />
- <Content Include="res\images\focuseffect\focus_grid.9.png" />
- <Content Include="res\images\focuseffect\focus_launcher_shadow.9.png" />
- <Content Include="res\images\focuseffect\focus_launcher_shadow_n.png" />
- <Content Include="res\images\focuseffect\halo.png" />
- <Content Include="res\images\focuseffect\highlight_spot.png" />
- <Content Include="res\images\focuseffect\highlight_stroke.9.png" />
- <Content Include="res\images\focuseffect\horizontalFrame.png" />
- <Content Include="res\images\focuseffect\thumbnail_shadow.9.png" />
- <Content Include="res\images\focuseffect\verticalFrame.png" />
- <Content Include="res\images\focuseffect\white-pixel.png" />
- <Content Include="res\images\gallery-0.jpg" />
- <Content Include="res\images\gallery-1.jpg" />
- <Content Include="res\images\gallery-2.jpg" />
- <Content Include="res\images\gallery-3.jpg" />
- <Content Include="res\images\gallery-4.jpg" />
- <Content Include="res\images\gallery-5.jpg" />
- <Content Include="res\images\gallery-small-43.jpg" />
- <Content Include="res\images\image-1.jpg" />
- <Content Include="res\images\image-2.jpg" />
- <Content Include="res\images\image-3.jpg" />
- <Content Include="res\images\Kid1.svg" />
- <Content Include="res\images\Mail.svg" />
- <Content Include="res\images\mask.png" />
- <Content Include="res\images\menu\0.png" />
- <Content Include="res\images\menu\1.png" />
- <Content Include="res\images\menu\2.png" />
- <Content Include="res\images\menu\3.png" />
- <Content Include="res\images\menu\4.png" />
- <Content Include="res\images\menu\5.png" />
- <Content Include="res\images\menu\6.png" />
- <Content Include="res\images\not_yet_sign.png" />
- <Content Include="res\images\poster0\0.jpg" />
- <Content Include="res\images\poster0\1.jpg" />
- <Content Include="res\images\poster0\10.jpg" />
- <Content Include="res\images\poster0\11.jpg" />
- <Content Include="res\images\poster0\12.jpg" />
- <Content Include="res\images\poster0\13.jpg" />
- <Content Include="res\images\poster0\2.jpg" />
- <Content Include="res\images\poster0\3.jpg" />
- <Content Include="res\images\poster0\4.jpg" />
- <Content Include="res\images\poster0\5.jpg" />
- <Content Include="res\images\poster0\6.jpg" />
- <Content Include="res\images\poster0\7.jpg" />
- <Content Include="res\images\poster0\8.jpg" />
- <Content Include="res\images\poster0\9.jpg" />
- <Content Include="res\images\poster1\0.jpg" />
- <Content Include="res\images\poster1\1.jpg" />
- <Content Include="res\images\poster1\2.jpg" />
- <Content Include="res\images\poster1\3.jpg" />
- <Content Include="res\images\poster1\4.jpg" />
- <Content Include="res\images\poster1\5.jpg" />
- <Content Include="res\images\star-dim.png" />
- <Content Include="res\images\star-highlight.png" />
- <Content Include="res\images\star-mod.png" />
- <Content Include="res\images\World.svg" />
- </ItemGroup>
- <ItemGroup>
- <ProjectReference Include="..\..\..\Tizen.NUI\Tizen.NUI.csproj">
- <Project>{ddf08ab9-fa06-4ff5-87ab-356b0058b40c}</Project>
- <Name>Tizen.NUI</Name>
- </ProjectReference>
- </ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
- Other similar extension points exist, see Microsoft.Common.targets.
- <Target Name="BeforeBuild">
- </Target>
- <Target Name="AfterBuild">
- </Target>
- -->
- <PropertyGroup>
- <!-- https://github.com/dotnet/corefxlab/tree/master/samples/NetCoreSample and
- https://docs.microsoft.com/en-us/dotnet/articles/core/tutorials/target-dotnetcore-with-msbuild
- -->
- <!-- We don't use any of MSBuild's resolution logic for resolving the framework, so just set these two
- properties to any folder that exists to skip the GetReferenceAssemblyPaths task (not target) and
- to prevent it from outputting a warning (MSB3644).
- -->
- <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory)</_TargetFrameworkDirectories>
- <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory)</_FullFrameworkReferenceAssemblyPaths>
- <AutoUnifyAssemblyReferences>true</AutoUnifyAssemblyReferences>
- </PropertyGroup>
- <ProjectExtensions>
- <VisualStudio>
- <FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Debug|Any CPU">
- <ProjectCommonFlavorCfg />
- </FlavorProperties>
- <FlavorProperties GUID="{2F98DAC9-6F16-457B-AED7-D43CAC379341}" Configuration="Release|Any CPU">
- <ProjectCommonFlavorCfg />
- </FlavorProperties>
- </VisualStudio>
- </ProjectExtensions>
-</Project> \ No newline at end of file
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.project.json b/NUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.project.json
deleted file mode 100755
index 2e64a25..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/NUISamples.Tizen.project.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "buildOptions": {
- "emitEntryPoint": true,
- "debugType": "portable",
- "platform": "AnyCPU",
- "preserveCompilationContext": true
- },
- "dependencies": {
- "Microsoft.NETCore.App": {
- "version": "2.0.0-preview1-002111-00"
- },
- "Tizen.Applications.Common": "1.5.9"
- },
- "runtimes": {
- "tizen.4.0.0-armel": {}
- },
- "frameworks": {
- "netcoreapp2.0": {
- "imports": [
- "portable-net45+wp80+win81+wpa81",
- "netstandard1.6"
- ]
- }
- }
-} \ No newline at end of file
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/Properties/AssemblyInfo.cs b/NUISamples/NUISamples/NUISamples.Tizen/Properties/AssemblyInfo.cs
deleted file mode 100755
index a65b351..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// General Information about an assembly is controlled through the following
-// set of attributes. Change these attribute values to modify the information
-// associated with an assembly.
-[assembly: AssemblyTitle("NUISamples.Tizen")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("NUISamples.Tizen")]
-[assembly: AssemblyCopyright("Copyright © 2017")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("715df7a0-ddcb-4d9d-9b91-34e00dff5feb")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/App.cs b/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/App.cs
deleted file mode 100755
index 1d849c8..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/App.cs
+++ /dev/null
@@ -1,478 +0,0 @@
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-using Tizen.NUI.Constants;
-
-namespace FirstScreen
-{
- public class FirstScreenApp : NUIApplication
- {
- //private Application _application; // Reference to Dali Application.
- private Stage _stage; // Reference to Dali stage.
- private Size2D _stageSize; // Reference to Dali stage size.
-
- private View _topContainer; // Top Container added to the Stage will contain Poster ScrollContainers.
- private View _bottomContainer; // Bottom Container added to the Stage will contain Menu ScrollContainer.
- private int _currentPostersContainerID; // Current Poster Container ID visible on the Top Container / Stage.
- private int _totalPostersContainers; // Number of Poster ScrollContainers to be added on Top Container.
- private List<ScrollContainer> _postersContainer; // List collection of Poster ScrollContainers used on the Top Container in this demo application.
- private ScrollContainer _menuContainer; // Menu ScrollContainer used on the Bottom Container in this demo application.
- private Layer _bottomClipLayer; // Clip layer (Dali Clip Layer instance) used for Bottom Container.
- private Layer _topClipLayer; // Clip layer (Dali Clip Layer instance) used for Top Container.
-
- private FocusEffect _focusEffect; // FocusEffect is used to apply Focus animation effect on any supplied item/image.
- private string _imagePath; // Contains the physical location of all images used in the demo application.
-
- private ImageView _keyboardFocusIndicator; // Reference to the ImageView (Keyboard Focus indicator) applied to the focused item on ScrollContainer.
- private ImageView _launcherSeparator; // Reference to the ImageView used for launcher separation (Launcher consists of three image icons on left of Menu ScrollContainer).
- private ImageView[] launcherIcon; // ImageViews used for launcher Icons.
- private Animation _showBottomContainerAnimation; // Animation used to show/unhide Bottom Container (Menu ScrollContainer) when it is focused.
- private Animation _hideBottomContainerAnimation; // Animation used to hide Bottom Container (Menu ScrollContainer) when it is focused.
- private Animation _showAnimation; // Animation used to move Poster scrollContainer from bottom to top and make it non-transparent.
- private Animation _hideAnimation; // Animation used to make the unused specified Poster scrollContainer transparent.
- private ScrollContainer _hideScrollContainer; // The unused Poster scrollContainer which needs to be transparent.
- FocusManager _keyboardFocusManager; // Reference to Dali KeyboardFocusManager.
-
- protected override void OnCreate()
- {
- base.OnCreate();
- OnInitialize();
- }
-
-
- // Create Items for Poster ScrollContainer
- private void CreatePosters()
- {
- for (int j = 0; j < _totalPostersContainers; j++)
- {
- View posterContainer = _postersContainer[j].Container;
- for (int i = 0; i < Constants.PostersItemsCount; i++)
- {
- if (j % _totalPostersContainers == 0)
- {
- View item = new ImageView(_imagePath + "/poster" + j + "/" + (i % 14) + ".jpg");
- item.Name = ("poster-item-" + _postersContainer[j].ItemCount);
- _postersContainer[j].Add(item);
- }
- else
- {
- View item = new ImageView(_imagePath + "/poster" + j + "/" + (i % 6) + ".jpg");
- item.Name = ("poster-item-" + _postersContainer[j].ItemCount);
- _postersContainer[j].Add(item);
- }
- }
-
- if (j == 0)
- {
- Show(_postersContainer[j]);
- }
- else
- {
- Hide(_postersContainer[j]);
- }
-
- _postersContainer[j].SetFocused(false);
- }
-
- _currentPostersContainerID = 0;
- }
-
- // Create Items for Menu ScrollContainer
- private void CreateMenu()
- {
- View menuContainer = _menuContainer.Container;
- menuContainer.Position = new Position(Constants.LauncherWidth, 0.0f, 0.0f);
-
- for (int i = 0; i < Constants.MenuItemsCount; i++)
- {
- View menuItem = new ImageView(_imagePath + "/menu/" + i % 7 + ".png");
- menuItem.Name = ("menu-item-" + _menuContainer.ItemCount);
- _menuContainer.Add(menuItem);
- }
- }
-
- private View OnKeyboardPreFocusChangeSignal(object source, FocusManager.PreFocusChangeEventArgs e)
- {
- if (!e.CurrentView && !e.ProposedView)
- {
- return _menuContainer;
- }
-
- Actor actor = _menuContainer.Container;
-
- if (e.Direction == View.FocusDirection.Up)
- {
- // Move the Focus to Poster ScrollContainer and hide Bottom Container (Menu ScrollContainer)
- if (_menuContainer.IsFocused)
- {
- actor = _postersContainer[_currentPostersContainerID].GetCurrentFocusedActor();
- _menuContainer.SetFocused(false);
- _postersContainer[_currentPostersContainerID].SetFocused(true);
- HideBottomContainer();
-
- // Also apply Focus animation on Focused item on Poster ScrollContainer
- FocusAnimation(_postersContainer[_currentPostersContainerID], FocusEffectDirection.BottomToTop);
- }
- }
- else if (e.Direction == View.FocusDirection.Down)
- {
- // Show Bottom Container (Menu ScrollContainer) and move the Focus to it
- if (!_menuContainer.IsFocused)
- {
- ShowBottomContainer();
- actor = _menuContainer.GetCurrentFocusedActor();
- _postersContainer[_currentPostersContainerID].SetFocused(false);
- _menuContainer.SetFocused(true);
-
- // Also apply Focus animation on Focused item on Menu ScrollContainer
- FocusAnimation(_menuContainer, FocusEffectDirection.TopToBottom);
- }
- }
- else
- {
- actor = e.ProposedView;
- }
-
- if (e.Direction == View.FocusDirection.Left)
- {
- if (_menuContainer.IsFocused)
- {
- int id = _menuContainer.FocusedItemID % _totalPostersContainers;
- if (id != _currentPostersContainerID)
- {
- Hide(_postersContainer[_currentPostersContainerID]);
- _currentPostersContainerID = id;
-
- Show(_postersContainer[_currentPostersContainerID]);
- }
- }
- }
- else if (e.Direction == View.FocusDirection.Right)
- {
- if (_menuContainer.IsFocused)
- {
- int id = _menuContainer.FocusedItemID % _totalPostersContainers;
- if (id != _currentPostersContainerID)
- {
- Hide(_postersContainer[_currentPostersContainerID]);
- _currentPostersContainerID = id;
- Show(_postersContainer[_currentPostersContainerID]);
- }
- }
- }
-
- return (View)actor;
- }
-
- // Perform Focus animation Effect on the current Focused Item on ScrollContainer.
- private void FocusAnimation(ScrollContainer scrollContainer, FocusEffectDirection direction)
- {
- _focusEffect.FocusAnimation(scrollContainer.GetCurrentFocusedActor(), scrollContainer.ItemSize, 1000, direction);
- }
-
- // Perform Show animation on ScrollContainer (used only for Poster Container)
- private void Show(ScrollContainer scrollContainer)
- {
- scrollContainer.Add(scrollContainer.Container);
-
- _hideScrollContainer = null;
-
- // This animation will move Poster scrollContainer from bottom to top and make it non-transparent.
- _showAnimation = new Animation(350);
- _showAnimation.AnimateTo(scrollContainer.Container, "ColorAlpha", 1.0f);
-
- scrollContainer.Container.PositionY = scrollContainer.Container.Position.Y + 200.0f;
- float targetPositionY = scrollContainer.Container.Position.Y - 200.0f;
-
- _showAnimation.AnimateTo(scrollContainer.Container, "PositionY", targetPositionY, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
- _showAnimation.Play();
- }
-
- // Perform Hide animation on ScrollContainer (used only for Poster Container)
- private void Hide(ScrollContainer scrollContainer)
- {
- if (_hideAnimation)
- {
- _hideAnimation.Clear();
- _hideAnimation.Reset();
- }
-
- int duration = 350;
- _hideAnimation = new Animation(duration);
- _hideAnimation.Duration = duration;
- _hideAnimation.AnimateTo(scrollContainer.Container, "ColorAlpha", 0.0f, 0, (int)((float)duration * 0.75f), new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
- _hideAnimation.Finished += OnHideAnimationFinished;
- _hideScrollContainer = scrollContainer;
- _hideAnimation.Play();
- }
-
- // This removes all the items from the specified unused Poster ScrollContainer (hence Stage) to improve performance.
- private void OnHideAnimationFinished(object source, EventArgs e)
- {
- if (_hideScrollContainer)
- {
- _hideScrollContainer.Remove(_hideScrollContainer.Container);
- }
- }
-
- // Hide Bottom Container (Menu ScrollContainer) when it is not focused
- private void HideBottomContainer()
- {
- _topClipLayer.ClippingBox = new Rectangle(0,
- Convert.ToInt32(_stageSize.Height * Constants.TopContainerPositionFactor),
- Convert.ToInt32((_stageSize.Width)),
- Convert.ToInt32((_stageSize.Height * Constants.TopClipLayerExpandHeightFactor))); // X, Y, Width, Height
-
-
- _hideBottomContainerAnimation.AnimateTo(_bottomContainer, "Position", new Position(0.0f, _stageSize.Height * Constants.BottomContainerHidePositionFactor, 0.0f),
- new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
- _hideBottomContainerAnimation.Play();
- }
-
- // Show (unhide) Bottom Container (Menu ScrollContainer) when it is focused
- private void ShowBottomContainer()
- {
- _topClipLayer.ClippingBox = new Rectangle(0,
- Convert.ToInt32(_stageSize.Height * Constants.TopContainerPositionFactor),
- Convert.ToInt32((_stageSize.Width)),
- Convert.ToInt32((_stageSize.Height * Constants.TopClipLayerHeightFactor))); // X, Y, Width, Height
-
- _showBottomContainerAnimation.AnimateTo(_bottomContainer, "Position", new Position(0.0f, _stageSize.Height * Constants.BottomContainerShowPositionFactor, 0.0f),
- new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
- _showBottomContainerAnimation.Play();
- }
-
- // First screen demo Application initialisation
- private void OnInitialize()
- {
- Tizen.Log.Debug("NUI", "OnInitialize() is called!");
- _hideScrollContainer = null;
- _stage = Stage.Instance;
- _stageSize = _stage.Size;
- _totalPostersContainers = Constants.TotalPostersContainers;
- _imagePath = Constants.ImageResourcePath;
-
- _postersContainer = new List<ScrollContainer>();
- _menuContainer = new ScrollContainer();
-
- _hideBottomContainerAnimation = new Animation(250);
- _showBottomContainerAnimation = new Animation(250);
-
- // Create a Top Container for poster items
- _topContainer = new View();
- _topContainer.Size = new Size(_stageSize.Width, _stageSize.Height * Constants.TopContainerHeightFactor, 0);
- _topContainer.Position = new Position(0.0f, _stageSize.Height * Constants.TopContainerPositionFactor, 0.0f);
- _topContainer.ParentOrigin = ParentOrigin.TopLeft;
-
- // Add a background to Top container
- PropertyMap visual = new PropertyMap();
- visual.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image));
- visual.Insert(ImageVisualProperty.URL, new PropertyValue(_imagePath + "/focuseffect/background.png"));
- _topContainer.Background = visual;
- _topContainer.Name = "TopControl";
-
- // Create a Bottom Container
- _bottomContainer = new View();
- _bottomContainer.Size = new Size(_stageSize.Width, _stageSize.Height * Constants.BottomContainerHeightFactor, 0);
- _bottomContainer.Position = new Position(0.0f, _stageSize.Height * Constants.BottomContainerHidePositionFactor, 0.0f);
- _bottomContainer.ParentOrigin = ParentOrigin.TopLeft;
-
- // Add a background to Bottom Container
- visual = new PropertyMap();
- visual.Insert(Visual.Property.Type, new PropertyValue((int)Visual.Type.Image));
- visual.Insert(ImageVisualProperty.URL, new PropertyValue(_imagePath + "/focuseffect/background.png"));
- _bottomContainer.Background = visual;
- _bottomContainer.Name = "BottomControl";
-
- // Add both Top and Bottom Containers to Stage
- _stage.GetDefaultLayer().Add(_topContainer);
- _stage.GetDefaultLayer().Add(_bottomContainer);
-
- // Add a clip layer to Top Container
- _topClipLayer = new Layer();
- _topClipLayer.ParentOrigin = ParentOrigin.BottomCenter;
- _topClipLayer.ClippingEnable = true;
- _topClipLayer.ClippingBox = new Rectangle(0,
- Convert.ToInt32(_stageSize.Height * Constants.TopContainerPositionFactor),
- Convert.ToInt32((_stageSize.Width)),
- Convert.ToInt32((_stageSize.Height * Constants.TopClipLayerHeightFactor))); // X, Y, Width, Height
- _topContainer.Add(_topClipLayer);
-
- // Create a SpotLight for items / images of both Poster and Menu ScrollContainers
- ImageView spotLight = new ImageView(_imagePath + "/focuseffect/highlight_spot.png");
- spotLight.WidthResizePolicy = ResizePolicyType.UseNaturalSize;
- spotLight.HeightResizePolicy = ResizePolicyType.UseNaturalSize;
- spotLight.ParentOrigin = ParentOrigin.Center;
- spotLight.PivotPoint = PivotPoint.Center;
- spotLight.PositionUsesPivotPoint = true;
- spotLight.Name = "spotLight";
-
- // Create a shadowBorder for items / images of Poster ScrollContainers
- ImageView shadowBorder = new ImageView(_imagePath + "/focuseffect/thumbnail_shadow.9.png");
- shadowBorder.ParentOrigin = ParentOrigin.Center;
- shadowBorder.PivotPoint = PivotPoint.Center;
- shadowBorder.PositionUsesPivotPoint = true;
- shadowBorder.WidthResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;
- shadowBorder.HeightResizePolicy = ResizePolicyType.SizeFixedOffsetFromParent;
- shadowBorder.SizeModeFactor = (new Vector3(32.0f, 41.0f, 0.0f));
- shadowBorder.Name = "poster shadowBorder";
-
- // Create Poster Containers and add them to Top Clip layer
- for (int i = 0; i < _totalPostersContainers; i++)
- {
- _postersContainer.Add(new ScrollContainer());
- _postersContainer[i].Container.Name = "poster" + i;
- if (i == 0)
- {
- _postersContainer[i].ItemSize = new Size((_stageSize.Width * Constants.Poster0ItemWidthFactor) - Constants.PostersContainerPadding,
- _stageSize.Height * Constants.PostersItemHeightFactor, 0.0f);
- }
- else
- {
- _postersContainer[i].ItemSize = new Size((_stageSize.Width * Constants.Poster1ItemWidthFactor) - Constants.PostersContainerPadding,
- _stageSize.Height * Constants.PostersItemHeightFactor, 0.0f);
- }
-
- _postersContainer[i].Gap = Constants.PostersContainerPadding;
- _postersContainer[i].MarginX = Constants.PostersContainerMargin;
- _postersContainer[i].OffsetYFator = Constants.PostersContainerOffsetYFactor;
- _postersContainer[i].Width = _stageSize.Width;
- _postersContainer[i].Height = _stageSize.Height * Constants.PostersContainerHeightFactor;
- _postersContainer[i].ShadowBorder = shadowBorder;
- _postersContainer[i].ShadowBorder.Position = new Position(0.0f, 4.0f, 0.0f);
- _postersContainer[i].SpotLight = spotLight;
- _topClipLayer.Add(_postersContainer[i]);
- }
-
- // Add a clip layer to Bottom Container
- _bottomClipLayer = new Layer();
- _bottomClipLayer.PivotPoint = PivotPoint.BottomCenter;
- _bottomClipLayer.PositionUsesPivotPoint = true;
- _bottomClipLayer.ParentOrigin = ParentOrigin.BottomCenter;
- _bottomClipLayer.ClippingEnable = true;
- _bottomClipLayer.ClippingBox = new Rectangle(Convert.ToInt32(Constants.LauncherWidth),
- Convert.ToInt32(_stageSize.Height * Constants.BottomContainerShowPositionFactor),
- Convert.ToInt32((_stageSize.Width)),
- Convert.ToInt32((_stageSize.Height - (_stageSize.Height * Constants.BottomClipLayerHeightFactor)))); // X, Y, Width, Height
- _bottomContainer.Add(_bottomClipLayer);
-
- // Add Launcher items to Bottom Container. Launcher is used to display three images on left of Menu ScrollContainer
- launcherIcon = new ImageView[Convert.ToInt32(Constants.LauncherItemsCount)];
- for (int launcherIndex = 0; launcherIndex < Constants.LauncherItemsCount; launcherIndex++)
- {
- launcherIcon[launcherIndex] = new ImageView(_imagePath + "/focuseffect/" + launcherIndex + "-normal.png");
- launcherIcon[launcherIndex].Name = "launcherIcon" + launcherIndex;
- launcherIcon[launcherIndex].WidthResizePolicy = ResizePolicyType.UseNaturalSize;
- launcherIcon[launcherIndex].HeightResizePolicy = ResizePolicyType.UseNaturalSize;
- launcherIcon[launcherIndex].ParentOrigin = ParentOrigin.CenterLeft;
- launcherIcon[launcherIndex].PivotPoint = PivotPoint.CenterLeft;
- launcherIcon[launcherIndex].PositionUsesPivotPoint = true;
- launcherIcon[launcherIndex].Position = new Position(Constants.LauncherIconWidth * launcherIndex + Constants.LauncherLeftMargin, 0.0f, 0.0f);
- _bottomContainer.Add(launcherIcon[launcherIndex]);
- }
-
- // Add a shadow seperator image between last Launcher icon and Menu ScrollContainer
- _launcherSeparator = new ImageView(_imagePath + "/focuseffect/focus_launcher_shadow_n.png");
- _launcherSeparator.Name = "launcherSeparator";
- _launcherSeparator.WidthResizePolicy = ResizePolicyType.UseNaturalSize;
- _launcherSeparator.HeightResizePolicy = ResizePolicyType.FillToParent;
- _launcherSeparator.ParentOrigin = ParentOrigin.CenterLeft;
- _launcherSeparator.PivotPoint = PivotPoint.CenterLeft;
- _launcherSeparator.PositionUsesPivotPoint = true;
- _launcherSeparator.Position = new Position(Constants.LauncherIconWidth * Constants.LauncherItemsCount + Constants.LauncherLeftMargin, 0.0f, 0.0f);
- _bottomContainer.Add(_launcherSeparator);
-
- // Create Menu Container and add it to Bottom Clip Layer
- Size menuItemSize = new Size((_stageSize.Width * Constants.MenuItemWidthFactor) - Constants.MenuContainerPadding,
- _stageSize.Height * Constants.MenuItemHeightFactor, 0.0f);
- _menuContainer.Container.Name = "menu";
- _menuContainer.ItemSize = menuItemSize;
- _menuContainer.Gap = Constants.MenuContainerPadding;
- _menuContainer.MarginX = Constants.MenuContainerMargin;
- _menuContainer.OffsetYFator = Constants.MenuContainerOffsetYFactor;
- _menuContainer.OffsetX = Constants.LauncherWidth;
- _menuContainer.Width = _stageSize.Width - Constants.LauncherWidth;
- _menuContainer.Height = _stageSize.Height * Constants.MenuContainerHeightFactor;
- _menuContainer.ShadowBorder = new ImageView(_imagePath + "/focuseffect/focus_launcher_shadow.9.png");
- _menuContainer.ShadowBorder.Name = "_menuContainer.ShadowBorder";
- _menuContainer.ShadowBorder.Size = new Size(_menuContainer.ItemSize.Width + 40.0f, _menuContainer.ItemSize.Height + 50.0f, 0.0f);
- _menuContainer.ShadowBorder.Position = new Position(0.0f, 5.0f, 0.0f);
- _menuContainer.ShadowBorder.ParentOrigin = ParentOrigin.Center;
- _menuContainer.ShadowBorder.PivotPoint = PivotPoint.Center;
- _menuContainer.ShadowBorder.PositionUsesPivotPoint = true;
- _menuContainer.SpotLight = spotLight;
- _bottomClipLayer.Add(_menuContainer);
-
- CreatePosters(); // Create Items for Poster ScrollContainer
- CreateMenu(); // Create Items for Menu ScrollContainer
-
- // Initialize PreFocusChange event of KeyboardFocusManager
- _keyboardFocusManager = FocusManager.Instance;
- _keyboardFocusManager.PreFocusChange += OnKeyboardPreFocusChangeSignal;
-
- _keyboardFocusIndicator = new ImageView(_imagePath + "/focuseffect/highlight_stroke.9.png");
- _keyboardFocusIndicator.ParentOrigin = ParentOrigin.Center;
- _keyboardFocusIndicator.PivotPoint = PivotPoint.Center;
- _keyboardFocusIndicator.PositionUsesPivotPoint = true;
- _keyboardFocusIndicator.WidthResizePolicy = ResizePolicyType.FillToParent;
- _keyboardFocusIndicator.HeightResizePolicy = ResizePolicyType.FillToParent;
-
- _keyboardFocusManager.FocusIndicator = (_keyboardFocusIndicator);
-
- _keyboardFocusManager.SetAsFocusGroup(_menuContainer, true);
- _keyboardFocusManager.SetAsFocusGroup(_postersContainer[0], true);
- _keyboardFocusManager.SetAsFocusGroup(_postersContainer[1], true);
- _keyboardFocusManager.FocusGroupLoop = (true);
-
- _focusEffect = new FocusEffect();
-
- // Move Fcous to Bottom Container (Menu ScrollContainer)
- ShowBottomContainer();
- _menuContainer.SetFocused(true);
-
-#if true
- //test.
- TextLabel _dateOfTest = new TextLabel();
- _dateOfTest.WidthResizePolicy = ResizePolicyType.FillToParent;
- _dateOfTest.HeightResizePolicy = ResizePolicyType.SizeRelativeToParent;
- _dateOfTest.PivotPoint = PivotPoint.TopCenter;
- _dateOfTest.PositionUsesPivotPoint = true;
- _dateOfTest.ParentOrigin = ParentOrigin.TopCenter;
- _dateOfTest.SizeModeFactor = new Vector3(0.0f, 0.1f, 0.0f);
- _dateOfTest.BackgroundColor = new Color(43.0f / 255.0f, 145.0f / 255.0f, 175.0f / 255.0f, 1.0f);
- _dateOfTest.TextColor = Color.White;
- _dateOfTest.Text = " Common Interface Define Verification Test of 2017-02-10 #1";
- _dateOfTest.HorizontalAlignment = HorizontalAlignment.Begin;
- _dateOfTest.VerticalAlignment = VerticalAlignment.Center;
- _dateOfTest.PointSize = 12.0f;
- _dateOfTest.UnderlineEnabled = true;
- _stage.GetDefaultLayer().Add(_dateOfTest);
- Tizen.Log.Debug("NUI", "### 1) ColorMode = " + _dateOfTest.ColorMode);
- _dateOfTest.ColorMode = ColorMode.UseParentColor;
- Tizen.Log.Debug("NUI", "### 2) ColorMode = " + _dateOfTest.ColorMode);
- _dateOfTest.ColorMode = ColorMode.UseOwnMultiplyParentColor;
- Tizen.Log.Debug("NUI", "### 3) ColorMode = " + _dateOfTest.ColorMode);
- Tizen.Log.Debug("NUI", "### 1) DrawModeType = " + _dateOfTest.DrawMode);
- _dateOfTest.DrawMode = DrawModeType.Overlay2D;
- Tizen.Log.Debug("NUI", "### 2) DrawModeType = " + _dateOfTest.DrawMode);
-
-#endif
-
- }
-
- [STAThread]
- static void _Main(string[] args)
- {
- Tizen.Log.Debug("NUI", "Main() is called! ");
-
- FirstScreenApp app = new FirstScreenApp();
- app.Run(args);
- }
-
- }
-}
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/Constants.cs b/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/Constants.cs
deleted file mode 100755
index e261835..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/Constants.cs
+++ /dev/null
@@ -1,51 +0,0 @@
-using System;
-
-namespace FirstScreen
-{
- public class Constants
- {
- public const int TotalPostersContainers = 2; // Number of Poster ScrollContainers to be added on Top Container
-
- public const float TopContainerHeightFactor = 0.38f; // Height Factor of stage height used for Top Container total height
- public const float TopContainerPositionFactor = 0.50f; // Position Factor of stage height used for Top Container position
- public const float TopClipLayerHeightFactor = 0.34f; // Height Factor of stage height used for Top Clip layer height
- public const float TopClipLayerExpandHeightFactor = 0.36f; // Expanded Height Factor of stage height used for Top Clip layer height (used when Bottom container is hidden)
- public const float PostersContainerHeightFactor = 0.32f; // Height Factor of stage height used for Poster ScrollContainers
- public const float PostersContainerPadding = 2.0f; // Padding size used between items / images in Poster ScrollContainer
- public const float PostersContainerMargin = 60.0f; // Extra margin Padding size used between items / images in Poster ScrollContainer when item / image is focused
- public const float PostersContainerOffsetYFactor = 0.17f; // Position Factor of Poster item height used for Poster items / images position
-
- public const float BottomContainerHeightFactor = 0.16f; // Height Factor of stage height used for Bottom Container total height
- public const float BottomContainerHidePositionFactor = 0.88f; // Position Factor of stage height used for Bottom Container position when bottom container is hidden (not focused)
- public const float BottomContainerShowPositionFactor = 0.84f; // Position Factor of stage height used for Bottom Container position when bottom container is not hidden (focused)
- public const float MenuContainerHeightFactor = 0.16f; // Height Factor of stage height used for Bottom ScrollContainers
- public const float BottomClipLayerHeightFactor = 0.84f; // Height Factor of stage height used for Bottom Clip layer height
- public const float MenuContainerPadding = 10.0f; // Padding size used between items / images in Menu ScrollContainer
- public const float MenuContainerMargin = 25.0f; // Extra margin Padding size used between items / images in Menu ScrollContainer when item / image is focused
- public const float MenuContainerOffsetYFactor = 0.35f; // Position Factor of Menu item height used for Menu items / images position
-
- public const float MenuItemWidthFactor = 0.125f; // Width Factor (1/8) of stage Width used for Menu items / images Width
- public const float MenuItemHeightFactor = 0.10f; // Height Factor of stage height used for Menu items / images Height
- public const float MenuItemsCount = 14; // Number of Menu items / images used in a Menu ScrollContainer
-
- public const float Poster0ItemWidthFactor = 0.25f; // Width Factor (1/4) of stage Width used for Poster items / images Width in a Poster ScrollContainer 0
- public const float Poster1ItemWidthFactor = 0.20f; // Width Factor of stage Width used for Poster items / images Width in a Poster ScrollContainer 1
- public const float PostersItemHeightFactor = 0.24f; // Height Factor of stage height used for Poster items / images Height
- public const float PostersItemsCount = 24; // Number of Menu items / images used in a Poster ScrollContainer
-
- public const float LauncherWidth = 280.0f; // Width of Launcher. Launcher is used to display three images on left of Menu ScrollContainer
- public const float LauncherLeftMargin = 40.0f; // Extra Spaces to the left of first Launcher item / image
- public const float LauncherSeparatorWidth = 20.0f; // Extra area / space to the left of Menu ScrollContainer used for a speration shadow image
- public const float LauncherItemsCount = 3.0f; // Total number of Launcher items / images
- public const float LauncherIconWidth = (LauncherWidth - LauncherLeftMargin - LauncherSeparatorWidth) / LauncherItemsCount; // Width of each Launcher item / image
-
- public const int SpotLightDuration = 5000; // Duration of Spot Light Animation.
- public const int FocusTransitionDuration = 350; // MilliSecond Duration of Focus Transition Animation.
- public const int FocusDuration = 350; // Duration of Focus Animation.
- public const int ScrollDuration = 350; // Duration of Scroll Animation.
-
- // public const string ImageResourcePath = "./firstscreen/images/"; // for Ubuntu
- public const string ImageResourcePath = "/home/owner/apps_rw/NUISamples.TizenTV/res/images/"; // for target
-
- }
-}
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusData.cs b/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusData.cs
deleted file mode 100755
index 39ab573..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusData.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-using Tizen.NUI;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
-using Tizen.NUI.Constants;
-using System;
-
-namespace FirstScreen
-{
- public class FocusData
- {
- private string _name; // Name used for FocusData object (mainly to differentiate key frame animation )
- private string _imageName; // Image File Name (to be loaded from disk) used for ImageView used in key frame animation
- private Position _parentOrigin; // ParentOrigin applied to ImageView
- private Size _initSize; // InitSize used for key frame animation
- private Size _targetSize; // TargetSize used for key frame animation
- private float _keyFrameStart; // KeyFrameStart used for key frame animation
- private float _keyFrameEnd; // KeyFrameEnd used for key frame animation
- private Direction _direction; // Direction used for key frame animation
- private ImageView _imageFocus; // ImageView used in key frame animation
-
- // Initialize FocusData used for key frame animation
- public FocusData(string name, string imageName, Direction direction, Position parentOrigin, Size initSize,
- Size targetSize, float keyFrameStart, float keyFrameEnd)
- {
- _name = name;
- _imageName = imageName;
- _parentOrigin = parentOrigin;
- _initSize = initSize;
- _targetSize = targetSize;
- _keyFrameStart = keyFrameStart;
- _keyFrameEnd = keyFrameEnd;
- _direction = direction;
-
- _imageFocus = new ImageView(Constants.ImageResourcePath + "/focuseffect/" + _imageName); // Target
-
- _imageFocus.ParentOrigin = _parentOrigin;
- _imageFocus.PivotPoint = PivotPoint.Center;
- _imageFocus.PositionUsesPivotPoint = true;
- _imageFocus.Name = _name;
- }
-
- public enum Direction
- {
- Horizontal,
- Vertical
- };
-
- public Direction FocusDirection
- {
- get { return _direction; }
- set { _direction = value; }
- }
-
- public string Name
- {
- get { return _name; }
- set { _name = value; }
- }
-
- public string ImageName
- {
- get { return _imageName; }
- set { _imageName = value; }
- }
-
- public Position ParentOrigin
- {
- get
- {
- return _parentOrigin;
- }
-
- set
- {
- _parentOrigin = value;
- _imageFocus.ParentOrigin = _parentOrigin;
- }
- }
-
- public Size InitSize
- {
- get { return _initSize; }
- set { _initSize = value; }
- }
-
- public Size TargetSize
- {
- get { return _targetSize; }
- set { _targetSize = value; }
- }
-
- public float KeyFrameStart
- {
- get { return _keyFrameStart; }
- set { _keyFrameStart = value; }
- }
-
- public float KeyFrameEnd
- {
- get { return _keyFrameEnd; }
- set { _keyFrameEnd = value; }
- }
-
- public ImageView ImageItem
- {
- get { return _imageFocus; }
- }
-
- }
-}
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusEffect.cs b/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusEffect.cs
deleted file mode 100755
index cde912d..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/FocusEffect.cs
+++ /dev/null
@@ -1,207 +0,0 @@
-using Tizen.NUI;
-using Tizen.NUI.Constants;
-using Tizen.NUI.BaseComponents;
-using System;
-using System.Collections.Generic;
-
-namespace FirstScreen
-{
- public class FocusEffect : IFocusEffect
- {
- private float _frameThickness;
- private FocusData[] _focusData; // Each FocusData is used for one key frame animation (total 6 key frame animations needed for EddenEffect)
- private Animation _animation; // Animation used to apply all six key frame animations
-
- public FocusEffect()
- {
- _frameThickness = 10.0f;
- float _bottomFrameTime = 0.6f; // complete the halo/bottom animation 60% of the way through
- float _sideFrameTime = 0.8f; // Start the side frame animation after the bottom animation and complete at 80% of the way through
- float _topFrameTime = 1.0f; // start the top frame animation after the side frame animation and complete at 100% way through
-
- // Six key frame animations (FocusData objects) needed for EddenEffect
- // Two key frame animations for top horizontal effect
- // Two key frame animations for bottom horizontal effect
- // Two key frame animations for vertical horizontal effect
- _focusData = new FocusData[6];
-
- FocusData focusData = new FocusData("halo", "halo.png", FocusData.Direction.Horizontal, ParentOrigin.TopCenter,
- new Size(50.0f, 20.0f, 0.0f), new Size(0.0f, 100.0f, 0.0f), 0.0f, _bottomFrameTime);
- _focusData[0] = focusData;
-
- focusData = new FocusData("bottom", "horizontalFrame.png", FocusData.Direction.Horizontal, ParentOrigin.TopCenter,
- new Size(0.0f, 0.0f, 0.0f), new Size(0.0f, _frameThickness, 0.0f), 0.0f, _bottomFrameTime);
- _focusData[1] = focusData;
-
- focusData = new FocusData("left", "verticalFrame.png", FocusData.Direction.Vertical, ParentOrigin.BottomLeft,
- new Size(0.0f, 0.0f, 0.0f), new Size(_frameThickness, 0.0f, 0.0f), _bottomFrameTime, _sideFrameTime);
- _focusData[2] = focusData;
-
- focusData = new FocusData("right", "verticalFrame.png", FocusData.Direction.Vertical, ParentOrigin.BottomRight,
- new Size(0.0f, 0.0f, 0.0f), new Size(_frameThickness, 0.0f, 0.0f), _bottomFrameTime, _sideFrameTime);
- _focusData[3] = focusData;
-
- focusData = new FocusData("top-left", "horizontalFrame.png", FocusData.Direction.Horizontal, ParentOrigin.BottomLeft,
- new Size(0.0f, 0.0f, 0.0f), new Size(0.0f, _frameThickness, 0.0f), _sideFrameTime, _topFrameTime);
- _focusData[4] = focusData;
-
- focusData = new FocusData("top-right", "horizontalFrame.png", FocusData.Direction.Horizontal, ParentOrigin.BottomRight,
- new Size(0.0f, 0.0f, 0.0f), new Size(0.0f, _frameThickness, 0.0f), _sideFrameTime, _topFrameTime);
- _focusData[5] = focusData;
- }
-
- public void FocusAnimation(View parentItem, Size itemSize, int duration, FocusEffectDirection direction)
- {
- var itemWidth = itemSize.Width + _frameThickness / 2;
- var itemHeight = itemSize.Height + _frameThickness / 3;
-
- if (_animation)
- {
- _animation.Clear();
- _animation.Reset();
- }
-
- _animation = new Animation(duration);
- _animation.Duration = duration;
-
- if (direction == FocusEffectDirection.BottomToTop)
- {
- _focusData[0].ParentOrigin = ParentOrigin.BottomCenter;
- _focusData[1].ParentOrigin = ParentOrigin.BottomCenter;
- _focusData[2].ParentOrigin = ParentOrigin.BottomLeft;
- _focusData[3].ParentOrigin = ParentOrigin.BottomRight;
- _focusData[4].ParentOrigin = ParentOrigin.TopLeft;
- _focusData[5].ParentOrigin = ParentOrigin.TopRight;
- }
- else
- {
- _focusData[0].ParentOrigin = ParentOrigin.TopCenter;
- _focusData[1].ParentOrigin = ParentOrigin.TopCenter;
- _focusData[2].ParentOrigin = ParentOrigin.BottomLeft;
- _focusData[3].ParentOrigin = ParentOrigin.BottomRight;
- _focusData[4].ParentOrigin = ParentOrigin.BottomLeft;
- _focusData[5].ParentOrigin = ParentOrigin.BottomRight;
- }
-
- foreach (FocusData focusData in _focusData)
- {
- var currentParent = focusData.ImageItem.Parent;
-
- // first parent the controls
- if (parentItem != currentParent)
- {
- parentItem.Add(focusData.ImageItem);
- }
-
- focusData.ImageItem.Size = new Size(100.0f, 100.0f, 0.0f);
- parentItem.Add(focusData.ImageItem);
-
- Size targetSize = focusData.TargetSize;
- Size initSize = focusData.InitSize;
-
- if (focusData.FocusDirection == FocusData.Direction.Horizontal)
- {
- // adjust the width to match the parent
- targetSize.Width = itemWidth;
- }
- else // vertical frame
- {
- // adjust the height to match the parent
- targetSize.Height = itemHeight;
- }
-
- // half the size for the top frame as we come out from both left / right sides
- if (focusData.Name == "top-right" || focusData.Name == "top-left")
- {
- targetSize.Width = itemWidth - _frameThickness;
- }
-
- KeyFrames keyFrames = new KeyFrames();
-
- keyFrames.Add(0.0f, initSize);
- keyFrames.Add(focusData.KeyFrameStart, initSize);
- keyFrames.Add(focusData.KeyFrameEnd, targetSize);
-
- // for halo add an extra keyframe to shrink it ( in 20% of time after it has finished)
- if (focusData.Name == "halo")
- {
- keyFrames.Add(focusData.KeyFrameEnd + 0.2f, initSize);
- }
-
- _animation.AnimateBetween(focusData.ImageItem, "Size", keyFrames, Animation.Interpolation.Linear, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
- // Simulate the vertical frame growing from the top.
- // Vertical items are anchored to the bottom of the parent... so when they grow
- // we need to move them to the middle of the parent ( otherwise they stick out the bottom)
- if (focusData.FocusDirection == FocusData.Direction.Vertical)
- {
- //animate position as well so it looks like animation is coming from bottom
- KeyFrames keyFramesV = new KeyFrames();
-
- if (direction == FocusEffectDirection.BottomToTop)
- {
- keyFramesV.Add(0.0f, 0.0f);
- keyFramesV.Add(focusData.KeyFrameStart, 0.0f);
- }
- else
- {
- keyFramesV.Add(0.0f, -itemHeight);
- keyFramesV.Add(focusData.KeyFrameStart, -itemHeight);
- }
-
- keyFramesV.Add(focusData.KeyFrameEnd, (-itemHeight / 2)); // animate to halfway up the control
-
-
- _animation.AnimateBetween(focusData.ImageItem, "PositionY", keyFramesV, Animation.Interpolation.Linear, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
-
- }
-
- // Simulate the top frame growing from the sides.
- if (focusData.Name == "top-left")
- {
- KeyFrames keyFramesTL = new KeyFrames();
-
- keyFramesTL.Add(0.0f, 0.0f);
- keyFramesTL.Add(focusData.KeyFrameStart, 0.0f);
- keyFramesTL.Add(focusData.KeyFrameEnd, (itemWidth / 2)); // animate to halfway up the control
-
- // grow these from the left or right
- _animation.AnimateBetween(focusData.ImageItem, "PositionX", keyFramesTL, Animation.Interpolation.Linear, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
-
- }
-
- if (focusData.Name == "top-right")
- {
- KeyFrames keyFramesTR = new KeyFrames();
-
- keyFramesTR.Add(0.0f, 0.0f);
- keyFramesTR.Add(focusData.KeyFrameStart, 0.0f);
- keyFramesTR.Add(focusData.KeyFrameEnd, (-itemWidth / 2)); // animate to halfway up the control
-
- // grow these from the left or right
- _animation.AnimateBetween(focusData.ImageItem, "PositionX", keyFramesTR, Animation.Interpolation.Linear, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
- }
-
- _animation.Finished += OnAnimationFinished;
-
- _animation.Play();
- }
- }
-
- private void OnAnimationFinished(object source, EventArgs e)
- {
- foreach (FocusData focusData in _focusData)
- {
- var currentParent = focusData.ImageItem.Parent;
-
- if (currentParent)
- {
- currentParent.Remove(focusData.ImageItem);
- }
- }
- }
- }
-}
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/IFocusEffect.cs b/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/IFocusEffect.cs
deleted file mode 100755
index d9a8e5c..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/IFocusEffect.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using Tizen.NUI;
-using System;
-using Tizen.NUI.BaseComponents;
-
-namespace FirstScreen
-{
- public enum FocusEffectDirection
- {
- TopToBottom,
- BottomToTop
- };
-
- public interface IFocusEffect
- {
- void FocusAnimation(View parentItem, Size itemSize, int duration, FocusEffectDirection direction);
- }
-}
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/ScrollContainer.cs b/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/ScrollContainer.cs
deleted file mode 100755
index 4faa23d..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/firstscreen/ScrollContainer.cs
+++ /dev/null
@@ -1,644 +0,0 @@
-using Tizen.NUI;
-using Tizen.NUI.Constants;
-using Tizen.NUI.UIComponents;
-using Tizen.NUI.BaseComponents;
-using System;
-using System.Runtime.InteropServices;
-using System.Collections.Generic;
-
-namespace FirstScreen
-{
- public class ScrollContainer : CustomView
- {
- private View _container; // View Container will be the first item added to ScrollContainer and parent to all the items added to the ScrollContainer.
- private Size _itemSize; // Size of the item / images added to the ScrollContainer.
- private List<View> _itemList; // List collection of View items/images added to the ScrollContainer.
- private int _itemCount; // Number of items / images added to the ScrollContainer.
- private int _focusedItem; // Index of currently focused View item / image on the ScrollContainer.
- private float _scrollDisplacement; // Used for horizontal pan displacement.
- private float _currentScrollPosition; // Used for horizontal scroll position.
- private float _gap; // Used for gap / padding between items / images on the ScrollContainer.
- private float _width; // Width of the ScrollContainer.
- private float _height; // Height of the ScrollContainer.
- private bool _isFocused; // Flag to check if ScrollContainer is enabled or not.
- private float _marginX; // Extra horizontal margin is used to add an extra gap between items / images after a focused and scaled item / image.
- private float _marginY; // Extra vertical margin (not used at the moment).
- private float _offsetYFactor; // Vertical Position offset Factor of item height.
- private float _offsetX; // Horizontal Position offset of ScrollContainer.
- private Stage _stage; // Reference to Dali stage.
- private Size2D _stageSize; // Reference to Dali stage size.
- private ImageView _shadowBorder; // Reference to Shadow border ImageView applied to the focused item on ScrollContainer.
- private ImageView _spotLight; // Reference to SpotLight ImageView applied to the focused item on ScrollContainer.
- private Animation _spotLightAnimation; // SpotLight Animation applied to the focused item on ScrollContainer.
- private Animation _focusAnimation; // Focused position animation on ScrollContainer.
- private Animation _scrollAnimation; // Scroll animation on items of ScrollContainer.
- private Animation _focusTransitionAnimation; // Focus Transition (scaling /unscaling) animation on items of ScrollContainer.
- private Path _circularPath; // Circular path used for SpotLight Animation applied to the focused item on ScrollContainer.
-
- static CustomView CreateInstance()
- {
- return new ScrollContainer();
- }
-
- // static constructor registers the control type (for user can add kinds of visuals to it)
- static ScrollContainer()
- {
- // ViewRegistry registers control type with DALi type registery
- // also uses introspection to find any properties that need to be registered with type registry
- ViewRegistry.Instance.Register(CreateInstance, typeof(ScrollContainer));
- }
-
- public ScrollContainer() : base(typeof(ScrollContainer).Name, CustomViewBehaviour.DisableStyleChangeSignals |
- CustomViewBehaviour.RequiresKeyboardNavigationSupport)
- {
- }
-
- public bool IsFocused
- {
- get
- {
- return _isFocused;
- }
- }
-
- public Tizen.NUI.BaseComponents.View Container
- {
- get
- {
- return _container;
- }
- }
-
- public int ItemCount
- {
- get
- {
- return _itemCount;
- }
- }
-
- public Size ItemSize
- {
- get
- {
- return _itemSize;
- }
-
- set
- {
- _itemSize = value;
-
- Position topLeft = new Position(-0.25f * _itemSize.Width, -0.25f * _itemSize.Height, 0.0f);
- Position topRight = new Position(0.25f * _itemSize.Width, -0.25f * _itemSize.Height, 0.0f);
- Position bottomRight = new Position(0.25f * _itemSize.Width, 0.25f * _itemSize.Height, 0.0f);
- Position bottomLeft = new Position(-0.25f * _itemSize.Width, 0.25f * _itemSize.Height, 0.0f);
-
- _circularPath = new Path();
- _circularPath.AddPoint(topLeft);
- _circularPath.AddPoint(topRight);
- _circularPath.AddPoint(bottomRight);
- _circularPath.AddPoint(bottomLeft);
- _circularPath.AddPoint(topLeft);
- _circularPath.GenerateControlPoints(0.5f);
- }
- }
-
- public float Gap
- {
- get
- {
- return _gap;
- }
-
- set
- {
- _gap = value;
- }
- }
-
- public float MarginX
- {
- get
- {
- return _marginX;
- }
-
- set
- {
- _marginX = value;
- }
- }
-
- public float OffsetYFator
- {
- get
- {
- return _offsetYFactor;
- }
-
- set
- {
- _offsetYFactor = value;
- }
- }
-
- public float OffsetX
- {
- get
- {
- return _offsetX;
- }
-
- set
- {
- _offsetX = value;
- }
- }
-
- public float MarginY
- {
- get
- {
- return _marginY;
- }
-
- set
- {
- _marginY = value;
- }
- }
-
- public float Width
- {
- get
- {
- return _width;
- }
-
- set
- {
- _width = value;
- }
- }
-
- public float Height
- {
- get
- {
- return _height;
- }
-
- set
- {
- _height = value;
- }
- }
-
- public ImageView ShadowBorder
- {
- get
- {
- return _shadowBorder;
- }
-
- set
- {
- _shadowBorder = value;
- }
- }
-
- public ImageView SpotLight
- {
- get
- {
- return _spotLight;
- }
-
- set
- {
- _spotLight = value;
- }
- }
-
- public int FocusedItemID
- {
- get
- {
- if (_focusedItem < 0)
- {
- _focusedItem = 0;
- }
-
- return _focusedItem;
- }
- }
-
- // This override method is called automatically after the Control has been initialized.
- // Any second phase initialization is done here.
- public override void OnInitialize()
- {
- _itemSize = new Size(0.0f, 0.0f, 0.0f);
- _gap = 0.0f;
- _width = 0.0f;
- _height = 0.0f;
- _currentScrollPosition = 0.0f;
- _itemCount = 0;
- _focusedItem = -1;
- _isFocused = false;
- _marginX = 50.0f;
- _marginY = 0.0f;
- _offsetYFactor = 0.0f;
- _offsetX = 0.0f;
-
- _container = new View();
- this.Add(_container);
-
- _itemList = new List<View>();
-
- this.ParentOrigin = Tizen.NUI.ParentOrigin.TopLeft;
- this.WidthResizePolicy = ResizePolicyType.FillToParent;
- this.HeightResizePolicy = ResizePolicyType.FillToParent;
- this.Focusable = (true);
-
- _container.ParentOrigin = Tizen.NUI.ParentOrigin.TopLeft;
- _container.WidthResizePolicy = ResizePolicyType.FillToParent;
- _container.HeightResizePolicy = ResizePolicyType.FillToParent;
-
- _stage = Stage.Instance;
- _stageSize = _stage.Size;
-
- _spotLightAnimation = new Animation(Constants.SpotLightDuration);
- _focusTransitionAnimation = new Animation(Constants.FocusTransitionDuration);
- _focusAnimation = new Animation(Constants.FocusDuration);
- _focusAnimation.EndAction = Animation.EndActions.StopFinal;
- _scrollAnimation = new Animation(Constants.ScrollDuration);
- _scrollAnimation.EndAction = Animation.EndActions.StopFinal;
-
- //changed to internal
- //EnableGestureDetection(Gesture.Type.Pan);
- }
-
- // This will be invoked automatically if an item/image is added to the ScrollContainer
- public override void OnChildAdd(Actor actor)
- {
- View item = View.DownCast(actor);
- //View item = actor as View;
-
- if (item is View && item != _container)
- {
- item.PivotPoint = Tizen.NUI.PivotPoint.BottomCenter;
- item.PositionUsesPivotPoint = true;
- item.ParentOrigin = Tizen.NUI.ParentOrigin.BottomCenter;
-
- item.Size = _itemSize;
- item.Focusable = (true);
- item.Position = GetItemPosition(_itemCount, _currentScrollPosition);
- item.Name = _itemCount.ToString();
-
- _container.Add(item);
- _itemList.Add(item);
-
- _itemCount++;
- }
- }
-
- // This will be invoked automatically if an item/image is removed from the ScrollContainer
- public override void OnChildRemove(Actor actor)
- {
- View item = View.DownCast(actor);
- //View item = actor as View;
-
- if (item is View && item != _container)
- {
- _container.Remove(item);
-
- _itemCount--;
- _itemList.Remove(item);
- }
- }
-
- // This override function supports two dimensional keyboard navigation.
- // This function returns the next keyboard focusable actor in ScrollContainer control towards the given direction.
- public override View GetNextFocusableView(View currentFocusedView, View.FocusDirection direction, bool loopEnabled)
- {
- if (direction == View.FocusDirection.Left)
- {
- return View.DownCast(FocusPrevious(loopEnabled));
- }
- else if (direction == View.FocusDirection.Right)
- {
- return View.DownCast(FocusNext(loopEnabled));
- }
- else
- {
- return View.DownCast(currentFocusedView);
- }
- }
-
- public override void OnFocusChangeCommitted(View commitedFocusableView)
- {
- Focus(_focusedItem);
- }
-
-
- // This override function is invoked before chosen focusable actor will be focused.
- // This allows the application to preform any actions (i.e. Scroll and SpotLight animations) before the focus is actually moved to the chosen actor.
-
- // This override function is invoked whenever a pan gesture is detected on this control.
- // Perform Scroll Animation based upon pan gesture velocity / speed.
- /*public override void OnPan(PanGesture pan)
- {
- return; //currently not used
- }*/
-
- // This function returns current focused actor
- public View GetCurrentFocusedActor()
- {
- if (_focusedItem < 0)
- {
- _focusedItem = 0;
- }
-
- return _itemList[_focusedItem];
- }
-
- public void SetFocused(bool focused)
- {
- _isFocused = focused;
-
- // Perform Focus animation if the ScrollContainer is not focused already
- if (!_isFocused)
- {
- Actor parent = _shadowBorder.Parent;
- if (parent)
- {
- parent.Remove(_shadowBorder);
- }
-
- parent = _spotLight.Parent;
- if (parent)
- {
- parent.Remove(_spotLight);
- }
-
- _focusTransitionAnimation.Clear();
-
- for (int i = 0; i < _itemList.Count; ++i)
- {
- Position targetPosition = GetItemPosition(i, _currentScrollPosition);
-
- _focusTransitionAnimation.AnimateTo(_itemList[i], "Position", targetPosition, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
-
- _focusTransitionAnimation.AnimateTo(_itemList[i], "Scale", new Size(1.0f, 1.0f, 1.0f), new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
- }
-
- _focusTransitionAnimation.Play();
- }
- else
- {
- Focus(_focusedItem);
- }
- }
-
- // Obtain ID of first visible item/image on the screen of the ScrollContainer
- private int GetFirstVisibleItemId()
- {
- int firstItemId = -1;
-
- if (_isFocused)
- {
- firstItemId = (int)Math.Floor((-1.0 * _currentScrollPosition + _marginX * 2.0f) / (_itemSize.Width + _gap));
- }
- else
- {
- firstItemId = (int)Math.Floor(-1.0 * _currentScrollPosition / (_itemSize.Width + _gap));
- }
-
- if (firstItemId < 0)
- {
- firstItemId = 0;
- }
-
- return firstItemId;
- }
-
- // Obtain ID of last visible item/image on the screen of the ScrollContainer
- private int GetLastVisibleItemId()
- {
- int lastItemId = -1;
-
- if (_isFocused)
- {
- lastItemId = (int)Math.Ceiling(((_width - _currentScrollPosition - _marginX * 2.0f) / _itemSize.Width) - 1);
- }
- else
- {
- lastItemId = (int)Math.Ceiling(((_width - _currentScrollPosition) / _itemSize.Width) - 1);
- }
-
- if (lastItemId >= _itemList.Count)
- {
-
- lastItemId = _itemList.Count - 1;
- }
-
- return lastItemId;
- }
-
- // Obtain Next item/image (Right of the currently focused item) of the ScrollContainer
- private Actor FocusNext(bool loopEnabled)
- {
- int nextItem = -1;
-
- if (_focusedItem < GetFirstVisibleItemId() || _focusedItem > GetLastVisibleItemId())
- {
- nextItem = GetFirstVisibleItemId();
- }
- else
- {
- nextItem = _focusedItem + 1;
- }
-
- if (nextItem >= _itemList.Count)
- {
- if (loopEnabled)
- {
- nextItem = 0;
- }
- else
- {
- nextItem = _itemList.Count - 1;
- }
- }
-
- _focusedItem = nextItem;
- return _itemList[_focusedItem];
- }
-
- // Obtain Previous item/image (left of the currently focused item) of the ScrollContainer
- private Actor FocusPrevious(bool loopEnabled)
- {
- int previousItem = -1;
-
- if (_focusedItem < GetFirstVisibleItemId() || _focusedItem > GetLastVisibleItemId())
- {
- previousItem = GetFirstVisibleItemId();
- }
- else
- {
- previousItem = _focusedItem - 1;
- }
-
- if (previousItem < 0)
- {
- if (loopEnabled)
- {
- previousItem = _itemList.Count - 1;
- }
- else
- {
- previousItem = 0;
- }
- }
-
- _focusedItem = previousItem;
- return _itemList[_focusedItem];
- }
-
- // Perform ScrollAnimation on each item
- private void Scroll(float amount, int baseItem)
- {
- float tagetScrollPosition = _currentScrollPosition + amount;
- float totalItemSize = _itemList.Count * (_itemSize.Width + _gap) + _gap + (_marginX * 2.0f);
-
- float maxScrollPosition = _width - totalItemSize;
-
- if (tagetScrollPosition < maxScrollPosition)
- {
- tagetScrollPosition = maxScrollPosition;
- }
-
- if (tagetScrollPosition > 0.0f)
- {
- tagetScrollPosition = 0.0f;
- }
-
- _scrollAnimation.Clear();
-
- for (int i = 0; i < _itemList.Count; ++i)
- {
- Position targetPosition = GetItemPosition(i, tagetScrollPosition);
-
- _scrollAnimation.AnimateTo(_itemList[i], "Position", targetPosition, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
- }
-
- _currentScrollPosition = tagetScrollPosition;
- _scrollAnimation.Play();
- }
-
- // This function uses ItemId as next FocusedItem and preforms Scroll and SpotLight animations on that item.
- private void Focus(int itemId)
- {
-
- if (itemId < 0)
- {
- itemId = 0;
- }
- else if (itemId >= _itemList.Count)
- {
- itemId = _itemList.Count - 1;
- }
-
- _itemList[itemId].Add(_shadowBorder);
- _itemList[itemId].Add(_spotLight);
-
- // Perform Spot Light animation
- if (_focusedItem != itemId && _spotLight != null)
- {
- _spotLightAnimation.Clear();
- _spotLightAnimation.AnimatePath(_spotLight, _circularPath, new Vector3(0.0f, 0.0f, 0.0f));
- _spotLightAnimation.Looping = true;
- _spotLightAnimation.Play();
- }
-
- _focusedItem = itemId;
-
- Position itemPosition = GetItemPosition(_focusedItem, _currentScrollPosition);
-
- _focusAnimation.Clear();
-
- float relativeItemPositionX = itemPosition.X - _itemSize.Width * 0.5f + (_stageSize.Width * 0.5f) + _offsetX;
- if (relativeItemPositionX < _marginX + _offsetX + _gap)
- {
- float amount = _marginX + _offsetX + _gap - relativeItemPositionX;
- Scroll(amount, itemId + 1); // Perform Scroll animation
- }
- else if (relativeItemPositionX + _itemSize.Width + _gap + _marginX > _stageSize.Width)
- {
- float amount = relativeItemPositionX + _marginX + _gap + _itemSize.Width - _stageSize.Width;
- Scroll(-amount, itemId - 1); // Perform Scroll animation
- }
- else
- {
- // Perform animation when item is focused
- for (int i = 0; i < _itemList.Count; ++i)
- {
- Position targetPosition = GetItemPosition(i, _currentScrollPosition);
-
- _focusAnimation.AnimateTo(_itemList[i], "Position",targetPosition, new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine) );
- }
- }
-
- for (int i = 0; i < _itemList.Count; ++i)
- {
- // Perform scale animation on Focused item
- if (i == _focusedItem)
- {
- _focusAnimation.AnimateTo(_itemList[i], "Scale", new Size(1.2f, 1.2f, 1.2f), new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine));
- }
- else
- {
-
- _focusAnimation.AnimateTo(_itemList[i], "Scale", new Size(1.0f, 1.0f, 1.0f), new AlphaFunction(AlphaFunction.BuiltinFunctions.EaseOutSine) );
- }
- }
-
- _focusAnimation.Play();
-
- }
-
- // Calculate Position of any item/image of ScrollContainer
- private Position GetItemPosition(int itemId, float scrollPosition)
- {
- if (_isFocused)
- {
- // used (_itemSize.Width * 0.5f) because of AnchorPointCenter
- // used (_stageSize.Width * 0.5f) because of ParentOriginCenter
- if (_focusedItem > itemId)
- {
- float positionX = (_itemSize.Width * itemId) + (_gap * (itemId + 1)) + scrollPosition + (_itemSize.Width * 0.5f) - (_stageSize.Width * 0.5f);
- return new Position(positionX, -_itemSize.Height * _offsetYFactor, 0.0f);
- }
- else if (_focusedItem == itemId)
- {
- float positionX = (_itemSize.Width * itemId) + (_gap * (itemId + 1)) + scrollPosition + _marginX + (_itemSize.Width * 0.5f) - (_stageSize.Width * 0.5f);
- return new Position(positionX, -_itemSize.Height * _offsetYFactor, 0.0f);
- }
- else
- {
- float positionX = (_itemSize.Width * itemId) + (_gap * (itemId + 1)) + scrollPosition + _marginX * 2.0f + (_itemSize.Width * 0.5f) - (_stageSize.Width * 0.5f);
- return new Position(positionX, -_itemSize.Height * _offsetYFactor, 0.0f);
- }
- }
- else
- {
- float positionX = (_itemSize.Width * itemId) + (_gap * (itemId + 1)) + scrollPosition + (_itemSize.Width * 0.5f) - (_stageSize.Width * 0.5f);
- return new Position(positionX, -_itemSize.Height * _offsetYFactor, 0.0f);
- }
- }
-
-
- }
-
-}
-
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/tizen-manifest.xml b/NUISamples/NUISamples/NUISamples.Tizen/tizen-manifest.xml
deleted file mode 100755
index 3899572..0000000
--- a/NUISamples/NUISamples/NUISamples.Tizen/tizen-manifest.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="NUISamples.Tizen" version="1.0.0">
- <profile name="common" />
- <ui-application appid="org.tizen.example.NUISamples.Tizen"
- exec="NUISamples.Tizen.exe"
- type="dotnet"
- multiple="false"
- taskmanage="true"
- nodisplay="false"
- launch_mode="single">
- <label>NUISamples.Tizen</label>
- <icon>NUISamples.Tizen.png</icon>
- </ui-application>
-</manifest>
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/Main.cs b/NUISamples/examples/Main.cs
index 69dd603..69dd603 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/Main.cs
+++ b/NUISamples/examples/Main.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/as-is-test-sample.cs b/NUISamples/examples/as-is-test-sample.cs
index da94300..da94300 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/as-is-test-sample.cs
+++ b/NUISamples/examples/as-is-test-sample.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/control-dashboard.cs b/NUISamples/examples/control-dashboard.cs
index bea0ec6..bea0ec6 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/control-dashboard.cs
+++ b/NUISamples/examples/control-dashboard.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/custom-control.cs b/NUISamples/examples/custom-control.cs
index df9e60e..df9e60e 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/custom-control.cs
+++ b/NUISamples/examples/custom-control.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/dali-test.cs b/NUISamples/examples/dali-test.cs
index b25aa6e..b25aa6e 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/dali-test.cs
+++ b/NUISamples/examples/dali-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker-using-json/ViewRegistryHelper.cs b/NUISamples/examples/date-picker-using-json/ViewRegistryHelper.cs
index 95a86d8..95a86d8 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker-using-json/ViewRegistryHelper.cs
+++ b/NUISamples/examples/date-picker-using-json/ViewRegistryHelper.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker-using-json/date-picker-using-json.cs b/NUISamples/examples/date-picker-using-json/date-picker-using-json.cs
index 56e7ab9..56e7ab9 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker-using-json/date-picker-using-json.cs
+++ b/NUISamples/examples/date-picker-using-json/date-picker-using-json.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker.cs b/NUISamples/examples/date-picker.cs
index 1163ee4..1163ee4 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/date-picker.cs
+++ b/NUISamples/examples/date-picker.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/feedkey-test.cs b/NUISamples/examples/feedkey-test.cs
index 0138376..0138376 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/feedkey-test.cs
+++ b/NUISamples/examples/feedkey-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/flex-container.cs b/NUISamples/examples/flex-container.cs
index f753255..f753255 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/flex-container.cs
+++ b/NUISamples/examples/flex-container.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/gc-test.cs b/NUISamples/examples/gc-test.cs
index 04c9b29..04c9b29 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/gc-test.cs
+++ b/NUISamples/examples/gc-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/hello-test.cs b/NUISamples/examples/hello-test.cs
index e67995f..e67995f 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/hello-test.cs
+++ b/NUISamples/examples/hello-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/hello-world.cs b/NUISamples/examples/hello-world.cs
index cf6cf48..78895a9 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/hello-world.cs
+++ b/NUISamples/examples/hello-world.cs
@@ -45,8 +45,8 @@ namespace HelloWorldTest
window.KeyEvent += OnWindowKeyEvent;
window.Resized += (obj, e) =>
{
- NUILog.Debug("Height: " + e.WindowSize.Height);
- NUILog.Debug("Width: " + e.WindowSize.Width);
+ Tizen.Log.Debug("NUI", "Height: " + e.WindowSize.Height);
+ Tizen.Log.Debug("NUI", "Width: " + e.WindowSize.Width);
};
pixelLabel = new TextLabel("Test Pixel Size 32.0f");
@@ -72,7 +72,7 @@ namespace HelloWorldTest
}
catch (Exception e)
{
- NUILog.Debug($"exception caught! e={e}");
+ Tizen.Log.Debug("NUI", $"exception caught! e={e}");
}
}).Wait();
@@ -95,7 +95,7 @@ namespace HelloWorldTest
_view = new View();
_view.Size2D = new Size2D(100, 100);
_view.SizeWidth = 50;
- NUILog.Debug("[1]_view SizeWidth=" + _view.SizeWidth);
+ Tizen.Log.Debug("NUI", "[1]_view SizeWidth=" + _view.SizeWidth);
_animation = new Animation
{
@@ -109,7 +109,7 @@ namespace HelloWorldTest
_animation.Finished += AnimationFinished;
_view.SizeWidth = 50;
- NUILog.Debug("[2]_view SizeWidth=" + _view.SizeWidth);
+ Tizen.Log.Debug("NUI", "[2]_view SizeWidth=" + _view.SizeWidth);
TextLabelLineWrapModeTest();
ViewLayoutDirectionTest();
@@ -153,19 +153,19 @@ namespace HelloWorldTest
public void AnimationFinished(object sender, EventArgs e)
{
- NUILog.Debug("AnimationFinished()! cnt=" + (cnt));
+ Tizen.Log.Debug("NUI", "AnimationFinished()! cnt=" + (cnt));
if (_animation)
{
- NUILog.Debug("Duration= " + _animation.Duration + "EndAction= " + _animation.EndAction);
+ Tizen.Log.Debug("NUI", "Duration= " + _animation.Duration + "EndAction= " + _animation.EndAction);
}
_view.SizeWidth = 50;
- NUILog.Debug("[3]_view SizeWidth=" + _view.SizeWidth);
+ Tizen.Log.Debug("NUI", "[3]_view SizeWidth=" + _view.SizeWidth);
}
int win_test;
public void OnWindowKeyEvent(object sender, Window.KeyEventArgs e)
{
- NUILog.Debug("e.Key.KeyPressedName=" + e.Key.KeyPressedName);
+ Tizen.Log.Debug("NUI", "e.Key.KeyPressedName=" + e.Key.KeyPressedName);
if (e.Key.State == Key.StateType.Down)
{
@@ -175,14 +175,12 @@ namespace HelloWorldTest
{
_animation.Finished += AnimationFinished;
cnt++;
- NUILog.Debug("AnimationFinished added!");
- view1.LayoutDirection = ViewLayoutDirectionType.LTR;
- NUILog.Error("change view1's layout direction as LTR!");
+ Tizen.Log.Debug("NUI", "AnimationFinished added!");
}
pointLabel.TextColorAnimatable = Color.Blue;
pixelLabel.TextColorAnimatable = Color.Blue;
- NUILog.Debug($"LineWrapMode 1st={ myTextLabel?.LineWrapMode} 2nd={ myTextLabel2?.LineWrapMode}");
+ Tizen.Log.Debug("NUI", $"LineWrapMode 1st={ myTextLabel?.LineWrapMode} 2nd={ myTextLabel2?.LineWrapMode}");
}
else if (e.Key.KeyPressedName == "Down")
{
@@ -190,25 +188,18 @@ namespace HelloWorldTest
{
_animation.Finished -= AnimationFinished;
cnt--;
- NUILog.Debug("AnimationFinished removed!");
- view1.LayoutDirection = ViewLayoutDirectionType.RTL;
- NUILog.Error("change view1's layout direction as RTL!");
+ Tizen.Log.Debug("NUI", "AnimationFinished removed!");
}
pointLabel.TextColorAnimatable = Color.Red;
pixelLabel.TextColorAnimatable = Color.Red;
Window.Instance.SetClass($"Window.SetClass() Test #{win_test++}", "");
- NUILog.Debug($"Check with enlightenment_info -topwins ! Window.SetClass() Test #{win_test}");
+ Tizen.Log.Debug("NUI", $"Check with enlightenment_info -topwins ! Window.SetClass() Test #{win_test}");
}
else if (e.Key.KeyPressedName == "Return")
{
_animation.Play();
- NUILog.Debug("_animation play here!");
- NUILog.Error(view1.Name + " = " + view1.LayoutDirection + "(changed by up/down key)");
- NUILog.Error(view11.Name + " = " + view11.LayoutDirection + "(should same as view 1)");
- NUILog.Error(view12.Name + " = " + view12.LayoutDirection + "(should be LTR)");
- NUILog.Error(view111.Name + " = " + view111.LayoutDirection + "(should same as view 11)");
- NUILog.Error(view121.Name + " = " + view121.LayoutDirection + "(should same as view 12)");
+ Tizen.Log.Debug("NUI", "_animation play here!");
}
}
}
@@ -227,7 +218,7 @@ namespace HelloWorldTest
private TextEditor myTextEditor2;
public void TextLabelLineWrapModeTest()
{
- NUILog.Debug("WrapModeTest START!");
+ Tizen.Log.Debug("NUI", "WrapModeTest START!");
myTextLabel = new TextLabel();
myTextLabel.Position2D = new Position2D(10, 600);
myTextLabel.Size2D = new Size2D(400, 90);
@@ -250,7 +241,7 @@ namespace HelloWorldTest
myTextLabel2.Text = $"[TextLabel LineWrapMode.Word] hello ABCDEFGHI is my name, it is very very long beautiful hansome awesome name.";
Window.Instance.GetDefaultLayer().Add(myTextLabel2);
- NUILog.Debug($"TextLabel LineWrapMode 1st={ myTextLabel?.LineWrapMode} 2nd={ myTextLabel2?.LineWrapMode}");
+ Tizen.Log.Debug("NUI", $"TextLabel LineWrapMode 1st={ myTextLabel?.LineWrapMode} 2nd={ myTextLabel2?.LineWrapMode}");
myTextEditor = new TextEditor();
myTextEditor.Position2D = new Position2D(10, 700);
@@ -274,7 +265,7 @@ namespace HelloWorldTest
myTextEditor2.Text = $"[TextEditor LineWrapMode.Word] hello ABCDEFGHI is my name, it is very very long beautiful hansome awesome name.";
Window.Instance.GetDefaultLayer().Add(myTextEditor2);
- NUILog.Debug($"TextEditor LineWrapMode 1st={ myTextEditor?.LineWrapMode} 2nd={ myTextEditor2?.LineWrapMode}");
+ Tizen.Log.Debug("NUI", $"TextEditor LineWrapMode 1st={ myTextEditor?.LineWrapMode} 2nd={ myTextEditor2?.LineWrapMode}");
}
[STAThread]
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/image-view.cs b/NUISamples/examples/image-view.cs
index 97f974f..97f974f 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/image-view.cs
+++ b/NUISamples/examples/image-view.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/positionUsesPivotPoint-test.cs b/NUISamples/examples/positionUsesPivotPoint-test.cs
index d2088a2..d2088a2 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/positionUsesPivotPoint-test.cs
+++ b/NUISamples/examples/positionUsesPivotPoint-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/relative-vector.cs b/NUISamples/examples/relative-vector.cs
index eb27855..eb27855 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/relative-vector.cs
+++ b/NUISamples/examples/relative-vector.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/scroll-view.cs b/NUISamples/examples/scroll-view.cs
index 15eab91..15eab91 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/scroll-view.cs
+++ b/NUISamples/examples/scroll-view.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/sibling-order-test.cs b/NUISamples/examples/sibling-order-test.cs
index eaf9f69..eaf9f69 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/sibling-order-test.cs
+++ b/NUISamples/examples/sibling-order-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/test1.cs b/NUISamples/examples/test1.cs
index 583784d..583784d 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/test1.cs
+++ b/NUISamples/examples/test1.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/text-test.cs b/NUISamples/examples/text-test.cs
index d8a7445..d8a7445 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/text-test.cs
+++ b/NUISamples/examples/text-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/text-test2.cs b/NUISamples/examples/text-test2.cs
index 75d43fe..75d43fe 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/text-test2.cs
+++ b/NUISamples/examples/text-test2.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/ttsplayer-test.cs b/NUISamples/examples/ttsplayer-test.cs
index e0807ce..e0807ce 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/ttsplayer-test.cs
+++ b/NUISamples/examples/ttsplayer-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/user-alphafunction.cs b/NUISamples/examples/user-alphafunction.cs
index f805af0..f805af0 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/user-alphafunction.cs
+++ b/NUISamples/examples/user-alphafunction.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/view-navi-property.cs b/NUISamples/examples/view-navi-property.cs
index ce68ed0..ce68ed0 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/view-navi-property.cs
+++ b/NUISamples/examples/view-navi-property.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test.cs b/NUISamples/examples/visual-animation-test.cs
index 39ea8f4..39ea8f4 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test.cs
+++ b/NUISamples/examples/visual-animation-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test2.cs b/NUISamples/examples/visual-animation-test2.cs
index 92528c0..92528c0 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test2.cs
+++ b/NUISamples/examples/visual-animation-test2.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test3.cs b/NUISamples/examples/visual-animation-test3.cs
index f356c54..f356c54 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-animation-test3.cs
+++ b/NUISamples/examples/visual-animation-test3.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test.cs b/NUISamples/examples/visual-view-test.cs
index 6c199d3..6c199d3 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test.cs
+++ b/NUISamples/examples/visual-view-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test2.cs b/NUISamples/examples/visual-view-test2.cs
index 659e9ba..659e9ba 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test2.cs
+++ b/NUISamples/examples/visual-view-test2.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test3.cs b/NUISamples/examples/visual-view-test3.cs
index ea9205a..ea9205a 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visual-view-test3.cs
+++ b/NUISamples/examples/visual-view-test3.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-example.cs b/NUISamples/examples/visuals-example.cs
index 559971d..559971d 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-example.cs
+++ b/NUISamples/examples/visuals-example.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/ContactData.cs b/NUISamples/examples/visuals-using-custom-view/ContactData.cs
index 9a3b9a8..9a3b9a8 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/ContactData.cs
+++ b/NUISamples/examples/visuals-using-custom-view/ContactData.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/ContactView.cs b/NUISamples/examples/visuals-using-custom-view/ContactView.cs
index 52995a7..52995a7 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/ContactView.cs
+++ b/NUISamples/examples/visuals-using-custom-view/ContactView.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/visuals-using-custom-view.cs b/NUISamples/examples/visuals-using-custom-view/visuals-using-custom-view.cs
index be327fe..be327fe 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/visuals-using-custom-view/visuals-using-custom-view.cs
+++ b/NUISamples/examples/visuals-using-custom-view/visuals-using-custom-view.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/examples/widget-view-test.cs b/NUISamples/examples/widget-view-test.cs
index 9a2fbfa..9a2fbfa 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/examples/widget-view-test.cs
+++ b/NUISamples/examples/widget-view-test.cs
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_color.png b/NUISamples/res/images/Dino-Painted_lambert2SG_color.png
index 3930181..3930181 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_color.png
+++ b/NUISamples/res/images/Dino-Painted_lambert2SG_color.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_gloss.png b/NUISamples/res/images/Dino-Painted_lambert2SG_gloss.png
index 0e6c958..0e6c958 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_gloss.png
+++ b/NUISamples/res/images/Dino-Painted_lambert2SG_gloss.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_nmap.png b/NUISamples/res/images/Dino-Painted_lambert2SG_nmap.png
index c2d4bf4..c2d4bf4 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino-Painted_lambert2SG_nmap.png
+++ b/NUISamples/res/images/Dino-Painted_lambert2SG_nmap.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino2_lambert2SG_color.png b/NUISamples/res/images/Dino2_lambert2SG_color.png
index 5ee5d2c..5ee5d2c 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino2_lambert2SG_color.png
+++ b/NUISamples/res/images/Dino2_lambert2SG_color.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino2_lambert2SG_nmap.png b/NUISamples/res/images/Dino2_lambert2SG_nmap.png
index 361603c..361603c 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Dino2_lambert2SG_nmap.png
+++ b/NUISamples/res/images/Dino2_lambert2SG_nmap.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Kid1.svg b/NUISamples/res/images/Kid1.svg
index b7d5476..b7d5476 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Kid1.svg
+++ b/NUISamples/res/images/Kid1.svg
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Mail.svg b/NUISamples/res/images/Mail.svg
index 63fdd1f..63fdd1f 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/Mail.svg
+++ b/NUISamples/res/images/Mail.svg
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/World.svg b/NUISamples/res/images/World.svg
index 91aef13..91aef13 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/World.svg
+++ b/NUISamples/res/images/World.svg
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/0.gif b/NUISamples/res/images/anim-gif/0.gif
index 9a085ba..9a085ba 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/0.gif
+++ b/NUISamples/res/images/anim-gif/0.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/1.gif b/NUISamples/res/images/anim-gif/1.gif
index c4cc65a..c4cc65a 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/1.gif
+++ b/NUISamples/res/images/anim-gif/1.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/10.gif b/NUISamples/res/images/anim-gif/10.gif
index cc6d7a9..cc6d7a9 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/10.gif
+++ b/NUISamples/res/images/anim-gif/10.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/11.gif b/NUISamples/res/images/anim-gif/11.gif
index 354459a..354459a 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/11.gif
+++ b/NUISamples/res/images/anim-gif/11.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/12.gif b/NUISamples/res/images/anim-gif/12.gif
index a43380d..a43380d 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/12.gif
+++ b/NUISamples/res/images/anim-gif/12.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/13.gif b/NUISamples/res/images/anim-gif/13.gif
index 0f649dd..0f649dd 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/13.gif
+++ b/NUISamples/res/images/anim-gif/13.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/14.gif b/NUISamples/res/images/anim-gif/14.gif
index 23e8199..23e8199 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/14.gif
+++ b/NUISamples/res/images/anim-gif/14.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/2.gif b/NUISamples/res/images/anim-gif/2.gif
index c33ba6c..c33ba6c 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/2.gif
+++ b/NUISamples/res/images/anim-gif/2.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/3.gif b/NUISamples/res/images/anim-gif/3.gif
index 5371a3e..5371a3e 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/3.gif
+++ b/NUISamples/res/images/anim-gif/3.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/4.gif b/NUISamples/res/images/anim-gif/4.gif
index ab60928..ab60928 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/4.gif
+++ b/NUISamples/res/images/anim-gif/4.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/5.gif b/NUISamples/res/images/anim-gif/5.gif
index 68ec2f4..68ec2f4 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/5.gif
+++ b/NUISamples/res/images/anim-gif/5.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/6.gif b/NUISamples/res/images/anim-gif/6.gif
index 288f933..288f933 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/6.gif
+++ b/NUISamples/res/images/anim-gif/6.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/7.gif b/NUISamples/res/images/anim-gif/7.gif
index 93ca68b..93ca68b 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/7.gif
+++ b/NUISamples/res/images/anim-gif/7.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/8.gif b/NUISamples/res/images/anim-gif/8.gif
index decc493..decc493 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/8.gif
+++ b/NUISamples/res/images/anim-gif/8.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/9.gif b/NUISamples/res/images/anim-gif/9.gif
index c97884b..c97884b 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/anim-gif/9.gif
+++ b/NUISamples/res/images/anim-gif/9.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/application-icon-0.png b/NUISamples/res/images/application-icon-0.png
index 339b19c..339b19c 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/application-icon-0.png
+++ b/NUISamples/res/images/application-icon-0.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/arrow.png b/NUISamples/res/images/arrow.png
index 87abefd..87abefd 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/arrow.png
+++ b/NUISamples/res/images/arrow.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/background-blocks.jpg b/NUISamples/res/images/background-blocks.jpg
index d8fed65..d8fed65 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/background-blocks.jpg
+++ b/NUISamples/res/images/background-blocks.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/dali-logo-anim.gif b/NUISamples/res/images/dali-logo-anim.gif
index 9a085ba..9a085ba 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/dali-logo-anim.gif
+++ b/NUISamples/res/images/dali-logo-anim.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/dog-anim.gif b/NUISamples/res/images/dog-anim.gif
index ddc3312..ddc3312 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/dog-anim.gif
+++ b/NUISamples/res/images/dog-anim.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/echo.gif b/NUISamples/res/images/echo.gif
index 31b8040..31b8040 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/echo.gif
+++ b/NUISamples/res/images/echo.gif
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/0-normal.png b/NUISamples/res/images/focuseffect/0-normal.png
index ee755c3..ee755c3 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/0-normal.png
+++ b/NUISamples/res/images/focuseffect/0-normal.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/1-normal.png b/NUISamples/res/images/focuseffect/1-normal.png
index 432bf7f..432bf7f 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/1-normal.png
+++ b/NUISamples/res/images/focuseffect/1-normal.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/2-normal.png b/NUISamples/res/images/focuseffect/2-normal.png
index c921918..c921918 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/2-normal.png
+++ b/NUISamples/res/images/focuseffect/2-normal.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/background.png b/NUISamples/res/images/focuseffect/background.png
index 7e4caad..7e4caad 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/background.png
+++ b/NUISamples/res/images/focuseffect/background.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_grid.9.png b/NUISamples/res/images/focuseffect/focus_grid.9.png
index 04ccb1f..04ccb1f 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_grid.9.png
+++ b/NUISamples/res/images/focuseffect/focus_grid.9.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_launcher_shadow.9.png b/NUISamples/res/images/focuseffect/focus_launcher_shadow.9.png
index f989071..f989071 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_launcher_shadow.9.png
+++ b/NUISamples/res/images/focuseffect/focus_launcher_shadow.9.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_launcher_shadow_n.png b/NUISamples/res/images/focuseffect/focus_launcher_shadow_n.png
index 0805e9e..0805e9e 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/focus_launcher_shadow_n.png
+++ b/NUISamples/res/images/focuseffect/focus_launcher_shadow_n.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/halo.png b/NUISamples/res/images/focuseffect/halo.png
index 307f67e..307f67e 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/halo.png
+++ b/NUISamples/res/images/focuseffect/halo.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/highlight_spot.png b/NUISamples/res/images/focuseffect/highlight_spot.png
index 8caa716..8caa716 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/highlight_spot.png
+++ b/NUISamples/res/images/focuseffect/highlight_spot.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/highlight_stroke.9.png b/NUISamples/res/images/focuseffect/highlight_stroke.9.png
index 493b206..493b206 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/highlight_stroke.9.png
+++ b/NUISamples/res/images/focuseffect/highlight_stroke.9.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/horizontalFrame.png b/NUISamples/res/images/focuseffect/horizontalFrame.png
index abff4ec..abff4ec 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/horizontalFrame.png
+++ b/NUISamples/res/images/focuseffect/horizontalFrame.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/thumbnail_shadow.9.png b/NUISamples/res/images/focuseffect/thumbnail_shadow.9.png
index 61f5a99..61f5a99 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/thumbnail_shadow.9.png
+++ b/NUISamples/res/images/focuseffect/thumbnail_shadow.9.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/verticalFrame.png b/NUISamples/res/images/focuseffect/verticalFrame.png
index bdd372d..bdd372d 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/verticalFrame.png
+++ b/NUISamples/res/images/focuseffect/verticalFrame.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/white-pixel.png b/NUISamples/res/images/focuseffect/white-pixel.png
index c63f333..c63f333 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/focuseffect/white-pixel.png
+++ b/NUISamples/res/images/focuseffect/white-pixel.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-0.jpg b/NUISamples/res/images/gallery-0.jpg
index e42dba7..e42dba7 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-0.jpg
+++ b/NUISamples/res/images/gallery-0.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-1.jpg b/NUISamples/res/images/gallery-1.jpg
index 6a427ad..6a427ad 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-1.jpg
+++ b/NUISamples/res/images/gallery-1.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-2.jpg b/NUISamples/res/images/gallery-2.jpg
index 30b1a51..30b1a51 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-2.jpg
+++ b/NUISamples/res/images/gallery-2.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-3.jpg b/NUISamples/res/images/gallery-3.jpg
index 2da2ceb..2da2ceb 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-3.jpg
+++ b/NUISamples/res/images/gallery-3.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-4.jpg b/NUISamples/res/images/gallery-4.jpg
index 902b711..902b711 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-4.jpg
+++ b/NUISamples/res/images/gallery-4.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-5.jpg b/NUISamples/res/images/gallery-5.jpg
index 490fb56..490fb56 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-5.jpg
+++ b/NUISamples/res/images/gallery-5.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-small-43.jpg b/NUISamples/res/images/gallery-small-43.jpg
index c59b841..c59b841 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/gallery-small-43.jpg
+++ b/NUISamples/res/images/gallery-small-43.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/image-1.jpg b/NUISamples/res/images/image-1.jpg
index 155ab30..155ab30 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/image-1.jpg
+++ b/NUISamples/res/images/image-1.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/image-2.jpg b/NUISamples/res/images/image-2.jpg
index e855ecf..e855ecf 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/image-2.jpg
+++ b/NUISamples/res/images/image-2.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/image-3.jpg b/NUISamples/res/images/image-3.jpg
index 8dee462..8dee462 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/image-3.jpg
+++ b/NUISamples/res/images/image-3.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/mask.png b/NUISamples/res/images/mask.png
index b3e423c..b3e423c 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/mask.png
+++ b/NUISamples/res/images/mask.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/0.png b/NUISamples/res/images/menu/0.png
index 10e1d17..10e1d17 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/0.png
+++ b/NUISamples/res/images/menu/0.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/1.png b/NUISamples/res/images/menu/1.png
index e3e72f5..e3e72f5 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/1.png
+++ b/NUISamples/res/images/menu/1.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/2.png b/NUISamples/res/images/menu/2.png
index 10138e5..10138e5 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/2.png
+++ b/NUISamples/res/images/menu/2.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/3.png b/NUISamples/res/images/menu/3.png
index b4a6e61..b4a6e61 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/3.png
+++ b/NUISamples/res/images/menu/3.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/4.png b/NUISamples/res/images/menu/4.png
index 58d716f..58d716f 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/4.png
+++ b/NUISamples/res/images/menu/4.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/5.png b/NUISamples/res/images/menu/5.png
index 1548244..1548244 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/5.png
+++ b/NUISamples/res/images/menu/5.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/6.png b/NUISamples/res/images/menu/6.png
index 6545c2d..6545c2d 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/menu/6.png
+++ b/NUISamples/res/images/menu/6.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/not_yet_sign.png b/NUISamples/res/images/not_yet_sign.png
index 12b48c1..12b48c1 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/not_yet_sign.png
+++ b/NUISamples/res/images/not_yet_sign.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/0.jpg b/NUISamples/res/images/poster0/0.jpg
index fafd602..fafd602 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/0.jpg
+++ b/NUISamples/res/images/poster0/0.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/1.jpg b/NUISamples/res/images/poster0/1.jpg
index beb415a..beb415a 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/1.jpg
+++ b/NUISamples/res/images/poster0/1.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/10.jpg b/NUISamples/res/images/poster0/10.jpg
index 74feaec..74feaec 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/10.jpg
+++ b/NUISamples/res/images/poster0/10.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/11.jpg b/NUISamples/res/images/poster0/11.jpg
index 5f03bec..5f03bec 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/11.jpg
+++ b/NUISamples/res/images/poster0/11.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/12.jpg b/NUISamples/res/images/poster0/12.jpg
index 60acbfa..60acbfa 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/12.jpg
+++ b/NUISamples/res/images/poster0/12.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/13.jpg b/NUISamples/res/images/poster0/13.jpg
index 902b711..902b711 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/13.jpg
+++ b/NUISamples/res/images/poster0/13.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/2.jpg b/NUISamples/res/images/poster0/2.jpg
index 7173b85..7173b85 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/2.jpg
+++ b/NUISamples/res/images/poster0/2.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/3.jpg b/NUISamples/res/images/poster0/3.jpg
index c8188c6..c8188c6 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/3.jpg
+++ b/NUISamples/res/images/poster0/3.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/4.jpg b/NUISamples/res/images/poster0/4.jpg
index 4405083..4405083 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/4.jpg
+++ b/NUISamples/res/images/poster0/4.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/5.jpg b/NUISamples/res/images/poster0/5.jpg
index 5c1faf1..5c1faf1 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/5.jpg
+++ b/NUISamples/res/images/poster0/5.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/6.jpg b/NUISamples/res/images/poster0/6.jpg
index 5a8ba63..5a8ba63 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/6.jpg
+++ b/NUISamples/res/images/poster0/6.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/7.jpg b/NUISamples/res/images/poster0/7.jpg
index 7a12aed..7a12aed 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/7.jpg
+++ b/NUISamples/res/images/poster0/7.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/8.jpg b/NUISamples/res/images/poster0/8.jpg
index b528cdb..b528cdb 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/8.jpg
+++ b/NUISamples/res/images/poster0/8.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/9.jpg b/NUISamples/res/images/poster0/9.jpg
index e855ecf..e855ecf 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster0/9.jpg
+++ b/NUISamples/res/images/poster0/9.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/0.jpg b/NUISamples/res/images/poster1/0.jpg
index a7d2add..a7d2add 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/0.jpg
+++ b/NUISamples/res/images/poster1/0.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/1.jpg b/NUISamples/res/images/poster1/1.jpg
index b533798..b533798 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/1.jpg
+++ b/NUISamples/res/images/poster1/1.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/2.jpg b/NUISamples/res/images/poster1/2.jpg
index ae6e1b2..ae6e1b2 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/2.jpg
+++ b/NUISamples/res/images/poster1/2.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/3.jpg b/NUISamples/res/images/poster1/3.jpg
index ac65a2d..ac65a2d 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/3.jpg
+++ b/NUISamples/res/images/poster1/3.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/4.jpg b/NUISamples/res/images/poster1/4.jpg
index 226f187..226f187 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/4.jpg
+++ b/NUISamples/res/images/poster1/4.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/5.jpg b/NUISamples/res/images/poster1/5.jpg
index 490fb56..490fb56 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/poster1/5.jpg
+++ b/NUISamples/res/images/poster1/5.jpg
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/star-dim.png b/NUISamples/res/images/star-dim.png
index 38cc674..38cc674 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/star-dim.png
+++ b/NUISamples/res/images/star-dim.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/star-highlight.png b/NUISamples/res/images/star-highlight.png
index f99ee25..f99ee25 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/star-highlight.png
+++ b/NUISamples/res/images/star-highlight.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/images/star-mod.png b/NUISamples/res/images/star-mod.png
index 2e3212e..2e3212e 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/images/star-mod.png
+++ b/NUISamples/res/images/star-mod.png
Binary files differ
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/json/control-dashboard.json b/NUISamples/res/json/control-dashboard.json
index c2609c4..c2609c4 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/json/control-dashboard.json
+++ b/NUISamples/res/json/control-dashboard.json
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker-template.json b/NUISamples/res/json/date-picker-template.json
index 79ab9a2..79ab9a2 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker-template.json
+++ b/NUISamples/res/json/date-picker-template.json
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker-theme.json b/NUISamples/res/json/date-picker-theme.json
index 6424a38..6424a38 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker-theme.json
+++ b/NUISamples/res/json/date-picker-theme.json
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker.json b/NUISamples/res/json/date-picker.json
index 3126aa3..3126aa3 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/json/date-picker.json
+++ b/NUISamples/res/json/date-picker.json
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/json/spin.json b/NUISamples/res/json/spin.json
index df9b10c..df9b10c 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/json/spin.json
+++ b/NUISamples/res/json/spin.json
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/json/style-example-theme-one.json b/NUISamples/res/json/style-example-theme-one.json
index ee7d425..ee7d425 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/json/style-example-theme-one.json
+++ b/NUISamples/res/json/style-example-theme-one.json
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/models/Dino.mtl b/NUISamples/res/models/Dino.mtl
index 049595a..049595a 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/models/Dino.mtl
+++ b/NUISamples/res/models/Dino.mtl
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/res/models/Dino.obj b/NUISamples/res/models/Dino.obj
index 7791ca2..7791ca2 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/res/models/Dino.obj
+++ b/NUISamples/res/models/Dino.obj
diff --git a/NUISamples/NUISamples/NUISamples.Tizen/shared/res/NUISamples.Tizen.png b/NUISamples/shared/res/NUISamples.png
index 9765b1b..9765b1b 100755
--- a/NUISamples/NUISamples/NUISamples.Tizen/shared/res/NUISamples.Tizen.png
+++ b/NUISamples/shared/res/NUISamples.png
Binary files differ
diff --git a/NUISamples/tizen-manifest.xml b/NUISamples/tizen-manifest.xml
new file mode 100755
index 0000000..ba54698
--- /dev/null
+++ b/NUISamples/tizen-manifest.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest package="NUISamples" version="1.0.0" api-version="4" xmlns="http://tizen.org/ns/packages">
+ <profile name="common" />
+ <ui-application appid="org.tizen.example.NUISamples" exec="NUISamples.dll" multiple="false" nodisplay="false" taskmanage="true" splash-screen-display="true" type="dotnet" launch_mode="single">
+ <label>NUISamples</label>
+ <icon>NUISamples.png</icon>
+ </ui-application>
+ <shortcut-list />
+ <privileges>
+ <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
+ <privilege>http://tizen.org/privilege/widget.viewer</privilege>
+ </privileges>
+</manifest>