LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WindowServerMinimal Class Reference

#include <WindowServerMinimal.h>

Inheritance diagram for WindowServerMinimal:
[legend]
Collaboration diagram for WindowServerMinimal:
[legend]

Public Member Functions

 WindowServerMinimal ()
 
virtual ~WindowServerMinimal ()
 
virtual void prepareAddWindow (Window *win)
 
virtual void addWindow (Window *win)
 
virtual void removeWindow (Window *win)
 
virtual void focusWindow (Window *win)
 
virtual WindowManagerBasewindowManagerForWindow (Window *wm) const
 
virtual bool okToResizeUi (bool ignorePendingRequests=false)
 
virtual void resizeWindowManagers (int width, int height)
 
virtual QRectF mapRectToRoot (const QGraphicsItem *item, const QRectF &rect) const
 
virtual QPixmap * takeScreenShot ()
 
- Public Member Functions inherited from WindowServer
virtual ~WindowServer ()
 
virtual void unfocusWindow (Window *win)
 
virtual void windowUpdated (Window *win)
 
virtual void addWindowTimedOut (Window *win)
 
void bootupFinished ()
 
void startProgressAnimation (ProgressAnimation::Type type=ProgressAnimation::TypeHp)
 
void stopProgressAnimation ()
 
bool progressRunning () const
 
virtual void startDrag (int x, int y, void *imgRef, const std::string &lpid)
 
virtual void endDrag (int x, int y, const std::string &lpid, bool handled)
 
virtual void applyLaunchFeedback (int centerX, int centerY)
 
virtual void appLaunchPreventedUnderLowMemory ()
 
DisplayManagerdisplayManager () const
 
MetaKeyManagermetaKeyManager () const
 
CoreNaviManagercoreNaviManager () const
 
bool takeScreenShot (const char *path)
 
OrientationEvent::Orientation getOrientation () const
 
OrientationEvent::Orientation getUiOrientation () const
 
void setPaintingDisabled (bool val)
 
virtual void cancelVibrations ()
 
void shutdown ()
 
void setWindowProperties (Window *win, const WindowProperties &props)
 
WindowManagerBaseinputWindowManager () const
 
virtual WindowManagerBasegetWindowManagerByClassName (const QString &undecoratedClassName) const
 
bool deviceIsPortraitType () const
 
virtual QDeclarativeEngine * declarativeEngine ()
 
virtual bool enqueueWindowForFlip (Window *window, QRect &windowScreenBoundaries, bool sync)
 
virtual bool removeWindowFromFlipQueue (Window *window)
 
void setUiRotationMode (RotationMode uiRotationMode, bool cardMaximizing=false, bool skipAnimation=false)
 
bool touchOnScreen () const
 

Protected Member Functions

virtual bool sysmgrEventFilters (QEvent *event)
 
- Protected Member Functions inherited from WindowServer
 WindowServer ()
 
virtual bool handleEvent (QEvent *event)
 
virtual bool viewportEvent (QEvent *event)
 
virtual bool eventFilter (QObject *, QEvent *)
 
virtual bool processSystemShortcut (QEvent *event)
 
void setOrientation (OrientationEvent::Orientation newOrient)
 
int angleForOrientation (OrientationEvent::Orientation orient)
 
virtual bool isOrientationAllowed (OrientationEvent::Orientation newOrient)
 
void setUiOrientation (OrientationEvent::Orientation newOrient, UiRotationAnimationType animation=Rotation_RotateAndCrossFade)
 
void rotateUi (OrientationEvent::Orientation newOrientation, UiRotationAnimationType animation=Rotation_RotateAndCrossFade, bool forceResize=false)
 
virtual void rotatePendingWindows ()
 
virtual void cancelPendingWindowRotations ()
 
virtual void updateWallpaperForRotation (OrientationEvent::Orientation)
 
void cacheFocusedItem ()
 
void restoreCachedFocusItem ()
 

Additional Inherited Members

- Public Types inherited from WindowServer
enum  RotationMode {
  RotationMode_FreeRotation = 0, RotationMode_NoRotation = 1, RotationMode_LimitedLandscape = 2, RotationMode_LimitedPortrait = 3,
  RotationMode_FixedPortrait = 4, RotationMode_FixedLandscape = 5, RotationMode_FixedPortraitInverted = 6, RotationMode_FixedLandscapeInverted = 7
}
 
