From: Sinjae Lee Date: Fri, 16 May 2014 12:44:34 +0000 (+0900) Subject: (Accessibility) Updated accessibility event for read over action X-Git-Tag: dali-2014-wk21-release~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3912d49c71e33f249c17450891748bb6251ea292;hp=23f0d1f4ac05246b110a18f6970914eead5772a7;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git (Accessibility) Updated accessibility event for read over action --- diff --git a/adaptors/tizen/internal/common/events/event-handler.cpp b/adaptors/tizen/internal/common/events/event-handler.cpp index 7b3c85d..133c028 100644 --- a/adaptors/tizen/internal/common/events/event-handler.cpp +++ b/adaptors/tizen/internal/common/events/event-handler.cpp @@ -864,21 +864,24 @@ struct EventHandler::Impl } else if((unsigned int)clientMessageEvent->data.l[1] == ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_READ) { - // one finger tap - // focus & read an actor at ( e->data.l[2], e->data.l[3] ) position according to finger + // one finger tap + // focus & read an actor at ( e->data.l[2], e->data.l[3] ) position according to finger if(accessibilityManager) { - accessibilityManager->HandleActionReadEvent((unsigned int)clientMessageEvent->data.l[2], (unsigned int)clientMessageEvent->data.l[3], true); + accessibilityManager->HandleActionReadEvent((unsigned int)clientMessageEvent->data.l[2], (unsigned int)clientMessageEvent->data.l[3], true /* allow read again*/); } } #if defined(DALI_PROFILE_MOBILE) || defined(DALI_PROFILE_TV) else if((unsigned int)clientMessageEvent->data.l[1] == ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_OVER) { - // one finger move - // focus & read an actor at ( e->data.l[2], e->data.l[3] ) position according to finger + // one finger tap & move + // mouse state : e->data.l[2] (0: mouse down, 1: mouse move, 2: mouse up) + // x : e->data.l[3] + // y : e->data.l[4] + // focus & read an actor at (x, y) position according to finger if(accessibilityManager) { - accessibilityManager->HandleActionReadEvent((unsigned int)clientMessageEvent->data.l[2], (unsigned int)clientMessageEvent->data.l[3], false ); + accessibilityManager->HandleActionReadEvent((unsigned int)clientMessageEvent->data.l[3], (unsigned int)clientMessageEvent->data.l[4], false /* not allow read again*/); } } #endif