platform/core/uifw/mmi-manager.git
9 months agoRe-fix build error on gcc-13 Build 06/295906/1 accepted/tizen_8.0_unified accepted/tizen_unified accepted/tizen_unified_dev tizen tizen_8.0 accepted/tizen/8.0/unified/20231005.094237 accepted/tizen/unified/20230725.012946 accepted/tizen/unified/dev/20230726.120000 tizen_8.0_m2_release
dyamy-lee [Mon, 17 Jul 2023 05:41:59 +0000 (14:41 +0900)]
Re-fix build error on gcc-13 Build

The size has different result by arch.
So, for size_t type, it need to use 'zu' format string.

Change-Id: I1967daa01e9f041ecaeef0db407a6947ba101f6e

9 months agoRemove unnecessary `MMI_EVENT_FACE_RECOGNIZER` event definition. 53/295853/1
dyamy-lee [Fri, 2 Jun 2023 03:00:02 +0000 (12:00 +0900)]
Remove unnecessary `MMI_EVENT_FACE_RECOGNIZER` event definition.

MMI_EVENT_FACE_RECOGNIZER event type is not used now.
It was used for test, but test code is not included main code.
So, removed it because of unnecessary.

Change-Id: Ic44330067e42bbf760626a7bdbb825b3239d9fb6

9 months agoChanged member variable name to add `m` prefix for unity 52/295852/1
dyamy-lee [Fri, 2 Jun 2023 02:05:54 +0000 (11:05 +0900)]
Changed member variable name to add `m` prefix  for unity

It has name types which has `m` prefix and which hasn't it.
So, to make unity of code, add  prefix about all memeber variables in FaceRecognitionEngine header.

Change-Id: Ia288a6bd0d05a83468100e781f887aca8c8e9efd

9 months agoadd FaceRecognitionEngine, face recognition json result, and TCs 51/295851/1
dyamy-lee [Thu, 1 Jun 2023 11:02:49 +0000 (20:02 +0900)]
add FaceRecognitionEngine, face recognition json result, and TCs

This patch is added FaceRecognitionEngine which handle face recognition event.
The logic for using FaceRecognitionEngine is in mmi_iu module.
Also, it added creating json result logic about face recognition event's result.
Then, it can check it's working by adding test case which get result from face recognition event.

Change-Id: I43cf857b341f064f0d173eb71fbd1e361ee3567a

9 months agoAdd face struct, ecore event, handler, and TCs 50/295850/1
dyamy-lee [Thu, 1 Jun 2023 09:14:56 +0000 (18:14 +0900)]
Add face struct, ecore event, handler, and TCs

This patch is added handlers about face recognizer event,
and initializes this event variable.
By this patch's added test cases, it can check face recognizer event type is working and, multi input modalities can be registered.

Change-Id: Ibb185d5d925756d41654e918d2a1d95b19317f1e

9 months agoAdd event types about face recognition and camera privilege 49/295849/1
dyamy-lee [Thu, 1 Jun 2023 09:14:37 +0000 (18:14 +0900)]
Add event types about face recognition and camera privilege

add ecore event types for dealing with face recognition,
add camera privilege for using camera on face recognition modality.

Change-Id: I9fe580e2a1953e0562e56d67677171b23781a125

9 months agoadd events relate to speaker recognition 48/295848/1
ulgal-park [Thu, 22 Dec 2022 01:13:40 +0000 (10:13 +0900)]
add events relate to speaker recognition

Change-Id: I87503397eb23a4eeaeebcb740696f8094c8f52d2

9 months agoFix Potential Error and Tests 47/295847/1
dyamy-lee [Mon, 21 Nov 2022 07:02:30 +0000 (16:02 +0900)]
Fix Potential Error and Tests

Check Unit Tests and correct failed TCs.
Following changed the logic, it temporary supports only voice
and screen analyzer modalities.
Because tests for key and gesture are not working now, it removed tests
related key and gesture type.
It just left not supported case.

While these checking,found potential error which is not defined
the type of `MMI_PROVIDER_EVENT_VOICE_TOUCH`.
If the type is not defined, when later other type is added,
it can occur different result as expected.

Change-Id: Iba3a5be5118e385d5177ecdeb8a13f3e22fcdfa7

9 months agoFix build error on gcc-13 Build 46/295846/1
wn.jang [Fri, 14 Jul 2023 09:38:12 +0000 (18:38 +0900)]
Fix build error on gcc-13 Build

Change-Id: I6645f261ee9bb1eb5a0ebab48ca166c104aac798

