@Test public void testPutFontDO() throws Exception { FontDO font = new FontDO("test","url('local: TypefaceUtil.putFontDO(font); assertEquals(TypefaceUtil.getFontDO("test").getUrl(),"local: }
public static void putFontDO(FontDO fontDO) { if (fontDO != null && !TextUtils.isEmpty(fontDO.getFontFamilyName())) { sCacheMap.put(fontDO.getFontFamilyName(), fontDO); } }
TypefaceUtil { public static void putFontDO(FontDO fontDO) { if (fontDO != null && !TextUtils.isEmpty(fontDO.getFontFamilyName())) { sCacheMap.put(fontDO.getFontFamilyName(), fontDO); } } }
TypefaceUtil { public static void putFontDO(FontDO fontDO) { if (fontDO != null && !TextUtils.isEmpty(fontDO.getFontFamilyName())) { sCacheMap.put(fontDO.getFontFamilyName(), fontDO); } }  }
TypefaceUtil { public static void putFontDO(FontDO fontDO) { if (fontDO != null && !TextUtils.isEmpty(fontDO.getFontFamilyName())) { sCacheMap.put(fontDO.getFontFamilyName(), fontDO); } }  static void putFontDO(FontDO fontDO); static FontDO getFontDO(String fontFamilyName); static void applyFontStyle(Paint paint, int style, int weight, String family); static Typeface getOrCreateTypeface(String family, int style); static void loadTypeface(final FontDO fontDo); }
TypefaceUtil { public static void putFontDO(FontDO fontDO) { if (fontDO != null && !TextUtils.isEmpty(fontDO.getFontFamilyName())) { sCacheMap.put(fontDO.getFontFamilyName(), fontDO); } }  static void putFontDO(FontDO fontDO); static FontDO getFontDO(String fontFamilyName); static void applyFontStyle(Paint paint, int style, int weight, String family); static Typeface getOrCreateTypeface(String family, int style); static void loadTypeface(final FontDO fontDo); static final String FONT_CACHE_DIR_NAME; }