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] Add FullScreenMode to InputMethodContext #6593

Open
wants to merge 42 commits into
base: DevelNUI
Choose a base branch
from

Conversation

wonrst
Copy link
Contributor

@wonrst wonrst commented Jan 21, 2025

To support full screen mode of the input panal.

https://review.tizen.org/gerrit/c/platform/core/uifw/dali-adaptor/+/318558
https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/318559

/**
 * @typedef Ecore_IMF_Input_Hints
 * @brief Enumeration for defining the types of Ecore_IMF Input Hints.
 * @since 1.12
 */

typedef enum
{
   ECORE_IMF_INPUT_HINT_NONE                = 0,        /**< No active hints @since 1.12 */
   ECORE_IMF_INPUT_HINT_AUTO_COMPLETE       = 1 << 0,   /**< Suggest word auto completion @since 1.12 */
   ECORE_IMF_INPUT_HINT_SENSITIVE_DATA      = 1 << 1,   /**< Typed text should not be stored. @since 1.12 */
   ECORE_IMF_INPUT_HINT_MULTILINE           = 1 << 2,   /**< Multiline text @since 1.18 */
+   ECORE_IMF_INPUT_HINT_FULLSCREEN_MODE     = 1 << 3,   /**< The input panel should be shown in fullscreen mode @since 1.28 */
...
} Ecore_IMF_Input_Hints;

Eunki, Hong and others added 30 commits December 19, 2024 10:40
…allback

Let we keep Idler callback list as membery of internal Application class,
and allow to remove them during idler callback execute.

Signed-off-by: Eunki, Hong <[email protected]>
…ImageUrl

Since ImageUrl's reference should be hold on image visual, we should generate
image visual synchronously, not on Processor time.

+

Minor code clean up applied

Signed-off-by: Eunki, Hong <[email protected]>
* Do not convert Vector4 to Color when initializing static colors
  * Eventually, static colors should be created by r, g, b values by c# code, not getting from DALi
* Preload static colors

Signed-off-by: Jiyun Yang <[email protected]>
ControlState was implemented inefficently on the memory and the performance.
This patch purposed to reduce inefficency by using bitflags on the state instead of string list.
[https://github.sec.samsung.net/NUI/OneUIComponents/issues/15]

long type bitmask will be represent each states,
1 1 1 1 1
O S D P F

Normal   : 0L
Focused  : 1L
Pressed  : 2L
Disabled : 4L
Selected : 8L
Other    : 16L
and All  : 31L

This concept is based on VisualState of NUI2,
https://github.sec.samsung.net/dotnet/nui2/blob/main/src/Tizen.NUI2.Components/Base/ViewState.cs
but we had to modified few states to keep backward compatibility of NUI
ControlState.
Reorganized entire project structure for improved clarity and maintainability.
Introduced customizable interfaces for AI functionalities, allowing seamless integration of third-party modules.
Optimized existing code base for increased efficiency and reduced redundancy.

Co-authored-by: Angler <[email protected]>
Since transform data is kind of renderer property internally,
we don't need to re-create them.

Let we use UpdateProperty action for this case.

Signed-off-by: Eunki, Hong <[email protected]>
- We MUST call ReleaseBuffer after call AcquireBuffer
- We MUST call AcquireBUffer before call ReleaseBuffer

If not, exception or deadlock will occured.

Signed-off-by: Eunki, Hong <[email protected]>
…tidl (Samsung#6536)

* Add new methods to support new types in tidl

Signed-off-by: pjh9216 <[email protected]>

* Add attributes for internal APIs

Signed-off-by: pjh9216 <[email protected]>

* Use sizeof operator

Signed-off-by: pjh9216 <[email protected]>

---------

Signed-off-by: pjh9216 <[email protected]>
Introduce the value type of color, vector2 and shadow.
They will replace existing reference types gradually.

Signed-off-by: Jiyun Yang <[email protected]>
NUI Language version upgrade for 9.
Let we add 'using' mark for temerally used `PropertyValue`.

Optimize PropertyMap.Add() API if it is prepared.

It is knd of next-step. So current PR could be keep going on

Signed-off-by: Eunki, Hong <[email protected]>
PivotPoint, AnchorPoint, Position
This also includes PropertyMap optimizations to prevent value type being conveted to reference type again.

Signed-off-by: Jiyun Yang <[email protected]>
(1) Introduce the value type of ControlState. It replaces ControlState implementation.
(2) Notify IsEnabled changed to control state outside of view.

Signed-off-by: Jiyun Yang <[email protected]>
@TizenAPI-Bot
Copy link
Collaborator

Internal API Changed

Added: 1, Removed: 0, Changed: 0

Added

+ /// <since_tizen>none</since_tizen
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ System.Boolean Tizen.NUI.InputMethodContext::FullScreenMode()

Copy link
Contributor

@everLEEst everLEEst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

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.