-
Notifications
You must be signed in to change notification settings - Fork 269
Add Refactored Tizen.WindowSystem #7459
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
Open
JoonghyunCho
wants to merge
11
commits into
Samsung:main
Choose a base branch
from
JoonghyunCho:refactor-windowsystem-re
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
46a49b0
Add Refactored Tizen.WindowSystem
JoonghyunCho 56c2d1a
Apply Reviews
JoonghyunCho a2f5f16
Simplify member access
JoonghyunCho e6b9b5d
Set API Viewable to Never
JoonghyunCho 4b3b035
Bring back Tizen.NUI.WindowSystem
JoonghyunCho 0eef3ae
Remove Unused enum values
JoonghyunCho b565245
Apply Reviews
JoonghyunCho 18125ef
Remove ShellRegion
282c546
Update Getting Display Size
0ef5862
Migrate WindowSystem Sample
45fb8c5
Fix Typo
JoonghyunCho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFramework>net8.0</TargetFramework> | ||
| <TizenCreateTpkOnBuild>false</TizenCreateTpkOnBuild> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="..\Tizen.Applications.Common\Tizen.Applications.Common.csproj" /> | ||
| <ProjectReference Include="..\Tizen.System.Information\Tizen.System.Information.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem.Shell | ||
| { | ||
| /// <summary> | ||
| /// Drop target type of PerformDrop request of KVM Service. | ||
| /// </summary> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum DropTarget | ||
| { | ||
| /// <summary> | ||
| /// Drop to KVM Service window self. | ||
| /// </summary> | ||
| KVMServiceWin = 0, | ||
| /// <summary> | ||
| /// Drop to the window that under pointer. | ||
| /// </summary> | ||
| UnderPointer = 1, | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of gesture edges. | ||
| /// </summary> | ||
| /// This enum is need to be hidden as inhouse API. | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum GestureEdge | ||
| { | ||
| /// <summary> | ||
| /// edge top. | ||
| /// </summary> | ||
| Top, | ||
|
|
||
| /// <summary> | ||
| /// edge right. | ||
| /// </summary> | ||
| Right, | ||
|
|
||
| /// <summary> | ||
| /// edge bottom. | ||
| /// </summary> | ||
| Bottom, | ||
|
|
||
| /// <summary> | ||
| /// edge left. | ||
| /// </summary> | ||
| Left, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of gesture edge sizes. | ||
| /// </summary> | ||
| /// This enum is need to be hidden as inhouse API. | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum GestureEdgeSize | ||
| { | ||
| /// <summary> | ||
| /// edge size full. | ||
| /// </summary> | ||
| Full, | ||
|
|
||
| /// <summary> | ||
| /// edge size partial. | ||
| /// </summary> | ||
| Partial, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of gesture grab modes. | ||
| /// </summary> | ||
| /// This enum is need to be hidden as inhouse API. | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum GestureGrabMode | ||
| { | ||
| /// <summary> | ||
| /// mode exclusive. | ||
| /// </summary> | ||
| Exclusive, | ||
|
|
||
| /// <summary> | ||
| /// mode shared. | ||
| /// </summary> | ||
| Shared, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of gesture states. | ||
| /// </summary> | ||
| /// This enum is need to be hidden as inhouse API. | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum GestureState | ||
| { | ||
| /// <summary> | ||
| /// Begin. | ||
| /// </summary> | ||
| Begin, | ||
|
|
||
| /// <summary> | ||
| /// Update. | ||
| /// </summary> | ||
| Update, | ||
|
|
||
| /// <summary> | ||
| /// End. | ||
| /// </summary> | ||
| End, | ||
|
|
||
| /// <summary> | ||
| /// Done. | ||
| /// </summary> | ||
| Done, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| using System; | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of input device types. | ||
| /// </summary> | ||
| [Flags] | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum InputGeneratorDevices | ||
| { | ||
| /// <summary> | ||
| /// Touchscreen device. | ||
| /// </summary> | ||
| Touchscreen = (1 << 0), | ||
|
|
||
| /// <summary> | ||
| /// Keyboard device. | ||
| /// </summary> | ||
| Keyboard = (1 << 1), | ||
|
|
||
| /// <summary> | ||
| /// Pointer device. | ||
| /// </summary> | ||
| Pointer = (1 << 2), | ||
|
|
||
| /// <summary> | ||
| /// All devices. | ||
| /// </summary> | ||
| All = Touchscreen | Keyboard | Pointer | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of pointer event types. | ||
| /// </summary> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum PointerAction | ||
| { | ||
| /// <summary> | ||
| /// Pointer down. | ||
| /// </summary> | ||
| Down, | ||
|
|
||
| /// <summary> | ||
| /// Pointer up. | ||
| /// </summary> | ||
| Up, | ||
|
|
||
| /// <summary> | ||
| /// Pointer move. | ||
| /// </summary> | ||
| Move, | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem.Shell | ||
| { | ||
| /// <summary> | ||
| /// Enumeration for type of quickpanel service window. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum QuickPanelCategory | ||
| { | ||
| /// <summary> | ||
| /// Unknown type. There is no quickpanel service. | ||
| /// </summary> | ||
| Unknown = 0x0, | ||
| /// <summary> | ||
| /// System default type. | ||
| /// </summary> | ||
| SystemDefault = 0x1, | ||
| /// <summary> | ||
| /// Context menu type. | ||
| /// </summary> | ||
| ContextMenu = 0x2, | ||
| /// <summary> | ||
| /// Apps menu type. | ||
| /// </summary> | ||
| AppsMenu = 0x3, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem.Shell | ||
| { | ||
| /// <summary> | ||
| /// Effect type. | ||
| /// </summary> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum QuickPanelEffect | ||
| { | ||
| /// <summary> | ||
| /// Swipe effect | ||
| /// </summary> | ||
| Swipe = 0, | ||
| /// <summary> | ||
| /// Move effect | ||
| /// </summary> | ||
| Move = 1, | ||
| /// <summary> | ||
| /// App control effect | ||
| /// </summary> | ||
| Custom = 2, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem.Shell | ||
| { | ||
| /// <summary> | ||
| /// Enumeration for scroll mode of quickpanel service window. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum QuickPanelScrollMode | ||
| { | ||
| /// <summary> | ||
| /// Unknown state. There is no quickpanel service. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| Unknown = 0x0, | ||
| /// <summary> | ||
| /// Scrollable state. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| Scrollable = 0x1, | ||
| /// <summary> | ||
| /// Not scrollable state. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| NotScrollable = 0x2, | ||
| /// <summary> | ||
| /// Retain scroll mode. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| Retain = 0x3, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem.Shell | ||
| { | ||
| /// <summary> | ||
| /// Enumeration for visible state of quickpanel service window. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum QuickPanelVisibility | ||
| { | ||
| /// <summary> | ||
| /// Unknown state. There is no quickpanel service. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| Unknown = 0x0, | ||
JoonghyunCho marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| /// <summary> | ||
| /// Shown state. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| Shown = 0x1, | ||
| /// <summary> | ||
| /// Hidden state. | ||
| /// </summary> | ||
| /// <since_tizen> 8 </since_tizen> | ||
| Hidden = 0x2, | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem.Shell | ||
| { | ||
| /// <summary> | ||
| /// Enumeration for placed type of taskbar service window. | ||
| /// </summary> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum TaskbarPosition | ||
| { | ||
| /// <summary> | ||
| /// Place to Bottom of Screen. Default type. | ||
| /// </summary> | ||
| Bottom = 0x0, | ||
| /// <summary> | ||
| /// Place to Top of Screen. | ||
| /// </summary> | ||
| Top = 0x1, | ||
| /// <summary> | ||
| /// Place to Left Side of Screen. | ||
| /// </summary> | ||
| Left = 0x2, | ||
| /// <summary> | ||
| /// Place to Right Side of Screen. | ||
| /// </summary> | ||
| Right = 0x3, | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| using System.ComponentModel; | ||
|
|
||
| namespace Tizen.WindowSystem | ||
| { | ||
| /// <summary> | ||
| /// Enumeration of touch event types. | ||
| /// </summary> | ||
| [EditorBrowsable(EditorBrowsableState.Never)] | ||
| public enum TouchAction | ||
| { | ||
| /// <summary> | ||
| /// Touch begin. | ||
| /// </summary> | ||
| Begin, | ||
|
|
||
| /// <summary> | ||
| /// Touch move. | ||
| /// </summary> | ||
| Update, | ||
|
|
||
| /// <summary> | ||
| /// Touch end. | ||
| /// </summary> | ||
| End, | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Action보단 State가 더 일반적으로 사용하는 용어 같네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InputGenerator를 통해 발생시킬 event라 action으로 유지하였습니다