11 months agoadd SpeakerRecognitionEngine for handleing speaker recognizer modality 99/293499/1
ulgal-park [Thu, 22 Dec 2022 01:15:51 +0000 (10:15 +0900)]
add SpeakerRecognitionEngine for handleing speaker recognizer modality

Change-Id: I64d69d4892e6f836ffd2117134cb43ade3142ba4

14 months agoremove comparing to a NULL value 37/288237/1 accepted/tizen/unified/20230215.155615
dyamy-lee [Mon, 13 Feb 2023 06:17:02 +0000 (15:17 +0900)]
remove comparing to a NULL value

Pointer 'itemList' is a result of shifting after dereference, so it can't have NULL value.
Therefore, removing to compare with NULL value about itemList, and just check size of it

Change-Id: Ic10cca4af5d70f5bf3ef2aac4f135e7d2a5d682c

14 months agoChange enum type 80/288180/1
dyamy-lee [Mon, 13 Feb 2023 05:02:37 +0000 (14:02 +0900)]
Change enum type

The one of mediavision's enum was deprecated which used in modality_vision.
So, it changed from MV_INFERENCE_TARGET_TYPE to MV_INFERENCE_TARGET_DEVICE_TYPE.

Change-Id: Ia14e71f6652c479fb5084c8c25e9ebe1e780c8be

15 months agoFix coding convention about member variables and static functions 83/287283/1
Suyeon Hwang [Wed, 25 Jan 2023 01:36:43 +0000 (10:36 +0900)]
Fix coding convention about member variables and static functions

- Issue:
Using two underscores(__) as name of variables or functions is
reserved by C and CPP compilers, so it may occur name colision.

- Solution:
Previously, most of the code followed old tizen coding convention.
However, in case of name, the convention conflicts with C and CPP
standard, because two underscore is already reserved as an identifier by
C and CPP standard. Thus, using two underscores may cause some problems.
To resolve this collision, this patch fixes the name of member variables
and static functions to match C and CPP standard. Through this patch,
CPP files in the project do not use two underscore as name of variables
and functions anymore.

Change-Id: Ide5b0f0b6de310aeca4a42eaee1ce79dd723e120
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
17 months agoversion up : 1.0.3 75/284575/1 accepted/tizen/unified/20221121.163723
dyamy-lee [Fri, 18 Nov 2022 09:27:16 +0000 (18:27 +0900)]
version up : 1.0.3

Change-Id: I3af21033241e28516b78b2808f9b2afd0fc829e2

18 months agoCalibrate the matching rate of CommandFinder 00/283800/1
Suyeon Hwang [Tue, 25 Oct 2022 06:54:43 +0000 (15:54 +0900)]
Calibrate the matching rate of CommandFinder

Change-Id: Ie6040ce791f7ce4583330cc488f0daa1078312b5
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoadd press home 99/283799/1
dyamy-lee [Tue, 18 Oct 2022 11:39:12 +0000 (20:39 +0900)]
add press home

Change-Id: I0bffe01b65f94064811f0427af041118c0bc809f

18 months agochange refresh time to milliseconds 98/283798/1
ulgal-park [Thu, 20 Oct 2022 07:06:50 +0000 (16:06 +0900)]
change refresh time to milliseconds

Change-Id: I646ed3ac3618de7267fc873d50bfe66feea919fa

18 months agoMake additional log for debugging 97/283797/1
Suyeon Hwang [Fri, 21 Oct 2022 03:07:40 +0000 (12:07 +0900)]
Make additional log for debugging

Change-Id: I4717efd16dbcfef7ec27a98d69dc03eca12f9774
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoPrevent to reset callbacks in InitializeMembers() method 96/283796/1
Suyeon Hwang [Fri, 21 Oct 2022 01:18:30 +0000 (10:18 +0900)]
Prevent to reset callbacks in InitializeMembers() method

- Issue:
If client app is terminated and launched again, mmi manager can not send
any output result to client app

- Solution:
Current voice touch engine resets the callbacks in InitializeMembers(),
but this method is invoked by a user utterance for terminating client
app. Thus, resetting callbacks in this situation is not intended result.
This patch removes the logic for resetting the callbacks from the
method. Through this patch, voice touch engine always can send output
result to IU modeule.

Change-Id: I0c7e6c428c077494e6ad12ba38582bec55a501b4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoUse PreDefinedCommands class for managing pre-defined commands 95/283795/1
Suyeon Hwang [Wed, 12 Oct 2022 09:16:49 +0000 (18:16 +0900)]
Use PreDefinedCommands class for managing pre-defined commands

- Requirement:
IU module can handle pre-defined command with various language.

- Solution:
This patch makes IU module use PreDefinedCommands class for managing
pre-defined commands. Through this patch, IU module can handle
pre-defined commands with various language state.

Change-Id: Iefbe26cf5e49dc6a614f0bf2065ab191befb261e
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoAdd new class for managing pre-defined commands 94/283794/1
Suyeon Hwang [Wed, 12 Oct 2022 07:29:10 +0000 (16:29 +0900)]
Add new class for managing pre-defined commands

- Requirements:
IU modules needs to manage pre-defined commands according to each
language.

- Solution:
Pre-defined commands can be extended by the language and actions. Thus,
this patch adds new class for manage pre-defined commands. This new
class provides interface for easily using pre-definfed commands.

Change-Id: I9d9bf09fa603af4f1f565f6f26be437b30e87712
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoFix parameter of mmi_provider_event_voice 93/283793/1
Suyeon Hwang [Tue, 11 Oct 2022 08:59:32 +0000 (17:59 +0900)]
Fix parameter of mmi_provider_event_voice

- Issue:
The event structure does not have member for storing language of result
infomration.

- Solution:
This patch fixes the member of the event structure for voice modality.
Through this patch, voice modality provider can send the language
information using this structure.

Change-Id: I82f0e2d9eae4f990e15451ec6e0f698062f606be
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoSend empty clicked object result 92/283792/1
Suyeon Hwang [Wed, 19 Oct 2022 05:31:50 +0000 (14:31 +0900)]
Send empty clicked object result

- Issue:
Voice touch app did not clear the tooltip when user says 'back' or
'referesh'.

- Solution:
Current mmi-manager did not send result to client app, but just sends
output event to output modality when the utterance is pre defined
command. Thus, client app can not handle pre-defined command action
situation. This patch sends result of pre-defined command to client app.
Through this patch, client app can handle this special situation.

Change-Id: I560276bfa230e2171b3d79ed6a69f260a6a239be
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoAdd label to object which has no text label 91/283791/1
Suyeon Hwang [Mon, 17 Oct 2022 12:34:26 +0000 (21:34 +0900)]
Add label to object which has no text label

- Issue:
The utterance about number is not recognized in text label mode.

- Solution:
This patch adds label information for the objects which have no label
information. For these objects, mmi manager uses index information as
label information. Through this patch, number utterance in text label
mode is properly recognized. However, some utterance like '7번' can not
be recogntized yet.

Change-Id: I9fc025638a479d210f644dc5f47b12ed5f435ac3
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
18 months agoFind intersect area at grid mode second depth 90/283790/1
ulgal-park [Tue, 4 Oct 2022 04:29:09 +0000 (13:29 +0900)]
Find intersect area at grid mode second depth

Change-Id: Ib2a78e0d5223c33a9e86ad38e20b0ca7df3265ae

18 months agoChange screen information refresh interval to seconds 37/283037/2
ulgal-park [Mon, 17 Oct 2022 04:29:33 +0000 (13:29 +0900)]
Change screen information refresh interval to seconds

This reverts commit dad6d944c060b544e96e38543a600f06c7f4c427.

Change-Id: I9bb71498b17c16c5f8940b8161201fc75566795e

18 months agoAdd operation command 90/282890/2
ulgal-park [Thu, 6 Oct 2022 07:17:21 +0000 (16:17 +0900)]
Add operation command

Change-Id: If65ca0661dec6dd4757f94adf2b862143863a3ad

18 months agoAdd operation to output modality voice touch 89/282889/2
ulgal-park [Thu, 6 Oct 2022 07:16:22 +0000 (16:16 +0900)]
Add operation to output modality voice touch

Change-Id: I161b0e865124ea66ecf629a165b9c2b92e0c388f

18 months agoRemove app id from core callback called by IU 85/283785/1
ulgal-park [Thu, 6 Oct 2022 07:44:10 +0000 (16:44 +0900)]
Remove app id from core callback called by IU

Change-Id: If9311642f83cf802b84214f96b1fc619a7600977

18 months agoMerge "version up : 1.0.2" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:24 +0000 (02:12 +0000)]
Merge "version up : 1.0.2" into tizen

18 months agoMerge "Remove app id from IU" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:21 +0000 (02:12 +0000)]
Merge "Remove app id from IU" into tizen

18 months agoMerge "Remove foreground app from output result" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:16 +0000 (02:12 +0000)]
Merge "Remove foreground app from output result" into tizen

