OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:targetDensity
(Results
1 - 17
of
17
) sorted by null
/frameworks/base/graphics/java/android/graphics/
BitmapFactory.java
542
final int
targetDensity
= opts.inTargetDensity;
543
if (
targetDensity
== 0 || density ==
targetDensity
|| density == opts.inScreenDensity) {
550
outputBitmap.setDensity(
targetDensity
);
/frameworks/base/core/jni/android/graphics/
BitmapFactory.cpp
265
const int
targetDensity
= env->GetIntField(options, gOptions_targetDensityFieldID);
267
if (density != 0 &&
targetDensity
!= 0 && density != screenDensity) {
268
scale = (float)
targetDensity
/ density;
/cts/tests/tests/content/src/android/content/res/cts/
ResourcesTest.java
253
int
targetDensity
= mResources.getDisplayMetrics().densityDpi;
256
assertEquals(212 *
targetDensity
/ defaultDensity, draw.getIntrinsicWidth(), 1);
257
assertEquals(142 *
targetDensity
/ defaultDensity, draw.getIntrinsicHeight(), 1);
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/8/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 75 milliseconds