Home | History | Annotate | Download | only in inputmethodservice

Lines Matching refs:Row

49  *     <Row android:keyWidth="32px" >
52 * </Row>
67 private static final String TAG_ROW = "Row";
148 private ArrayList<Row> rows = new ArrayList<Row>();
151 * Container for keys in the keyboard. All keys in a row are at the same Y-coordinate.
152 * Some of the key size defaults can be overridden per row from what the {@link Keyboard}
161 public static class Row {
162 /** Default width of a key in this row. */
164 /** Default height of a key in this row. */
166 /** Default horizontal gap between keys in this row. */
168 /** Vertical gap following this row. */
174 * Edge flags for this row of keys. Possible values that can be assigned are
179 /** The keyboard mode for this row */
184 public Row(Keyboard parent) {
188 public Row(Resources res, Keyboard parent, XmlResourceParser parser) {
314 public Key(Row parent) {
325 * @param parent the row that this key belongs to. The row must already be attached to
331 public Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) {
577 * possible in each row.</p>
583 * number of keys that can fit in a row, it will be ignored. If this number is -1, the
584 * keyboard will fit as many keys as possible in each row.
594 Row row = new Row(this);
595 row.defaultHeight = mDefaultHeight;
596 row.defaultWidth = mDefaultWidth;
597 row.defaultHorizontalGap = mDefaultHorizontalGap;
598 row.verticalGap = mDefaultVerticalGap;
599 row.rowEdgeFlags = EDGE_TOP | EDGE_BOTTOM;
609 final Key key = new Key(row);
617 row.mKeys.add(key);
623 rows.add(row);
629 Row row = rows.get(rowIndex);
630 int numKeys = row.mKeys.size();
634 Key key = row.mKeys.get(keyIndex);
644 Key key = row.mKeys.get(keyIndex);
783 protected Row createRowFromXml(Resources res, XmlResourceParser parser) {
784 return new Row(res, this, parser);
787 protected Key createKeyFromXml(Resources res, Row parent, int x, int y,
796 int row = 0;
800 Row currentRow = null;
851 row++;