Home | History | Annotate | Download | only in focus

Lines Matching refs:row

37  * when taking focus to best select the internal row to show as selected.
73 for (int row = 0; row < numRows; row++) {
75 if ((row % 2) == 0) {
76 assertEquals("row " + row + ": should be at left column",
77 row, mLeftColumn.getSelectedRow());
80 assertTrue("row " + row + ": should be at middle column",
82 assertEquals(row, mMiddleColumn.getSelectedRow());
85 assertTrue("row " + row + ": should be at right column",
87 assertEquals(row, mRightColumn.getSelectedRow());
89 if (row < numRows - 1) {
91 assertEquals(row + 1, mRightColumn.getSelectedRow());
94 assertTrue("row " + row + ": should be at right column",
98 assertTrue("row " + row + ": should be at middle column",
100 assertEquals(row, mMiddleColumn.getSelectedRow());
103 assertEquals("row " + row + ": should be at left column",
104 row, mLeftColumn.getSelectedRow());
106 if (row < numRows - 1) {
108 assertEquals(row + 1, mLeftColumn.getSelectedRow());