replicant-frameworks_native/libs/utils
Dianne Hackborn 592e3fc150 Add new resource configurations for screen width/height in "dp".
You can now specify resource configuration variants "wNNNdp"
and "hNNNdp".  These are the minimum screen width/height in "dp"
units.  This allows you to do things like have your app adjust
its layout based only on the about of horizontal space available.

This introduces a new configuration change flag for screen size.
Note that this configuration change happens each time the orientation
changes.  Applications often say they handle the orientation change
to avoid being restarted at a screen rotation, and this will now
cause them to be restarted.  To address this, we assume the app can
handle this new config change if its target SDK version is < ICS.

Change-Id: I22f8afa136b4f274423978c570fa7c9855040496
2011-04-06 11:00:37 -07:00
..
tests Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
Android.mk Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Asset.cpp Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
AssetDir.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
AssetManager.cpp Include strings.h for the strcasecmp prototype. 2011-03-21 20:26:25 -07:00
BackupData.cpp Turn off most of the backup-related debug logging 2009-09-30 17:07:37 -07:00
BackupHelpers.cpp Better (and less) logging from backup. 2009-06-26 17:19:11 -04:00
BufferedTextOutput.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
CallStack.cpp some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
Debug.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
FileMap.cpp Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Flattenable.cpp remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2010-02-21 23:27:25 -08:00
Looper.cpp Refactor how timeouts are calculated. 2011-03-17 17:29:09 -07:00
misc.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
ObbFile.cpp Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Pool.cpp Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
PropertyMap.cpp Add initial support for cursor-based pointing devices. 2010-12-29 13:19:53 -08:00
README auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
RefBase.cpp Fix sp<> conversion operator / constructor 2011-02-25 16:20:52 -08:00
ResourceTypes.cpp Add new resource configurations for screen width/height in "dp". 2011-04-06 11:00:37 -07:00
SharedBuffer.cpp auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
Static.cpp checkpoint: split libutils into libutils + libbinder 2009-05-20 12:55:02 -07:00
StopWatch.cpp Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
StreamingZipInflater.cpp Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
String8.cpp Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
String16.cpp Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
StringArray.cpp rename string_array.h to StringArray.h and move the implementation from the header file to a new cpp file. 2009-06-05 01:26:23 -07:00
SystemClock.cpp Clean up use of HAVE_ANDROID_OS 2011-02-16 10:56:32 -08:00
TextOutput.cpp some work to try to reduce the code size of some native libraries 2009-05-26 16:12:20 -07:00
Threads.cpp Bug 3362814 Fix SMP race in access to mRequestExit 2011-02-23 17:49:59 -08:00
Timers.cpp Refactor how timeouts are calculated. 2011-03-17 17:29:09 -07:00
Tokenizer.cpp Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
Unicode.cpp Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
VectorImpl.cpp Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
ZipFileCRO.cpp Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipFileRO.cpp Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipUtils.cpp fix FILE* version of ZipUtils::inflateToBuffer 2009-07-16 11:27:13 -07:00

Android Utility Function Library

If you need a feature that is native to Linux but not present on other
platforms, construct a platform-dependent implementation that shares
the Linux interface.  That way the actual device runs as "light" as
possible.

If that isn't feasible, create a system-independent interface and hide
the details.

The ultimate goal is *not* to create a super-duper platform abstraction
layer.  The goal is to provide an optimized solution for Linux with
reasonable implementations for other platforms.