Home
last modified time | relevance | path

Searched refs:widthPixels (Results 1 – 11 of 11) 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/v1/src/test/java/com/xtremelabs/robolectric/
DRobolectricTest.java152 assertThat(new Activity().getResources().getDisplayMetrics().widthPixels, equalTo(480)); in shouldUseSetDisplayForContexts()
161 assertThat(new Activity().getResources().getDisplayMetrics().widthPixels, equalTo(100)); in shouldUseSetDisplayForContexts()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDisplayTest.java35 assertEquals(1024, metrics.widthPixels); in shouldProvideDisplayMetrics()
DResourcesTest.java140 assertThat(activity.getResources().getDisplayMetrics().widthPixels, equalTo(480)); in displayMetricsShouldNotHaveLotsOfZeros()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDisplay.java38 outMetrics.widthPixels = width; in getMetrics()
/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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java108 int screenWidth = dm.widthPixels; in onCreate()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java338 dm.put("widthPixels", data.widthPixels); in buildDisplayMetrics()