-
Notifications
You must be signed in to change notification settings - Fork 254
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.AIAvatar] Complete refactor for enhanced modularity and customiz… #6487
Conversation
- NUI Autofill code was not removed together with dali ones. - Now, all related codes should be deleted because there's no use case anywhere and they don't have their internal implementation. Signed-off-by: Seoyeon Kim <[email protected]>
… is cleared. (#4654)" This reverts commit 09f52bc. This operation is moved to the DALi. https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/314664/
- `CSharp_Dali_ViewImpl_AccessibilityActivate` was removed in 2018 lol However, at that time, NUI codes couldn't be removed together (Not sure) - The reason `ViewImpl_AccessibilityActivate` was removed is `Remove functions which using internal apis Some binding functions use internal apis. It caused error when dlopen csharp binder.` - User can use Activated event with `View.AccessibilityActivated` Signed-off-by: Seoyeon Kim <[email protected]>
* [WebRTC] Change state restriction
Let we support to BoxShadow and ColorVisual, to ignore rendering inside of View area. None is default, same as previous logics. CutoutView is cutout render area as bounding box of view. It is faster than CutoutViewWithCornerRadius. CutoutWithCornerRadius is cutout render area consider the corner radius of view. Required dali patch : https://review.tizen.org/gerrit/c/platform/core/uifw/dali-toolkit/+/314255 Signed-off-by: Eunki, Hong <[email protected]>
- Make intention revealing names for Some variables. Choosing names that reveal intent can make it much easier to understand. Signed-off-by: Seoyeon Kim <[email protected]>
this patch supports cornerRadius in WebView refer to : https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-toolkit/+/304770/
System.Reflection.Assembly.CreateInstance() can return null value. Signed-off-by: Sangyoon Jang <[email protected]>
This patch changes internal tensor size limit in MachineLearning.Inference. Tizen Native ML api's max tensor size has been changed to 256. Signed-off-by: Yelin Jeong <[email protected]>
Signed-off-by: Seungho Baek <[email protected]>
Use this when you want to know the status value of a pan gesture. https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/315444/ https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/315445/ https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-csharp-binder/+/315446/
Since some useless animation was running internally until GC comes, CPU usage might be increased for this sample. To avoid useless rendering, let we ensurely dispose not-using animation. Signed-off-by: Eunki, Hong <[email protected]>
Make we use unified code style when we connect/disconnect native signal to C# EventHandler. It will be reduce some copy-paste the non-common style implementation. This PR will change below classes * (internal)Application and it's family * (internal)ObjectRegistry * (internal)Builder * (internal)GaussianBlurView * ImageView and it's family * View, ViewAccessibility * Clipboard * Capture Signed-off-by: Eunki, Hong <[email protected]>
Signed-off-by: Seungho Baek <[email protected]>
Co-authored-by: Woochan Lee <[email protected]>
…view Until now, VisibilityChangedEventArgs.View return sender itself. It is useless information for user. Follow up some other platform's behavior, ( reference : https://developer.android.com/reference/android/view/View#onVisibilityChanged(android.view.View,%20int) ) Let we make VisibilityChangedEventArgs.View return visibility changed view. Relative dali patch : - https://review.tizen.org/gerrit/c/platform/core/uifw/dali-core/+/315475 - https://review.tizen.org/gerrit/c/platform/core/uifw/dali-csharp-binder/+/315484 Signed-off-by: Eunki, Hong <[email protected]>
Found some build warning list by below command dotnet build /p:BuildWithAnalyzer=True -consoleloggerparameters:NoSummary Their are too many warnings occurs, let we remove them by multiple phases. Signed-off-by: Eunki, Hong <[email protected]>
- TCT crash issue, log => E/STDERR (21795): Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object. E/STDERR (21795): at Tizen.NUI.BaseComponents.View.Dispose(DisposeTypes type) in Tizen.NUI.dll:token 0x6002b7c+0x591 E/STDERR (21795): at Tizen.NUI.BaseHandle.Dispose() in Tizen.NUI.dll:token 0x6000e5c+0xc E/STDERR (21795): at Tizen.NUI.DisposeQueue.ProcessDisposablesIncrementally() in Tizen.NUI.dll:token 0x6000238+0x79 E/STDERR (21795): at Tizen.NUI.DisposeQueue.ProcessDisposables() in Tizen.NUI.dll:token 0x6000237+0xd5 E/STDERR (21795): onSigabrt called
Apply some comments that report at PR #6079 - `Color.A` getter apply `Opacity` changeness - Make `VisualFittingMode` have no effect for `ColorVisual` and `BorderVisual` - `GetVisualProperty` return valid value after call `GetCurrentVisualProperty` - Make `VisualBase` class as abstract. Let we don't allow to call this class constructor. Signed-off-by: Eunki, Hong <[email protected]>
Add SynchrousSizing property - reload as size of visual. It will be useful when we want to load image as specific size of view, so the memory is reduced. Signed-off-by: Eunki Hong <[email protected]>
Signed-off-by: Seoyeon Kim <[email protected]>
Requests asynchronous rendering of text with a fixed size. Signed-off-by: Bowon Ryu <[email protected]>
Public API ChangedPlease follow the ACR process for the changed API below. Internal API ChangedAdded: 14, Removed: 199, Changed: 0 |
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.
Please add Hidden tag before open ACR.
<ProjectReference Include="..\Tizen\Tizen.csproj" /> | ||
<ProjectReference Include="..\Tizen.Log\Tizen.Log.csproj" /> | ||
<ProjectReference Include="..\Tizen.Uix.Tts\Tizen.Uix.Tts.csproj" /> | ||
<ProjectReference Include="..\Tizen.NUI\Tizen.NUI.csproj" /> | ||
<ProjectReference Include="..\Tizen.NUI.Scene3D\Tizen.NUI.Scene3D.csproj" /> | ||
<ProjectReference Include="..\Tizen.MachineLearning.Inference\Tizen.MachineLearning.Inference.csproj" /> | ||
<ProjectReference Include="..\Tizen.MachineLearning.Inference\Tizen.MachineLearning.Inference.csproj" /> |
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.
<ProjectReference Include="..\Tizen.MachineLearning.Inference\Tizen.MachineLearning.Inference.csproj" /> | |
<ProjectReference Include="..\Tizen.MachineLearning.Inference\Tizen.MachineLearning.Inference.csproj" /> |
Minor. Remove this tab
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.
Thank you. I will modify the code.
@AnglerLee Please follow the ACR process for the changed API below. TCSACR 을 진행하셔야 될 것 같습니다. @jaehyun0cho |
리팩토링 이후 충분한 리뷰를 거치지 못해서요. |
Internal API ChangedAdded: 250, Removed: 199, Changed: 0 |
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.
Wow this PR is very huge.
I'll read the rest soon.
/// Gets or sets the size of the current audio data chunk in bytes. | ||
/// </summary> | ||
[EditorBrowsable(EditorBrowsableState.Never)] | ||
public int AudioBytes { get; set; } |
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.
Just my curiosity :
I'm not familiar with AI Avatar actually, so could you explain why this type is int
, not byte array
like the above (AudioData
) please?
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.
The variables AudioBytes, TotalBytes, and ProcessedBytes are all declared as 'int' because they represent the size of processed audio data. The actual audio data is stored in a variable named AudioData which is declared as a byte array.
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Tizen.AIAvatar.Samsung |
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.
Minor.
@dongsug-song , is it okay to add Samsung
suffix for TizenFX coding convention?
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.
I apologize for the mistake in adding a suffix. I will correct it right away.
model = "tts-1", | ||
input = text, | ||
voice = voice ?? "alloy", | ||
response_format = "pcm", // PCM 포맷으로 변경 |
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.
Might be this Korean comment not be updated yet?
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.
I will remove the comments for clean code. I'll make the changes. 😄
Internal API ChangedAdded: 259, Removed: 199, Changed: 0 |
…enaming them accordingly for better code organization and readability.
Internal API ChangedAdded: 263, Removed: 199, Changed: 0 |
…internal variables, so I changed the values of the structure to public.
I have documented the implementation of AIAvatar refactoring. Please refer to the following for review: |
Internal API ChangedAdded: 263, Removed: 199, Changed: 0 |
aab74ad
to
2217d8a
Compare
@AnglerLee |
Description of Change