Home
last modified time | relevance | path

Searched refs:mOutStream (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer2DictEncoder.java45 private OutputStream mOutStream; field in Ver2DictEncoder
55 mOutStream = null; in Ver2DictEncoder()
66 mOutStream = outStream; in Ver2DictEncoder()
71 mOutStream = new FileOutputStream(mDictFile); in openStream()
75 if (mOutStream != null) { in close()
76 mOutStream.close(); in close()
77 mOutStream = null; in close()
134 if (mOutStream == null) { in writeDictionary()
148 BinaryDictEncoderUtils.writeDictionaryHeader(mOutStream, dict, formatOptions, in writeDictionary()
180 mOutStream.write(mBuffer, 0, mPosition); in writeDictionary()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java359 OutputStream mOutStream = null; field in CropActivity.BitmapIOTask
388 mOutStream = null; in BitmapIOTask()
408 mOutStream = getContentResolver().openOutputStream(mOutUri); in BitmapIOTask()
548 if (mOutStream == null in doInBackground()
549 || !crop.compress(cf, DEFAULT_COMPRESS_QUALITY, mOutStream)) { in doInBackground()
563 if (mOutStream == null) { in doInBackground()
569 mOutStream.write(tmpOut.toByteArray()); in doInBackground()
606 Utils.closeSilently(mOutStream); in onPostExecute()