|
luna-sysmgr-common
|
Public Member Functions | |
| HostArmOpal () | |
| virtual | ~HostArmOpal () |
| virtual const char * | hardwareName () const |
| virtual bool | homeButtonWakesUpScreen () |
| virtual int | getNumberOfSwitches () const |
Public Member Functions inherited from HostArm | |
| HostArm () | |
| virtual | ~HostArm () |
| virtual void | init (int w, int h) |
| virtual void | show () |
| int | readHidEvents (int fd, struct input_event *eventBuf, int bufSize) |
| virtual InputControl * | getInputControlALS () |
| virtual InputControl * | getInputControlBluetoothInputDetect () |
| virtual InputControl * | getInputControlProximity () |
| virtual InputControl * | getInputControlTouchpanel () |
| virtual InputControl * | getInputControlKeys () |
| virtual LedControl * | getLedControlKeypadAndDisplay () |
| virtual void | OrientationSensorOn (bool enable) |
| virtual void | setBluetoothKeyboardActive (bool active) |
| virtual bool | bluetoothKeyboardActive () const |
Public Member Functions inherited from HostBase | |
| virtual | ~HostBase () |
| const HostInfo & | getInfo () const |
| virtual void | run () |
| virtual void | quit () |
| virtual unsigned short | translateKeyWithMeta (unsigned short key, bool withShift, bool withAlt) |
| void | lockPainting () |
| void | unlockPainting () |
| virtual void | setMetaModifier (bool metaKeyDown) |
| virtual bool | metaModifier () |
| void | turboModeSubscription (bool add) |
| virtual bool | hasAltKey (Qt::KeyboardModifiers modifiers) |
| void | setOrientation (OrientationEvent::Orientation o) |
| QPoint | map (const QPoint &pt) |
| virtual OrientationEvent * | postProcessDeviceOrientation (OrientationEvent *currOrientation) |
Public Member Functions inherited from TaskBase | |
| TaskBase () | |
| virtual | ~TaskBase () |
| void | postEvent (sptr< Event > event, bool highPriority=false) |
| GMainLoop * | mainLoop () const |
| SingletonTimer * | masterTimer () const |
Public Member Functions inherited from RefCounted | |
| RefCounted () | |
| virtual | ~RefCounted () |
| void | ref () |
| void | deref () |
Protected Member Functions | |
| virtual void | turboMode (bool enable) |
Protected Member Functions inherited from HostArm | |
| virtual void | wakeUpLcd () |
| virtual int | screenX (int rawX, Event::Type type) |
| virtual int | screenY (int rawY, Event::Type type) |
| virtual void | setCentralWidget (QWidget *view) |
| void | setupInput (void) |
| void | shutdownInput (void) |
| void | startService (void) |
| void | stopService (void) |
| void | disableScreenBlanking () |
| virtual void | flip () |
| virtual QImage | takeScreenShot () const |
| virtual QImage | takeAppDirectRenderingScreenShot () const |
| virtual void | setAppDirectRenderingLayerEnabled (bool enable) |
| virtual void | setRenderingLayerEnabled (bool enable) |
| virtual void | NYXDataAvailable (NYXConnectorBase::Sensor aSensorType) |
Protected Member Functions inherited from HostBase | |
| HostBase () | |
| virtual void | handleEvent (sptr< Event >) |
Additional Inherited Members | |
Signals inherited from HostBase | |
| void | signalBluetoothKeyboardActive (bool active) |
Static Public Member Functions inherited from HostBase | |
| static HostBase * | instance () |
| static bool | hostIsQemu () |
Protected Slots inherited from HostArm | |
| void | readALSData () |
| void | readProxData () |
Static Protected Member Functions inherited from HostArm | |
| static bool | getMsgValueInt (LSMessage *msg, int &value) |
Protected Attributes inherited from HostArm | |
| QSocketNotifier * | m_nyxLightNotifier |
| QSocketNotifier * | m_nyxProxNotifier |
| int | m_fb0Fd |
| int | m_fb1Fd |
| void * | m_fb0Buffer |
| int | m_fb0NumBuffers |
| void * | m_fb1Buffer |
| int | m_fb1NumBuffers |
| LSHandle * | m_service |
| InputControl * | m_nyxInputControlALS |
| InputControl * | m_nyxInputControlBluetoothInputDetect |
| InputControl * | m_nyxInputControlProx |
| InputControl * | m_nyxInputControlKeys |
| InputControl * | m_nyxInputControlTouchpanel |
| LedControl * | m_nyxLedControlKeypadAndDisplay |
| bool | m_bluetoothKeyboardActive |
| NYXOrientationSensorConnector * | m_OrientationSensor |
Device-specific functionality for the never-released Opal devices, which would have been very similar to the Topaz devices
Device details:
| HostArmOpal::HostArmOpal | ( | ) |
Constructs an Opal device host
|
virtual |
Destroys an Opal device host
|
virtual |
Gets the number of hardware switches the current host device has
As an example, the Palm Pre has 3 switches:
Reimplemented from HostArm.
|
virtual |
Reimplemented from HostArm.
|
virtual |
Presumably whether the Home button wakes up the screen
This is seldom used and largely undocumented. Description is more or less a guess.
Reimplemented from HostBase.
|
protectedvirtual |
Enables/disables turbo mode
Changes CPU frequency scaling. When turbo mode is enabled, the CPU is set to run at full speed. When disabled, it turns the speed down to save on power usage.
| enable | true to enable turbo mode, false to disable it |
Reimplemented from HostBase.