replicant-frameworks_native/include/utils
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
..
AndroidUnicode.h
ashmem.h
Asset.h
AssetDir.h
AssetManager.h
Atomic.h
BackupHelpers.h
Buffer.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h
Endian.h
Errors.h
FileMap.h
KeyedVector.h
List.h
Log.h
misc.h
RefBase.h
ResourceTypes.h Introduce special UI modes for night and car usage. 2010-02-11 21:25:58 +01:00
SharedBuffer.h
Singleton.h
SortedVector.h
StopWatch.h
String8.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
String16.h Optional use of UTF-8 strings in resource bundles 2009-12-07 15:14:15 -08:00
StringArray.h
SystemClock.h
TextOutput.h
threads.h Propagate background scheduling class across processes. 2009-12-07 19:11:14 -08:00
Timers.h
TypeHelpers.h
Vector.h
VectorImpl.h
ZipFileCRO.h
ZipFileRO.h
ZipUtils.h