Home
last modified time | relevance | path

Searched refs:DisplayMetrics (Results 1 – 25 of 25) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDisplayTest.java3 import android.util.DisplayMetrics;
21 shadow.setDensityDpi(DisplayMetrics.DENSITY_MEDIUM); in shouldProvideDisplayMetrics()
28 DisplayMetrics metrics = new DisplayMetrics(); in shouldProvideDisplayMetrics()
33 assertEquals(DisplayMetrics.DENSITY_MEDIUM, metrics.densityDpi); in shouldProvideDisplayMetrics()
DTypedValueTest.java3 import android.util.DisplayMetrics;
17 DisplayMetrics metrics = new DisplayMetrics(); in testApplyDimensionIsWired()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTypedValue.java3 import android.util.DisplayMetrics;
47 public static float complexToDimension(int data, DisplayMetrics metrics) in complexToDimension()
57 DisplayMetrics metrics) in complexToDimensionPixelOffset()
67 DisplayMetrics metrics) in complexToDimensionPixelSize()
82 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) in complexToDimensionNoisy()
97 public static float applyDimension(int unit, float value, DisplayMetrics metrics) { in applyDimension()
116 public float getDimension(DisplayMetrics metrics) in getDimension()
DShadowDisplay.java4 import android.util.DisplayMetrics;
20 private int densityDpi = DisplayMetrics.DENSITY_HIGH;
34 public void getMetrics(DisplayMetrics outMetrics) { in getMetrics()
DShadowResources.java12 import android.util.DisplayMetrics;
39 private DisplayMetrics displayMetrics;
139 public DisplayMetrics getDisplayMetrics() { in getDisplayMetrics()
145 displayMetrics = new DisplayMetrics(); in getDisplayMetrics()
DShadowViewConfiguration.java24 import android.util.DisplayMetrics;
74 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in setup()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp58 struct DisplayMetrics struct
70 DisplayMetrics (void) in DisplayMetrics() argument
82 DisplayMetrics getDisplayMetrics (ANativeActivity* activity);
DtcuAndroidUtil.cpp432 DisplayMetrics getDisplayMetrics (JNIEnv* env, jobject activity) in getDisplayMetrics()
439 DisplayMetrics metrics; in getDisplayMetrics()
488 ScreenClass getScreenClass (const DisplayMetrics& displayMetrics) in getScreenClass()
546 DensityClass getDensityClass (const DisplayMetrics& displayMetrics) in getDensityClass()
599 DisplayMetrics getDisplayMetrics (ANativeActivity* activity) in getDisplayMetrics()
608 const DisplayMetrics displayMetrics = getDisplayMetrics(activity); in getCDDRequiredSystemMemory()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DDisplayFacade.java25 import android.util.DisplayMetrics;
89 public DisplayMetrics displayGetRealMetrics( in displayGetRealMetrics()
94 DisplayMetrics outMetrics = new DisplayMetrics(); in displayGetRealMetrics()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DMemorySizeCalculator.java7 import android.util.DisplayMetrics;
95 private final DisplayMetrics displayMetrics;
97 public DisplayMetricsScreenDimensions(DisplayMetrics displayMetrics) { in DisplayMetricsScreenDimensions()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java28 import android.util.DisplayMetrics;
89 DisplayMetrics metrics = new DisplayMetrics(); in onCreate()
DAndouKun.java35 import android.util.DisplayMetrics;
128 DisplayMetrics dm = new DisplayMetrics(); in onCreate()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPixelUtils.java23 import android.util.DisplayMetrics;
33 private static DisplayMetrics metrics;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java11 import android.util.DisplayMetrics;
40 targetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in GlideBitmapDrawable()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java54 import android.util.DisplayMetrics;
107 DisplayMetrics dm = new DisplayMetrics(); in onCreate()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java93 import android.util.DisplayMetrics;
244 if (data instanceof DisplayMetrics) { in build()
245 return buildDisplayMetrics((DisplayMetrics) data); in build()
329 private static Object buildDisplayMetrics(DisplayMetrics data) in buildDisplayMetrics()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java29 import android.util.DisplayMetrics;
73 private DisplayMetrics mMetrics;
275 mMetrics = new DisplayMetrics(); in inflate()
/external/chromium-trace/catapult/tracing/test_data/
Dddms_calculator_start.trace927 …es.Resources <init> (Landroid/content/res/AssetManager;Landroid/util/DisplayMetrics;Landroid/conte…
940 …ystemConfiguration (Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;Landroid/conte…
949 0x7108fae8 android.content.res.Resources getDisplayMetrics ()Landroid/util/DisplayMetrics; Resource…
964 …pdateConfiguration (Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;)V Resources.j…
965 …pdateConfiguration (Landroid/content/res/Configuration;Landroid/util/DisplayMetrics;Landroid/conte…
1181 0x710a69d8 android.graphics.drawable.RippleDrawable setTargetDensity (Landroid/util/DisplayMetrics;…
1633 0x710d5748 android.util.TypedValue applyDimension (IFLandroid/util/DisplayMetrics;)F TypedValue.java
1634 0x710d57a8 android.util.TypedValue complexToDimension (ILandroid/util/DisplayMetrics;)F TypedValue.…
1635 0x710d5808 android.util.TypedValue complexToDimensionPixelOffset (ILandroid/util/DisplayMetrics;)I …
1636 0x710d5838 android.util.TypedValue complexToDimensionPixelSize (ILandroid/util/DisplayMetrics;)I Ty…
[all …]
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...