summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-01-09 12:00:30 -0800
committerDianne Hackborn <hackbod@google.com>2012-01-09 12:00:30 -0800
commit613989772f7d7f7317349568a4809bf08b942bd7 (patch)
tree7f77a9a8561729b6329551e5c4962e41256b5bc8 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent7944704e6c4cc10105838b78d3d8403bf66a066b (diff)
Unhide Resources APIs for getting resources at specific densities.
This adds Resources.getDrawableForDensity() and Resources.getValueForDensity(). These are needed for applications to correctly retrieve larger icons such as in launcher when running on a tablet. We had already exposed the APIs to tell the application which density to use for app icons on the current device, but didn't unhide these APIs that allowed you to actually retrieve them. This is safe to do without introducing a new API level (as long as we do it soon) because we know these APIs already exist in Android 4.0, and there is no reason for anyone to be removing them when building a device. Change-Id: I5138e5dc908197b66a98d20af73c5374cb5d41d3
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions