CEikSgcServer Class Reference

class CEikSgcServer : public CBase

Inherits from

Public Member Functions
~CEikSgcServer ()
TBool BackgroundAppsStateChangeDeferred ()
void FadeBitmapGenerationL ()
void FadeColorGenerationL ()
void HandleLayoutChangeCallBackL ()
void HandleWindowGroupListChangeL ()
void HandleWindowGroupParamChangeL ( TInt , TBitFlags , TInt , TInt , TInt )
TInt LayoutInstallationCallBack ( TAny *)
void MoveAppL ( TInt , TSgcMoveAppToWhere )
CEikSgcServer * NewL ()
void PrepareForAppExitL ( TInt )
void RelinquishPriorityToForegroundAppL (const RMessage2 &)
void RotateScreenL ()
void SetAknCapAppServerAppUi ( CAknCapAppServerAppUi *)
void SetBackgroundAppsStateChangeDeferred ( TBool )
void SetStatusPane ( CEikServStatusPane *)
void UpdateNotificationsInIdleAllowedKey ()
Private Member Functions
CEikSgcServer ()
void ActivateEffectL ()
TInt ChangeIdleStateCallBack ( TAny *)
void ClearWgPartialFg ( TWgState &)
void ConstructL ()
CWgIds * CreateWgIdListLC ()
void DoChangeIdleState ()
void DoMoveApp ()
void DoRemoveBlank ()
void DoRestoreThreadPriorities ()
TInt FocusWgIndex ()
TInt ForegroundWgId ()
TWgState & GetWgStateL ( TInt )
TBool IsGlobalNoteForeground ()
TBool IsIdleForeground ()
void PostChangeRecalcL ()
void ReOrderWgStatesL ( CWgIds *)
TInt RefreshLayoutIfRequiredL ()
TInt RemoveBlankCallBack ( TAny *)
TInt RestoreThreadPriorities ( TAny *)
void SetIdleState ( TBool )
void SetLayoutBlankScreenL ( TBool , TInt )
void SetLayoutBlankScreenL ( TBool , TInt , TInt )
void SetLayoutL ( TInt )
void SetPartialForegroundStatusesL ()
void SetStatusPaneShapeAndFlagsL ( TInt )
void SetWgPartialFg ( TWgState &)
TBool TestWgListOrderOk ( CWgIds *)
TInt TopSpIndex ( TInt )
void UpdateIdleState ()
TInt WgStateIndex ( TInt )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Member Enumerations
enum TConstants { KStartAtTheTop  = -1 }
Private Member Type Definitions
typedef CArrayFixFlat < TInt > CWgIds
typedef CArrayFixFlat < TWgState > CWgStates
typedef RArray < SRelinquishedThread > RRelinquishedThreadList
Private Attributes
CAknCapAppServerAppUi * iAknCapAppServerAppUi
TInt iBackgroundLayoutDeferred
TInt iBlankCount
CPeriodic * iChangeIdleState
CFbsBitmap * iFadeBitmap
CFbsBitmap * iFadeMask
TInt iFirstFullScreenWg
TInt iFlags
TInt iLastScreenModeSet
TInt iLastTopSpWg
TInt iLayout
CLayoutChangeCallBack * iLayoutChangeCallBack
CEComPluginNotifier * iLayoutNotifier
TInt iMoveAppWdId
TSgcMoveAppToWhere iMoveAppWhere
TBool iNotificationsInIdleAllowed
REComPluginInfoArray iPrevPluginInfo
CPeriodic * iRelinquishedThreadCallBack
RRelinquishedThreadList iRelinquishedThreads
CPeriodic * iRemoveBlankCallBack
TInt iRemoveBlankCount
TInt iSetLayoutBlankStep
CEikServStatusPane * iSp
RWindowGroup * iSpWg
CAknCompaIf * iTouchCompaModeIf
TInt iTouchCompaScreenMode
CWgStates * iWgStates
CWindowChangeMonitor * iWinChange
RWsSession & iWs

Constructor & Destructor Documentation

CEikSgcServer()

CEikSgcServer ( ) [private]

~CEikSgcServer()

~CEikSgcServer ( )

Member Functions Documentation

ActivateEffectL()

void ActivateEffectL ( ) [private]

BackgroundAppsStateChangeDeferred()

TBool BackgroundAppsStateChangeDeferred ( ) const

ChangeIdleStateCallBack(TAny *)

TInt ChangeIdleStateCallBack ( TAny * aThis ) [private, static]

