Fix for focus Issues in EditDate/EditTime
authorBhavya Kumili <bhavya.k@samsung.com>
Thu, 5 Sep 2013 05:35:25 +0000 (11:05 +0530)
committerBhavya Kumili <bhavya.k@samsung.com>
Thu, 5 Sep 2013 05:41:49 +0000 (11:11 +0530)
Signed-off-by: Bhavya Kumili <bhavya.k@samsung.com>
Change-Id: Ie7635b7dcbce2e602c621737812108ee26a264df

src/ui/controls/FUiCtrl_DateTimeBarPresenter.cpp
src/ui/controls/FUiCtrl_EditDatePresenter.cpp
src/ui/controls/FUiCtrl_EditTimePresenter.cpp

index 940ec7d..2b2bda9 100644 (file)
@@ -165,7 +165,6 @@ _DateTimeBarPresenter::LoadArrowBitmap(void)
 {
        result r = E_SUCCESS;
        Color arrowColor;
-       Bitmap* pArrowNormalBitmap = null;
 
        GET_COLOR_CONFIG(DATETIMEBAR::BG_NORMAL, arrowColor);
 
@@ -1204,6 +1203,7 @@ _DateTimeBarPresenter::OnTouchPressed(const _Control& source, const _TouchInfo&
        {
                ResetFlickAnimationTimer();
                __isFlickCanceled = true;
+               __isInitialAnimation = false;
        }
 
        __touchMoveHandled = false;
index 580bfc6..eb9b087 100644 (file)
@@ -955,6 +955,7 @@ void
 _EditDatePresenter::OnFocusModeStateChanged(void)
 {
        __isFocused = false;
+       __isEnterKeyPressed = false;
        __focusId = DATETIME_ID_NONE;
        __pEditDate->Invalidate();
        return;
index d8ae649..8892eb0 100644 (file)
@@ -1131,6 +1131,7 @@ _EditTimePresenter::OnFocusModeStateChanged(void)
 {
        __isFocused = false;
        __focusId = DATETIME_ID_NONE;
+       __isEnterKeyPressed = false;
        __pEditTime->Invalidate();
        return;
 }