18 months agoMerge "Use client handle for sending output result" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:10 +0000 (02:12 +0000)]
Merge "Use client handle for sending output result" into tizen

18 months agoMerge "Add method for getting clines which register specified event" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:12:05 +0000 (02:12 +0000)]
Merge "Add method for getting clines which register specified event" into tizen

18 months agoMerge "Reformat readme file for presenting source tree" into tizen
DaYe Lee [Thu, 3 Nov 2022 02:11:35 +0000 (02:11 +0000)]
Merge "Reformat readme file for presenting source tree" into tizen

18 months agofor resolving memory risk, add destroy in modality_vision 29/282629/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062813 accepted/tizen/7.0/unified/hotfix/20221116.110157 accepted/tizen/unified/20221007.101823 tizen_7.0_m2_release
dyamy-lee [Fri, 7 Oct 2022 00:57:43 +0000 (09:57 +0900)]
for resolving memory risk, add destroy in modality_vision

Because of no destroy when it return on error, it can get a memory risk.
So, added destroy of source.

Change-Id: I75ad9743474fb28776bfc88e8af7d408d4a500c7

19 months agoversion up : 1.0.2 52/282352/1
Suyeon Hwang [Tue, 27 Sep 2022 06:59:23 +0000 (15:59 +0900)]
version up : 1.0.2

Change-Id: I717f5b53679f88a83e772975e60a405241c17994
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove app id from IU 51/282351/1
Suyeon Hwang [Tue, 27 Sep 2022 02:42:33 +0000 (11:42 +0900)]
Remove app id from IU

- Requirement:
IU module does not need to manage client app ID.

- Solution:
This patch removes app ID parameter from functions and methods of IU
module. Through this patch, IU does not need to manage client app ID.

Change-Id: I6f690129e3c1e5542045822f85fd1052435262b1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove foreground app from output result 50/282350/1
Suyeon Hwang [Tue, 27 Sep 2022 02:26:32 +0000 (11:26 +0900)]
Remove foreground app from output result

- Issue:
MMI IU does not know forground app information.

- Solution:
Actually foreground app information is not used anywhere. Current voice
touch app UX does not need foreground app information. And also, screen
analyzer modality does not send foreground app information to mmi
manager. Thus, this patch removes unused information from output result.
Through this patch, IU does not need to manage app information.

Change-Id: I7fee0723b2ad3ce472199f869a4cc4d8aced34e8
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoUse client handle for sending output result 49/282349/1
Suyeon Hwang [Mon, 26 Sep 2022 11:38:08 +0000 (20:38 +0900)]
Use client handle for sending output result

- Requirement:
mmi core wants to control client when mmi manager sends output result to
proper client which set specified event.

- Solution:
This patch fixes parameter of mmi_api_handler_send_result() function
from app id to client handle. Through this change and function of mmi
client module, mmi core can control clients when mmi manager sends
output result to clients which set specified event.

Change-Id: Iee2f0e4c65cc2aeabcec09330264904bfb682052
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd method for getting clines which register specified event 48/282348/1
Suyeon Hwang [Mon, 26 Sep 2022 08:53:35 +0000 (17:53 +0900)]
Add method for getting clines which register specified event

- Requirement:
Mmi core wants to get client handles which register the specified event.

- Solution:
In order to control the client following event type, mmi core module has
to get clients from the mmi client modules. Thus, this patch adds new
method for getting client handles which register the specified event.
Throught this patch, mmi core module can get the proper clients from the
mmi client module.

Change-Id: I4af834bc421dad60a79ef60b5af6b8f056ec85e7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoReformat readme file for presenting source tree 97/282197/1
Suyeon Hwang [Tue, 27 Sep 2022 08:27:48 +0000 (17:27 +0900)]
Reformat readme file for presenting source tree

Change-Id: I26d7f393c0f3f959031862f074fc11dbd5dd1a01
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unused rule file 92/282192/1
Suyeon Hwang [Tue, 27 Sep 2022 06:31:47 +0000 (15:31 +0900)]
Remove unused rule file

Change-Id: If356b480436317a8da64c36981c526b9d8d2f2a1
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unused files and function from IU module 91/282191/1
Suyeon Hwang [Tue, 27 Sep 2022 04:52:44 +0000 (13:52 +0900)]
Remove unused files and function from IU module

Change-Id: I327ca986d62b9d32f723ab22aa09fb036dee2269
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge "Remove unused header" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:43:16 +0000 (04:43 +0000)]
Merge "Remove unused header" into tizen

