D | MockFontProvider.java | 62 static class Font { class in MockFontProvider 63 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() method in MockFontProvider.Font 117 private static Map<String, Font[]> QUERY_MAP; 119 HashMap<String, Font[]> map = new HashMap<>(); 122 map.put(SINGLE_FONT_FAMILY_QUERY, new Font[] { in map.put() 123 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK, true), in map.put() 126 map.put(MULTIPLE_FAMILY_QUERY, new Font[] { in map.put() 127 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK, true), in map.put() 128 new Font(id++, SAMPLE_FONT_FILE_1_ID, 0, null, 400, 1, Columns.RESULT_CODE_OK, true), in map.put() 129 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK, true), in map.put() [all …]
|