D | MultiAttachmentLayout.java | 121 private static class Layout { class in MultiAttachmentLayout 123 public Layout(final Tile[] tilesArray) { in Layout() method in MultiAttachmentLayout.Layout 131 private static final Layout[] ATTACHMENT_LAYOUTS_BY_COUNT = { 134 new Layout(new Tile[] { Tile.large(0, 0), Tile.large(2, 0) }), // 2 items 135 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.wide(2, 1) }), // 3 items 136 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.small(2, 1), // 4+ items 143 private static final Layout[] ATTACHMENT_RTL_LAYOUTS_BY_COUNT = { 146 new Layout(new Tile[] { Tile.large(2, 0), Tile.large(0, 0)}), // 2 items 147 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.wide(0, 1) }), // 3 items 148 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.small(1, 1), // 4+ items [all …]
|