19 months agoMerge "Use reference type in vector iteration" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:42:25 +0000 (04:42 +0000)]
Merge "Use reference type in vector iteration" into tizen

19 months agoMerge "Modify README.md" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:41:37 +0000 (04:41 +0000)]
Merge "Modify README.md" into tizen

19 months agoMerge "Change screen information refresh interval to milliseconds" into tizen
Suyeon Hwang [Wed, 28 Sep 2022 04:41:24 +0000 (04:41 +0000)]
Merge "Change screen information refresh interval to milliseconds" into tizen

19 months agoReset member function after sending result 90/282190/1
Suyeon Hwang [Thu, 22 Sep 2022 10:26:05 +0000 (19:26 +0900)]
Reset member function after sending result

Change-Id: Id4fe8161ebc55fe713b6812fcd04ad50eacf630d
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unused header 92/282092/1
Suyeon Hwang [Mon, 26 Sep 2022 11:19:57 +0000 (20:19 +0900)]
Remove unused header

Change-Id: I6e2c8a00a12ee1fa46efe1d7c9f4ad44cb20d096
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoUse reference type in vector iteration 91/282091/1
Suyeon Hwang [Mon, 26 Sep 2022 11:13:22 +0000 (20:13 +0900)]
Use reference type in vector iteration

Change-Id: Ic35c58fbaeffc37d3c9a6d19751b119270a15175
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoModify README.md 76/282076/1
sungwook79.park [Mon, 26 Sep 2022 07:48:57 +0000 (16:48 +0900)]
Modify README.md

Change-Id: Ibdbd9f438f58690133002957cb66ed9e9a5cee73
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
19 months agoversion up : 1.0.1 05/282005/1 accepted/tizen/unified/20220927.132354
dyamy-lee [Mon, 26 Sep 2022 06:40:56 +0000 (15:40 +0900)]
version up : 1.0.1

Change-Id: If86a239969e4ae995d507c8321e373e7c5c83c51

19 months agoChange screen information refresh interval to milliseconds 00/282000/1
ulgal-park [Thu, 22 Sep 2022 07:58:45 +0000 (16:58 +0900)]
Change screen information refresh interval to milliseconds

Change-Id: Iefa128d3c17989789da6ed24cd6232c3b55667de

19 months agoAdd voice touch trun off command 81/281881/1
Suyeon Hwang [Thu, 22 Sep 2022 05:17:12 +0000 (14:17 +0900)]
Add voice touch trun off command

Change-Id: I5d16fba600515cb571fec7af82b0c9502fb4fd8f
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd new methods for making turn off event 45/281845/3
Suyeon Hwang [Thu, 22 Sep 2022 04:42:48 +0000 (13:42 +0900)]
Add new methods for making turn off event

Change-Id: I4c413476a3163b4e30ce0c70ca0047cdfcdb78d9
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge "Skip operation when mode is not changed by voice command" into tizen
Suyeon Hwang [Fri, 23 Sep 2022 01:19:14 +0000 (01:19 +0000)]
Merge "Skip operation when mode is not changed by voice command" into tizen

19 months agoMove grid depth and result type info to proper hierarchy 79/281879/1
Suyeon Hwang [Thu, 22 Sep 2022 05:20:48 +0000 (14:20 +0900)]
Move grid depth and result type info to proper hierarchy

Change-Id: I1af6003bfc25e0c6e3392fd14da627bc36ede757
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSkip operation when mode is not changed by voice command 24/281824/1
Suyeon Hwang [Thu, 22 Sep 2022 06:37:00 +0000 (15:37 +0900)]
Skip operation when mode is not changed by voice command

Change-Id: I70bdaf533eca6d58da627da305a64906a061f403
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSend result type and grid depth with clicked object 92/281792/1
Suyeon Hwang [Wed, 21 Sep 2022 12:00:25 +0000 (21:00 +0900)]
Send result type and grid depth with clicked object

Change-Id: I4e1c67f80e4f042f45a43311bc416a3037798aec
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSend 2nd depth grid information after 1st depth grid 91/281791/1
Suyeon Hwang [Wed, 21 Sep 2022 11:04:26 +0000 (20:04 +0900)]
Send 2nd depth grid information after 1st depth grid

Change-Id: I1c46354a337a554db864dd4e30e22b2d57a44c0b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSkip request modality when grid mode is in 1st depth 90/281790/1
Suyeon Hwang [Wed, 21 Sep 2022 10:21:55 +0000 (19:21 +0900)]
Skip request modality when grid mode is in 1st depth

