pListenerList = null;
}
}
- __pTargetContainer->SetCurrentFocusedElement(null);
+ if(__pTargetContainer)
+ {
+ __pTargetContainer->SetCurrentFocusedElement(null);
+ }
if (focusManaged)
{
__pTargetElement = pElement;
return false;
}
bool
+_AccessibilityManager::IsFirstElementGainedFocus(void)
+{
+ int count = __candidateList.GetCount();
+ if(count == 0)
+ {
+ return false;
+ }
+ if(__pTargetElement == null)
+ {
+ return false;
+ }
+ _AccessibilityElement* pElement = null;
+ if(__candidateList.GetAt(0, pElement) == E_SUCCESS)
+ {
+ if(pElement == __pTargetElement)
+ {
+ return true;
+ }
+ }
+ return false;
+}\r
+bool
+_AccessibilityManager::IsLastElementGainedFocus(void)
+{
+ int count = __candidateList.GetCount();
+ if(count == 0)
+ {
+ return false;
+ }
+ if(__pTargetElement == null)
+ {
+ return false;
+ }
+ _AccessibilityElement* pElement = null;
+ if(__candidateList.GetAt(count-1, pElement) == E_SUCCESS)
+ {
+ if(pElement == __pTargetElement)
+ {
+ return true;
+ }
+ }
+ return false;
+}
+bool
_AccessibilityManager::IsVisible(_AccessibilityElement* pElement)
{
return IsVisible(pElement->GetParent());
bool IsScreenReaderActivated(void);
float GetLargeFontSize(void);
+ bool IsFirstElementGainedFocus(void);
+ bool IsLastElementGainedFocus(void);
+
void NeedRefreshItem(void);
void RequestToDrawFocusUi(void);