- Signals inherited from WindowServer
void signalWindowUpdated (Window *)
 
void signalAboutToTakeScreenShot ()
 
void signalTookScreenShot ()
 
void signalUiRotated ()
 
void signalTouchesReleasedFromScreen ()
 
- Static Public Member Functions inherited from WindowServer
static WindowServerinstance ()
 
static void registerWindow (Window *win)
 
static void unregisterWindow (Window *win)
 
static bool windowIsRegistered (Window *win)
 
static void markBootStart ()
 
static void markBootFinish ()
 
static void enableFpsCounter (bool enable)
 
static void dumpFpsHistory ()
 
static void resetFpsBuffer (int newBufSize)
 
static void enableTouchPlotOption (TouchPlot::TouchPlotOption_t type, bool enable)
 
static SharedGlobalPropertiesglobalProperties ()
 
- Protected Types inherited from WindowServer
enum  UiRotationAnimationType { Rotation_NoAnimation = 0, Rotation_RotateAndCrossFade, Rotation_CrossFadeOnly }
 
typedef QMap< QString,
QPointer< WindowManagerBase >
>::const_iterator 
WindowManagerMapConstIter
 
typedef QMap< QString,
QPointer< WindowManagerBase >
>::iterator 
WindowManagerMapIter
 
- Protected Attributes inherited from WindowServer
DisplayManagerm_displayMgr
 
InputManagerm_inputMgr
 
MetaKeyManagerm_metaKeyMgr
 
CoreNaviManagerm_coreNaviMgr
 
WindowManagerBasem_inputWindowMgr
 
uint32_t m_screenWidth
 
uint32_t m_screenHeight
 
bool m_deviceIsPortraitType
 
QGraphicsItemGroupm_uiElementsGroup
 
ReticleItemm_reticle
 
bool m_bootingUp
 
bool m_fingerDownOnScreen
 
bool m_runningProgress
 
ProgressAnimationm_progressAnim
 
UiRootItem m_uiRootItem
 
UiRotationAnimationType m_inRotationAnimation
 
RotationMode m_uiRotationMode
 
OrientationEvent::Orientation m_orientation
 
OrientationEvent::Orientation m_currentUiOrientation
 
OrientationEvent::Orientation m_pendingOrientation
 
UiRotationAnimationType m_pendingRotationType
 
int m_animationTargetRotationAngle
 
QQueue< t_cardFlipRequestm_pendingFlipRequests
 
QMultiMap< QString, QPointer
< WindowManagerBase > > 
m_windowManagerMap
 

Constructor & Destructor Documentation

WindowServerMinimal::WindowServerMinimal ( )
WindowServerMinimal::~WindowServerMinimal ( )
virtual

Member Function Documentation

void WindowServerMinimal::addWindow ( Window win)
virtual

Reimplemented from WindowServer.

void WindowServerMinimal::focusWindow ( Window win)
virtual

Reimplemented from WindowServer.

QRectF WindowServerMinimal::mapRectToRoot ( const QGraphicsItem item,
const QRectF &  rect 
) const
virtual

Reimplemented from WindowServer.

bool WindowServerMinimal::okToResizeUi ( bool  ignorePendingRequests = false)
virtual

Reimplemented from WindowServer.

void WindowServerMinimal::prepareAddWindow ( Window win)
virtual

Reimplemented from WindowServer.

void WindowServerMinimal::removeWindow ( Window win)
virtual

Reimplemented from WindowServer.

void WindowServerMinimal::resizeWindowManagers ( int  width,
int  height 
)
virtual

Reimplemented from WindowServer.

bool WindowServerMinimal::sysmgrEventFilters ( QEvent event)
protectedvirtual

Implements WindowServer.

QPixmap * WindowServerMinimal::takeScreenShot ( )
virtual

Reimplemented from WindowServer.

WindowManagerBase * WindowServerMinimal::windowManagerForWindow ( Window wm) const
virtual

Implements WindowServer.


The documentation for this class was generated from the following files: