(int fontSize0)
| 96 | BitmapFont font; |
| 97 | |
| 98 | private FSkinFont(int fontSize0) { |
| 99 | if (fontSize0 > MAX_FONT_SIZE) { |
| 100 | scale = (float)fontSize0 / MAX_FONT_SIZE; |
| 101 | } |
| 102 | else if (fontSize0 < MIN_FONT_SIZE) { |
| 103 | scale = (float)fontSize0 / MIN_FONT_SIZE; |
| 104 | } |
| 105 | else { |
| 106 | scale = 1; |
| 107 | } |
| 108 | fontSize = fontSize0; |
| 109 | updateFont(); |
| 110 | } |
| 111 | static int indexOf (CharSequence text, char ch, int start) { |
| 112 | final int n = text.length(); |
| 113 | for (; start < n; start++) |
nothing calls this directly
no test coverage detected