Searched defs:is (Results 1 - 3 of 3) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
H A D | BitmapDecode.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 51 private static byte[] streamToBytes(InputStream is) { argument 56 while ((len = is.read(buffer)) >= 0) { 68 java.io.InputStream is; 69 is = context.getResources().openRawResource(R.drawable.beach); 75 bm = BitmapFactory.decodeStream(is, null, opts); 78 // bitmap, even though bm is null 82 bm = BitmapFactory.decodeStream(is, null, opts); 87 is = context.getResources().openRawResource(R.drawable.frog); 88 mBitmap2 = BitmapFactory.decodeStream(is); [all...] |
/development/samples/TtsEngine/src/com/example/android/ttsengine/ |
H A D | RobotSpeakTtsService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 48 * This is the sampling rate of our output audio. This engine outputs 82 // Note that mCurrentLanguage is volatile because this can be called from 111 * Note that this method is synchronized, as is onSynthesizeText because 113 * is always called from a single thread only). 158 // Note that we call onLoadLanguage here since there is no guarantee 171 // it is guaranteed that we support it so we proceed with synthesis. 184 // It is crucial to call either of callback.error() or callback.done() to ensure 215 private Map<Character, Integer> buildFrequencyMap(InputStream is) throw argument [all...] |
/development/apps/OBJViewer/com/android/objviewer/ |
H A D | OBJViewer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 284 private int readInt16(InputStream is) throws Exception { argument 285 return is.read() | (is.read() << 8);
|
Completed in 121 milliseconds