Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NUI] Reinforce sample app for window #5669

Closed
wants to merge 82 commits into from
Closed

[NUI] Reinforce sample app for window #5669

wants to merge 82 commits into from

Conversation

sparrow74
Copy link
Collaborator

Window는 기능 자체가 Display server, App FW, Sensor FW 등 다른 모듈과의 연동이 많은 관계로 Unit Test가 아닌 Manual Test로 진행해서 확인해야 하는 경우가 많습니다. 따라서, 별도의 Unit Test가 있지만, 기존의 manual test의 테스트 항목을 확대하고 강화 해야 할 필요가 있습니다. 추가된 Test Case는 Window CSharp binder의 Code Clean up 및 refactoring에 대한 검증 차원도 포함됩니다. Window.cs에 있는 Function과 Property Test Case를 추가하거나 강화하였습니다. 이번에 새로 추가된 Test에 대한 Function 들입니다. SetClass, Raise, Lower, Activate, Show, Hide, Avaiaible Rotation 관련 Functions, Prefered Oritataion 관련 Functions, SetFocus, SetOpaueState, Window Type 및 Notification Level, Screen On/Off, Brightness, Window Size/Position, PartialUpdate, Unit Test로 확인할 수 없는 부분들을 Menual Test를 통해 확인하기 위함입니다. Manual Test에 테스트 항목을 추가하여 개발자로 하여금 직접 확인하고자 하였습니다. 다른 Phase로 Signal/Event 관련 Test 항목을 추가하고자 합니다.

stom-hwang and others added 30 commits September 13, 2023 20:25
ParticleSystem provides 4 classes:
ParticleEmitter - emitter of particles
ParticleSource - source of particles (spawning new particles)
ParticleModifier - controller of particles behaviour
Particle - wrapper over particle data
Adds Tizen.NUI.Physics2D.PhysicsAdaptor,
Tizen.NUI.Physics2D.PhysicsActor and
Tizen.NUI.Physics2D.ScopedAccessor classes.

These wrap the DALi physics classes in dali-toolkit; which run
the physics integration thread in the Update thread (using the
FrameCallback natively). They offer basic APIs for attaching
Views to Chipmunk.Body physics objects, so that they can
be rendered.
Visual look at same value, Visual.MixColor's alpha and Visual.Opacity,
we need to synchronize both values.

Since we don't open Visual.Opacity property for View side
let we control this value inside of View.

Signed-off-by: Eunki, Hong <[email protected]>
To support using new feedback_pattern for da profile,
new pattern string and id value is added to Pattern dictionary.

Signed-off-by: Yunhee Seo <[email protected]>
…ck type

Allows feedback stop according to feedback type.

This is newly added to System.Feedback.
- public void StopTypeInternal(FeedbackType type)
    -> It stops current feedback playing according to feedback type.

Signed-off-by: Yunhee Seo <[email protected]>
…k patterns

To support general feedback patterns, newly patterns are added.
With these string pattern, it is possible to use mapped feedback patterns from libfeedback.

Signed-off-by: Yunhee Seo <[email protected]>
Fix unmatched function binding

Signed-off-by: Eunki, Hong <[email protected]>
Add new request of KVM Service as below:
 - ReceiveDragData: Request to get current drag data.
 - CancelDrag: Request to cancel current drag.
Window window = NUIApplication.GetDefaultWindow();
window.HoverEvent += OnHover;

private void OnHover(object source, Window.HoverEventArgs e)
{
  // e.Hover.GetState(0); // PointStateType.Motion;
}
These determine whether to send touch and hover motion events or not.
This is used when the user does not want to receive motion events.
widget need to keep it's instance
Eunki, Hong and others added 18 commits October 25, 2023 21:48
Since we always try to register to Registry for Gradient case,
there can make some error for Shape use case.

Signed-off-by: Eunki, Hong <[email protected]>
This is one of the oldest interops and was actually problematic for
multiple reasons; the return type didn't match and the third parameter
was expected to have exactly the same value in every invocation. While
fixing these issues, parsing the status string was moved from C++ to C#
for readability.

Co-authored-by: Artur Świgoń <[email protected]>
- Add comment for public API
- Remove some unused private value/method

Signed-off-by: Eunki Hong <[email protected]>
After patch #5595 merged, there was some hidden bugs occured.
This PR is one of portential bug fix.

Signed-off-by: Eunki, Hong <[email protected]>
Previously, we can only add the root view of FrameUpdateCallback as
root layer of window.

Now let we add some API that user can set specific view
for given FrameUpdateCallback will use.

This API will be used when we want to optimize callback behaviour.

Signed-off-by: Eunki, Hong <[email protected]>
Implement Flush action. It will be used when user
want to ensure the Lottie property changed applied sequencly.

Signed-off-by: Eunki, Hong <[email protected]>
Since View constructor automatically change 'PositionUsesPivotPoint' value as false,
some logic might changed when we Register ModelNode newly.

Signed-off-by: Eunki, Hong <[email protected]>
Since C# initialize static values when that namespace / class access first time,
We need to access some static values at static Preload() timing.

Signed-off-by: Eunki, Hong <[email protected]>
To support set/get full screen sized window.
The full screen sized window means the window is resized with screen size.
In addition, this window is the z-order is the highest.
We implement View.Preload() API now. So compiler can feel dizzy
which one is Control.Preload() should do.

To avoid this compilation warning, let we add 'new' keyword for it.

Signed-off-by: Eunki Hong <[email protected]>
Let we remove useless error message + Make getter return valid setting value
for View.TooltipText property.

Signed-off-by: Eunki, Hong <[email protected]>
Let we minimize the net core dependency

Signed-off-by: Eunki, Hong <[email protected]>
Signed-off-by: Eunki, Hong <[email protected]>
ReInforce window samples to verify window's functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.