MCPcopy Create free account
hub / github.com/buggins/coolreader / accept

Method accept

android/src/org/coolreader/crengine/Engine.java:1088–1094  ·  view source on GitHub ↗
(File dir, String filename)

Source from the content-addressed store, hash-verified

1086 // get font names
1087 String[] fileList = fontDir.list(new FilenameFilter() {
1088 public boolean accept(File dir, String filename) {
1089 String lc = filename.toLowerCase();
1090 return (lc.endsWith(".ttf") || lc.endsWith(".otf")
1091 || lc.endsWith(".pfb") || lc.endsWith(".pfa"))
1092// && !filename.endsWith("Fallback.ttf")
1093 ;
1094 }
1095 });
1096 // append path
1097 for (int i = 0; i < fileList.length; i++) {

Callers 1

wheelEventMethod · 0.80

Calls 1

endsWithMethod · 0.80

Tested by

no test coverage detected