I revert this patch, because it doesn't cover mobile profile.
Mr. Sun upload a new patch for it:
https://review.tizen.org/gerrit/#/c/186741
This reverts commit
f7e78caead4596a66b750444e77343856432d36d.
Change-Id: I8aef3d12907d74af849be9f061f92d65b27dea17
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
+ else
+ {
+ // Move the focus towards left
+ MoveFocus(Toolkit::Control::KeyboardFocus::LEFT);
+ }
- // Move the focus towards left
- MoveFocus(Toolkit::Control::KeyboardFocus::LEFT);
isFocusStartableKey = true;
}
else
isFocusStartableKey = true;
}
else
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
-
- // Move the focus towards right
- MoveFocus(Toolkit::Control::KeyboardFocus::RIGHT);
+ else
+ {
+ // Move the focus towards right
+ MoveFocus(Toolkit::Control::KeyboardFocus::RIGHT);
+ }
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
+ else
+ {
+ // Move the focus towards up
+ MoveFocus(Toolkit::Control::KeyboardFocus::UP);
+ }
- // Move the focus towards up
- MoveFocus(Toolkit::Control::KeyboardFocus::UP);
isFocusStartableKey = true;
}
else if (keyName == "Down" && !isAccessibilityEnabled)
isFocusStartableKey = true;
}
else if (keyName == "Down" && !isAccessibilityEnabled)
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
+ else
+ {
+ // Move the focus towards down
+ MoveFocus(Toolkit::Control::KeyboardFocus::DOWN);
+ }
- // Move the focus towards down
- MoveFocus(Toolkit::Control::KeyboardFocus::DOWN);
isFocusStartableKey = true;
}
else if (keyName == "Prior" && !isAccessibilityEnabled)
isFocusStartableKey = true;
}
else if (keyName == "Prior" && !isAccessibilityEnabled)
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
-
- // Move the focus towards the previous page
- MoveFocus(Toolkit::Control::KeyboardFocus::PAGE_UP);
+ else
+ {
+ // Move the focus towards the previous page
+ MoveFocus(Toolkit::Control::KeyboardFocus::PAGE_UP);
+ }
isFocusStartableKey = true;
}
isFocusStartableKey = true;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
// Show focus indicator
mIsFocusIndicatorEnabled = 1;
}
-
- // Move the focus towards the next page
- MoveFocus(Toolkit::Control::KeyboardFocus::PAGE_DOWN);
+ else
+ {
+ // Move the focus towards the next page
+ MoveFocus(Toolkit::Control::KeyboardFocus::PAGE_DOWN);
+ }
isFocusStartableKey = true;
}
isFocusStartableKey = true;
}