D | MultiAttachmentLayout.java | 120 private static class Layout { class in MultiAttachmentLayout 122 public Layout(final Tile[] tilesArray) { in Layout() method in MultiAttachmentLayout.Layout 130 private static final Layout[] ATTACHMENT_LAYOUTS_BY_COUNT = { 133 new Layout(new Tile[] { Tile.large(0, 0), Tile.large(2, 0) }), // 2 items 134 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.wide(2, 1) }), // 3 items 135 new Layout(new Tile[] { Tile.large(0, 0), Tile.wide(2, 0), Tile.small(2, 1), // 4+ items 142 private static final Layout[] ATTACHMENT_RTL_LAYOUTS_BY_COUNT = { 145 new Layout(new Tile[] { Tile.large(2, 0), Tile.large(0, 0)}), // 2 items 146 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.wide(0, 1) }), // 3 items 147 new Layout(new Tile[] { Tile.large(2, 0), Tile.wide(0, 0), Tile.small(1, 1), // 4+ items [all …]
|