Home
last modified time | relevance | path

Searched refs:widthPixels (Results 1 – 18 of 18) 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.java109 int screenWidth = dm.widthPixels; in onCreate()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java332 dm.put("widthPixels", data.widthPixels); in buildDisplayMetrics()
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...