/packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/ |
D | XmlDictInputOutput.java | 297 public static void writeDictionaryXml(Writer destination, FusionDictionary dict) in writeDictionaryXml() argument 304 destination.write("<wordlist format=\"2\""); in writeDictionaryXml() 307 destination.write(" " + OPTIONS_KEY + "=\"" + GERMAN_UMLAUT_PROCESSING_OPTION + "\""); in writeDictionaryXml() 309 destination.write(" " + OPTIONS_KEY + "=\"" + FRENCH_LIGATURE_PROCESSING_OPTION + "\""); in writeDictionaryXml() 313 destination.write(" " + key + "=\"" + value + "\""); in writeDictionaryXml() 315 destination.write(">\n"); in writeDictionaryXml() 316 destination.write("<!-- Warning: there is no code to read this format yet. -->\n"); in writeDictionaryXml() 318 destination.write(" <" + WORD_TAG + " " + WORD_ATTR + "=\"" + word.mWord + "\" " in writeDictionaryXml() 321 destination.write("\n"); in writeDictionaryXml() 323 destination.write(" <" + SHORTCUT_TAG + " " + FREQUENCY_ATTR + "=\"" in writeDictionaryXml() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | StorageManager.java | 136 void verifySpaceBeforeWritingToFile(int destination, String path, long length) in verifySpaceBeforeWritingToFile() argument 143 verifySpace(destination, path, length); in verifySpaceBeforeWritingToFile() 146 void verifySpace(int destination, String path, long length) throws StopRequestException { in verifySpace() argument 150 Log.i(Constants.TAG, "in verifySpace, destination: " + destination + in verifySpace() 156 switch (destination) { in verifySpace() 179 throw new IllegalStateException("invalid combination of destination: " + destination + in verifySpace() 182 findSpace(dir, length, destination); in verifySpace() 190 private synchronized void findSpace(File root, long targetBytes, int destination) in findSpace() argument 195 if (destination == Downloads.Impl.DESTINATION_FILE_URI || in findSpace() 196 destination == Downloads.Impl.DESTINATION_EXTERNAL) { in findSpace() [all …]
|
D | Helpers.java | 78 int destination, in generateSaveFile() argument 81 checkCanHandleDownload(context, mimeType, destination, isPublicApi); in generateSaveFile() 84 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 87 base = storageManager.locateDestinationDirectory(mimeType, destination, in generateSaveFile() 90 destination); in generateSaveFile() 92 storageManager.verifySpace(destination, path, contentLength); in generateSaveFile() 93 path = getFullPath(path, mimeType, destination, base); in generateSaveFile() 100 static String getFullPath(String filename, String mimeType, int destination, File base) in getFullPath() argument 105 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in getFullPath() 119 extension = chooseExtensionFromFilename(mimeType, destination, filename, dotIndex); in getFullPath() [all …]
|
D | DownloadNotification.java | 225 int destination, long lastMod) { in notificationForCompletedDownload() argument 244 if (destination != Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION) { in notificationForCompletedDownload()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppShareInfo.java | 70 int direction, String destination, int visibility, int confirm, int status, in BluetoothOppShareInfo() argument 78 mDestination = destination; in BluetoothOppShareInfo()
|
D | BluetoothOppObexServerSession.java | 183 String destination; in onPut() local 185 destination = ((BluetoothOppRfcommTransport)mTransport).getRemoteAddress(); in onPut() 187 destination = "FF:FF:FF:00:00:00"; in onPut() 190 isWhitelisted(destination); in onPut() 272 values.put(BluetoothShare.DESTINATION, destination); in onPut()
|
D | BluetoothOppNotification.java | 124 String destination; // destination associated with this transfer field in BluetoothOppNotification.NotificationItem 248 String destination = cursor.getString(destinationIndex); in updateActiveNotification() local 280 item.destination = destination; in updateActiveNotification() 310 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, item.destination); in updateActiveNotification()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 305 Uri destination = getExternalUri(); in testDestination() local 306 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); in testDestination() 310 assertEquals(destination, localUri); in testDestination() 312 InputStream stream = new FileInputStream(destination.getPath()); in testDestination() 560 Uri destination = getExternalUri(); in testExistingFile() local 561 new File(destination.getPath()).createNewFile(); in testExistingFile() 563 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); in testExistingFile()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.h | 70 EdgePointer makeEdge(SitePointer origin, SitePointer destination);
|
D | Delaunay.cpp | 130 EdgePointer CDelaunay::makeEdge(SitePointer origin, SitePointer destination) in makeEdge() argument 140 orig(temp) = destination; in makeEdge()
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | Delaunay.h | 70 EdgePointer makeEdge(SitePointer origin, SitePointer destination);
|
D | Delaunay.cpp | 130 EdgePointer CDelaunay::makeEdge(SitePointer origin, SitePointer destination) in makeEdge() argument 140 orig(temp) = destination; in makeEdge()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictInputOutput.java | 995 public static void writeDictionaryBinary(final OutputStream destination, in writeDictionaryBinary() argument 1053 destination.write(bytes); in writeDictionaryBinary() 1055 headerBuffer.writeTo(destination); in writeDictionaryBinary() 1083 destination.write(buffer, 0, dataEndOffset); in writeDictionaryBinary() 1085 destination.close(); in writeDictionaryBinary()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CropImage.java | 955 private static void copyExif(MediaItem item, String destination, int newWidth, int newHeight) { in copyExif() argument 957 ExifInterface newExif = new ExifInterface(destination); in copyExif() 968 private static void copyExif(String source, String destination, int newWidth, int newHeight) { in copyExif() argument 971 ExifInterface newExif = new ExifInterface(destination); in copyExif()
|
/packages/apps/Email/src/org/apache/commons/io/ |
D | FileUtils.java | 951 public static void copyURLToFile(URL source, File destination) throws IOException { in copyURLToFile() argument 954 FileOutputStream output = openOutputStream(destination); in copyURLToFile()
|