Parameters

TAny * aThis

ClearWgPartialFg(TWgState &)

void ClearWgPartialFg ( TWgState & aWgState ) [private]

Parameters

TWgState & aWgState

ConstructL()

void ConstructL ( ) [private]

CreateWgIdListLC()

CWgIds * CreateWgIdListLC ( ) const [private]

DoChangeIdleState()

void DoChangeIdleState ( ) [private]

DoMoveApp()

void DoMoveApp ( ) [private]

DoRemoveBlank()

void DoRemoveBlank ( ) [private]

DoRestoreThreadPriorities()

void DoRestoreThreadPriorities ( ) [private]

FadeBitmapGenerationL()

void FadeBitmapGenerationL ( )

FadeColorGenerationL()

void FadeColorGenerationL ( )

FocusWgIndex()

TInt FocusWgIndex ( ) const [private]

ForegroundWgId()

TInt ForegroundWgId ( ) [private]

GetWgStateL(TInt)

TWgState & GetWgStateL ( TInt aWgId ) [private]

Parameters

TInt aWgId

HandleLayoutChangeCallBackL()

void HandleLayoutChangeCallBackL ( )

HandleWindowGroupListChangeL()

void HandleWindowGroupListChangeL ( )

HandleWindowGroupParamChangeL(TInt, TBitFlags, TInt, TInt, TInt)

void HandleWindowGroupParamChangeL ( TInt aWgId,
TBitFlags aAppFlags,
TInt aSpLayout,
TInt aSpFlags,
TInt aAppScreenMode
)

Parameters

TInt aWgId
TBitFlags aAppFlags
TInt aSpLayout
TInt aSpFlags
TInt aAppScreenMode

IsGlobalNoteForeground()

TBool IsGlobalNoteForeground ( ) [private]

IsIdleForeground()

TBool IsIdleForeground ( ) [private]

LayoutInstallationCallBack(TAny *)

TInt LayoutInstallationCallBack ( TAny * aPtr ) [static]

Parameters

TAny * aPtr

MoveAppL(TInt, TSgcMoveAppToWhere)

void MoveAppL ( TInt aAppWindowGroupId,
TSgcMoveAppToWhere aWhere
)

Parameters

TInt aAppWindowGroupId
TSgcMoveAppToWhere aWhere

NewL()

CEikSgcServer * NewL ( ) [static]

PostChangeRecalcL()

void PostChangeRecalcL ( ) [private]

PrepareForAppExitL(TInt)

void PrepareForAppExitL ( TInt aWgId )

Parameters

TInt aWgId

ReOrderWgStatesL(CWgIds *)

void ReOrderWgStatesL ( CWgIds * aWgIds ) [private]

Parameters

CWgIds * aWgIds

RefreshLayoutIfRequiredL()

TInt RefreshLayoutIfRequiredL ( ) [private]

RelinquishPriorityToForegroundAppL(const RMessage2 &)

void RelinquishPriorityToForegroundAppL ( const RMessage2 & aMessage )

Parameters

const RMessage2 & aMessage

RemoveBlankCallBack(TAny *)

TInt RemoveBlankCallBack ( TAny * aThis ) [private, static]

Parameters

TAny * aThis

RestoreThreadPriorities(TAny *)

TInt RestoreThreadPriorities ( TAny * aThis ) [private, static]

Parameters

TAny * aThis

RotateScreenL()

void RotateScreenL ( )

SetAknCapAppServerAppUi(CAknCapAppServerAppUi *)

void SetAknCapAppServerAppUi ( CAknCapAppServerAppUi * aAknCapAppServerAppUi )

Parameters

CAknCapAppServerAppUi * aAknCapAppServerAppUi

SetBackgroundAppsStateChangeDeferred(TBool)

void SetBackgroundAppsStateChangeDeferred ( TBool aDeferred )

Parameters

TBool aDeferred

SetIdleState(TBool)

void SetIdleState ( TBool aFlag ) [private]

Parameters

TBool aFlag

SetLayoutBlankScreenL(TBool, TInt)

void SetLayoutBlankScreenL ( TBool aBlank,
TInt aStep
) [private]

Parameters

TBool aBlank
TInt aStep

SetLayoutBlankScreenL(TBool, TInt, TInt)

void SetLayoutBlankScreenL ( TBool aBlank,
TInt aStep,
TInt aCnt
) [private]

Parameters

TBool aBlank
TInt aStep
TInt aCnt

SetLayoutL(TInt)

