if (isRtl[0] && isRtl[1]) // R + R
{
- if (isNeutral[0] && isNeutral[1] && (!TextUtility::IsRTLCharacter(text[0]) && !TextUtility::IsRTLCharacter(text[1])))
+ if (isNeutral[0] && isNeutral[1])
{
extent.x = prevRight;
}
bool isFiltered = false;
- if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != _KEY_INVALID)
+ if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != KEY_INVALID)
{
_ControlImpl* pControlImpl = static_cast<_ControlImpl*>(source.GetUserData());
SysTryReturn(NID_UI, pControlImpl, false, E_OBJ_NOT_FOUND, "[E_OBJ_NOT_FOUND] pControlImpl == null.");
bool isFiltered = false;
- if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != _KEY_INVALID)
+ if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != KEY_INVALID)
{
_ControlImpl* pControlImpl = static_cast<_ControlImpl*>(source.GetUserData());
if (pControlImpl == null)
bool isFiltered = false;
- if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != _KEY_INVALID)
+ if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != KEY_INVALID)
{
_ControlImpl* pControlImpl = static_cast<_ControlImpl*>(source.GetUserData());
if (pControlImpl == null)
{
bool isFiltered = false;
- if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != _KEY_INVALID)
+ if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != KEY_INVALID)
{
_ControlImpl* pControlImpl = static_cast<_ControlImpl*>(source.GetUserData());
if (pControlImpl == null)
{
bool isFiltered = false;
- if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != _KEY_INVALID)
+ if (__impl.__pPublicPropagatedKeyEventListener != null && keyInfo.GetKeyCode() != KEY_INVALID)
{
_ControlImpl* pControlImpl = static_cast<_ControlImpl*>(source.GetUserData());
if (pControlImpl == null)
bool
_FocusManagerImpl::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo)
{
- //Ecore_X_Window rootWindow = ecore_x_window_root_first_get();
- //Ecore_X_Atom keyboardExist = ecore_x_atom_get("X External Keyboard Exist");
+ Ecore_X_Window rootWindow = ecore_x_window_root_first_get();
+ Ecore_X_Atom keyboardExist = ecore_x_atom_get("X External Keyboard Exist");
unsigned int keyboardNumber = 0;
- //int ret = ecore_x_window_prop_card32_get(rootWindow, keyboardExist, &keyboardNumber, 1);
+ int ret = ecore_x_window_prop_card32_get(rootWindow, keyboardExist, &keyboardNumber, 1);
if (keyboardNumber == 0)
{
return false;
, __touchCount(DEFAULT_TOUCH_COUNT)
, __maxPointId(DEFAULT_TOUCH_COUNT-1)
, __pGestureTimerManager(null)
- , __deleteTimer(true)
- , __touchCanceled(false)
, __pTapInfoList(null)
+ , __touchCanceled(false)
+ , __deleteTimer(true)
{
result r = GetLastResult();
SysTryReturnVoidResult(NID_UI, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
class _ControlVisualElement
: public _VisualElement
{
+#if 0
+ DECLARE_CLASS_BEGIN(_ControlVisualElement, _VisualElementImpl);
+ DECLARE_PROPERTY(VePropBounds, _PropGetControlBounds, _PropSetControlBounds);
+ DECLARE_PROPERTY(VePropImplicitAnimationEnabled, _PropGetControlImplicitAnimationEnabled, _PropSetControlImplicitAnimationEnabled);
+ DECLARE_PROPERTY(VePropPropertyPropagationEnabled, _PropGetControlPropertyPropagationEnabled, _PropSetControlPropertyPropagationEnabled);
+ DECLARE_CLASS_END();
+#endif
+
public:
/**
* This is the default constructor for this class.
{
if (_isMapped && _isConfigured)
{
- //PRINT("[%#x | %#x] ecore_evas_manual_render -- mapped \n", (unsigned int)this ,ecore_evas_window_get(_pEcoreEvas));
+ //PRINT("[%#x | %#x] ecore_evas_manual_render -- mapped (child:%d)\n", (unsigned int)this ,ecore_evas_window_get(_pEcoreEvas), __GetChildrenCount(_pRootVisualElement));
__needPreRender = false;
ecore_evas_manual_render(_pEcoreEvas);
__needPreRender = true;
{
if(_isShow && _needForceManualRender)
{
- PRINT("[%#x | %#x] ecore_evas_manual_render -- _needForceManualRender \n", (unsigned int)this , ecore_evas_window_get(_pEcoreEvas));
+ PRINT("[%#x | %#x] ecore_evas_manual_render -- _needForceManualRender (child:%d)\n", (unsigned int)this , ecore_evas_window_get(_pEcoreEvas), __GetChildrenCount(_pRootVisualElement));
__needPreRender = false;
ecore_evas_manual_render(_pEcoreEvas);
__needPreRender = true;
return;
}
- PRINT("[%#x | %#x] ecore_evas_manual_render -- unmapped(map:%d configure:%d) - not called\n", (unsigned int)this , ecore_evas_window_get(_pEcoreEvas), _isMapped, _isConfigured);
+ PRINT("[%#x | %#x] ecore_evas_manual_render -- unmapped(map:%d configure:%d) - not called(child:%d)\n", (unsigned int)this , ecore_evas_window_get(_pEcoreEvas), _isMapped, _isConfigured, __GetChildrenCount(_pRootVisualElement));
}
}
else // not window type
{
- PRINT("[%#x | %#x] ecore_evas_manual_render -- unknown type\n", (unsigned int)this , ecore_evas_window_get(_pEcoreEvas));
+ PRINT("[%#x | %#x] ecore_evas_manual_render -- unknown type(child:%d)\n", (unsigned int)this , ecore_evas_window_get(_pEcoreEvas), __GetChildrenCount(_pRootVisualElement));
__needPreRender = false;
ecore_evas_manual_render(_pEcoreEvas);
__needPreRender = true;
// create new surface
if (unlikely(createNewObject))
{
- __renderOperation = element.__renderOperation;
- evas_object_render_op_set(pImageObjectNew, GetRenderOperation(__renderOperation));
-
-
unique_ptr<VisualElementSurface> pNewSharedSurface(new (std::nothrow) VisualElementSurface(*pSurface));
SysTryReturnResult(NID_UI_ANIM, pNewSharedSurface, E_OUT_OF_MEMORY, "Memory allocation failed.");
__pRectangleObject = evas_object_rectangle_add(__pEvas);
if (likely(__pRectangleObject))
{
- __renderOperation = element.__renderOperation;
- evas_object_render_op_set(__pRectangleObject, GetRenderOperation(__renderOperation));
-
//evas_object_pass_events_set(__pRectangleObject, EINA_TRUE);
evas_object_smart_member_add(__pRectangleObject, __pSmartObject);
evas_object_lower(__pRectangleObject);
GET_SHAPE_CONFIG(DATETIMEPICKER::FOOTER_HEIGHT, orientation, bounds.height);
GET_SHAPE_CONFIG(DATETIMEPICKER::INPUTPAD_HEIGHT, orientation, bounds.y);
- bounds.y = CoordinateSystem::AlignToDevice(FloatPoint(0.0f, bounds.y)).y;
- bounds.height = CoordinateSystem::AlignToDevice(FloatDimension(0.0f, bounds.height)).height;
-
bounds.x = 0.0f;
bounds.y = GetBoundsF().height - bounds.y - bounds.height;
bounds.width = GetBoundsF().width;
GET_SHAPE_CONFIG(DATETIMEPICKER::INPUTPAD_HEIGHT, orientation, inputPadBounds.height);
- inputPadBounds.height = CoordinateSystem::AlignToDevice(FloatDimension(pickerBounds.width, inputPadBounds.height)).height;
-
inputPadBounds.width = pickerBounds.width;
inputPadBounds.y = pickerBounds.height - inputPadBounds.height;
return false;
}
- unsigned long pointId = touchinfo.GetPointId();
+ int pointId = touchinfo.GetPointId();
_TouchManager* pTouchManager = _TouchManager::GetInstance();
FloatPoint touchPosition = source.ConvertToScreenPosition(touchinfo.GetCurrentPosition());
Tizen::Graphics::FloatPoint __startTouchPoint;
bool __animating;
bool __touchPressed;
- unsigned long __pointId;
+ int __pointId;
int __quickpanelOpened;
Ecore_Event_Handler* __pClientMessageReceived;