/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/ |
H A D | XmpUtilHelper.java | 29 public static boolean writeXMPMeta(String filename, Object meta) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | CacheManager.java | 39 public static BlobCache getCache(Context context, String filename, argument 46 BlobCache cache = sCacheMap.get(filename); 49 String path = cacheDir.getAbsolutePath() + "/" + filename; 53 sCacheMap.put(filename, cache);
|
H A D | Profile.java | 147 public synchronized void dumpToFile(String filename) { argument 148 mProfileData.dumpToFile(filename); 203 public static void dumpToFile(String filename) { argument 204 sWatchdog.dumpToFile(filename);
|
H A D | ProfileData.java | 102 public void dumpToFile(String filename) { argument 104 mOut = new DataOutputStream(new FileOutputStream(filename));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | AssetFileAddress.java | 32 public AssetFileAddress(final String filename, final long offset, final long length) { argument 33 mFilename = filename; 41 * @param filename the filename. 44 public static AssetFileAddress makeFromFileName(final String filename) { argument 45 if (null == filename) return null; 46 final File f = new File(filename); 48 return new AssetFileAddress(filename, 0l, f.length()); 54 * @param filename the filename 59 makeFromFileNameAndOffset(final String filename, final long offset, final long length) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | AssetFileAddress.java | 32 public AssetFileAddress(final String filename, final long offset, final long length) { argument 33 mFilename = filename; 43 public static AssetFileAddress makeFromFileName(final String filename) { argument 44 if (null == filename) return null; 45 return makeFromFile(new File(filename)); 48 public static AssetFileAddress makeFromFileNameAndOffset(final String filename, argument 50 if (null == filename) return null; 51 final File f = new File(filename); 53 return new AssetFileAddress(filename, offset, length);
|
H A D | ReadOnlyBinaryDictionary.java | 40 public ReadOnlyBinaryDictionary(final String filename, final long offset, final long length, argument 43 mBinaryDictionary = new BinaryDictionary(filename, offset, length, useFullEditDistance,
|
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | utf16reader.cpp | 41 bool Utf16Reader::open(const char* filename, size_t buffer_len) { argument 42 if (filename == NULL) 58 if ((fp_ = fopen(filename, "rb")) == NULL)
|
H A D | sync.cpp | 35 bool Sync::begin(const char * filename) { argument 40 if (!filename) { 44 dictfile_ = strdup(filename);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadDrmHelper.java | 49 public static String modifyDrmFwLockFileExtension(String filename) { argument 50 if (filename != null) { 52 extensionIndex = filename.lastIndexOf("."); 54 filename = filename.substring(0, extensionIndex); 56 filename = filename.concat(EXTENSION_INTERNAL_FWDL); 58 return filename;
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | CacheManager.java | 40 public static BlobCache getCache(Context context, String filename, argument 47 BlobCache cache = sCacheMap.get(filename); 51 String path = cacheDir.getAbsolutePath() + "/" + filename; 56 sCacheMap.put(filename, cache);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
H A D | FileWriterWithEncoding.java | 60 * @param filename the name of the file to write to, not null
65 public FileWriterWithEncoding(String filename, String encoding) throws IOException {
argument 66 this(new File(filename), encoding, false);
72 * @param filename the name of the file to write to, not null
78 public FileWriterWithEncoding(String filename, String encoding, boolean append) throws IOException {
argument 79 this(new File(filename), encoding, append);
85 * @param filename the name of the file to write to, not null
90 public FileWriterWithEncoding(String filename, Charset encoding) throws IOException {
argument 91 this(new File(filename), encoding, false);
97 * @param filename th 103 FileWriterWithEncoding(String filename, Charset encoding, boolean append) argument 115 FileWriterWithEncoding(String filename, CharsetEncoder encoding) argument 128 FileWriterWithEncoding(String filename, CharsetEncoder encoding, boolean append) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | BinaryDictionaryDecayingTests.java | 75 private File createEmptyDictionaryAndGetFile(final String filename) throws IOException { argument 76 final File file = File.createTempFile(filename, TEST_DICT_FILE_EXTENSION,
|
H A D | BinaryDictionaryTests.java | 51 private File createEmptyDictionaryAndGetFile(final String filename) throws IOException { argument 52 final File file = File.createTempFile(filename, TEST_DICT_FILE_EXTENSION,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppReceiveFileInfo.java | 77 public BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream, argument 79 mFileName = filename; 94 String filename = null, hint = null, mimeType = null; 138 filename = choosefilename(hint); 139 if (filename == null) { 144 int dotIndex = filename.lastIndexOf("."); 153 extension = filename.substring(dotIndex); 154 filename = filename.substring(0, dotIndex); 156 filename 212 chooseUniquefilename(String filename, String extension) argument [all...] |
H A D | BluetoothOppShareInfo.java | 71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, argument 77 mFilename = filename;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
H A D | FileUtils.java | 74 * Get the filename for the specified raw resource id. Create the file if 80 * @return The mask filename 84 final String filename; 87 filename = "mask_countour.jpg"; 92 filename = "mask_diagonal.jpg"; 101 final File mf = new File(context.getFilesDir(), filename); 113 fos = context.openFileOutput(filename, Context.MODE_WORLD_READABLE); 144 final String filename = new File(path).getName(); 146 if (filename.equals("mask_countour.jpg")) { 148 } else if (filename 298 getSimpleName(String filename) argument [all...] |
H A D | ImageUtils.java | 67 * @param filename The filename 74 public static Bitmap scaleImage(String filename, int width, int height, int match) argument 78 BitmapFactory.decodeFile(filename, dbo); 100 srcBitmap = BitmapFactory.decodeFile(filename, options); 102 throw new IOException("Cannot decode file: " + filename); 123 * @param inputFilename The name of the input file (must be a JPEG filename) 165 * @param inputFilename The input filename
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
H A D | CombinedInputOutput.java | 62 * @param filename The name of the file to test. 65 public static boolean isCombinedDictionary(final String filename) { argument 68 reader = new BufferedReader(new FileReader(new File(filename)));
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 22 PgmImage::PgmImage(std::string filename) : argument 25 if ( !ReadPGM(filename) ) 109 bool PgmImage::ReadPGM(const std::string filename) argument 111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); 178 bool PgmImage::WritePGM(const std::string filename, const std::string comment) argument 195 ofstream out(filename.c_str(),std::ios::out |ios::binary);
|
/packages/apps/Camera/perftests/panorama/ |
H A D | benchmark.cpp | 35 char filename[512]; local 40 sprintf(filename, "%s_%03d.ppm", basename, i + 1); 41 if (stat(filename, &filestat) != 0) break; 42 ImageType rgbFrame = ImageUtils::readBinaryPPM(filename, width, height); 59 const char *filename; local 66 filename = argv[2]; 124 ImageUtils::writeBinaryPPM(imageRGB, filename, mosaicWidth,
|
/packages/apps/Camera2/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 22 PgmImage::PgmImage(std::string filename) : argument 25 if ( !ReadPGM(filename) ) 109 bool PgmImage::ReadPGM(const std::string filename) argument 111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); 178 bool PgmImage::WritePGM(const std::string filename, const std::string comment) argument 195 ofstream out(filename.c_str(),std::ios::out |ios::binary);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | XmpUtil.java | 40 * XMPMeta xmpMeta = XmpUtil.extractOrCreateXMPMeta(filename); 42 * XmpUtil.writeXMPMeta(filename, xmpMeta); 47 * XmpUtil.writeXMPMeta(filename, xmpMeta); 82 * @param filename JPEG image file name. 85 public static XMPMeta extractXMPMeta(String filename) { argument 86 if (!filename.toLowerCase().endsWith(".jpg") 87 && !filename.toLowerCase().endsWith(".jpeg")) { 93 return extractXMPMeta(new FileInputStream(filename)); 95 Log.e(TAG, "Could not read file: " + filename, e); 140 public static XMPMeta extractOrCreateXMPMeta(String filename) { argument 148 writeXMPMeta(String filename, XMPMeta meta) argument [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
H A D | PgmImage.cpp | 22 PgmImage::PgmImage(std::string filename) : argument 25 if ( !ReadPGM(filename) ) 109 bool PgmImage::ReadPGM(const std::string filename) argument 111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); 178 bool PgmImage::WritePGM(const std::string filename, const std::string comment) argument 195 ofstream out(filename.c_str(),std::ios::out |ios::binary);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | UsabilityStudyLogUtils.java | 283 private PrintWriter getPrintWriter(final File dir, final String filename, argument 285 mFile = new File(dir, filename);
|