HomeSort by relevance Sort by last modified time
    Searched full:scaleddensity (Results 1 - 25 of 28) sorted by null

1 2

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDisplay.java 23 private float scaledDensity = 1.0f;
37 outMetrics.scaledDensity = scaledDensity;
102 return scaledDensity;
105 public void setScaledDensity(float scaledDensity) {
106 this.scaledDensity = scaledDensity;
ShadowTypedValue.java 104 return value * metrics.scaledDensity;
  /cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java 41 assertTrue((0.1 <= outMetrics.scaledDensity) && (outMetrics.scaledDensity <= 4));
53 assertTrue((0.1 <= metrics.scaledDensity) && (metrics.scaledDensity <= 4));
TypedValueTest.java 41 dm.scaledDensity = 2.1f;
83 dm.scaledDensity = 2.1f;
132 dm.scaledDensity = 2.1f;
139 assertEquals(10 * dm.scaledDensity, TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP,
198 dm.scaledDensity = 2.1f;
  /packages/apps/Settings/src/com/android/settings/
Display.java 71 mDisplayMetrics.scaledDensity = metrics.scaledDensity;
96 mDisplayMetrics.scaledDensity = mDisplayMetrics.density * mFontScale;
  /development/apps/Development/src/com/android/development/
ConfigurationViewer.java 59 + "scaledDensity=" + m.scaledDensity + "\n"
  /external/deqp/framework/platform/android/
tcuAndroidUtil.hpp 61 float scaledDensity;
72 , scaledDensity (0.0f)
tcuAndroidUtil.cpp 450 metrics.scaledDensity = getField<float> (env, *nativeMetrics, "scaledDensity");
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DisplayTest.java 34 assertEquals(1.6f, metrics.scaledDensity, 0.05);
  /frameworks/base/core/java/android/util/
DisplayMetrics.java 214 public float scaledDensity;
275 scaledDensity = o.scaledDensity;
292 scaledDensity = density;
299 noncompatScaledDensity = scaledDensity;
317 && scaledDensity == other.scaledDensity
354 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity +
TypedValue.java 354 return value * metrics.scaledDensity;
  /sdk/apps/DeviceConfig/res/layout/
main.xml 352 android:text="scaledDensity" >
365 android:text="scaledDensity" >
  /cts/tests/tests/display/src/android/display/cts/
DisplayTest.java 228 assertTrue(SCALE_DENSITY_LOWER_BOUND <= outMetrics.scaledDensity
229 && outMetrics.scaledDensity <= SCALE_DENSITY_UPPER_BOUND);
  /packages/apps/Settings/src/com/android/settings/widget/
DotsPageIndicator.java 127 final int scaledDensity = (int) context.getResources().getDisplayMetrics().scaledDensity;
133 DEFAULT_DOT_SIZE * scaledDensity);
137 DEFAULT_GAP * scaledDensity);
    [all...]
  /sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
MyActivity.java 123 tv.setText(String.format("%f", metrics.scaledDensity));
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DetermineFovActivity.java 219 .getDisplayMetrics().scaledDensity;
  /frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
TestWallpaper.java 110 tpaint.setTextSize(18 * getResources().getDisplayMetrics().scaledDensity);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 114 metrics.scaledDensity = metrics.noncompatScaledDensity = metrics.density;
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 443 inoutDm.scaledDensity = inoutDm.noncompatScaledDensity * invertedRatio;
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
PasswordTextView.java 183 float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity;
  /cts/tests/tests/text/src/android/text/method/cts/
ScrollingMovementMethodTest.java 744 int width = (int) (LITTLE_SPACE * dm.scaledDensity);
    [all...]
  /frameworks/base/core/java/android/view/
DisplayInfo.java 534 outMetrics.scaledDensity = outMetrics.noncompatScaledDensity = outMetrics.density;
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
OnboardingFragment.java 272 .getDisplayMetrics().scaledDensity);
OnboardingSupportFragment.java 274 .getDisplayMetrics().scaledDensity);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
ViewInflater.java 405 return mMetrics.scaledDensity * size;
    [all...]

Completed in 918 milliseconds

1 2