private:
/*
- * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
+ * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
*
* @since 2.1
*/
LiveboxFrame(const LiveboxFrame& rhs);
/*
- * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
+ * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
*
* @since 2.1
*/
: public Tizen::Base::Object
{
public:
-
+
/**
* Gets the Livebox manager instance.
*
private:
/*
- * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
+ * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
*
* @since 2.1
*/
LiveboxPopup(const LiveboxPopup& rhs);
/*
- * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
+ * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
*
* @since 2.1
*/
// The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
//
// @since 2.1
- //
+ //
//
LiveboxProviderInfo& operator =(const LiveboxProviderInfo& rhs);
: public Tizen::Base::Object
{
public:
-
+
/**
* Gets the Livebox manager instance.
*
private:
/*
- * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
+ * The implementation of this copy constructor is intentionally blank and declared as private to prohibit copying of objects.
*
* @since 2.1
*/
LiveboxView(const LiveboxView& rhs);
/*
- * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
+ * The implementation of this copy assignment operator is intentionally blank and declared as private to prohibit copying of objects.
*
* @since 2.1
*/
using namespace Tizen::Base;
using namespace Tizen::Graphics;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
LiveboxView::LiveboxView(void)
{
_QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
-
+
result r = pImpl->AddOrientationEventListener(listener);
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
{
_QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
-
+
result r = pImpl->RemoveOrientationEventListener(listener);
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
{
_QuickPanelFrameImpl* pImpl = _QuickPanelFrameImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
-
+
result r = pImpl->SetHeight(height);
SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
private:
_LiveboxFrame(const _LiveboxFrame& rhs);
_LiveboxFrame& operator =(const _LiveboxFrame& rhs);
-
+
result SetLayerShowState(bool showState);
result SetLayerBounds(const Tizen::Graphics::Rectangle& bounds);
virtual void OnDraw(void);
private:
- std::unique_ptr<_LiveboxFramePresenter> __pLiveboxFramePresenter;
+ std::unique_ptr<_LiveboxFramePresenter> __pLiveboxFramePresenter;
#if defined(MULTI_WINDOW)
_LiveboxLayer* __pLiveboxLayer;
#else // MULTI_WINDOW
using namespace Tizen::Base;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
_LiveboxFrameModel::_LiveboxFrameModel(void)
#include <FBaseObject.h>
#include <FBaseString.h>
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxFrameModel
using namespace Tizen::Base;
using namespace Tizen::Graphics;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
_LiveboxFramePresenter::_LiveboxFramePresenter(const _LiveboxFrame& liveboxFrame)
#include <unique_ptr.h>
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxFrame;
virtual ~_LiveboxLayer(void);
virtual result OnConstructed(void);
-
+
result SetProviderId(const Tizen::Base::String& providerId);
Tizen::Base::String GetProviderId(void) const;
int GetPixmapId(void) const;
virtual result Sync(const Tizen::Graphics::Dimension& size);
virtual void ReleasePixmap(void);
virtual int OnTouchEventRecevied(int eventType, double timestamp, double x, double y);
-
+
private:
_LiveboxLayer(const _LiveboxLayer& rhs);
_LiveboxLayer& operator =(const _LiveboxLayer& rhs);
public:
_LiveboxPopupLayer(const Dimension& size);
virtual ~_LiveboxPopupLayer(void);
-
+
private:
_LiveboxPopupLayer(const _LiveboxPopupLayer& rhs);
_LiveboxPopupLayer& operator =(const _LiveboxPopupLayer& rhs);
private:
_LiveboxPopup(const _LiveboxPopup& rhs);
_LiveboxPopup& operator =(const _LiveboxPopup& rhs);
-
+
result SetLayerShowState(bool showState);
result SetLayerBounds(const Tizen::Graphics::Rectangle& bounds);
using namespace Tizen::Base;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
_LiveboxPopupModel::_LiveboxPopupModel(void)
#include <FBaseObject.h>
#include <FBaseString.h>
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxPopupModel
using namespace Tizen::Base;
using namespace Tizen::Graphics;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
_LiveboxPopupPresenter::_LiveboxPopupPresenter(const _LiveboxPopup& liveBoxPopup)
#include <unique_ptr.h>
#include <FBaseString.h>
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxPopup;
bool
_LiveboxPopupView::OnTouchPressed(const _Control& source, const _TouchInfo& touchInfo)
-{
+{
double x = 0.0f;
double y = 0.0f;
virtual void OnVisualElementAnimationFinished(const Tizen::Ui::Animations::VisualElementAnimation& animation, const Tizen::Base::String& keyName, Tizen::Ui::Animations::VisualElement& target, bool completedNormally);
virtual void OnVisualElementAnimationRepeated(const Tizen::Ui::Animations::VisualElementAnimation& animation, const Tizen::Base::String& keyName, Tizen::Ui::Animations::VisualElement& target, long currentRepeatCount);
virtual void OnDraw(void);
-
+
void OnLiveboxUpdated(const Tizen::Graphics::Bitmap& bitmap, const Tizen::Graphics::Dimension& size);
void OnLiveboxUpdated(int pixmap);
using namespace Tizen::Base::Runtime;
using namespace Tizen::Ui;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxPopupEventArg
}} // Tizen::Ui
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxPopupViewEvent
using namespace Tizen::Ui::Animations;
using namespace Tizen::Media;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
const int ANIMATION_DURATION = 150;
double x = 0.0f;
double y = 0.0f;
GetTouchPostion(touchInfo.GetCurrentPosition(), x, y);
-
+
livebox_content_event(__pLivebox, LB_MOUSE_DOWN, x, y);
}
double x = 0.0f;
double y = 0.0f;
GetTouchPostion(touchInfo.GetCurrentPosition(), x, y);
-
+
livebox_content_event(__pLivebox, LB_MOUSE_MOVE, x, y);
}
using namespace Tizen::Base;
using namespace Tizen::Graphics;
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
const _LiveboxViewImpl*
class Point;
}}
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxViewImpl
result _CreateCoordinateTransformer(_ICoordinateSystemTransformer*&, _LogicalResolution, _BaseScreenSize, _PhysicalResolution, _BaseScreenSize);
} } // Tizen::Graphics
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
const int LIVEBOX_SIZE_1 = 175;
const char* pCategory = "default";
double period = 1.0f;
int sizeType = GetLiveboxSizeType(pLiveboxView->GetSize());
-
+
livebox* pLivebox = livebox_add_with_size(pLiveboxId.get(), pContent.get(), pCluster, pCategory, period, sizeType, OnLiveboxAdded, this);
SysTryReturn(NID_UI_CTRL, pLivebox, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
_LiveboxViewManager::OnLiveboxEventReceived(livebox* pLivebox, livebox_event_type eventType, void* pData)
{
SysTryReturn(NID_UI_CTRL, pLivebox, EXIT_SUCCESS, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
-
+
_LiveboxViewManager* pLiveboxViewManager = static_cast<_LiveboxViewManager*>(pData);
SysTryReturn(NID_UI_CTRL, pLiveboxViewManager, EXIT_SUCCESS, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
class _ICoordinateSystemTransformer;
}} // Tizen::Graphics
-namespace Tizen { namespace Shell
+namespace Tizen { namespace Shell
{
class _LiveboxView;
Dimension liveboxSize = __pLiveboxView->GetSize();
int bitmapWidth = pBitmap->GetWidth();
int bitmapHeight = pBitmap->GetHeight();
-
+
Point point(0, 0);
if (!updated)
_QuickPanelFrameImpl::ConvertToOrientationStatus(_ControlRotation rotation)
{
OrientationStatus status = ORIENTATION_STATUS_NONE;
-
+
switch (rotation)
{
case _CONTROL_ROTATION_0:
default:
break;
}
-
+
return status;
}
{
_EcoreEvas* pEcoreEvas = GetEcoreEvasMgr()->GetEcoreEvas();
SysAssert(pEcoreEvas);
-
+
_Window* pRootWindow = GetCore().GetRootWindow();
if (pRootWindow)
{
static _QuickPanelFrameRegister QuickPanelFrameRegisterToUiBuilder;
} } } // Tizen::Ui::Control
-
+
pKb = arg.GetBundle();
service_create_request(pKb, &svc);
service_set_package(svc, pkgname);
-
+
if (service_to_bundle(svc, &service_data) == SERVICE_ERROR_NONE)
{
notification_set_property(core, 0);
pKb = arg.GetBundle();
service_create_request(pKb, &svc);
service_set_app_id(svc, buffer);
-
+
if (service_to_bundle(svc, &service_data) == SERVICE_ERROR_NONE)
{
notification_set_property(core, 0);