/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowDisplayManager.java | 9 import android.util.DisplayMetrics; 40 …public static void configureDefaultDisplay(Configuration configuration, DisplayMetrics displayMetr… in configureDefaultDisplay() 49 …private static DisplayInfo createDisplayInfo(Configuration configuration, DisplayMetrics displayMe… in createDisplayInfo() 99 DisplayMetrics displayMetrics = new DisplayMetrics(); in createDisplayInfo() 107 configuration.screenWidthDp = baseDisplayInfo.logicalWidth * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo() 109 configuration.screenHeightDp = baseDisplayInfo.logicalHeight * DisplayMetrics.DENSITY_DEFAULT in createDisplayInfo() 114 baseDisplayInfo.logicalDensityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in createDisplayInfo()
|
D | ShadowDisplay.java | 9 import android.util.DisplayMetrics; 67 protected void getMetrics(DisplayMetrics outMetrics) { in getMetrics() 69 outMetrics.density = densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in getMetrics() 92 protected void getRealMetrics(DisplayMetrics outMetrics) { in getRealMetrics() 170 setDensityDpi((int) (density * DisplayMetrics.DENSITY_DEFAULT)); in setDensity() 399 void configureForJBOnly(Configuration configuration, DisplayMetrics displayMetrics) { in configureForJBOnly() 412 scaledDensity = displayMetrics.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in configureForJBOnly()
|
D | ShadowPackageParser.java | 8 import android.util.DisplayMetrics; 47 from(DisplayMetrics.class, new DisplayMetrics()), in callParsePackage()
|
D | ShadowViewConfiguration.java | 24 import android.util.DisplayMetrics; 73 DisplayMetrics metrics = context.getResources().getDisplayMetrics(); in setup()
|
D | ShadowWindowManagerImpl.java | 8 import android.util.DisplayMetrics; 34 Configuration configuration, DisplayMetrics displayMetrics) { in configureDefaultDisplayForJBOnly()
|
D | ShadowBitmap.java | 13 import android.util.DisplayMetrics; 194 return createBitmap((DisplayMetrics) null, width, height, config); in createBitmap() 199 DisplayMetrics displayMetrics, in createBitmap() 204 return createBitmap((DisplayMetrics) null, width, height, config); in createBitmap() 209 DisplayMetrics displayMetrics, int width, int height, Bitmap.Config config) { in createBitmap()
|
D | ShadowDrawable.java | 13 import android.util.DisplayMetrics; 64 opts.inScreenDensity = DisplayMetrics.DENSITY_DEFAULT; in createFromResourceStream()
|
D | ShadowResources.java | 24 import android.util.DisplayMetrics; 77 DisplayMetrics metrics = new DisplayMetrics(); in getSystem()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDisplayTest.java | 10 import android.util.DisplayMetrics; 35 shadow.setDensityDpi(DisplayMetrics.DENSITY_HIGH); in shouldProvideDisplayMetrics() 45 DisplayMetrics metrics = new DisplayMetrics(); in shouldProvideDisplayMetrics() 50 assertEquals(DisplayMetrics.DENSITY_HIGH, metrics.densityDpi); in shouldProvideDisplayMetrics() 57 metrics = new DisplayMetrics(); in shouldProvideDisplayMetrics() 62 assertEquals(DisplayMetrics.DENSITY_HIGH, metrics.densityDpi); in shouldProvideDisplayMetrics()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | Bootstrap.java | 6 import android.util.DisplayMetrics; 14 public static void setUpDisplay(Configuration configuration, DisplayMetrics displayMetrics) { in setUpDisplay() 23 Configuration configuration, DisplayMetrics displayMetrics) { in applyQualifiers() 55 private static void fixJellyBean(Configuration configuration, DisplayMetrics displayMetrics) { in fixJellyBean()
|
D | DeviceConfig.java | 8 import android.util.DisplayMetrics; 98 Configuration configuration, DisplayMetrics displayMetrics) { in applyToConfiguration() 231 DisplayMetrics displayMetrics) { in setDensity() 236 displayMetrics.density = displayMetrics.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in setDensity() 243 static void applyRules(Configuration configuration, DisplayMetrics displayMetrics, int apiLevel) { in applyRules()
|
D | ConfigurationV25.java | 12 import android.util.DisplayMetrics; 70 …public static String resourceQualifierString(Configuration config, DisplayMetrics displayMetrics) { in resourceQualifierString() 74 …public static String resourceQualifierString(Configuration config, DisplayMetrics displayMetrics, … in resourceQualifierString()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | DisplayFacade.java | 25 import android.util.DisplayMetrics; 89 public DisplayMetrics displayGetRealMetrics( in displayGetRealMetrics() 94 DisplayMetrics outMetrics = new DisplayMetrics(); in displayGetRealMetrics()
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.hpp | 58 struct DisplayMetrics struct 70 DisplayMetrics (void) in DisplayMetrics() function 82 DisplayMetrics getDisplayMetrics (ANativeActivity* activity);
|
D | tcuAndroidUtil.cpp | 432 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/ |
D | RuntimeEnvironment.java | 9 import android.util.DisplayMetrics; 108 public static String getQualifiers(Configuration configuration, DisplayMetrics displayMetrics) { in getQualifiers() 123 DisplayMetrics displayMetrics = new DisplayMetrics(); in setQualifiers()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | BootstrapTest.java | 47 import android.util.DisplayMetrics; 63 private DisplayMetrics displayMetrics; 69 displayMetrics = new DisplayMetrics(); in setUp() 105 DisplayMetrics displayMetrics = in shouldSetUpRealisticDisplay() 140 DisplayMetrics displayMetrics = in shouldSetUpRealisticDisplay_landscapeHighDensity() 170 assertThat(configuration.densityDpi).isEqualTo(DisplayMetrics.DENSITY_DEFAULT); in applyQualifiers_shouldAddDefaults() 172 assertThat(displayMetrics.densityDpi).isEqualTo(DisplayMetrics.DENSITY_DEFAULT); in applyQualifiers_shouldAddDefaults() 238 assertThat(configuration.densityDpi).isEqualTo(DisplayMetrics.DENSITY_HIGH); in applyQualifiers_shouldHonorSpecifiedQualifiers() 240 assertThat(displayMetrics.densityDpi).isEqualTo(DisplayMetrics.DENSITY_HIGH); in applyQualifiers_shouldHonorSpecifiedQualifiers()
|
D | DeviceConfigTest.java | 8 import android.util.DisplayMetrics; 22 private DisplayMetrics displayMetrics; 29 displayMetrics = new DisplayMetrics(); in setUp()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
D | MemorySizeCalculator.java | 7 import android.util.DisplayMetrics; 95 private final DisplayMetrics displayMetrics; 97 public DisplayMetricsScreenDimensions(DisplayMetrics displayMetrics) { in DisplayMetricsScreenDimensions()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | AnimationPlayerActivity.java | 28 import android.util.DisplayMetrics; 89 DisplayMetrics metrics = new DisplayMetrics(); in onCreate()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | PixelUtils.java | 23 import android.util.DisplayMetrics; 33 private static DisplayMetrics metrics;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | GlideBitmapDrawable.java | 11 import android.util.DisplayMetrics; 40 targetDensity = density == 0 ? DisplayMetrics.DENSITY_DEFAULT : density; in GlideBitmapDrawable()
|
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/ |
D | PartnerConfigHelper.java | 33 import android.util.DisplayMetrics; 364 DisplayMetrics displayMetrics = context.getResources().getDisplayMetrics(); in getDimensionFromTypedValue()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | ParallelUniverse.java | 31 import android.util.DisplayMetrics; 106 DisplayMetrics displayMetrics = new DisplayMetrics(); in setUpApplicationState()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | StylizeActivity.java | 36 import android.util.DisplayMetrics; 393 DisplayMetrics displayMetrics = new DisplayMetrics(); in onPreviewSizeChosen()
|