android_system_core/include
Tobias Haamel 4ef8aea3b5 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.
2013-07-30 13:56:52 -07:00
..
android Remove libjnigraphics. moved to frameworks/base/native 2010-02-04 15:32:07 -08:00
corkscrew Add flush_my_map_info_list() and fix a bug in the Mac load_map_info_list(). 2013-05-14 19:49:30 -07:00
ctest auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
cutils Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
diskconfig diskconfig: Add missing include for loff_t 2012-07-23 16:11:59 -07:00
ion Add explicit sync call to ion library 2012-09-20 09:46:19 -07:00
log Move liblog headers to system/core/include/log 2013-07-24 12:32:39 -07:00
mincrypt mincrypt: support SHA-256 hash algorithm 2013-04-10 14:33:31 -07:00
netutils Support 4 dns servers, up from 2 2013-01-10 11:36:09 -08:00
pixelflinger pixelflinger: Fix function naming typo: gglBitBlti 2010-08-10 02:56:47 +08:00
private am 9e9ed1b4: am 131ee07b: Merge "Add a new group for MediaDrm engine plugins" into jb-mr2-dev 2013-04-24 21:56:49 -07:00
sync sync: factor sw_sync functionality out of header 2013-03-05 15:53:24 -08:00
system get rid of HAL pixelformats 5551 and 4444 2013-07-26 14:50:26 -07:00
sysutils libsysutils: Increase command buffersize and command args 2012-11-12 14:40:21 +01:00
usbhost libusbhost: permits client polling on inotify wd 2012-12-10 11:12:35 +01:00
utils Introduce special UI modes for night and car usage. 2013-07-30 13:56:52 -07:00
zipfile auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00