| | |
| | | lineNum = 1; |
| | | } else if (totalImg == 3) { |
| | | lineNum = 3; |
| | | } else if (totalImg <= 4) { |
| | | } else if (totalImg == 2 || totalImg == 4) { |
| | | lineNum = 2; |
| | | } else { |
| | | lineNum = 3; |
| | |
| | | lineNum = 1; |
| | | } else if (totalImg == 3) { |
| | | lineNum = 3; |
| | | } else if (totalImg <= 4) { |
| | | } else if (totalImg == 2 || totalImg == 4) { |
| | | lineNum = 2; |
| | | } else { |
| | | lineNum = 3; |
| | |
| | | lineNum = 1; |
| | | } else if (totalImg == 3) { |
| | | lineNum = 3; |
| | | } else if (totalImg <= 4) { |
| | | } else if (totalImg == 2 || totalImg == 4) { |
| | | lineNum = 2; |
| | | } else { |
| | | lineNum = 3; |
| | |
| | | lineNum = 1; |
| | | } else if (totalImg == 3) { |
| | | lineNum = 3; |
| | | } else if (totalImg <= 4) { |
| | | } else if (totalImg == 2 || totalImg == 4) { |
| | | lineNum = 2; |
| | | } else { |
| | | lineNum = 3; |
| | |
| | | lineNum = 1; |
| | | } else if (imgList.size() == 3) { |
| | | lineNum = 3; |
| | | } else if (imgList.size() <= 4) { |
| | | } else if (imgList.size() == 2 || imgList.size() == 4) { |
| | | lineNum = 2; |
| | | } else { |
| | | lineNum = 3; |
| | |
| | | lineNum = 1; |
| | | } else if (imgList.size() == 3) { |
| | | lineNum = 3; |
| | | } else if (imgList.size() <= 4) { |
| | | } else if (imgList.size() == 2 || imgList.size() == 4) { |
| | | lineNum = 2; |
| | | } else { |
| | | lineNum = 3; |