X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=base%2Fdali-toolkit%2Finternal%2Ffocus-manager%2Ffocus-manager-impl.h;h=c64d490ee9a6b04efb4a68eb63c22c827374721f;hp=bf2dd1e9b525cf3bd89053222ef26f9e1837d34f;hb=9a93f27dd71b25d8a3fab4eab73e2d6daa90b179;hpb=a881757839b7abb008873a68c67e17b3ba39669b diff --git a/base/dali-toolkit/internal/focus-manager/focus-manager-impl.h b/base/dali-toolkit/internal/focus-manager/focus-manager-impl.h index bf2dd1e..c64d490 100644 --- a/base/dali-toolkit/internal/focus-manager/focus-manager-impl.h +++ b/base/dali-toolkit/internal/focus-manager/focus-manager-impl.h @@ -294,27 +294,31 @@ private: /** * Perform the accessibility action to move focus to the previous focusable actor (by one finger flick up). + * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionPrevious(); + virtual bool AccessibilityActionPrevious(bool allowEndFeedback); /** * Perform the accessibility action to move focus to the next focusable actor (by one finger flick down). + * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionNext(); + virtual bool AccessibilityActionNext(bool allowEndFeedback); /** * Perform the accessibility action to move focus to the previous focusable actor (by one finger flick left). + * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadPrevious(); + virtual bool AccessibilityActionReadPrevious(bool allowEndFeedback); /** * Perform the accessibility action to move focus to the next focusable actor (by one finger flick right). + * @param allowEndFeedback true if end of list feedback should be played when the focus is alread reached to the end * @return whether the accessibility action is performed or not. */ - virtual bool AccessibilityActionReadNext(); + virtual bool AccessibilityActionReadNext(bool allowEndFeedback); /** * Perform the accessibility action to focus and read the actor (by one finger tap or move). @@ -350,6 +354,13 @@ private: */ virtual bool AccessibilityActionBack(); + /** + * Perform the accessibility action to mouse move (by one finger tap & hold and move). + * @param touchEvent touch event structure + * @return whether the accessibility action is performed or not. + */ + virtual bool AccessibilityActionTouch(const TouchEvent& touchEvent); + private: // Undefined @@ -366,13 +377,19 @@ private: bool mIsWrapped; ///< Whether the focus movement is wrapped around or not bool mIsFocusWithinGroup; ///< Whether the focus movement is limited to the current focus group or not + bool mIsEndcapFeedbackEnabled; ///< Whether the endcap feedback need to be played when the focus leaves the end or vice versa + bool mIsEndcapFeedbackPlayed; ///< Whether the endcap feedback was played or not + FocusIDContainer mFocusIDContainer; ///< The container to look up actor ID by focus order IDAdditionalInfoContainer mIDAdditionalInfoContainer; ///< The container to look up additional information by actor ID FocusIDPair mCurrentFocusActor; ///< The focus order and actor ID of current focused actor + Actor mCurrentGesturedActor; ///< The actor that will handle the gesture Actor mFocusIndicatorActor; ///< The focus indicator actor shared by all the focusable actors for highlight + Vector2 mPreviousPosition; ///< The previous pan position; useful for calculating velocity for Gesture::Finished events + unsigned int mRecursiveFocusMoveCounter; ///< The counter to count the number of recursive focus movement attempted before the focus movement is successful. bool mIsAccessibilityTtsEnabled; ///< Whether accessibility feature(screen-reader) turned on/off