void SetLayoutL ( TInt aSpIndex ) [private]

Parameters

TInt aSpIndex

SetPartialForegroundStatusesL()

void SetPartialForegroundStatusesL ( ) [private]

SetStatusPane(CEikServStatusPane *)

void SetStatusPane ( CEikServStatusPane * aSp )

Parameters

CEikServStatusPane * aSp

SetStatusPaneShapeAndFlagsL(TInt)

void SetStatusPaneShapeAndFlagsL ( TInt aSpIndex ) [private]

Parameters

TInt aSpIndex

SetWgPartialFg(TWgState &)

void SetWgPartialFg ( TWgState & aWgState ) [private]

Parameters

TWgState & aWgState

TestWgListOrderOk(CWgIds *)

TBool TestWgListOrderOk ( CWgIds * aWgIds ) const [private]

Parameters

CWgIds * aWgIds

TopSpIndex(TInt)

TInt TopSpIndex ( TInt aAfter = KStartAtTheTop ) const [private]

Parameters

TInt aAfter = KStartAtTheTop

UpdateIdleState()

void UpdateIdleState ( ) [private]

UpdateNotificationsInIdleAllowedKey()

void UpdateNotificationsInIdleAllowedKey ( )

WgStateIndex(TInt)

TInt WgStateIndex ( TInt aWgId ) const [private]

Parameters

TInt aWgId

Member Enumerations Documentation

Enum TConstants

Enumerators

KStartAtTheTop = -1

Member Type Definitions Documentation

Typedef CWgIds

typedef CArrayFixFlat < TInt > CWgIds [private]

Typedef CWgStates

typedef CArrayFixFlat < TWgState > CWgStates [private]

Typedef RRelinquishedThreadList

typedef RArray < SRelinquishedThread > RRelinquishedThreadList [private]

Member Data Documentation

CAknCapAppServerAppUi * iAknCapAppServerAppUi

CAknCapAppServerAppUi * iAknCapAppServerAppUi [private]

TInt iBackgroundLayoutDeferred

TInt iBackgroundLayoutDeferred [private]

TInt iBlankCount

TInt iBlankCount [private]

CPeriodic * iChangeIdleState

CPeriodic * iChangeIdleState [private]

CFbsBitmap * iFadeBitmap

CFbsBitmap * iFadeBitmap [private]

CFbsBitmap * iFadeMask

CFbsBitmap * iFadeMask [private]

TInt iFirstFullScreenWg

TInt iFirstFullScreenWg [private]

TInt iFlags

TInt iFlags [private]

TInt iLastScreenModeSet

TInt iLastScreenModeSet [private]

TInt iLastTopSpWg

TInt iLastTopSpWg [private]

TInt iLayout

TInt iLayout [private]

CLayoutChangeCallBack * iLayoutChangeCallBack

CLayoutChangeCallBack * iLayoutChangeCallBack [private]

CEComPluginNotifier * iLayoutNotifier

CEComPluginNotifier * iLayoutNotifier [private]

TInt iMoveAppWdId

TInt iMoveAppWdId [private]

TSgcMoveAppToWhere iMoveAppWhere

TSgcMoveAppToWhere iMoveAppWhere [private]

TBool iNotificationsInIdleAllowed

TBool iNotificationsInIdleAllowed [private]

REComPluginInfoArray iPrevPluginInfo

REComPluginInfoArray iPrevPluginInfo [private]

CPeriodic * iRelinquishedThreadCallBack

CPeriodic * iRelinquishedThreadCallBack [private]

RRelinquishedThreadList iRelinquishedThreads

RRelinquishedThreadList iRelinquishedThreads [private]

CPeriodic * iRemoveBlankCallBack

CPeriodic * iRemoveBlankCallBack [private]

TInt iRemoveBlankCount

TInt iRemoveBlankCount [private]

TInt iSetLayoutBlankStep

TInt iSetLayoutBlankStep [private]

CEikServStatusPane * iSp

CEikServStatusPane * iSp [private]

RWindowGroup * iSpWg

RWindowGroup * iSpWg [private]

CAknCompaIf * iTouchCompaModeIf

CAknCompaIf * iTouchCompaModeIf [private]

TInt iTouchCompaScreenMode

TInt iTouchCompaScreenMode [private]

CWgStates * iWgStates

CWgStates * iWgStates [private]

CWindowChangeMonitor * iWinChange

CWindowChangeMonitor * iWinChange [private]

RWsSession & iWs

RWsSession & iWs [private]