replicant-frameworks_native/include
Tobias Haamel 70fa84f6ab Introduce special UI modes for night and car usage.
The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.

The ui mode can be set, like it is done for the locale, as follows:

IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);

To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.

The automatic night mode switching will be added in a separate change.
2010-02-11 21:25:58 +01:00
..
binder Simplify the MemoryDealer implementation 2010-01-29 14:51:06 -08:00
pim
private fix [2133133] Software OpenGL ES Lighting is buggy (GL Gears washed out bug) 2010-02-03 12:13:15 -08:00
tts Fix issue 1795088 Improve audio routing code 2009-07-23 06:03:39 -07:00
ui Add exposure compensation parameter. 2010-02-09 18:28:50 +08:00
utils Introduce special UI modes for night and car usage. 2010-02-11 21:25:58 +01:00