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 Fix issue #2048263: More debugging information 2009-08-11 18:56:41 -07:00
AssetDir.h
AssetManager.h Don't re-parse the framework resources all the time. 2009-07-06 11:12:37 -07:00
Atomic.h
BackupHelpers.h Only report "unknown metadata" once per restore helper 2009-06-24 13:57:29 -07:00
Buffer.h
BufferedTextOutput.h
ByteOrder.h
CallStack.h
Debug.h Support for marshalling pointers / intptr_t in Parcel. 2009-08-17 15:31:25 -07:00
Endian.h
Errors.h fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly 2009-09-07 16:32:45 -07:00
FileMap.h
KeyedVector.h
List.h Fix sim build. 2009-07-07 10:01:12 -07:00
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