: public Tizen::Ui::Controls::CustomItem
{
public:
- /**
- * Initializes this instance of DropDownCustomItem.
- */
- result Construct(int width);
-
-
- /**
- * @brief The Default constructor
- */
DropDownCustomItem(void);
-
-
- /**
- * @brief The Default Destructor
- */
virtual ~DropDownCustomItem(void);
- //getter and setter methods for Main Text
+ result Construct(int width);
- /**
- * @brief The method used to get the Title text of CustomItem
- */
DropDownItemState GetCurState(void);
-
- /**
- * @brief The method used to get the Title text of CustomItem
- */
Tizen::Base::String GetMainText(void);
-
- /**
- * @brief The method used to get the Sub text of CustomItem
- */
Tizen::Base::String GetSubText(void);
-
- /**
- * @brief Add all the required elements and create the Custom Item.
- *
- */
result Make(void);
-
- /**
- * @brief The method used to set the Title text of CustomItem
- */
void SetCurState(DropDownItemState);
-
- /**
- * @brief The method used to set the Title text of CustomItem
- */
void SetMainText(const Tizen::Base::String& text);
-
- /**
- * @brief The method used to set the Sub text of CustomItem
- */
void SetSubText(const Tizen::Base::String& text);
- protected:
+ protected:
static const int IDA_FORMAT_BITMAP;
static const int IDA_FORMAT_MAIN_STRING;
static const int IDA_FORMAT_SUB_STRING;
static const int IDA_FORMAT_DROPPER;
- private:
+ private:
DropDownItemState __currentState;
- int __height; ///Height of the SettingToggleCustomItem Instance
- int __width; ///Width of the SettingToggleCustomItem Instance
-
- Tizen::Base::String __mainText; ///The MainText for the Toggle Button
- Tizen::Base::String __subText; ///The SubText for the Toggle Button
+ int __height;
+ int __width;
+ Tizen::Base::String __mainText;
+ Tizen::Base::String __subText;
};
#endif /* _GL_DROPDOWN_CUSTOM_ITEM_H_ */
class FileListPresentationModel;
class FileDeleteTimer
-: public GlTimerBase
- {
-public :
- FileDeleteTimer(Tizen::Base::Collection::IList* , FileListPresentationModel*,
- IFileOpInvalidateListener*);
- ~FileDeleteTimer(void);
+ : public GlTimerBase
+{
+public:
+ FileDeleteTimer(Tizen::Base::Collection::IList*, FileListPresentationModel*, IFileOpInvalidateListener*);
+ virtual ~FileDeleteTimer(void);
private:
- //From GlTimerBase
- Tizen::Base::Collection::IList * TimerStart(void);
- result TimerExpired(const ContentId& contentId);
- void TimerCancel(int, enum FileActionCancelRes res);
- void TimerComplete(int, enum FileActionCompleteRes res);
+ virtual Tizen::Base::Collection::IList * TimerStart(void);
+ virtual result TimerExpired(const ContentId& contentId);
+ virtual void TimerCancel(int, enum FileActionCancelRes res);
+ virtual void TimerComplete(int, enum FileActionCompleteRes res);
private :
Tizen::Base::Collection::IList* __pDeleteIndexList;
FileListPresentationModel* __pPresentationModel;
-
- };
+};
#endif // _GL_FILE_DELETE_TIMER_H_
class FileListPresentationModel;
-/* FileMoveTimer class is used for Move and Copy operations*/
class FileMoveTimer
-: public GlTimerBase
- {
+ : public GlTimerBase
+{
public :
FileMoveTimer(Tizen::Base::String& , Tizen::Base::Collection::IList* , FileListPresentationModel*,
IFileOpInvalidateListener*, bool __isCopyOperation = false);
- ~FileMoveTimer(void);
+ virtual ~FileMoveTimer(void);
void SetCopy();
void ClearCopy();
private:
- //From GlTimerBase
- Tizen::Base::Collection::IList * TimerStart(void);
- result TimerExpired(const ContentId& contentId);
- void TimerCancel(int, enum FileActionCancelRes res);
- void TimerComplete(int, enum FileActionCompleteRes res);
+ virtual Tizen::Base::Collection::IList * TimerStart(void);
+ virtual result TimerExpired(const ContentId& contentId);
+ virtual void TimerCancel(int, enum FileActionCancelRes res);
+ virtual void TimerComplete(int, enum FileActionCompleteRes res);
private :
Tizen::Base::Collection::IList* __pMoveIndexList;
Tizen::Base::String __moveToDir;
- FileListPresentationModel* __pPresentationModel;
bool __isCopyOperation;
-
- };
+ FileListPresentationModel* __pPresentationModel;
+};
#endif //_GL_FILE_MOVE_TIMER_H_
{
public:
GlProgressBar(Tizen::Ui::IActionEventListener* listener);
- ~GlProgressBar(void);
+ virtual ~GlProgressBar(void);
void HideFileProgressingPopup(void);
void ShowFileProgressingPopup(int val, enum FileActionMode action);
#include "GlTypes.h"
class RadioCustomItem
-: public Tizen::Ui::Controls::CustomItem
- {
- public:
- /**
- * @brief The Default Constructor
- */
+ : public Tizen::Ui::Controls::CustomItem
+{
+public:
RadioCustomItem(void);
-
- /**
- * @brief The Default Destructor
- */
virtual ~RadioCustomItem(void);
- /**
- * @brief Initializes this instance of %DropDownCustomItem.
- *
- * @return An error code
- * @param[in] width The width of the Custom Item
- * @param[in] height The height of the Custom Item
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_STATE This instance has already been constructed.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
- * @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_SYSTEM A system error has occurred.
- *
- */
result Construct(int width, int height);
- //getter and setter methods for Text
-
- /**
- * @brief The method used to get the text of CustomItem
- * @return An error code
- */
Tizen::Base::String GetText(void);
-
- /**
- * @brief The method used to get selection state of the Radio Button
- * @return True if selected or false if unselected
- */
bool GetSelected(void);
-
-
- /**
- * @brief Add all the required elements and create the Custom Item.
- *
- * @return An error code
- * @param[in] void An instance of the Rectangle class @n
- * This instance represents the x and y coordinates of the top-left corner of the created window along with
- * the width and height of the window.
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_STATE This instance has already been constructed.
- * @exception E_INVALID_ARG A specified input parameter is invalid.
- * @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_SYSTEM A system error has occurred.
- *
- */
result Make(void);
-
- /**
- * @brief The method used to set the text of CustomItem
- * @return An error code
- */
void SetText(Tizen::Base::String& text);
-
- /**
- * @brief The method used to set the selection state of the Radio Button
- * @return void
- */
void SetSelected(bool selectedValue);
- protected:
+protected:
static const int IDA_FORMAT_STRING;
static const int IDA_FORMAT_RADIO_BUTTON;
- private:
+private:
bool __isSelected;
- int __width; ///Width of the SettingToggleCustomItem Instance
- int __height; ///Height of the SettingToggleCustomItem Instance
- Tizen::Base::String __text; ///The Text for the Toggle Button
-
- };
+ int __width;
+ int __height;
+ Tizen::Base::String __text;
+};
#endif /* _GL_RADIO_CUSTOM_ITEM_H_ */
class ISlideSettingListener;
class SlideShowPopUp
- : public Tizen::Ui::Controls::IListViewItemEventListener
- , public Tizen::Ui::Controls::IListViewItemProvider
- , public Tizen::Ui::Controls::Popup
- , public Tizen::Ui::IActionEventListener
- {
- public:
- /**
- * @brief The Default Constructor
- */
- SlideShowPopUp(void);
+ : public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Controls::Popup
+ , public Tizen::Ui::IActionEventListener
+{
+public:
+ SlideShowPopUp(void);
+ virtual ~SlideShowPopUp(void);
- /**
- * @brief The Default Destructor
- */
- ~SlideShowPopUp(void);
-
- /**
- * @brief Initializes this SettingForm Form.
- *
- * @return An error code
- * @exception true The method is succeIOrientationEventListenerssful.
- * @exception false An error Occured.
- */
bool Initialize(void);
-
- /**
- * This function terminates all the controls
- *
- * @return result type
- * @param No parameter
- */
virtual result OnTerminating(void);
- public:
+public:
+ void SetEventListner(ISlideSettingListener* listner);
- //IListViewItemProvider
+ virtual int GetItemCount(void);
virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
- virtual int GetItemCount(void);
- //IActionEventListener
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
-
- // IListViewItemEventListener
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index,
+ int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId,
+ Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index,
+ Tizen::Ui::Controls::SweepDirection direction){};
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId,
+ bool& invokeListViewItemCallback){};
- void SetEventListner(ISlideSettingListener* listner);
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
- private:
+private:
Tizen::Ui::Controls::ListView* __pList;
ISlideSettingListener* __pListener;
- };
-
+};
#endif /* _GL_SLIDE_SHOW_POPUP_H_ */
* @file GlTimerBase.h
* @brief This is the header file for GlTimerBase class.
*/
+
#ifndef __GL_TIMER_BASE_H_
#define __GL_TIMER_BASE_H_
#include <FContent.h>
#include "GlFileOpInvalidateListener.h"
-
using namespace Tizen::Base;
using namespace Tizen::Base::Runtime;
using namespace Tizen::Content;
class GlProgressBar;
class GlTimerBase
- :public Tizen::Ui::IActionEventListener
+ : public Tizen::Ui::IActionEventListener
, public ITimerEventListener
- {
- public:
+{
+public:
GlTimerBase(IFileOpInvalidateListener*, enum FileActionMode actionId);
virtual ~GlTimerBase(void);
bool StartTimer(void);
void CancelTimer(void);
+ void SetActionMode(enum FileActionMode actionId);
- //From IActionEventListener
- void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
-
- //From ITimerEventListener
- void OnTimerExpired(Timer& timer);
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
- void SetActionMode(enum FileActionMode actionId);
+ virtual void OnTimerExpired(Timer& timer);
- protected:
+protected:
virtual Tizen::Base::Collection::IList * TimerStart(void) = 0;
virtual result TimerExpired(const ContentId&) = 0;
virtual void TimerCancel(int, enum FileActionCancelRes res) = 0;
virtual void TimerComplete(int, enum FileActionCompleteRes res) = 0;
-
- private:
+private:
void OnOpComplete(enum FileActionCompleteRes);
void OnOpCancelled(enum FileActionCancelRes res);
-
- private:
+private:
Timer __moveTimer;
Tizen::Base::Collection::IList * __pContentIdList;
int __moveToCount;
GlProgressBar* __pMoveProBar;
IFileOpInvalidateListener* __pInvalidate;
enum FileActionMode __actionId;
-
};
-
#endif //__GL_TIMER_BASE_H_
This XML file was automatically generated by UiBuilder - do not modify by hand.
-->
<!DOCTYPE Scene SYSTEM "UIForm.dtd">
-<Scene Bversion="2.0.0.201303280947" Dversion="20120315">
+
+<Scene Bversion="2.0.0.201304041646" Dversion="20120315">
<LogicalCoordinate>720</LogicalCoordinate>
<Form id="IDL_FORM_ALBUM_LIST_EDITOR">
<property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Portrait" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
</itemSet>
</Footer>
<Header>
- <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" titleIconPath="" titleText="::IDS_COM_BODY_GALLERY" titleTextColor=""/>
+ <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" titleIconPath="" titleText="::IDS_COM_HEADER_EDIT" titleTextColor=""/>
<itemSet>
<buttonItem accessibilityHint="" actionId="201" disabledBGBitmapPath="" disabledIconPath="" highlightedBGBitmapPath="" highlightedIconPath="" normalBGBitmapPath="" normalIconPath="00_icon_select_all_web.png" position="BUTTON_POSITION_RIGHT" pressedBGBitmapPath="" pressedIconPath="00_icon_select_all_press_web.png" style="BUTTON_ITEM_STYLE_ICON" text="" type="right"/>
</itemSet>
using namespace Tizen::Base::Collection;
using namespace Tizen::Content;
using namespace Tizen::Graphics;
-using namespace Tizen::Media;
using namespace Tizen::Io;
+using namespace Tizen::Media;
using namespace Tizen::System;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
void
ContentUpdateEventListener::OnContentDirectoryScanCompleted(const Tizen::Base::String& directoryPath, result r)
{
-
}
result
DropDownCustomItem::Construct(int width)
{
- result r = E_SUCCESS;
__width = width;
__height = 140;
Dimension dim(__width, __height);
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ result r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
return r;
}
Tizen::Graphics::Bitmap* pDropperBitmapNormal = null;
Tizen::Graphics::Bitmap* pDropperBitmapPressed = null;
- AddElement(Rectangle(26, 22, __width - 126, 54), IDA_FORMAT_MAIN_STRING,__mainText,44,CUSTOM_COLOR_TRANSPARENT,CUSTOM_COLOR_TRANSPARENT,CUSTOM_COLOR_TRANSPARENT);
- AddElement(Rectangle(26, 76, __width - 126, 42), IDA_FORMAT_SUB_STRING,__subText,34,CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY);
+ AddElement(Rectangle(26, 22, __width - 126, 54), IDA_FORMAT_MAIN_STRING,__mainText, 44,
+ CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT);
+ AddElement(Rectangle(26, 76, __width - 126, 42), IDA_FORMAT_SUB_STRING,__subText, 34, CUSTOM_COLOR_GREY,
+ CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY);
AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
if (pAppResource)
* @brief This is the source file for FileDeleteTimer class.
*/
-
#include <FBase.h>
#include <FContent.h>
#include <FMedia.h>
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
-FileDeleteTimer::FileDeleteTimer(Tizen::Base::Collection::IList* pDelList
- , FileListPresentationModel* pPM
- , IFileOpInvalidateListener* invalidate)
+FileDeleteTimer::FileDeleteTimer(Tizen::Base::Collection::IList* pDelList, FileListPresentationModel* pPM,
+ IFileOpInvalidateListener* invalidate)
: GlTimerBase(invalidate, FILE_DELETE_ACTION)
, __pDeleteIndexList(pDelList)
, __pPresentationModel(pPM)
{
return __pPresentationModel->GetContentIdListN(*__pDeleteIndexList);
}
+
result FileDeleteTimer::TimerExpired(const ContentId& contentId)
{
return __pPresentationModel->DeleteContentFile(contentId);
}
+
void FileDeleteTimer::TimerCancel(int, enum FileActionCancelRes res)
{
-
}
+
void FileDeleteTimer::TimerComplete(int, enum FileActionCompleteRes res)
{
-
}
-
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
-FileMoveTimer::FileMoveTimer(String& destDirectory, IList* list
- , FileListPresentationModel* presentationModel
- , IFileOpInvalidateListener* pInvalidate
- , bool isCopyOperation)
- : GlTimerBase(pInvalidate, FILE_MOVE_ACTION)
- , __pMoveIndexList(list)
- ,__moveToDir(destDirectory)
- ,__pPresentationModel(presentationModel)
-
+FileMoveTimer::FileMoveTimer(String& destDirectory, IList* list, FileListPresentationModel* presentationModel,
+ IFileOpInvalidateListener* pInvalidate, bool isCopyOperation)
+ : GlTimerBase(pInvalidate, FILE_MOVE_ACTION)
+ , __pMoveIndexList(list)
+ , __moveToDir(destDirectory)
+ , __pPresentationModel(presentationModel)
{
}
+
FileMoveTimer::~FileMoveTimer(void)
{
delete __pMoveIndexList;
AppLogDebug("EXIT 2(%s)", GetErrorMessage(GetLastResult()));
return null;
}
- if(__isCopyOperation)
+ if(__isCopyOperation == true)
{
SetActionMode(FILE_COPY_ACTION);
}
{
return null;
}
-
}
result FileMoveTimer::TimerExpired(const ContentId& contentId)
{
if (__pAnimationFrameList != null)
{
- __pAnimationFrameList->RemoveAll(true);
delete __pAnimationFrameList;
- __pAnimationFrameList = null;
}
}
result
ProgressAnimation::Construct(Tizen::Graphics::Rectangle rect)
{
- result r = E_SUCCESS;
Panel::Construct(rect);
- // Create Bitmap
AppResource *pAppResource = Application::GetInstance()->GetAppResource();
if (pAppResource != null)
{
AnimationFrame *pAniFrame30 = new (std::nothrow) AnimationFrame(*pBitmap29, duration);
// Create AnimationList
- __pAnimationFrameList = new (std::nothrow) ArrayList();
+ __pAnimationFrameList = new (std::nothrow) ArrayList(SingleObjectDeleter);
__pAnimationFrameList->Construct();
__pAnimationFrameList->Add(*pAniFrame1);
__pAnimationFrameList->Add(*pAniFrame2);
AddControl(*__pAnimation);
}
- return r;
+ return E_SUCCESS;
}
void
__pFileProgressingLabel->SetName(L"IDC_FILE_COUNT_LABEL");
__pFileProgressingLabel->SetShowState(true);
}
-
}
AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
return r;
result
RadioCustomItem::Construct(int width, int height)
{
- result r = E_FAILURE;
-
__width = width;
__height = height;
const Dimension dim(width, height);
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ result r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
return r;
}
IDA_FORMAT_RADIO_BUTTON, *pBitmap, null);
AppLogDebug("RadioCustomItem::the text is %ls",__text.GetPointer());
- r = AddElement(Rectangle(26 + pBitmap->GetWidth() + 10, 5, __width - 26 - 10 - pBitmap->GetWidth(), __height), IDA_FORMAT_STRING, __text, 40, textColor, textColor, textColor, true);
+ r = AddElement(Rectangle(26 + pBitmap->GetWidth() + 10, 5, __width - 26 - 10 - pBitmap->GetWidth(),
+ __height), IDA_FORMAT_STRING, __text, 40, textColor, textColor, textColor, true);
delete pBitmap;
}
TryCatch(!IsFailed(r),,"RadioCustomItem::the value is %s",GetErrorMessage(r));
#include <FUiScenes.h>
#include "GlResourceManager.h"
-#include "GlSlideShowPopUp.h"
#include "GlSlideSettingListener.h"
+#include "GlSlideShowPopUp.h"
using namespace Tizen::App;
using namespace Tizen::Base;
using namespace Tizen::Ui::Controls;
using namespace Tizen::Ui::Scenes;
-
static const int ID_FORMAT_START = 501;
static const int ID_FORMAT_SETTING = 502;
static const int ID_CANCEL_BUTTON = 503;
-
SlideShowPopUp::SlideShowPopUp(void)
-:__pList(null)
+ : __pList(null)
+ , __pListener(null)
{
-
}
SlideShowPopUp::~SlideShowPopUp(void)
{
-
}
bool
}
return true;
-
}
result
SlideShowPopUp::OnTerminating(void)
{
- result r = E_SUCCESS;
- return r;
+ return E_SUCCESS;
}
void
void
SlideShowPopUp::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
{
-
if (__pListener != null)
{
__pListener->OnSlideSettingPopUpItemSelected(index);
}
-
}
ListItemBase*
SlideShowPopUp::CreateItem(int index, int itemWidth)
{
- result r = E_FAILURE;
ListAnnexStyle style = LIST_ANNEX_STYLE_NORMAL;
int listItemHeight = 112;
CustomItem* pItem = new (std::nothrow) CustomItem();
- r = pItem->Construct(Dimension(GetClientAreaBounds().width, listItemHeight), style);
+ result r = pItem->Construct(Dimension(GetClientAreaBounds().width, listItemHeight), style);
pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color::GetColor(COLOR_ID_WHITE));
if (IsFailed(r))
switch (index)
{
-
case 0:
{
pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemHeight), ID_FORMAT_START,
{
__pListener = listner;
}
-
using namespace Tizen::Ui;
-GlTimerBase::GlTimerBase(IFileOpInvalidateListener* invalidateListener,
- enum FileActionMode actionId)
- : __pInvalidate(invalidateListener)
+GlTimerBase::GlTimerBase(IFileOpInvalidateListener* invalidateListener, enum FileActionMode actionId)
+ : __pContentIdList(null)
+ , __moveToCount(0)
+ , __pMoveProBar(null)
+ , __pInvalidate(invalidateListener)
, __actionId(actionId)
{
-
+ AppLogDebug("ENTER");
+ AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}
GlTimerBase::~GlTimerBase(void)
AppLogDebug("ENTER");
}
-bool GlTimerBase::StartTimer(void)
+bool
+GlTimerBase::StartTimer(void)
{
AppLogDebug("ENTER");
__pContentIdList = TimerStart();
__moveToCount = 0;
__moveTimer.Construct(*this);
__moveTimer.Start(1);
- AppLogDebug("Returned true");
+ AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
return E_SUCCESS;
}
- AppLogDebug("Returned false");
+ AppLogDebug("EXIT1(%s)", GetErrorMessage(GetLastResult()));
return E_FAILURE;
}
-void GlTimerBase::CancelTimer(void)
+void
+GlTimerBase::CancelTimer(void)
{
AppLogDebug("ENTER");
__moveTimer.Cancel();
OnOpCancelled(CANCEL_USER);
__moveToCount = 0;
- AppLogDebug("EXIT");
+ AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}
-void GlTimerBase::OnTimerExpired(Timer& timer)
+void
+GlTimerBase::OnTimerExpired(Timer& timer)
{
AppLogDebug("ENTER");
if (&timer == &__moveTimer)
__moveToCount = 0;
}
}
- AppLogDebug("EXIT");
+ AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}
void
GlTimerBase::OnActionPerformed(const Control& source, int actionId)
{
+ AppLogDebug("ENTER");
switch (actionId)
{
case ACTION_ID_PROGRESSBAR_CANCEL:
default:
break;
}
+ AppLogDebug("EXIT(%s)", GetErrorMessage(GetLastResult()));
}