From: Wonsik Jung Date: Fri, 13 Sep 2024 08:07:19 +0000 (+0900) Subject: [NUI] Add window behind blur type. X-Git-Tag: submit/tizen/20240925.121854~1^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d8a3bfdf139c7187554015b46f5abec5da6aec7a;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [NUI] Add window behind blur type. Add window behind blur type and the window blur sample. --- diff --git a/src/Tizen.NUI/src/public/Common/NUIConstants.cs b/src/Tizen.NUI/src/public/Common/NUIConstants.cs index afbae4b27..c32a9c5db 100755 --- a/src/Tizen.NUI/src/public/Common/NUIConstants.cs +++ b/src/Tizen.NUI/src/public/Common/NUIConstants.cs @@ -2312,5 +2312,11 @@ namespace Tizen.NUI /// [EditorBrowsable(EditorBrowsableState.Never)] Background = 1, + /// + /// behind blur for the window. + /// It has a blur effect ot th beind area of except the window background. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + Behind = 2, } } diff --git a/test/NUIWindowBlur/NUIWindowBlur.cs b/test/NUIWindowBlur/NUIWindowBlur.cs new file mode 100644 index 000000000..9497195a6 --- /dev/null +++ b/test/NUIWindowBlur/NUIWindowBlur.cs @@ -0,0 +1,795 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using Tizen.NUI.BaseComponents; +using Tizen.NUI.Components; +using Tizen.NUI.Binding; +using Tizen.NUI; +using System.ComponentModel; +using System; + +namespace NUIWindowBlur +{ + using log = Tizen.Log; + class Gallery : INotifyPropertyChanged + { + string sourceDir = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "gallery/gallery-medium-"; + private int index; + private string name; + private bool selected; + + public event PropertyChangedEventHandler PropertyChanged; + + private void OnPropertyyChanged(string propertyName) + { + + PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); + } + + public Gallery(int galleryIndex, string galleryName) + { + index = galleryIndex; + name = galleryName; + } + + public string Name + { + get + { + return name; + } + set + { + name = value; + OnPropertyyChanged("Name"); + OnPropertyyChanged("ViewLabel"); + } + } + public string ViewLabel + { + get + { + return "[" + index + "] : " + name; + } + } + + public string ImageUrl + { + get + { + return sourceDir + (index % 20) + ".jpg"; + } + } + + public bool Selected + { + get + { + return selected; + } + set + { + selected = value; + OnPropertyyChanged("Selected"); + } + } + } + + class Album : ObservableCollection + { + private int index; + private string name; + private DateTime date; + private bool selected; + + public Album(int albumIndex, string albumName, DateTime albumDate) + { + index = albumIndex; + name = albumName; + date = albumDate; + } + + public string Title + { + get + { + return "[" + index + "] " + name; + } + } + + public string Date + { + get + { + return date.ToLongDateString(); + } + } + public bool Selected + { + get + { + return selected; + } + set + { + selected = value; + } + } + } + + class GalleryViewModel : ObservableCollection + { + string[] namePool = { + "Cat", + "Boy", + "Arm muscle", + "Girl", + "House", + "Cafe", + "Statue", + "Sea", + "hosepipe", + "Police", + "Rainbow", + "Icicle", + "Tower with the Moon", + "Giraffe", + "Camel", + "Zebra", + "Red Light", + "Banana", + "Lion", + "Espresso", + }; + public GalleryViewModel(int count) + { + CreateData(this, count); + } + + public ObservableCollection CreateData(ObservableCollection result, int count) + { + for (int i = 0; i < count; i++) + { + result.Add(new Gallery(i, namePool[i % 20])); + } + return result; + } + } + + class AlbumViewModel : ObservableCollection + { + string[] namePool = { + "Cat", + "Boy", + "Arm muscle", + "Girl", + "House", + "Cafe", + "Statue", + "Sea", + "hosepipe", + "Police", + "Rainbow", + "Icicle", + "Tower with the Moon", + "Giraffe", + "Camel", + "Zebra", + "Red Light", + "Banana", + "Lion", + "Espresso", + }; + + (string name, DateTime date)[] titlePool = { + ("House Move", new DateTime(2021, 2, 26)), + ("Covid 19", new DateTime(2020, 1, 20)), + ("Porto Trip", new DateTime(2019, 11, 23)), + ("Granada Trip", new DateTime(2019, 11, 20)), + ("Barcelona Trip", new DateTime(2019, 11, 17)), + ("Developer's Day", new DateTime(2019, 11, 16)), + ("Tokyo Trip", new DateTime(2019, 7, 5)), + ("Otaru Trip", new DateTime(2019, 3, 2)), + ("Sapporo Trip", new DateTime(2019, 2, 28)), + ("Hakodate Trip", new DateTime(2019, 2, 26)), + ("Friend's Wedding", new DateTime(2018, 11, 23)), + ("Grandpa Birthday", new DateTime(2018, 9, 14)), + ("Family Jeju Trip", new DateTime(2018, 7, 15)), + ("HongKong Trip", new DateTime(2018, 3, 30)), + ("Mom's Birthday", new DateTime(2017, 12, 21)), + ("Buy new Car", new DateTime(2017, 10, 18)), + ("Graduation", new DateTime(2017, 6, 30)), + }; + + public AlbumViewModel() + { + CreateData(this); + } + + public ObservableCollection CreateData(ObservableCollection result) + { + for (int i = 0; i < titlePool.Length; i++) + { + (string name, DateTime date) = titlePool[i]; + Album cur = new Album(i, name, date); + for (int j = 0; j < 20; j++) + { + cur.Add(new Gallery(j, namePool[j])); + } + result.Add(cur); + } + return result; + } + + } + + class Program : NUIApplication + { + string tag = "NUITEST"; + private const string KEY_BACK = "XF86Back"; + private const string KEY_ESCAPE = "Escape"; + private const string KEY_NUM_1 = "1"; + private const string KEY_NUM_2 = "2"; + private const string KEY_NUM_3 = "3"; + private const string KEY_NUM_4 = "4"; + private const string KEY_NUM_5 = "5"; + private const string KEY_NUM_6 = "6"; + private const string KEY_NUM_7 = "7"; + private const string KEY_NUM_8 = "8"; + private const string KEY_NUM_9 = "9"; + private const string KEY_NUM_0 = "0"; + CollectionView colView; + int itemCount = 500; + string selectedItem; + ObservableCollection gallerySource; + Gallery moveMenu; + + //static string title = "NUI Auto TCT \n\n"; + private Window mainWindow = null; + private Window windowForBackground = null; + private Window windowForBehind = null; + + private static readonly string imagePath = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/"; + + protected override void OnCreate() + { + base.OnCreate(); + Initialize(); + } + + public Program(WindowData windowData) : base(ThemeOptions.None, windowData) + { + log.Error("NUI", $"Application is created with default border\n"); + } + + class CustomBorder : DefaultBorder + { + private static readonly string ResourcePath = Tizen.Applications.Application.Current.DirectoryInfo.Resource; + private static readonly string MinimalizeIcon = ResourcePath + "/images/minimalize.png"; + private static readonly string MaximalizeIcon = ResourcePath + "/images/maximalize.png"; + private static readonly string RestoreIcon = ResourcePath + "/images/smallwindow.png"; + private static readonly string CloseIcon = ResourcePath + "/images/close.png"; + private static readonly string LeftCornerIcon = ResourcePath + "/images/leftCorner.png"; + private static readonly string RightCornerIcon = ResourcePath + "/images/rightCorner.png"; + + private int width = 500; + private bool hide = false; + private View borderView; + private TextLabel title; + + private ImageView minimalizeIcon; + private ImageView maximalizeIcon; + private ImageView closeIcon; + private ImageView leftCornerIcon; + private ImageView rightCornerIcon; + + private Rectangle preWinPositonSize; + + public CustomBorder() : base() + { + BorderHeight = 50; + OverlayMode = true; + BorderLineThickness = 0; + } + + public override bool CreateTopBorderView(View topView) + { + if (topView == null) + { + return false; + } + topView.Layout = new LinearLayout() + { + LinearOrientation = LinearLayout.Orientation.Horizontal, + VerticalAlignment = VerticalAlignment.Center, + HorizontalAlignment = HorizontalAlignment.Center, + CellPadding = new Size2D(20, 20), + }; + title = new TextLabel() + { + Text = "Gallery", + HorizontalAlignment = HorizontalAlignment.Center, + VerticalAlignment = VerticalAlignment.Center, + }; + + BorderWindow.EnableFloatingMode(true); + topView.Add(title); + return true; + } + + public override bool CreateBottomBorderView(View bottomView) + { + if (bottomView == null) + { + return false; + } + bottomView.Layout = new RelativeLayout(); + + minimalizeIcon = new ImageView() + { + ResourceUrl = MinimalizeIcon, + AccessibilityHighlightable = true, + }; + + maximalizeIcon = new ImageView() + { + ResourceUrl = MaximalizeIcon, + AccessibilityHighlightable = true, + }; + + closeIcon = new ImageView() + { + ResourceUrl = CloseIcon, + AccessibilityHighlightable = true, + }; + + leftCornerIcon = new ImageView() + { + ResourceUrl = LeftCornerIcon, + AccessibilityHighlightable = true, + }; + + rightCornerIcon = new ImageView() + { + ResourceUrl = RightCornerIcon, + AccessibilityHighlightable = true, + }; + + RelativeLayout.SetRightTarget(minimalizeIcon, maximalizeIcon); + RelativeLayout.SetRightRelativeOffset(minimalizeIcon, 0.0f); + RelativeLayout.SetHorizontalAlignment(minimalizeIcon, RelativeLayout.Alignment.End); + RelativeLayout.SetRightTarget(maximalizeIcon, closeIcon); + RelativeLayout.SetRightRelativeOffset(maximalizeIcon, 0.0f); + RelativeLayout.SetHorizontalAlignment(maximalizeIcon, RelativeLayout.Alignment.End); + RelativeLayout.SetRightTarget(closeIcon, rightCornerIcon); + RelativeLayout.SetRightRelativeOffset(closeIcon, 0.0f); + RelativeLayout.SetHorizontalAlignment(closeIcon, RelativeLayout.Alignment.End); + RelativeLayout.SetRightRelativeOffset(rightCornerIcon, 1.0f); + RelativeLayout.SetHorizontalAlignment(rightCornerIcon, RelativeLayout.Alignment.End); + bottomView.Add(leftCornerIcon); + bottomView.Add(minimalizeIcon); + bottomView.Add(maximalizeIcon); + bottomView.Add(closeIcon); + bottomView.Add(rightCornerIcon); + + + minimalizeIcon.TouchEvent += OnMinimizeIconTouched; + maximalizeIcon.TouchEvent += OnMaximizeIconTouched; + closeIcon.TouchEvent += OnCloseIconTouched; + leftCornerIcon.TouchEvent += OnLeftBottomCornerIconTouched; + rightCornerIcon.TouchEvent += OnRightBottomCornerIconTouched; + + minimalizeIcon.AccessibilityActivated += (s, e) => + { + MinimizeBorderWindow(); + }; + maximalizeIcon.AccessibilityActivated += (s, e) => + { + MaximizeBorderWindow(); + }; + closeIcon.AccessibilityActivated += (s, e) => + { + CloseBorderWindow(); + }; + + minimalizeIcon.AccessibilityNameRequested += (s, e) => + { + e.Name = "Minimize"; + }; + maximalizeIcon.AccessibilityNameRequested += (s, e) => + { + e.Name = "Maximize"; + }; + closeIcon.AccessibilityNameRequested += (s, e) => + { + e.Name = "Close"; + }; + leftCornerIcon.AccessibilityNameRequested += (s, e) => + { + e.Name = "Resize"; + }; + rightCornerIcon.AccessibilityNameRequested += (s, e) => + { + e.Name = "Resize"; + }; + + minimalizeIcon.SetAccessibilityReadingInfoTypes(Tizen.NUI.BaseComponents.AccessibilityReadingInfoTypes.Name); + maximalizeIcon.SetAccessibilityReadingInfoTypes(Tizen.NUI.BaseComponents.AccessibilityReadingInfoTypes.Name); + closeIcon.SetAccessibilityReadingInfoTypes(Tizen.NUI.BaseComponents.AccessibilityReadingInfoTypes.Name); + leftCornerIcon.SetAccessibilityReadingInfoTypes(Tizen.NUI.BaseComponents.AccessibilityReadingInfoTypes.Name); + rightCornerIcon.SetAccessibilityReadingInfoTypes(Tizen.NUI.BaseComponents.AccessibilityReadingInfoTypes.Name); + + return true; + } + + public override void CreateBorderView(View borderView) + { + this.borderView = borderView; + borderView.CornerRadius = new Vector4(0.30f, 0.30f, 0.30f, 0.30f); + borderView.CornerRadiusPolicy = VisualTransformPolicyType.Relative; + borderView.BackgroundColor = new Color(1, 1, 1, 0.3f); + } + + public override void OnCreated(View borderView) + { + base.OnCreated(borderView); + UpdateIcons(); + } + + public override bool OnCloseIconTouched(object sender, View.TouchEventArgs e) + { + base.OnCloseIconTouched(sender, e); + return true; + } + + public override bool OnMinimizeIconTouched(object sender, View.TouchEventArgs e) + { + if (e.Touch.GetState(0) == PointStateType.Up) + { + if (BorderWindow.IsMaximized() == true) + { + BorderWindow.Maximize(false); + } + preWinPositonSize = BorderWindow.WindowPositionSize; + BorderWindow.WindowPositionSize = new Rectangle(preWinPositonSize.X, preWinPositonSize.Y, 500, 0); + } + return true; + } + + public override void OnRequestResize() + { + if (borderView != null) + { + borderView.BackgroundColor = new Color(0, 1, 0, 0.3f); // 보더의 배경을 변경할 수 있습니다. + } + } + + public override void OnResized(int width, int height) + { + if (borderView != null) + { + if (this.width > width && hide == false) + { + title.Hide(); + hide = true; + } + else if (this.width < width && hide == true) + { + title.Show(); + hide = false; + } + borderView.BackgroundColor = new Color(1, 1, 1, 0.3f); // 리사이즈가 끝나면 보더의 색깔은 원래대로 돌려놓습니다. + base.OnResized(width, height); + UpdateIcons(); + } + } + + private void UpdateIcons() + { + if (BorderWindow != null && borderView != null) + { + if (BorderWindow.IsMaximized() == true) + { + if (maximalizeIcon != null) + { + maximalizeIcon.ResourceUrl = RestoreIcon; + } + } + else + { + if (maximalizeIcon != null) + { + maximalizeIcon.ResourceUrl = MaximalizeIcon; + } + } + } + } + } + + public void OnWindowForBehindKeyEvent(object sender, Window.KeyEventArgs e) + { + if (e.Key.State == Key.StateType.Down && (e.Key.KeyPressedName == "XF86Back" || e.Key.KeyPressedName == "Escape")) + { + Exit(); + } + } + + void CreateWindowForBehindBlur() + { + if (windowForBehind == null) + { + CustomBorder customBorder = new CustomBorder(); + windowForBehind = new Window("windowForBehind", customBorder, new Rectangle(100, 700, 500, 200), false); + windowForBackground.SetTransparency(false); + windowForBehind.BackgroundColor = new Color(1.0f, 1.0f, 1.0f, 1.0f); + windowForBehind.BlurInfo = new WindowBlurInfo(WindowBlurType.Behind, 60); + + windowForBehind.InterceptTouchEvent += (s, e) => + { + log.Error(tag, $"windowForBehind.InterceptTouchEvent\n"); + if (e.Touch.GetState(0) == PointStateType.Down) + { + customBorder.OverlayBorderShow(); + } + return false; + }; + + windowForBehind.KeyEvent += OnWindowForBehindKeyEvent; + + var viewContainer = new View() + { + PositionUsesPivotPoint = true, + PivotPoint = PivotPoint.Center, + ParentOrigin = ParentOrigin.Center, + Size = new Size(150, 180), + Layout = new LinearLayout() + { + HorizontalAlignment = HorizontalAlignment.Center, + VerticalAlignment = VerticalAlignment.Center, + LinearOrientation = LinearLayout.Orientation.Vertical, + }, + AccessibilityHighlightable = true, + }; + windowForBehind.Add(viewContainer); + + var imageViewB = new ImageView() + { + Size = new Size(150, 150), + ResourceUrl = imagePath + "behind.jpg", + CornerRadius = 0.3f, + CornerRadiusPolicy = VisualTransformPolicyType.Relative, + }; + var textViewB = new TextLabel() + { + Text = "Behind Test", + }; + + viewContainer.Add(imageViewB); + viewContainer.Add(textViewB); + + } + else + { + windowForBehind.Minimize(false); + } + } + + private void OnwindowForBackgroundKeyEvent(object sender, Window.KeyEventArgs e) + { + if (e.Key.State == Key.StateType.Down) + { + log.Error(tag, $"key down! key={e.Key.KeyPressedName}"); + + switch (e.Key.KeyPressedName) + { + case KEY_BACK: + case KEY_ESCAPE: + windowForBackground.Dispose(); + break; + + case KEY_NUM_1: + WindowBlurInfo blurInfo = windowForBackground.BlurInfo; + log.Fatal(tag, $"blur type={blurInfo.BlurType}"); + log.Fatal(tag, $"blur radius={blurInfo.BlurRadius}"); + log.Fatal(tag, $"background Corner Radius={blurInfo.BackgroundCornerRadius}"); + blurInfo.BlurType = WindowBlurType.Background; + blurInfo.BlurRadius += 10; + blurInfo.BackgroundCornerRadius += 10; + windowForBackground.BlurInfo = blurInfo; + break; + + case KEY_NUM_2: + CreateWindowForBehindBlur(); + break; + + default: + log.Debug(tag, $"no test!"); + break; + } + } + } + + void CreateWindowForBackgroundBlur() + { + if (windowForBackground == null) + { + CustomBorder customBorder = new CustomBorder(); + windowForBackground = new Window("windowForBackground", customBorder, new Rectangle(600, 100, 520, 760), false); + windowForBackground.SetTransparency(true); + windowForBackground.BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f); + windowForBackground.BlurInfo = new WindowBlurInfo(WindowBlurType.Background, 60, 60); + + windowForBackground.KeyEvent += OnwindowForBackgroundKeyEvent; + + windowForBackground.InterceptTouchEvent += (s, e) => + { + log.Error(tag, $"windowForBackground.InterceptTouchEvent\n"); + if (e.Touch.GetState(0) == PointStateType.Down) + { + customBorder.OverlayBorderShow(); + } + return false; + }; + + InitwindowForBackground(); + } + else + { + windowForBackground.Minimize(false); + } + } + + public void InitwindowForBackground() + { + moveMenu = new Gallery(10, "Move last item to 3rd"); + + var myViewModelSource = gallerySource = new GalleryViewModel(itemCount); + // Add test menu options. + gallerySource.Insert(0, moveMenu); + + colView = new CollectionView() + { + ItemsSource = myViewModelSource, + ItemsLayouter = new LinearLayouter(), + ItemTemplate = new DataTemplate(() => + { + var rand = new Random(); + DefaultLinearItem item = new DefaultLinearItem(); + //Set Width Specification as MatchParent to fit the Item width with parent View. + item.WidthSpecification = LayoutParamPolicies.MatchParent; + + //Decorate Label + item.Label.SetBinding(TextLabel.TextProperty, "ViewLabel"); + item.Label.HorizontalAlignment = HorizontalAlignment.Begin; + + //Decorate Icon + item.Icon.SetBinding(ImageView.ResourceUrlProperty, "ImageUrl"); + item.Icon.WidthSpecification = 60; + item.Icon.HeightSpecification = 60; + + return item; + }), + ScrollingDirection = ScrollableBase.Direction.Vertical, + WidthSpecification = LayoutParamPolicies.MatchParent, + HeightSpecification = LayoutParamPolicies.MatchParent, + }; + + windowForBackground.Add(colView); + } + + + public void SelectionEvt(object sender, SelectionChangedEventArgs ev) + { + //SingleSelection Only have 1 or nil object in the list. + foreach (object item in ev.PreviousSelection) + { + if (item == null) break; + Gallery unselItem = (Gallery)item; + + unselItem.Selected = false; + selectedItem = null; + //Tizen.Log.Debug("NUI", "LSH :: Unselected: {0}", unselItem.ViewLabel); + } + foreach (object item in ev.CurrentSelection) + { + if (item == null) break; + Gallery selItem = (Gallery)item; + //selItem.Selected = true; + selectedItem = selItem.Name; + + // Check test menu options. + if (selItem == moveMenu) + { + // Move last indexed item to index 3. + gallerySource.Move(gallerySource.Count - 1, 3); + } + } + } + + public void OnKeyEvent(object sender, Window.KeyEventArgs e) + { + if (e.Key.State == Key.StateType.Down && (e.Key.KeyPressedName == "XF86Back" || e.Key.KeyPressedName == "Escape")) + { + Exit(); + } + } + + void Initialize() + { + mainWindow = NUIApplication.GetDefaultWindow(); + mainWindow.SetTransparency(true); + mainWindow.BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f); + mainWindow.BlurInfo = new WindowBlurInfo(WindowBlurType.Background, 60, 10); + + mainWindow.KeyEvent += OnKeyEvent; + + var appFunctionList = new View() + { + PositionUsesPivotPoint = true, + PivotPoint = PivotPoint.BottomCenter, + ParentOrigin = ParentOrigin.BottomCenter, + BackgroundColor = new Color(0.0f, 0.0f, 0.0f, 0.0f), + Size = new Size(520, 200), + CornerRadius = 0.3f, + CornerRadiusPolicy = VisualTransformPolicyType.Relative, + Layout = new LinearLayout() + { + HorizontalAlignment = HorizontalAlignment.Center, + LinearOrientation = LinearLayout.Orientation.Horizontal, + CellPadding = new Size(10, 10), + Padding = new Extents(10, 10, 10, 10), + } + }; + mainWindow.Add(appFunctionList); + + var customBorder = new View() + { + Size = new Size(150, 180), + Layout = new LinearLayout() + { + HorizontalAlignment = HorizontalAlignment.Center, + VerticalAlignment = VerticalAlignment.Center, + LinearOrientation = LinearLayout.Orientation.Vertical, + }, + AccessibilityHighlightable = true, + }; + + var imageViewB = new ImageView() + { + Size = new Size(150, 150), + ResourceUrl = imagePath + "Wing.jpg", + CornerRadius = 0.3f, + CornerRadiusPolicy = VisualTransformPolicyType.Relative, + }; + var textViewB = new TextLabel() + { + Text = "Gallery", + }; + + customBorder.Add(imageViewB); + customBorder.Add(textViewB); + appFunctionList.Add(customBorder); + customBorder.TouchEvent += (s, e) => + { + if (e.Touch.GetState(0) == PointStateType.Up) + { + CreateWindowForBackgroundBlur(); + } + return true; + }; + customBorder.AccessibilityActivated += (s, e) => + { + CreateWindowForBackgroundBlur(); + }; + } + + static void Main(string[] args) + { + WindowData newWindowData = new WindowData(); + newWindowData.BorderInterface = new DefaultBorder(); + newWindowData.WindowMode = WindowMode.Transparent; + newWindowData.PositionSize = new Rectangle(100, 100, 520, 300); + var app = new Program(newWindowData); + app.Run(args); + } + } +} diff --git a/test/NUIWindowBlur/NUIWindowBlur.csproj b/test/NUIWindowBlur/NUIWindowBlur.csproj new file mode 100644 index 000000000..1714378b8 --- /dev/null +++ b/test/NUIWindowBlur/NUIWindowBlur.csproj @@ -0,0 +1,26 @@ + + + + Exe + net6.0 + + + + portable + + + None + + + + + + + + + + True + + + + diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-0.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-0.jpg new file mode 100755 index 000000000..c8400f7c0 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-0.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-1.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-1.jpg new file mode 100755 index 000000000..efc563488 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-1.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-10.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-10.jpg new file mode 100755 index 000000000..21e3079e6 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-10.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-11.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-11.jpg new file mode 100755 index 000000000..e27b056ff Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-11.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-12.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-12.jpg new file mode 100755 index 000000000..630e9e0b0 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-12.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-13.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-13.jpg new file mode 100755 index 000000000..b2dae1aef Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-13.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-14.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-14.jpg new file mode 100755 index 000000000..9e5a79110 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-14.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-15.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-15.jpg new file mode 100755 index 000000000..45939b8ce Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-15.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-16.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-16.jpg new file mode 100755 index 000000000..f0e4b31a5 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-16.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-17.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-17.jpg new file mode 100755 index 000000000..394b4b18a Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-17.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-18.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-18.jpg new file mode 100755 index 000000000..4a24619da Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-18.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-19.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-19.jpg new file mode 100755 index 000000000..b5bdc92a9 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-19.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-2.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-2.jpg new file mode 100755 index 000000000..92bd7fe7b Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-2.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-20.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-20.jpg new file mode 100755 index 000000000..81f4eaeb2 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-20.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-21.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-21.jpg new file mode 100755 index 000000000..ec3951174 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-21.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-22.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-22.jpg new file mode 100755 index 000000000..98ef3fa5a Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-22.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-23.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-23.jpg new file mode 100755 index 000000000..0df585406 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-23.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-24.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-24.jpg new file mode 100755 index 000000000..b69d5d17e Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-24.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-25.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-25.jpg new file mode 100755 index 000000000..5fcfe65a2 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-25.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-26.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-26.jpg new file mode 100755 index 000000000..fba2e8540 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-26.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-27.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-27.jpg new file mode 100755 index 000000000..e8fd5a65d Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-27.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-28.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-28.jpg new file mode 100755 index 000000000..802eadccd Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-28.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-29.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-29.jpg new file mode 100755 index 000000000..3318f4d3d Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-29.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-3.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-3.jpg new file mode 100755 index 000000000..c4c17d0f5 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-3.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-30.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-30.jpg new file mode 100755 index 000000000..4c6b8d75d Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-30.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-31.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-31.jpg new file mode 100755 index 000000000..9ff134714 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-31.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-32.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-32.jpg new file mode 100755 index 000000000..bd41b82a3 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-32.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-33.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-33.jpg new file mode 100755 index 000000000..93bdda904 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-33.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-34.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-34.jpg new file mode 100755 index 000000000..e568294b3 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-34.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-35.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-35.jpg new file mode 100755 index 000000000..b0a98f84d Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-35.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-36.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-36.jpg new file mode 100755 index 000000000..870c42325 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-36.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-37.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-37.jpg new file mode 100755 index 000000000..f68ce61c9 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-37.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-38.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-38.jpg new file mode 100755 index 000000000..53839d6f3 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-38.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-39.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-39.jpg new file mode 100755 index 000000000..a31d4244d Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-39.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-4.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-4.jpg new file mode 100755 index 000000000..8f2e1634d Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-4.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-40.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-40.jpg new file mode 100755 index 000000000..1b5a29433 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-40.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-41.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-41.jpg new file mode 100755 index 000000000..5cd3e9635 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-41.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-42.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-42.jpg new file mode 100755 index 000000000..c9c799216 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-42.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-43.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-43.jpg new file mode 100755 index 000000000..d4e05313b Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-43.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-44.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-44.jpg new file mode 100755 index 000000000..eb9009b1b Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-44.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-45.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-45.jpg new file mode 100755 index 000000000..8d2b329e4 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-45.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-46.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-46.jpg new file mode 100755 index 000000000..a1ac04457 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-46.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-47.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-47.jpg new file mode 100755 index 000000000..5417ae2ec Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-47.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-48.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-48.jpg new file mode 100755 index 000000000..b7725666c Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-48.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-49.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-49.jpg new file mode 100755 index 000000000..b3d7f68d3 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-49.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-5.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-5.jpg new file mode 100755 index 000000000..d19c44538 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-5.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-50.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-50.jpg new file mode 100755 index 000000000..7b391cde3 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-50.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-51.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-51.jpg new file mode 100755 index 000000000..21963c90b Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-51.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-52.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-52.jpg new file mode 100755 index 000000000..835945688 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-52.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-6.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-6.jpg new file mode 100755 index 000000000..f5a1a18dc Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-6.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-7.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-7.jpg new file mode 100755 index 000000000..36b4bbfdd Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-7.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-8.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-8.jpg new file mode 100755 index 000000000..d48ce75a1 Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-8.jpg differ diff --git a/test/NUIWindowBlur/res/gallery/gallery-medium-9.jpg b/test/NUIWindowBlur/res/gallery/gallery-medium-9.jpg new file mode 100755 index 000000000..a61fd25db Binary files /dev/null and b/test/NUIWindowBlur/res/gallery/gallery-medium-9.jpg differ diff --git a/test/NUIWindowBlur/res/images/Wing.jpg b/test/NUIWindowBlur/res/images/Wing.jpg new file mode 100755 index 000000000..b27abbf2e Binary files /dev/null and b/test/NUIWindowBlur/res/images/Wing.jpg differ diff --git a/test/NUIWindowBlur/res/images/behind.jpg b/test/NUIWindowBlur/res/images/behind.jpg new file mode 100755 index 000000000..53839d6f3 Binary files /dev/null and b/test/NUIWindowBlur/res/images/behind.jpg differ diff --git a/test/NUIWindowBlur/res/images/close.png b/test/NUIWindowBlur/res/images/close.png new file mode 100644 index 000000000..c49e4801e Binary files /dev/null and b/test/NUIWindowBlur/res/images/close.png differ diff --git a/test/NUIWindowBlur/res/images/leftCorner.png b/test/NUIWindowBlur/res/images/leftCorner.png new file mode 100644 index 000000000..6f8244028 Binary files /dev/null and b/test/NUIWindowBlur/res/images/leftCorner.png differ diff --git a/test/NUIWindowBlur/res/images/maximalize.png b/test/NUIWindowBlur/res/images/maximalize.png new file mode 100644 index 000000000..c5cbbaf00 Binary files /dev/null and b/test/NUIWindowBlur/res/images/maximalize.png differ diff --git a/test/NUIWindowBlur/res/images/minimalize.png b/test/NUIWindowBlur/res/images/minimalize.png new file mode 100644 index 000000000..6b116b2cf Binary files /dev/null and b/test/NUIWindowBlur/res/images/minimalize.png differ diff --git a/test/NUIWindowBlur/res/images/rightCorner.png b/test/NUIWindowBlur/res/images/rightCorner.png new file mode 100644 index 000000000..68d837f44 Binary files /dev/null and b/test/NUIWindowBlur/res/images/rightCorner.png differ diff --git a/test/NUIWindowBlur/res/images/smallwindow.png b/test/NUIWindowBlur/res/images/smallwindow.png new file mode 100644 index 000000000..8f4263be4 Binary files /dev/null and b/test/NUIWindowBlur/res/images/smallwindow.png differ diff --git a/test/NUIWindowBlur/shared/res/NUIWindowBlur.png b/test/NUIWindowBlur/shared/res/NUIWindowBlur.png new file mode 100644 index 000000000..a90b5fa02 Binary files /dev/null and b/test/NUIWindowBlur/shared/res/NUIWindowBlur.png differ diff --git a/test/NUIWindowBlur/tizen-manifest.xml b/test/NUIWindowBlur/tizen-manifest.xml new file mode 100644 index 000000000..47a6c16ea --- /dev/null +++ b/test/NUIWindowBlur/tizen-manifest.xml @@ -0,0 +1,16 @@ + + + + + + NUIWindowBlur.png + + +