Searched refs:slashIndex (Results 1 – 2 of 2) sorted by relevance
421 int slashIndex = mimeType.indexOf('/'); in createMime() local422 if (slashIndex == 0) throw new IllegalArgumentException("mimeType must have major type"); in createMime()423 if (slashIndex == mimeType.length() - 1) { in createMime()
1557 int slashIndex = path.indexOf('/', offset);1558 if (slashIndex > offset) {1559 slashIndex++; // move past slash1560 File file = new File(path.substring(0, slashIndex) + ".nomedia");1567 offset = slashIndex;