Home
last modified time | relevance | path

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

/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp65 int heightPixels; member
75 , heightPixels (0) in DisplayMetrics()
DtcuAndroidUtil.cpp452 metrics.heightPixels = getField<int> (env, *nativeMetrics, "heightPixels"); 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.java153 assertThat(new Activity().getResources().getDisplayMetrics().heightPixels, equalTo(800)); in shouldUseSetDisplayForContexts()
162 assertThat(new Activity().getResources().getDisplayMetrics().heightPixels, equalTo(200)); in shouldUseSetDisplayForContexts()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDisplayTest.java36 assertEquals(600, metrics.heightPixels); in shouldProvideDisplayMetrics()
DResourcesTest.java139 assertThat(activity.getResources().getDisplayMetrics().heightPixels, equalTo(800)); in displayMetricsShouldNotHaveLotsOfZeros()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDisplay.java39 outMetrics.heightPixels = height; in getMetrics()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DMemorySizeCalculator.java108 return displayMetrics.heightPixels; in getHeightPixels()
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
DPixelUtils.java124 return metrics.heightPixels * fraction; in fractionToPixH()
/external/replicaisland/src/com/replica/replicaisland/
DAndouKun.java134 float ratio =((float)dm.widthPixels) / dm.heightPixels; in onCreate()
170 … mGame.bootstrap(this, dm.widthPixels, dm.heightPixels, defaultWidth, defaultHeight, mDifficulty); in onCreate()
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
DAndroidGraphics.java641 return new AndroidDisplayMode(metrics.widthPixels, metrics.heightPixels, 0, 0); in getDisplayMode()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DUberColorPickerDialog.java109 int screenHeight = dm.heightPixels; in onCreate()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java336 dm.put("heightPixels", data.heightPixels); in buildDisplayMetrics()