Searched refs:widthPixels (Results 1 – 12 of 12) sorted by relevance
/external/deqp/framework/platform/android/ |
D | tcuAndroidUtil.hpp | 64 int widthPixels; member 74 , widthPixels (0) in DisplayMetrics()
|
D | tcuAndroidUtil.cpp | 451 metrics.widthPixels = getField<int> (env, *nativeMetrics, "widthPixels"); in getDisplayMetrics() 507 const int widthP = de::max(displayMetrics.widthPixels, displayMetrics.heightPixels); in getScreenClass() 508 const int heightP = de::min(displayMetrics.widthPixels, displayMetrics.heightPixels); in getScreenClass()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDisplayTest.java | 52 assertEquals(1024, metrics.widthPixels); in shouldProvideDisplayMetrics() 64 assertEquals(1400, metrics.widthPixels); in shouldProvideDisplayMetrics()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowDisplay.java | 72 outMetrics.widthPixels = width; in getMetrics() 95 outMetrics.widthPixels = realWidth; in getRealMetrics()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/ |
D | Bootstrap.java | 59 displayMetrics.widthPixels = displayMetrics.noncompatWidthPixels = widthPx; in fixJellyBean()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
D | MemorySizeCalculator.java | 103 return displayMetrics.widthPixels; in getWidthPixels()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | PixelUtils.java | 134 return metrics.widthPixels * fraction; in fractionToPixW()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | AndouKun.java | 133 if (dm.widthPixels != defaultWidth) { in onCreate() 134 float ratio =((float)dm.widthPixels) / dm.heightPixels; in onCreate() 170 … mGame.bootstrap(this, dm.widthPixels, dm.heightPixels, defaultWidth, defaultHeight, mDifficulty); in onCreate()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | BootstrapTest.java | 107 assertThat(displayMetrics.widthPixels).isEqualTo(480); in shouldSetUpRealisticDisplay() 142 assertThat(displayMetrics.widthPixels).isEqualTo(960); in shouldSetUpRealisticDisplay_landscapeHighDensity()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/ |
D | StylizeActivity.java | 396 int styleSelectorWidth = displayMetrics.widthPixels - styleSelectorHeight; in onPreviewSizeChosen()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
D | UberColorPickerDialog.java | 108 int screenWidth = dm.widthPixels; in onCreate()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
D | JsonBuilder.java | 371 dm.put("widthPixels", data.widthPixels); in buildDisplayMetrics()
|