Change-Id: Ic5d0cd3751c36ac5a682787cb29c60b59a08d168
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge changes I3b9dccd5,Id6ee19f8 into tizen
Suyeon Hwang [Thu, 22 Sep 2022 01:43:17 +0000 (01:43 +0000)]
Merge changes I3b9dccd5,Id6ee19f8 into tizen

* changes:
  add null check about object id of output modality
  change voice touch click logic as by coordinate

19 months agoMerge "Register proper command by current voice touch mode" into tizen
Suyeon Hwang [Thu, 22 Sep 2022 01:13:03 +0000 (01:13 +0000)]
Merge "Register proper command by current voice touch mode" into tizen

19 months agoadd null check about object id of output modality 74/281774/1
dyamy-lee [Wed, 21 Sep 2022 10:37:22 +0000 (19:37 +0900)]
add null check about object id of output modality

Change-Id: I3b9dccd56cd95c34ca685e9ac3a157c88917a9ee

19 months agochange voice touch click logic as by coordinate 73/281773/1
dyamy-lee [Wed, 21 Sep 2022 09:50:58 +0000 (18:50 +0900)]
change voice touch click logic as by coordinate

If a target's profile is not a TV, it clicks object by coordinate.
No longer it finds object by aurum because of time.

Change-Id: Id6ee19f8d1ec4f5c2c3bd2c1041346cb1edffa67

19 months agoRequest event for refreshing clickable object 72/281772/1
Suyeon Hwang [Wed, 21 Sep 2022 07:12:29 +0000 (16:12 +0900)]
Request event for refreshing clickable object

Change-Id: I98990c427a2a83cd7478a4344c76b86f85df092b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge "Add index to label when the item has no label" into tizen
Suyeon Hwang [Thu, 22 Sep 2022 00:45:16 +0000 (00:45 +0000)]
Merge "Add index to label when the item has no label" into tizen

19 months agoMerge changes Ib499bda1,Ic465aee2,I856535e3 into tizen
Suyeon Hwang [Thu, 22 Sep 2022 00:44:55 +0000 (00:44 +0000)]
Merge changes Ib499bda1,Ic465aee2,I856535e3 into tizen

* changes:
  Add grid depth information to output result
  Add grid mode activation command
  Fix order of generating grid

19 months agoRegister proper command by current voice touch mode 52/281752/1
Suyeon Hwang [Wed, 21 Sep 2022 08:22:43 +0000 (17:22 +0900)]
Register proper command by current voice touch mode

Change-Id: I7bd11bb7f03704c9a7ed28b01c6e750078577453
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd index to label when the item has no label 31/281731/1
Suyeon Hwang [Wed, 21 Sep 2022 04:55:34 +0000 (13:55 +0900)]
Add index to label when the item has no label

Change-Id: I442e57933df49065ba7da3a6ef65279559404cc7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd grid depth information to output result 18/281718/1
Suyeon Hwang [Wed, 21 Sep 2022 04:27:40 +0000 (13:27 +0900)]
Add grid depth information to output result

Change-Id: Ib499bda19e714450e56d423b0074f87b50b403c6
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd grid mode activation command 17/281717/1
Suyeon Hwang [Wed, 21 Sep 2022 04:15:10 +0000 (13:15 +0900)]
Add grid mode activation command

Change-Id: Ic465aee253c15f292e95d276343f58fcab0fae4b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoFix order of generating grid 16/281716/1
Suyeon Hwang [Wed, 21 Sep 2022 01:36:40 +0000 (10:36 +0900)]
Fix order of generating grid

Change-Id: I856535e37986defc1f76eb8827ca75dc0eb9504c
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd refresh screen information event 08/281708/1
ulgal-park [Tue, 20 Sep 2022 13:52:10 +0000 (22:52 +0900)]
Add refresh screen information event

Change-Id: I122f38b076651d35cf6f0a64bf5a398b3e3fbc4e

19 months agofix type at iu voice touch engine output modality callback 07/281707/1
ulgal-park [Tue, 20 Sep 2022 13:50:35 +0000 (22:50 +0900)]
fix type at iu voice touch engine output modality callback

Change-Id: Icc183adab13805cbe6f30ce64be399e20a43a0c5

19 months agoFix langauge of voice touch command as Korean 53/281653/1
Suyeon Hwang [Tue, 20 Sep 2022 07:58:13 +0000 (16:58 +0900)]
Fix langauge of voice touch command as Korean

- Issue:
Current voice modality sends text with Korean.

