Lines Matching refs:WIDTH
26 private static final int WIDTH = 10;
29 private static final int KEYBOARD_WIDTH = WIDTH * 10;
30 private static final int XPOS_L0 = WIDTH * 0 + WIDTH / 2;
31 private static final int XPOS_L1 = WIDTH * 1 + WIDTH / 2;
32 private static final int XPOS_L2 = WIDTH * 2 + WIDTH / 2;
33 private static final int XPOS_L3 = WIDTH * 3 + WIDTH / 2;
34 private static final int XPOS_M0 = WIDTH * 4 + WIDTH / 2;
35 private static final int XPOS_M1 = WIDTH * 5 + WIDTH / 2;
36 private static final int XPOS_R3 = WIDTH * 6 + WIDTH / 2;
37 private static final int XPOS_R2 = WIDTH * 7 + WIDTH / 2;
38 private static final int XPOS_R1 = WIDTH * 8 + WIDTH / 2;
39 private static final int XPOS_R0 = WIDTH * 9 + WIDTH / 2;
49 params.setParameters(numKeys, columnNum, WIDTH, HEIGHT, coordXInParent, KEYBOARD_WIDTH,
57 final int fixColumns = KEYBOARD_WIDTH / WIDTH;
79 assertEquals("1 key fix 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX());
91 assertEquals("1 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
103 assertEquals("1 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
115 assertEquals("1 key fix 5 L2 default", WIDTH * 0, params.getDefaultKeyCoordX());
127 assertEquals("1 key fix 5 R0 default", WIDTH * 0, params.getDefaultKeyCoordX());
139 assertEquals("1 key fix 5 R1 default", WIDTH * 0, params.getDefaultKeyCoordX());
151 assertEquals("1 key fix 5 R2 default", WIDTH * 0, params.getDefaultKeyCoordX());
164 assertEquals("2 key fix 5 M0 default", WIDTH * 0, params.getDefaultKeyCoordX());
177 assertEquals("2 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
190 assertEquals("2 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
203 assertEquals("2 key fix 5 L2 default", WIDTH * 0, params.getDefaultKeyCoordX());
216 assertEquals("2 key fix 5 R0 default", WIDTH * 1, params.getDefaultKeyCoordX());
229 assertEquals("2 key fix 5 R1 default", WIDTH * 1, params.getDefaultKeyCoordX());
242 assertEquals("2 key fix 5 R2 default", WIDTH * 0, params.getDefaultKeyCoordX());
257 assertEquals("3 key fix 2 M0 default", WIDTH * 0, params.getDefaultKeyCoordX());
272 assertEquals("3 key fix 2 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
287 assertEquals("3 key fix 2 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
302 assertEquals("3 key fix 2 L2 default", WIDTH * 0, params.getDefaultKeyCoordX());
317 assertEquals("3 key fix 2 R0 default", WIDTH * 1, params.getDefaultKeyCoordX());
332 assertEquals("3 key fix 2 R1 default", WIDTH * 1, params.getDefaultKeyCoordX());
347 assertEquals("3 key fix 2 R2 default", WIDTH * 0, params.getDefaultKeyCoordX());
363 assertEquals("3 key fix 2 M0 default", WIDTH * 0, params.getDefaultKeyCoordX());
379 assertEquals("3 key fix 2 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
395 assertEquals("3 key fix 2 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
411 assertEquals("3 key fix 2 L2 default", WIDTH * 0, params.getDefaultKeyCoordX());
427 assertEquals("3 key fix 2 R0 default", WIDTH * 1, params.getDefaultKeyCoordX());
443 assertEquals("3 key fix 2 R1 default", WIDTH * 1, params.getDefaultKeyCoordX());
459 assertEquals("3 key fix 2 R2 default", WIDTH * 0, params.getDefaultKeyCoordX());
473 assertEquals("3 key fix 5 default", WIDTH * 1, params.getDefaultKeyCoordX());
487 assertEquals("3 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
501 assertEquals("3 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
515 assertEquals("3 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
529 assertEquals("3 key fix 5 R0 default", WIDTH * 2, params.getDefaultKeyCoordX());
543 assertEquals("3 key fix 5 R1 default", WIDTH * 2, params.getDefaultKeyCoordX());
557 assertEquals("3 key fix 5 R2 default", WIDTH * 1, params.getDefaultKeyCoordX());
573 assertEquals("4 key fix 3 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
589 assertEquals("4 key fix 3 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
605 assertEquals("4 key fix 3 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
621 assertEquals("4 key fix 3 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
637 assertEquals("4 key fix 3 R0 default", WIDTH * 2, params.getDefaultKeyCoordX());
653 assertEquals("4 key fix 3 R1 default", WIDTH * 2, params.getDefaultKeyCoordX());
669 assertEquals("4 key fix 3 R2 default", WIDTH * 1, params.getDefaultKeyCoordX());
686 assertEquals("5 key fix 3 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
703 assertEquals("5 key fix 3 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
720 assertEquals("5 key fix 3 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
737 assertEquals("5 key fix 3 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
754 assertEquals("5 key fix 3 R0 default", WIDTH * 2, params.getDefaultKeyCoordX());
771 assertEquals("5 key fix 3 R1 default", WIDTH * 2, params.getDefaultKeyCoordX());
788 assertEquals("5 key fix 3 R2 default", WIDTH * 1, params.getDefaultKeyCoordX());
806 assertEquals("6 key fix 3 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
824 assertEquals("6 key fix 3 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
842 assertEquals("6 key fix 3 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
860 assertEquals("6 key fix 3 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
878 assertEquals("6 key fix 3 R0 default", WIDTH * 2, params.getDefaultKeyCoordX());
896 assertEquals("6 key fix 3 R1 default", WIDTH * 2, params.getDefaultKeyCoordX());
914 assertEquals("6 key fix 3 R2 default", WIDTH * 1, params.getDefaultKeyCoordX());
929 assertEquals("4 key fix 5 default", WIDTH * 1, params.getDefaultKeyCoordX());
944 assertEquals("4 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
959 assertEquals("4 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
974 assertEquals("4 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
989 assertEquals("4 key fix 5 R0 default", WIDTH * 3, params.getDefaultKeyCoordX());
1004 assertEquals("4 key fix 5 R1 default", WIDTH * 3, params.getDefaultKeyCoordX());
1019 assertEquals("4 key fix 5 R2 default", WIDTH * 2, params.getDefaultKeyCoordX());
1036 assertEquals("5 key fix 4 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
1053 assertEquals("5 key fix 4 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1070 assertEquals("5 key fix 4 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1087 assertEquals("5 key fix 4 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1104 assertEquals("5 key fix 4 R0 default", WIDTH * 3, params.getDefaultKeyCoordX());
1121 assertEquals("5 key fix 4 R1 default", WIDTH * 3, params.getDefaultKeyCoordX());
1138 assertEquals("5 key fix 4 R2 default", WIDTH * 2, params.getDefaultKeyCoordX());
1156 assertEquals("6 key fix 4 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
1174 assertEquals("6 key fix 4 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1192 assertEquals("6 key fix 4 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1210 assertEquals("6 key fix 4 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1228 assertEquals("6 key fix 4 R0 default", WIDTH * 3, params.getDefaultKeyCoordX());
1246 assertEquals("6 key fix 4 R1 default", WIDTH * 3, params.getDefaultKeyCoordX());
1264 assertEquals("6 key fix 4 R2 default", WIDTH * 2, params.getDefaultKeyCoordX());
1283 assertEquals("7 key fix 4 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
1302 assertEquals("7 key fix 4 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1321 assertEquals("7 key fix 4 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1340 assertEquals("7 key fix 4 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1359 assertEquals("7 key fix 4 R0 default", WIDTH * 3, params.getDefaultKeyCoordX());
1378 assertEquals("7 key fix 4 R1 default", WIDTH * 3, params.getDefaultKeyCoordX());
1397 assertEquals("7 key fix 4 R2 default", WIDTH * 2, params.getDefaultKeyCoordX());
1417 assertEquals("8 key fix 4 M0 default", WIDTH * 1, params.getDefaultKeyCoordX());
1437 assertEquals("8 key fix 4 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1457 assertEquals("8 key fix 4 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1477 assertEquals("8 key fix 4 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1497 assertEquals("8 key fix 4 R0 default", WIDTH * 3, params.getDefaultKeyCoordX());
1517 assertEquals("8 key fix 4 R1 default", WIDTH * 3, params.getDefaultKeyCoordX());
1537 assertEquals("8 key fix 4 R2 default", WIDTH * 2, params.getDefaultKeyCoordX());
1553 assertEquals("5 key fix 5 default", WIDTH * 2, params.getDefaultKeyCoordX());
1569 assertEquals("5 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1585 assertEquals("5 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1601 assertEquals("5 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1617 assertEquals("5 key fix 5 R0 default", WIDTH * 4, params.getDefaultKeyCoordX());
1633 assertEquals("5 key fix 5 R1 default", WIDTH * 4, params.getDefaultKeyCoordX());
1649 assertEquals("5 key fix 5 R2 default", WIDTH * 3, params.getDefaultKeyCoordX());
1667 assertEquals("6 key fix 5 default", WIDTH * 2, params.getDefaultKeyCoordX());
1685 assertEquals("6 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1703 assertEquals("6 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1721 assertEquals("6 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1739 assertEquals("6 key fix 5 R0 default", WIDTH * 4, params.getDefaultKeyCoordX());
1757 assertEquals("6 key fix 5 R1 default", WIDTH * 4, params.getDefaultKeyCoordX());
1775 assertEquals("6 key fix 5 R2 default", WIDTH * 3, params.getDefaultKeyCoordX());
1794 assertEquals("7 key fix 5 default", WIDTH * 2, params.getDefaultKeyCoordX());
1813 assertEquals("7 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1832 assertEquals("7 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1851 assertEquals("7 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
1870 assertEquals("7 key fix 5 R0 default", WIDTH * 4, params.getDefaultKeyCoordX());
1889 assertEquals("7 key fix 5 R1 default", WIDTH * 4, params.getDefaultKeyCoordX());
1908 assertEquals("7 key fix 5 R2 default", WIDTH * 3, params.getDefaultKeyCoordX());
1928 assertEquals("8 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
1948 assertEquals("8 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
1968 assertEquals("8 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
1988 assertEquals("8 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
2008 assertEquals("8 key fix 5 R0 default", WIDTH * 4, params.getDefaultKeyCoordX());
2028 assertEquals("8 key fix 5 R1 default", WIDTH * 4, params.getDefaultKeyCoordX());
2048 assertEquals("8 key fix 5 R2 default", WIDTH * 3, params.getDefaultKeyCoordX());
2069 assertEquals("9 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
2090 assertEquals("9 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
2111 assertEquals("9 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
2132 assertEquals("9 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
2153 assertEquals("9 key fix 5 R0 default", WIDTH * 4, params.getDefaultKeyCoordX());
2174 assertEquals("9 key fix 5 R1 default", WIDTH * 4, params.getDefaultKeyCoordX());
2195 assertEquals("9 key fix 5 R2 default", WIDTH * 3, params.getDefaultKeyCoordX());
2217 assertEquals("10 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
2239 assertEquals("10 key fix 5 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
2261 assertEquals("10 key fix 5 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
2283 assertEquals("10 key fix 5 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
2305 assertEquals("10 key fix 5 R0 default", WIDTH * 4, params.getDefaultKeyCoordX());
2327 assertEquals("10 key fix 5 R1 default", WIDTH * 4, params.getDefaultKeyCoordX());
2349 assertEquals("10 key fix 5 R2 default", WIDTH * 3, params.getDefaultKeyCoordX());
2373 assertEquals("11 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
2398 assertEquals("12 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
2424 assertEquals("13 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
2451 assertEquals("14 key fix 5 M0 default", WIDTH * 2, params.getDefaultKeyCoordX());
2469 assertEquals("7 key fix 7 L0 default", WIDTH * 0, params.getDefaultKeyCoordX());
2487 assertEquals("7 key fix 7 L1 default", WIDTH * 0, params.getDefaultKeyCoordX());
2505 assertEquals("7 key fix 7 L2 default", WIDTH * 1, params.getDefaultKeyCoordX());
2523 assertEquals("7 key fix 7 L3 default", WIDTH * 2, params.getDefaultKeyCoordX());
2541 assertEquals("7 key fix 7 M0 default", WIDTH * 3, params.getDefaultKeyCoordX());
2559 assertEquals("7 key fix 7 M1 default", WIDTH * 3, params.getDefaultKeyCoordX());
2577 assertEquals("7 key fix 7 R3 default", WIDTH * 4, params.getDefaultKeyCoordX());
2595 assertEquals("7 key fix 7 R2 default", WIDTH * 5, params.getDefaultKeyCoordX());
2613 assertEquals("7 key fix 7 R1 default", WIDTH * 6, params.getDefaultKeyCoordX());
2631 assertEquals("7 key fix 7 R0 default", WIDTH * 6, params.getDefaultKeyCoordX());