Home
last modified time | relevance | path

Searched refs:FILE_PREFIX (Results 1 – 5 of 5) sorted by relevance

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaImageDecoder.java26 private static final String FILE_PREFIX = "file://"; field in SkiaImageDecoder
27 private static final String ASSET_PREFIX = FILE_PREFIX + "/android_asset/";
83 } else if (uriString.startsWith(FILE_PREFIX)) { in decode()
84 bitmap = BitmapFactory.decodeFile(uriString.substring(FILE_PREFIX.length()), options); in decode()
DSkiaImageRegionDecoder.java38 private static final String FILE_PREFIX = "file://"; field in SkiaImageRegionDecoder
39 private static final String ASSET_PREFIX = FILE_PREFIX + "/android_asset/";
92 } else if (uriString.startsWith(FILE_PREFIX)) { in init()
93 … decoder = BitmapRegionDecoder.newInstance(uriString.substring(FILE_PREFIX.length()), false); in init()
DSkiaPooledImageRegionDecoder.java65 private static final String FILE_PREFIX = "file://"; field in SkiaPooledImageRegionDecoder
66 private static final String ASSET_PREFIX = FILE_PREFIX + "/android_asset/";
197 } else if (uriString.startsWith(FILE_PREFIX)) { in initialiseDecoder()
198 … decoder = BitmapRegionDecoder.newInstance(uriString.substring(FILE_PREFIX.length()), false); in initialiseDecoder()
/external/python/cpython3/Lib/lib2to3/
Drefactor.py161 FILE_PREFIX = "fix_" # The prefix for modules with a fixer within variable in RefactoringTool
228 if fix_name.startswith(self.FILE_PREFIX):
229 fix_name = fix_name[len(self.FILE_PREFIX):]
/external/python/cpython2/Lib/lib2to3/
Drefactor.py180 FILE_PREFIX = "fix_" # The prefix for modules with a fixer within variable in RefactoringTool
247 if fix_name.startswith(self.FILE_PREFIX):
248 fix_name = fix_name[len(self.FILE_PREFIX):]