screen size: 240 x 400, WQVGA
cts: 2.1_r5
The following test case is failed:
android.dpi.cts.ConfigurationTest.testScreenLayoutSize
And there is no 240x400 resolution in the source:
private static final ScreenConfiguration[]
SUPPORTED_SCREEN_CONFIGS = {
// QVGA | low (100-140) | small
new ScreenConfiguration(240, 320, Density.LOW,
Configuration.SCREENLAYOUT_SIZE_SMALL),
// WQVGA | low (100-140) | normal
new ScreenConfiguration(240, 320, Density.LOW,
Configuration.SCREENLAYOUT_SIZE_SMALL, true),
// HVGA | medium (141-190) | normal
new ScreenConfiguration(480, 320, Density.MEDIUM,
Configuration.SCREENLAYOUT_SIZE_NORMAL),
new ScreenConfiguration(640, 240, Density.MEDIUM,
Configuration.SCREENLAYOUT_SIZE_NORMAL),
// WVGA | high (191-250) | normal
new ScreenConfiguration(640, 480, Density.HIGH,
Configuration.SCREENLAYOUT_SIZE_NORMAL, true),
// FWVGA | high (191-250) | normal
new ScreenConfiguration(864, 480, Density.HIGH,
Configuration.SCREENLAYOUT_SIZE_NORMAL),
// VGA | medium (141-190) | large
new ScreenConfiguration(640, 480, Density.MEDIUM,
Configuration.SCREENLAYOUT_SIZE_LARGE),
// WVGA | medium (141-190) | large
new ScreenConfiguration(640, 480, Density.MEDIUM,
Configuration.SCREENLAYOUT_SIZE_LARGE, true),
// FWVGA | medium (141-190) | large
new ScreenConfiguration(864, 480, Density.MEDIUM,
Configuration.SCREENLAYOUT_SIZE_LARGE),
};
The source file:
http://android.git.kernel.org/?p=platform/cts.git;a=blob;f=tests/tests/dpi/src/android/dpi/cts/ConfigurationTest.java;h=c03600a8bfed70df161e188e9fdc6c4401fadae8;hb=HEAD
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting