HomeSort by relevance Sort by last modified time
    Searched defs:targetDensity (Results 1 - 15 of 15) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 58 final int targetDensity = opts.inTargetDensity;
59 if (targetDensity == 0 || density == targetDensity || density == opts.inScreenDensity) {
67 float scale = targetDensity / (float)density;
78 bm.setDensity(targetDensity);
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 494 int targetDensity = 0;
497 targetDensity = opts.inTargetDensity;
498 if (density != 0 && targetDensity != 0) {
499 scale = targetDensity / (float) density;
504 if (bm != null && targetDensity != 0) bm.setDensity(targetDensity);
521 int targetDensity = 0;
524 targetDensity = opts.inTargetDensity;
525 if (density != 0 && targetDensity != 0) {
526 scale = targetDensity / (float) density
    [all...]
  /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/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 682 milliseconds