platform/core/csapi/tizenfx.git
4 years ago[NUI] Restore Size2D's minus value as zero when Layout is null (#1926)
dongsug-song [Wed, 19 Aug 2020 07:45:39 +0000 (16:45 +0900)]
[NUI] Restore Size2D's minus value as zero when Layout is null (#1926)

4 years ago[NUI] Fix osv issue (#1919)
AdunFang [Wed, 19 Aug 2020 07:45:21 +0000 (15:45 +0800)]
[NUI] Fix osv issue (#1919)

* [NUI] Fix OSV issue

* [NUI] Fix OSV issue of NUI

Co-authored-by: Fang Xiaohui <xiaohui fang>
4 years ago[NUI] Sync DALi2 1.9.25 (#1923)
dongsug-song [Wed, 19 Aug 2020 07:42:41 +0000 (16:42 +0900)]
[NUI] Sync DALi2 1.9.25 (#1923)

4 years ago[NUI] Add the default Accessibility attribute trait (#1924)
Seoyeon2Kim [Wed, 19 Aug 2020 07:07:45 +0000 (16:07 +0900)]
[NUI] Add the default Accessibility attribute trait (#1924)

- Added the default trait of Accessibility attribute
 to several Tizen.NUI.Components
 : Button, DropDown, Loading, and ScrollableBase

- If Accessibility turns on, screen reader would read these components name.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Add Accessibility override functions to components (#1921)
Seoyeon2Kim [Wed, 19 Aug 2020 07:06:02 +0000 (16:06 +0900)]
[NUI] Add Accessibility override functions to components (#1921)

- To get Accessibility Activated signal to Button components,
 added and connected OnAccessibilityActivated in Button.
- To get Accessibility Pan signal to ScrollableBase,
 added OnAccessibilityPan method to be overridden.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[NUI] Sample app for Frame callback. (#1925)
bshsqa [Wed, 19 Aug 2020 07:03:16 +0000 (16:03 +0900)]
[NUI] Sample app for Frame callback. (#1925)

- Touch the screen then launcher icons are appeared
 - The icons can be moved by using finger gesture.
 - If a icon is moved by gesture, others follow it with small delay(0.03s)
 - the delayed animation is computed in the frame callback

Signed-off-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
Co-authored-by: seungho <seungho@seungho.tn.corp.samsungelectronics.net>
4 years ago[NUI] Boundary check for properties in ScrollableBase (#1920)
neostom432 [Tue, 18 Aug 2020 04:30:28 +0000 (13:30 +0900)]
[NUI] Boundary check for properties in ScrollableBase (#1920)

Check boundary for

ScrollDuration      -  value >= 0
DecelerationRate    -  value < 1 && value > 0
PageFlickThreshold  -  value >= 0

Invalid value will be ignored.

4 years ago[NUI] Remove OnAccessibilityTouch binding (#1914)
Seoyeon2Kim [Fri, 14 Aug 2020 04:47:26 +0000 (13:47 +0900)]
[NUI] Remove OnAccessibilityTouch binding (#1914)

- Currently OnAccessibilityTouch is unused and unnecessary in AccessibilityManager.
 So, removed the internal API and its C# binding

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years ago[ImageUtil] Supports WebP encoder and decoder (#1881)
hsgwon [Thu, 13 Aug 2020 07:51:32 +0000 (16:51 +0900)]
[ImageUtil] Supports WebP encoder and decoder (#1881)

4 years ago[NUI] Add ScrollPosition and ScrollCurrentPosition to ScrollbarBase (#1872)
jaehyun0cho [Thu, 13 Aug 2020 02:42:47 +0000 (11:42 +0900)]
[NUI] Add ScrollPosition and ScrollCurrentPosition to ScrollbarBase (#1872)

To get the scroll position given to ScrollTo or Update, ScrollPosition
is added.

To get the current scroll position in the middle of ScrollTo or Update
animation, ScrollCurrentPosition is added.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add MaxLength property and signal to TextEditor (#1901)
Seoyeon2Kim [Wed, 12 Aug 2020 05:41:47 +0000 (14:41 +0900)]
[NUI] Add MaxLength property and signal to TextEditor (#1901)

- To limit input to maximum characters in TextEditor,
 added MaxLength property and MaxLengthReached signal

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoRestore csapi-tizenfx-dummy rpm package (#1911)
WonYoung Choi [Wed, 12 Aug 2020 04:58:39 +0000 (13:58 +0900)]
Restore csapi-tizenfx-dummy rpm package (#1911)

It is referenced by other meta packages. They should be fixed first.

4 years ago[NUI] Rename OnStage signal related internal methods (#1891)
Richard Huang [Tue, 11 Aug 2020 07:25:42 +0000 (08:25 +0100)]
[NUI] Rename OnStage signal related internal methods (#1891)

4 years ago[NUI] Row/Column Spacing Underflow correction (#1909)
neostom432 [Tue, 11 Aug 2020 07:13:48 +0000 (16:13 +0900)]
[NUI] Row/Column Spacing Underflow correction (#1909)

In comment, if developer sets negative value to Row/ColumnSpacing, it
will change to 0.

But it isn't so fix this error.

4 years ago[NUI] Add MinLineSize in RendererParameters (#1892)
JoogabYun [Tue, 11 Aug 2020 01:33:35 +0000 (10:33 +0900)]
[NUI] Add MinLineSize in RendererParameters (#1892)

4 years ago[Packagemanager] Check the package list is empty (#1907)
jeremy-jang [Mon, 10 Aug 2020 08:15:59 +0000 (17:15 +0900)]
[Packagemanager] Check the package list is empty (#1907)

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years ago[RPCPort][ACR] Support synchronous connection requests and private file sharing ...
hjhun [Mon, 10 Aug 2020 06:34:38 +0000 (15:34 +0900)]
[RPCPort][ACR] Support synchronous connection requests and private file sharing (#1898)

* [RPCPort] Support private sharing feature

If all added paths are under the caller application's data path which
can be obtained, those will be shared to the target application.
Platform will grant a temporary permission to the target application.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [RPCPort] Support synchronous version connection request method

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [RPCPort] Move ShareFile() and UnshareFile() to Port.cs

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [RPCPort] Change parameter type to IEnumerable<string>

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* [RPCPort] Remove unnecessary space

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years ago[NUI] Resolve conflicts types between friends assemblies (#1906)
WonYoung Choi [Mon, 10 Aug 2020 06:27:56 +0000 (15:27 +0900)]
[NUI] Resolve conflicts types between friends assemblies (#1906)

4 years ago[Bluetooth][Non-ACR] Fix GATT issues (#1900)
Wootak Jung [Mon, 10 Aug 2020 06:25:51 +0000 (15:25 +0900)]
[Bluetooth][Non-ACR] Fix GATT issues (#1900)

* [Bluetooth][Non-ACR] Fix GATT issues

- value not set issue on WriteRequested callback
- SendIndication failed issue

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
* Remove duplicate function

4 years ago[Build] Fix to enable Analyzer (#1905)
WonYoung Choi [Mon, 10 Aug 2020 03:18:10 +0000 (12:18 +0900)]
[Build] Fix to enable Analyzer (#1905)

* [Build] Fix to enable Analyzer

* Update common.props

4 years ago[Build] Install files of each module with profile variation (#1902)
WonYoung Choi [Mon, 10 Aug 2020 00:37:26 +0000 (09:37 +0900)]
[Build] Install files of each module with profile variation (#1902)

- Add SupportedProfiles property
- Add TizenProfile metadata to None item group
- Remove PlatformFileList.txt : all profile filelist will be auto-generated
- Move preload files to each module
- Remove unused profile packages : common, mobile-emul
- Remove unused dummy package

4 years ago[NUI] Binding FrameCallbackInterface (#1873)
huiyueun [Fri, 7 Aug 2020 03:36:16 +0000 (12:36 +0900)]
[NUI] Binding FrameCallbackInterface (#1873)

* [NUI] Add FrameCallbackInterface

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
* Modify patch

Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
4 years ago[NUI] Add GestureDetectorManager (#1895)
JoogabYun [Fri, 7 Aug 2020 02:24:46 +0000 (11:24 +0900)]
[NUI] Add GestureDetectorManager (#1895)

- Detect supported gestures.
  : To receive Gesture, you can inherit and implement GestureDetectorManager.GestureListener.
    Then you can implement the necessary callback.

  sample)

            TextLabel backView = new TextLabel
            {
                Size = new Size(300, 300),
                Text = "Back View",
                Position = new Position(50, 70),
                PointSize = 11,
                BackgroundColor = new Color(1.0f, 1.0f, 0.0f, 1.0f),
            };

            mGestureDetector = new GestureDetectorManager(backView, new MyGestureListener());
            backView.TouchEvent += OnBackTouchEvent;

        private bool OnBackTouchEvent(object source, View.TouchEventArgs e)
        {
            Tizen.Log.Error("NUI", $"OnBackTouchEvent {e.Touch.GetState(0)}\n");
            mGestureDetector.FeedTouchEvent(source, e);
            return false;
        }

        class MyGestureListener : GestureDetectorManager.GestureListener
        {
          public override void OnTap(object sender, TapGestureDetector.DetectedEventArgs e)
          {
            Tizen.Log.Error("NUI", $"OnTap \n");
          }

          public override void OnPan(object sender, PanGestureDetector.DetectedEventArgs e)
          {
            Tizen.Log.Error("NUI", $"OnPan \n");
          }

          public override void OnPinch(object sender, PinchGestureDetector.DetectedEventArgs e)
          {
            Tizen.Log.Error("NUI", $"OnPinch \n");
          }

          public override void OnLongPress(object sender, LongPressGestureDetector.DetectedEventArgs e)
          {
            Tizen.Log.Error("NUI", $"OnLongPress \n");
          }
        }

4 years ago[NUI] Remove workaround, Fix PropertyMap().Add() problem (#1899)
dongsug-song [Fri, 7 Aug 2020 01:54:43 +0000 (10:54 +0900)]
[NUI] Remove workaround, Fix PropertyMap().Add() problem (#1899)

4 years ago[MediaVision] Add new barcode types (#1897)
Tae-Young Chung [Thu, 6 Aug 2020 23:46:26 +0000 (08:46 +0900)]
[MediaVision] Add new barcode types (#1897)

Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
4 years ago[NUI] Add IndicatorColor and SelectedIndicatorColor to Pagination (#1863)
jaehyun0cho [Thu, 6 Aug 2020 06:03:36 +0000 (15:03 +0900)]
[NUI] Add IndicatorColor and SelectedIndicatorColor to Pagination (#1863)

To support setting indicator color of Pagination, IndicatorColor and
SelectedIndicatorColor properties are added.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add Selector constructor with SelectorChangedCallback internally (#1862)
jaehyun0cho [Thu, 6 Aug 2020 06:02:23 +0000 (15:02 +0900)]
[NUI] Add Selector constructor with SelectorChangedCallback internally (#1862)

To track property changes of Selector class, Selector constructor with
SelectorChangedCallback is added internally.

This is the same method applied to Color class.

By using this constructor, ColorSelector class also tracks property
changes internally.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add ScrollPosition and ScrollCurrentPosition to ScrollableBase (#1845)
jaehyun0cho [Thu, 6 Aug 2020 06:01:50 +0000 (15:01 +0900)]
[NUI] Add ScrollPosition and ScrollCurrentPosition to ScrollableBase (#1845)

To get the scroll position given to ScrollTo, ScrollPosition is added.
ScrollPosition is the position in the opposite direction to the position
of ContentContainer.

To get the current scroll position, ScrollCurrentPosition is added.
ScrollCurrentPosition is the position in the opposite direction to the
current position of ContentContainer.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[Packagemanager] Add APIs for installing multiple packages (#1877)
jeremy-jang [Thu, 6 Aug 2020 04:35:35 +0000 (13:35 +0900)]
[Packagemanager] Add APIs for installing multiple packages (#1877)

Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
4 years ago[Bluetooth][Non-ACR] Add API document (#1885)
Wootak Jung [Thu, 6 Aug 2020 04:26:05 +0000 (13:26 +0900)]
[Bluetooth][Non-ACR] Add API document (#1885)

Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
4 years ago[NUI] nui version update (#1896)
dongsug-song [Wed, 5 Aug 2020 04:34:56 +0000 (13:34 +0900)]
[NUI] nui version update (#1896)

4 years ago[NUI] Workaround : Add Clear() when new PropertyMap() (#1894)
dongsug-song [Wed, 5 Aug 2020 04:34:48 +0000 (13:34 +0900)]
[NUI] Workaround : Add Clear() when new PropertyMap() (#1894)

4 years ago[NUI] Change VS Code settings in Ubuntu (#1890)
dongsug-song [Wed, 5 Aug 2020 04:34:40 +0000 (13:34 +0900)]
[NUI] Change VS Code settings in Ubuntu (#1890)

4 years ago[NUI] Add Play/Pause/Stop APIs to Loading (#1889)
neostom432 [Wed, 5 Aug 2020 02:10:23 +0000 (02:10 +0000)]
[NUI] Add Play/Pause/Stop APIs to Loading (#1889)

Loading uses AnimatedVisual.
We can Play/Pause/Stop using visual actions.

Add Play/Pause/Stop APIs.

4 years ago[NUI] Add KeyboardRepeatSettingsChanged event (#1866)
Seoyeon2Kim [Wed, 5 Aug 2020 01:51:13 +0000 (10:51 +0900)]
[NUI] Add KeyboardRepeatSettingsChanged event (#1866)

- This signal is emitted when the values of keyboard repeat, such as delay and rate,
 are changed globally.

Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
4 years agoRevert "Revert "[NUI] Add CAPTURE_ALL_TOUCH_AFTER_START property (#1852)" (#1868...
JoogabYun [Wed, 5 Aug 2020 01:47:20 +0000 (10:47 +0900)]
Revert "Revert "[NUI] Add CAPTURE_ALL_TOUCH_AFTER_START property (#1852)" (#1868)" (#1893)

This reverts commit 4bddf6f2de84375eee9f6bdadf221262cd891a3a.

4 years ago[NUI] Add VS Code setting files for Ubuntu (#1879)
dongsug-song [Mon, 3 Aug 2020 11:48:23 +0000 (20:48 +0900)]
[NUI] Add VS Code setting files for Ubuntu (#1879)

4 years ago[NUI] Fix ResizePolicy error when setting View.Size.Width or Height (#1882)
dongsug-song [Mon, 3 Aug 2020 11:43:14 +0000 (20:43 +0900)]
[NUI] Fix ResizePolicy error when setting View.Size.Width or Height (#1882)

4 years ago[NUI] Support default focus logic for RecyclerView (#1869)
neostom432 [Thu, 30 Jul 2020 11:02:06 +0000 (20:02 +0900)]
[NUI] Support default focus logic for RecyclerView (#1869)

Support default focus chain.

Focus logic can vary depending on the type of LayoutManager.

4 years ago[NUI] Change Text to TextSelector for Textfield (#1876)
zhouleonlei [Thu, 30 Jul 2020 02:33:00 +0000 (10:33 +0800)]
[NUI] Change Text to TextSelector for Textfield (#1876)

4 years ago[Applications.Alarm] Handle null parameter for AppControl (#1875)
kilig [Thu, 30 Jul 2020 01:55:15 +0000 (10:55 +0900)]
[Applications.Alarm] Handle null parameter for AppControl (#1875)

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
4 years ago[NUI] Fix the type convert issue when new InputField (#1874)
zhouleonlei [Wed, 29 Jul 2020 10:21:36 +0000 (18:21 +0800)]
[NUI] Fix the type convert issue when new InputField (#1874)

4 years ago[NUI] Fix svace issues. (#1867)
guowei.wang [Wed, 29 Jul 2020 05:44:02 +0000 (13:44 +0800)]
[NUI] Fix svace issues. (#1867)

4 years agoRevert "[NUI] Add CAPTURE_ALL_TOUCH_AFTER_START property (#1852)" (#1868)
dongsug-song [Wed, 29 Jul 2020 02:17:20 +0000 (11:17 +0900)]
Revert "[NUI] Add CAPTURE_ALL_TOUCH_AFTER_START property (#1852)" (#1868)

This reverts commit 44638c8717f71c947a43fcbf273f728b0a820017.

4 years ago[NUI] Workaround : Fix TCT fail issue (#1865)
dongsug-song [Wed, 29 Jul 2020 02:17:10 +0000 (11:17 +0900)]
[NUI] Workaround : Fix TCT fail issue (#1865)

4 years agoUpdate README.md
TizenAPI-Bot [Tue, 28 Jul 2020 02:59:41 +0000 (11:59 +0900)]
Update README.md

4 years ago[NUI] Add CAPTURE_ALL_TOUCH_AFTER_START property (#1852)
JoogabYun [Tue, 28 Jul 2020 02:42:49 +0000 (11:42 +0900)]
[NUI] Add CAPTURE_ALL_TOUCH_AFTER_START property (#1852)

4 years ago[NUI] remove unused class (#1842)
YeongJong Lee [Tue, 28 Jul 2020 02:32:58 +0000 (11:32 +0900)]
[NUI] remove unused class (#1842)

since commit 4389bdc8eb5a4ad3852956870d0dfe119d8e04ef, those classes and
methods are no longer used.

4 years ago[NUI] Fix scroll item touch issue (#1864)
neostom432 [Tue, 28 Jul 2020 02:19:42 +0000 (11:19 +0900)]
[NUI] Fix scroll item touch issue (#1864)

Previously when velocity is 0, ScrollAnimationFinished callback is not
working so touch interrupt view is not disappear.

Now, ScrollAnimation is started even if velocity is 0.

4 years agoUpdate build.yaml
TizenAPI-Bot [Mon, 27 Jul 2020 08:34:32 +0000 (17:34 +0900)]
Update build.yaml

4 years ago[NUI] add attached property for FlexLayout (#1803)
YeongJong Lee [Mon, 27 Jul 2020 07:06:51 +0000 (16:06 +0900)]
[NUI] add attached property for FlexLayout (#1803)

Attached properties are added for FlexLayout.
 - FlexAlignmentSelf
 - FlexPositionType
 - FlexAspectRatio
 - FlexBasis
 - FlexShrink
 - FlexGrow

For more informantion, see Yoga Layout [documentation](https://yogalayout.com/docs).

See also,
dali-toolkit: https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/237889/
dali-csharp-binder: https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/237888/
NUI: https://github.com/Samsung/TizenFX/pull/1803

Co-authored-by: neostom432 <31119276+neostom432@users.noreply.github.com>
4 years ago[NUI] Open new GridLayout APIs and Properties (#1834)
neostom432 [Mon, 27 Jul 2020 04:59:08 +0000 (13:59 +0900)]
[NUI] Open new GridLayout APIs and Properties (#1834)

GridLayout.Orientation
 Horizontal
 Vertical

GridLayout.StretchFlags
 None = 0
 Fill = 1
 Expand = 2
 ExpandAndFill = Fill + Expand

GridLayout.Alignment
Start = 0
Center = 1
End = 2
static int GetColumn(View view)
static int GetColumnSpan(View view)
static int GetRow(View view)
static int GetRowSpan(View view)
static StretchFlags GetHorizontalStretch(View view)
static StretchFlags GetVerticalStretch(View view)
static StretchFlags GetHorizontalAlignment(View view)
static StretchFlags GetVerticalAlignment(View view)
static void SetColumn(View view, int value)
static void SetColumnSpan(View view, int value)
static void SetRow(View view, int value)
static void SetRowSpan(View view, int value)
static void SetHorizontalStretch(View view, StretchFlags value)
static void SetVerticalStretch(View view, StretchFlags value)
static void SetHorizontalAlignment(View view, Alignment value)
static void SetVerticalAlignment(View view, Alignment value)

float ColumnSpacing { get; set; }
float RowSpacing { get; set; }
GridLayout.Orientation GridOrientation { get; set; }
int Rows { get; set; }
int Columns{ get; set; }

4 years ago[Workflow] Build on push event (#1861)
WonYoung Choi [Fri, 24 Jul 2020 10:42:45 +0000 (19:42 +0900)]
[Workflow] Build on push event (#1861)

* [Workflow] Build on push event

* Delete travis CI file

4 years ago[Workflow] Add stale action to workflows (#1860)
WonYoung Choi [Fri, 24 Jul 2020 10:27:19 +0000 (19:27 +0900)]
[Workflow] Add stale action to workflows (#1860)

4 years ago[Build] Use github actions for building and reporting annotations (#1859)
WonYoung Choi [Fri, 24 Jul 2020 08:08:46 +0000 (17:08 +0900)]
[Build] Use github actions for building and reporting annotations (#1859)

4 years ago[Build] Use GITHUB_TOKEN in Pull Request workflow (#1858)
WonYoung Choi [Fri, 24 Jul 2020 07:30:30 +0000 (16:30 +0900)]
[Build] Use GITHUB_TOKEN in Pull Request workflow (#1858)

4 years ago[Build] Add github actions workflow for pull_request (#1856)
WonYoung Choi [Fri, 24 Jul 2020 07:09:07 +0000 (16:09 +0900)]
[Build] Add github actions workflow for pull_request (#1856)

4 years ago[NUI] Enable selectors work in View : EnableControlState (#1851)
Jiyun Yang [Fri, 24 Jul 2020 01:47:19 +0000 (10:47 +0900)]
[NUI] Enable selectors work in View : EnableControlState (#1851)

* Previously, the View did not support ControlState so that selector values are not applied to the View.
* Introduce a new property EnableControlState.
  If this property is set to true, the View can have a touch related ControlState (such as Pressed) when touch.
  By default, it is false in View, true in Control.
  Note that if the value is true, the View will be a touch receptor.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Fix Window.FocusChanged event problem (#1855)
dongsug-song [Thu, 23 Jul 2020 12:01:49 +0000 (21:01 +0900)]
[NUI] Fix Window.FocusChanged event problem (#1855)

4 years ago[NUI] Add WindowSystem softkey APIs (#1836)
jeon [Thu, 23 Jul 2020 08:28:38 +0000 (17:28 +0900)]
[NUI] Add WindowSystem softkey APIs (#1836)

4 years ago[MediaPlayer] remove NotSupportedFormat exception (#1854)
nam [Thu, 23 Jul 2020 05:59:37 +0000 (14:59 +0900)]
[MediaPlayer] remove NotSupportedFormat exception (#1854)

4 years ago[MediaController] Add new request method (#1823)
hsgwon [Thu, 23 Jul 2020 03:30:14 +0000 (12:30 +0900)]
[MediaController] Add new request method (#1823)

* [MediaController] Add new request method

4 years ago[Build] Add the Tizen.NUI.preload file (#1840)
JongHeonChoi [Thu, 23 Jul 2020 01:32:09 +0000 (10:32 +0900)]
[Build] Add the Tizen.NUI.preload file (#1840)

4 years ago[NUI] Add exception and null check for Button/Slider/Switch (#1853)
zhouleonlei [Thu, 23 Jul 2020 01:19:51 +0000 (09:19 +0800)]
[NUI] Add exception and null check for Button/Slider/Switch (#1853)

* [NUI] Add exception and null check for Button/Slider/Switch

* [NUI] Add exception

4 years ago[NUI] Fix wearable style issues (#1847)
Jiyun Yang [Wed, 22 Jul 2020 04:30:04 +0000 (13:30 +0900)]
[NUI] Fix wearable style issues (#1847)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Scrollbar inherits VisualView instead of Control (#1846)
Jiyun Yang [Wed, 22 Jul 2020 04:29:48 +0000 (13:29 +0900)]
[NUI] Scrollbar inherits VisualView instead of Control (#1846)

* Control always be a hit actor for touching, but the scrollbar does not need to be.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NFC][Non-ACR] Fix NFC Csharp TC failed issue (#1849)
jh8801jung [Wed, 22 Jul 2020 00:25:59 +0000 (09:25 +0900)]
[NFC][Non-ACR] Fix NFC Csharp TC failed issue (#1849)

- https://code.sec.samsung.net/jira/browse/TFDF-10927
- It seems that the callback is missing from the constructor in API8 branch

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
4 years ago[NUI] Create Layout only for TextLabel (#1850)
neostom432 [Tue, 21 Jul 2020 10:14:48 +0000 (19:14 +0900)]
[NUI] Create Layout only for TextLabel (#1850)

There are 4 cases.

1. Fixed or MatchParent Width and Height
: Use fixed or parent size

2. Fixed or MatchParent Width and WrapContent Height
: Get Height for Width using GetHeightForWidth() API

3. WrapContent Width and Fixed or MatchParent Height
: Get Width for Height using GetNaturalSize() API because there is no
overrided GetWidthForHeight function in TextLabel.

4. WrapContent Width and Height
: Get Width and Height using GetNaturalSize() API

Padding will be automatically applied by DALi TextLabel.

4 years ago[NUI] Change for AddFrameRenderedCallback to maintain the reference of user callback...
dongsug-song [Tue, 21 Jul 2020 03:38:17 +0000 (12:38 +0900)]
[NUI] Change for AddFrameRenderedCallback to maintain the reference of user callback (#1839)

4 years ago[NUI] Change TextPageUtil to Tizen.NUI.Utility namespace. (#1843)
JoogabYun [Tue, 21 Jul 2020 03:37:32 +0000 (12:37 +0900)]
[NUI] Change TextPageUtil to Tizen.NUI.Utility namespace. (#1843)

4 years ago[NUI] Add ScrollEnabled to ScrollbarBase (#1838)
jaehyun0cho [Tue, 21 Jul 2020 02:39:51 +0000 (11:39 +0900)]
[NUI] Add ScrollEnabled to ScrollbarBase (#1838)

To enable and disable scrolling of scrollbar, ScrollEnabled is added.

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add public types to replace nested types of Components.Button (#1810)
jaehyun0cho [Tue, 21 Jul 2020 02:20:37 +0000 (11:20 +0900)]
[NUI] Add public types to replace nested types of Components.Button (#1810)

To replace nested types (CA1034 of StyleCop), the following is added.
- class ClickedEventArgs
- event EventHandler<ClickedEventArgs> in Button class

The followings are deprecated.
- class ClickEventArgs in Button class
- event EventHandler<ClickEventArgs> in Button class

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add public types to replace nested types of Components.Switch (#1809)
jaehyun0cho [Tue, 21 Jul 2020 02:20:22 +0000 (11:20 +0900)]
[NUI] Add public types to replace nested types of Components.Switch (#1809)

To replace nested types (CA1034 of StyleCop), the following is added.
- event EventHandler<SelectedChangedEventArgs> in Switch class

The followings are deprecated.
- class SelectEventArgs in Switch class
- event EventHandler<SelectEventArgs> in Switch class

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Add public types to replace nested types of Components.Slider (#1808)
jaehyun0cho [Tue, 21 Jul 2020 02:20:11 +0000 (11:20 +0900)]
[NUI] Add public types to replace nested types of Components.Slider (#1808)

To replace nested types (CA1034 of StyleCop), the followings are added.
- class SliderValueChangedEventArgs
- class SliderSlidingFinishedEventArgs
- event EventHandler<SliderValueChangedEventArgs> in Slider class
- event EventHandler<SliderSlidingFinishedEventArgs> in Slider class

The followings are deprecated.
- class ValueChangedArgs in Slider class
- class SlidingFinishedArgs in Slider class
- event EventHandler<ValueChangedArgs> in Slider class
- event EventHandler<SlidingFinishedArgs> in Slider class

Co-authored-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
4 years ago[NUI] Remove Style from View (#1837)
Jiyun Yang [Mon, 20 Jul 2020 06:25:15 +0000 (15:25 +0900)]
[NUI] Remove Style from View (#1837)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] Sync ViewWrapper swig connection arguments count to dali csharp binder (#1835)
Jiyun Yang [Fri, 17 Jul 2020 06:23:00 +0000 (15:23 +0900)]
[NUI] Sync ViewWrapper swig connection arguments count to dali csharp binder (#1835)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Multimedia] Update solution files (#1832)
hsgwon [Fri, 17 Jul 2020 04:52:24 +0000 (13:52 +0900)]
[Multimedia] Update solution files (#1832)

4 years ago[NUI] Remove bindings between Style and View (#1788)
zhouleonlei [Thu, 16 Jul 2020 07:29:34 +0000 (15:29 +0800)]
[NUI] Remove bindings between Style and View (#1788)

* [NUI] Remove bindings between Style and View

* [NUI] Hide toast.style

* [NUI] Style of BaseComponent returns copied style.

Style of BaseComponent returns copied style.

* Add API to create ViewStyle from a View instance. (ViewStyle.CopyPropertiesFromView)
* Fix TriggerableSelector to get valid property value from its view.
* BaseComponent may not own style instance so reduce size of selectors in BaseComponents.
* Fix bugs in applying or retreiving style.

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
Co-authored-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[NUI] fix wrong total expand value in expanded size calculation (#1833)
YeongJong Lee [Thu, 16 Jul 2020 02:09:12 +0000 (11:09 +0900)]
[NUI] fix wrong total expand value in expanded size calculation (#1833)

The result is reversed. `totalHorizontalExpand` should be used in
horizontal orientation.

4 years ago[NUI] use correct max column/row count in validation of child column/row (#1831)
YeongJong Lee [Wed, 15 Jul 2020 07:26:36 +0000 (16:26 +0900)]
[NUI] use correct max column/row count in validation of child column/row (#1831)

Column/row of GridLayout child should be compared to max column/row count which
is decided by auto-placement of GridLayout.

4 years ago[NUI] Add FrameRenderedCallback, FramePresentedCallback as hidden API (#1811)
dongsug-song [Wed, 15 Jul 2020 06:47:56 +0000 (15:47 +0900)]
[NUI] Add FrameRenderedCallback, FramePresentedCallback as hidden API (#1811)

- csharp binding for DALi DevelWindow's AddFrameRenderedCallback and AddFramePresentedCallback
- TestCase will not be added in tizen CSharp-TCT, but they were added in test sample to do TDD
- paired with https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/238104/
- comments have been updated

4 years ago[NUI] make GridLayout.Orientation default value as Horizontal (#1828)
YeongJong Lee [Wed, 15 Jul 2020 06:05:36 +0000 (15:05 +0900)]
[NUI] make GridLayout.Orientation default value as Horizontal (#1828)

Before commit c04eaacb3186b0ea9e499d7a930b10e074134d32, child was added
from left to right by default. but now they are added from top to
bottom.
This patch reverts auto-placement rule to keep backward compatibility.

4 years ago[NUI] respect GridLayout child margin (#1825)
YeongJong Lee [Wed, 15 Jul 2020 05:29:36 +0000 (14:29 +0900)]
[NUI] respect GridLayout child margin (#1825)

GridLayout child margin was ignored...

4 years ago[NUI] make xxxStretchProperty default value as StretchFlags.None (#1826)
YeongJong Lee [Wed, 15 Jul 2020 05:18:43 +0000 (14:18 +0900)]
[NUI] make xxxStretchProperty default value as StretchFlags.None (#1826)

By default, item size should be respected.

4 years ago[NUI] Capture binding (#1752)
dongsug-song [Wed, 15 Jul 2020 05:15:43 +0000 (14:15 +0900)]
[NUI] Capture binding (#1752)

4 years ago[NUI] Support the different file name of Xaml (#1816)
AdunFang [Wed, 15 Jul 2020 04:50:30 +0000 (12:50 +0800)]
[NUI] Support the different file name of Xaml (#1816)

Co-authored-by: Fang Xiaohui <xiaohui fang>
4 years ago[NUI] BackKeyEvent Proptotype (#1824)
neostom432 [Wed, 15 Jul 2020 04:50:05 +0000 (13:50 +0900)]
[NUI] BackKeyEvent Proptotype (#1824)

View can subscribe back key event using BackKeyEvent event handler.

When user adds BackKeyEvent callback to View, view is listed as Subscriber of BackKeyManager.

After that, if back key is comming,
BackKeyManager will find top view among back key subscribers which has Visibility and IsOnWidnow property are true.

The top view will emit its BackKeyEvent.

*** Notice ***

It is based on Window KeyEvent so make sure you don't use Window KeyEvent and View KeyEvent.

After binding backkey event from DALi, user can use Window/View KeyEvent
with BackKeyEvent.

4 years ago[NUI] Add TextPageUtil (#1819)
JoogabYun [Wed, 15 Jul 2020 04:48:28 +0000 (13:48 +0900)]
[NUI] Add TextPageUtil (#1819)

4 years ago[NUI] Remove AssemblyInfo of NUI.Components.DA. (#1805)
huayongxu [Wed, 15 Jul 2020 04:44:33 +0000 (12:44 +0800)]
[NUI] Remove AssemblyInfo of NUI.Components.DA. (#1805)

Code of NUI.Components.DA has been removed already. Its AssemblyInfo is
not used.

Co-authored-by: huiyueun <35286162+huiyueun@users.noreply.github.com>
4 years agoAdd app manager attach/detach window API for internal (#1786)
sukhyungkang [Wed, 15 Jul 2020 04:33:58 +0000 (13:33 +0900)]
Add app manager attach/detach window API for internal (#1786)

Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
4 years ago[NUI] Fix some typos. (#1807)
huayongxu [Wed, 15 Jul 2020 04:25:19 +0000 (12:25 +0800)]
[NUI] Fix some typos. (#1807)

4 years ago[NUI] Fix ScrollableBase when velocity is 0 (#1822)
neostom432 [Wed, 15 Jul 2020 04:11:59 +0000 (13:11 +0900)]
[NUI] Fix ScrollableBase when velocity is 0 (#1822)

When velocity is 0, fomular cannot be working.
Skip deceleration when velocity is 0.

4 years ago[NUI] TextField rename TextField_SelectNone to be SelectNone (#1729)
Ali-Alzyoud [Wed, 15 Jul 2020 04:11:42 +0000 (07:11 +0300)]
[NUI] TextField rename TextField_SelectNone to be SelectNone (#1729)

* TextField Add support for:
1- SeletedText property.
2- SelectNone function.

* remove string cast

4 years ago[MediaCodec] Add new codec type - Opus (#1812)
hsgwon [Tue, 14 Jul 2020 02:14:58 +0000 (11:14 +0900)]
[MediaCodec] Add new codec type - Opus (#1812)

4 years ago[NUI] Sync ViewWrapper director arguments to dali-csharp-binder (#1821)
Jiyun Yang [Mon, 13 Jul 2020 08:39:44 +0000 (17:39 +0900)]
[NUI] Sync ViewWrapper director arguments to dali-csharp-binder (#1821)

Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
4 years ago[Build] Fix rid generation error (#1820)
WonYoung Choi [Mon, 13 Jul 2020 06:40:29 +0000 (15:40 +0900)]
[Build] Fix rid generation error (#1820)

4 years ago[NUI] Open ScrollalbleBase APIs (#1783)
neostom432 [Mon, 13 Jul 2020 01:32:04 +0000 (10:32 +0900)]
[NUI] Open ScrollalbleBase APIs (#1783)

4 years ago[NUI] Add WindowSystem's quickpanel APIs (#1715)
jeon [Fri, 10 Jul 2020 06:01:07 +0000 (15:01 +0900)]
[NUI] Add WindowSystem's quickpanel APIs (#1715)

4 years ago[VoiceControlManager] Add VoiceControlManager dll into platform binary (#1813)
Suyeon Hwang [Fri, 10 Jul 2020 01:24:45 +0000 (10:24 +0900)]
[VoiceControlManager] Add VoiceControlManager dll into platform binary (#1813)

Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
4 years ago[NUI] Skip adding cell padding to last LinearLayout item (#1815)
neostom432 [Thu, 9 Jul 2020 09:18:07 +0000 (18:18 +0900)]
[NUI] Skip adding cell padding to last LinearLayout item (#1815)

Cell padding shouldn't be added to last item.
Skip addition at last item.