- Solution:
This patch changes the candidates of the voice touch command to Korean
language version. Current voice modality just recognize Korean language
only, so without Korean command MMI manager can not be properly worked.
Through this patch, MMI manager can recognize Korean ASR result.

Change-Id: I0f621effe00a9dc672fb295dbd87de63ddd5c486
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove legacy IU engine module 41/281641/1 accepted/tizen/unified/20220921.022909
Suyeon Hwang [Mon, 19 Sep 2022 07:39:06 +0000 (16:39 +0900)]
Remove legacy IU engine module

- Issue:
Legacy IU module is not used now.

- Solution:
This patch removes legacy IU module from the project. This legacy IU
module does not fit current architecture for voice touch feature.

Change-Id: If5af3c00df414a94ff63acc4ffb0675ba296f0d4
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoMerge changes I94199933,Ib0feb1e7 into tizen
Suyeon Hwang [Tue, 20 Sep 2022 06:23:47 +0000 (06:23 +0000)]
Merge changes I94199933,Ib0feb1e7 into tizen

* changes:
  for luanch with mmi voice touch reference app, app id has to change as org.tizen.voice-touch
  fix received_callbacks' event type

19 months agoChange variable naming 39/281639/1
sooyeon [Tue, 20 Sep 2022 01:32:18 +0000 (10:32 +0900)]
Change variable naming

Change-Id: Ifda5b64d6c97a6a739e16bc375afc3995b21b72e
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoChange key names with camel style 38/281638/1
sooyeon [Mon, 19 Sep 2022 12:03:43 +0000 (21:03 +0900)]
Change key names with camel style

Change-Id: I22f480bb869933933a856aefb61647b955de4d08
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agofix checking result_cb_list length exception 35/281635/1
dyamy-lee [Mon, 19 Sep 2022 10:54:44 +0000 (19:54 +0900)]
fix checking result_cb_list length exception

exception's condition is changed as same or less than 0 for checking of client's result_cb_list in client_manager_get_result_cb_handle.

Change-Id: Idf2d16f84d142427194cc5a82ae781adb4ce4cba

19 months agoFix double free issue when destrouct JsonProvider 31/281631/1
Suyeon Hwang [Mon, 19 Sep 2022 11:05:34 +0000 (20:05 +0900)]
Fix double free issue when destrouct JsonProvider

Change-Id: I4bfffd044005a972900d0a76376e94b1d4cd21cb
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoSend output result when screen analyzer event occurs 30/281630/1
Suyeon Hwang [Mon, 19 Sep 2022 08:51:24 +0000 (17:51 +0900)]
Send output result when screen analyzer event occurs

- Issue:
IU engine does not invoke callback for sending output result to client
app when screen analyzer event occurs.

- Solution:
This patch adds code for invoking output result callback, and this code
is for sending clickable object information to client app.

Change-Id: I1b4be635b3dacc8af112acf604a7d506a47b62e3
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agofor luanch with mmi voice touch reference app, app id has to change as org.tizen... 29/281629/1
dyamy-lee [Tue, 20 Sep 2022 02:49:14 +0000 (11:49 +0900)]
for luanch with mmi voice touch reference app, app id has to change as org.tizen.voice-touch

Change-Id: I94199933123a050e3cdf196391c84cdc853be07a

19 months agofix received_callbacks' event type 28/281628/1
dyamy-lee [Tue, 20 Sep 2022 02:48:10 +0000 (11:48 +0900)]
fix received_callbacks' event type

received_callbacks' event type should be type of input event type.
So, replace as MMI_INPUT_EVENT_TYPE_VOICE_TOUCH

Change-Id: Ib0feb1e7c41aa7e194725965ad387a3c343378d2

19 months agoadd deactivate client's input event when client is removed 26/281626/1
dyamy-lee [Mon, 19 Sep 2022 06:04:22 +0000 (15:04 +0900)]
add deactivate client's input event when client is removed

when client is removed, it needs to stop input event's modalities.
So, it needs to call deactivate input event api, and do drop events

Change-Id: I80a757cd8d5af907590bff391b29c101344ac2d0

19 months agoFix order of module initialization 24/281624/1
Suyeon Hwang [Mon, 19 Sep 2022 08:11:37 +0000 (17:11 +0900)]
Fix order of module initialization

- Issue:
Event handlers in MMI core modules are not worked properly.

- Solution:
The events provider values are created by modality provider module, but
MMI core module was initilized before modality provider creates those
event values. To solve this problem, this patch reoders the
initialization that MMI manager initializes the modality provider module
first before initializing MMI core module.

