Home
last modified time | relevance | path

Searched refs:widthPixels (Results 1 – 12 of 12) sorted by relevance

/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp64 int widthPixels; member
74 , widthPixels (0) in DisplayMetrics()
DtcuAndroidUtil.cpp451 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/
DShadowDisplayTest.java52 assertEquals(1024, metrics.widthPixels); in shouldProvideDisplayMetrics()
64 assertEquals(1400, metrics.widthPixels); in shouldProvideDisplayMetrics()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java72 outMetrics.widthPixels = width; in getMetrics()
95 outMetrics.widthPixels = realWidth; in getRealMetrics()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DBootstrap.java59 displayMetrics.widthPixels = displayMetrics.noncompatWidthPixels = widthPx; in fixJellyBean()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DMemorySizeCalculator.java103 return displayMetrics.widthPixels; in getWidthPixels()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPixelUtils.java134 return metrics.widthPixels * fraction; in fractionToPixW()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java133 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/
DBootstrapTest.java107 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/
DStylizeActivity.java396 int styleSelectorWidth = displayMetrics.widthPixels - styleSelectorHeight; in onPreviewSizeChosen()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java108 int screenWidth = dm.widthPixels; in onCreate()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java371 dm.put("widthPixels", data.widthPixels); in buildDisplayMetrics()