SysAssertf(__pAccessibilityContainerImpl != null, "Not constructed properly by platform.");
ClearLastResult();
AccessibilityElement* pElement = __pAccessibilityContainerImpl->GetChildElement(name);
- SysTryReturn(NID_UI, pElement, null, E_SYSTEM, "[E_SYSTEM] Getting a child by name is failed..");
+ SysTryReturn(NID_UI, pElement, null, E_SYSTEM, "[E_SYSTEM] Getting a child by name is failed.. name : %ls", name.GetPointer());
return pElement;
}
__pStatusId = null;
delete [] __pValueId;
__pValueId = null;
+ if (__pParent && this == __pParent->GetCurrentFocusedElement())
+ {
+ _AccessibilityManager::GetInstance()->RequestAutoReading(_ACCESSIBILITY_AUTO_READING_MODE_FIRST_ITEM);
+ }
}
result
_AccessibilityElement::Construct(const String& name, const FloatRectangle& bounds)
}
if (__pTargetContainer == &container)
{
+ if(__pTargetContainer)
+ {
+ __pTargetContainer->SetCurrentFocusedElement(null);
+ }
__pTargetContainer = null;
__pTargetElement = null;
}
{
pElement = null;
__pTargetElement = null;
+ if(__pTargetContainer)
+ {
+ __pTargetContainer->SetCurrentFocusedElement(null);
+ }
__pTargetContainer = null;
+
}
else
{
void
_AccessibilityManager::RequestToDrawFocusUi()
{
- if (__pTargetContainer)
+ if (__targetControlHandle.IsValid())
{
//HidePopup();
DrawFocusUi(*__pTargetElement);
{
__pTtsPlayer->Deactivate();
EraseFocusUi();
+ if(__pTargetContainer)
+ {
+ __pTargetContainer->SetCurrentFocusedElement(null);
+ }
__pTargetContainer = null;
__pTargetElement = null;
__pTitleElement = null;
_AccessibilityManager::ResetFocusInformation(void)
{
EraseFocusUi();
-
+ if(__pTargetContainer)
+ {
+ __pTargetContainer->SetCurrentFocusedElement(null);
+ }
__pTargetContainer = null;
__pTargetElement = null;
__pTitleElement = null;