Change-Id: Ic64b8de0772fac79ab2807209b2c9634baf2cd62
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoImplement logic for sending output modality and result 12/281612/1
Suyeon Hwang [Wed, 14 Sep 2022 02:07:25 +0000 (11:07 +0900)]
Implement logic for sending output modality and result

- Requirement:
MMI core module needs to send output result and modality to proper
client app and output modality provider.

- Solution:
This patch adds new logic for sending output result and modality to
client app and output modality provider. For this change, this patch
also fixes interface of output result callback of IU module.

Change-Id: Ib61141ec9c9b6b249f2836f277f81b5a12061eef
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd remained pixels to grids which are end of right and bottom 04/281604/1
Suyeon Hwang [Mon, 19 Sep 2022 05:06:33 +0000 (14:06 +0900)]
Add remained pixels to grids which are end of right and bottom

Change-Id: I1202a655f81c33047c6a55d8b2242b87157d40ad
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoUse reference type for iteration and initialize memeber with proper value 03/281603/1
Suyeon Hwang [Mon, 19 Sep 2022 01:57:10 +0000 (10:57 +0900)]
Use reference type for iteration and initialize memeber with proper value

Change-Id: Idde632226e16e67d5aaed5dfcab0371339510d77
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoAdd voice touch intent understanding module 02/281602/1
Suyeon Hwang [Tue, 6 Sep 2022 12:36:14 +0000 (21:36 +0900)]
Add voice touch intent understanding module

- Requirement:
IU module needs to handle voice touch event.

- Solution:
This patch adds new class which name is VoiceTouchEngine. This new class
is for handling voice touch event using CommandManager class. In order
to use this new class, this patch also fixes the mmi_iu module refer to
VoiceTouchEngine.

Change-Id: I68195c92faf11b2723a987db9a008000d449f394
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoadd free about input_result_callback in client module 01/281601/1
dyamy-lee [Fri, 16 Sep 2022 05:03:09 +0000 (14:03 +0900)]
add free about input_result_callback in client module

when error occured, it needs to free the storage returned from calloc.
So, it add free about input_result_callback

Change-Id: If28aeb37c856ad1c7796c386c598fde44ff83350

19 months agoremove related fusion module 00/281600/1
dyamy-lee [Wed, 14 Sep 2022 11:33:27 +0000 (20:33 +0900)]
remove related fusion module

remove ref-fusion module, mmi-fusion in mmimgr.
also, remove ref-fusion-tests.

Change-Id: Ic1f734096e34d8fab99a632011b0ce06de013968

19 months agorestructure about code which related tidl interface 99/281599/1
dyamy-lee [Thu, 15 Sep 2022 00:20:07 +0000 (09:20 +0900)]
restructure about code which related tidl interface

- tidl interface changed, following the design change.
- this patch removes not used callback functions in mmi-api-handler,
   and in mmi-client, mmi-manager.
- this patch add new callbacks for handling tidl logics.

Change-Id: I9545543febedbd46a762a68cecb8bc03a76c74cd

19 months agoFix interface name 93/281593/1
Suyeon Hwang [Wed, 7 Sep 2022 08:47:38 +0000 (17:47 +0900)]
Fix interface name

- Issue:
In a new architecture for voice touch, the concept of intent is not
used.

- Solution:
This patch changes the term of intent to result and modality. This is
because the concept of intent is not used in a new architecture for
voice touch feature.

Change-Id: Id2229d1c19bdc940ee2501d6b669cce20601d8f7
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
19 months agoRemove unnecessary key 81/281581/1
sooyeon [Fri, 16 Sep 2022 07:00:36 +0000 (16:00 +0900)]
Remove unnecessary key

Change-Id: I5287c203abe3980591994ac002401c56fdbc77c5
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoChange variable names 80/281580/1
sooyeon [Fri, 16 Sep 2022 04:58:21 +0000 (13:58 +0900)]
Change variable names

Change-Id: Ibf6e92a76c59e78e80e3f2d674860a5eb51531d5
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agoChange output event json format 79/281579/1
sooyeon [Fri, 16 Sep 2022 03:36:21 +0000 (12:36 +0900)]
Change output event json format

Change-Id: I4fd42d2c3fe89c2c9f42492ed6061f9546704910
Signed-off-by: sooyeon <sooyeon.kim@samsung.com>
19 months agooutput_modality : add output modality voice touch 77/281577/1
ulgal-park [Mon, 5 Sep 2022 05:16:37 +0000 (14:16 +0900)]
output_modality : add output modality voice touch

Change-Id: Icc34123eed47d36220e40d37d95a1a59388b0026