Searched refs:sample (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 270 String sample = getDefaultSampleString(); in onSampleTextReceived() local 274 sample = data.getStringExtra("sampleText"); in onSampleTextReceived() 276 if (DBG) Log.d(TAG, "Got sample text: " + sample); in onSampleTextReceived() 278 if (DBG) Log.d(TAG, "Using default sample text :" + sample); in onSampleTextReceived() 281 if (sample != null && mTts != null) { in onSampleTextReceived() 284 mTts.speak(sample, TextToSpeech.QUEUE_FLUSH, null); in onSampleTextReceived()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | CropImage.java | 612 int sample = BitmapUtils.computeSampleSizeLarger( in getCroppedImage() local 614 options.inSampleSize = sample; in getCroppedImage() 620 if ((rect.width() / sample) == dest.width() in getCroppedImage() 621 && (rect.height() / sample) == dest.height() in getCroppedImage() 633 drawInTiles(canvas, mRegionDecoder, rect, dest, sample); in getCroppedImage() 693 BitmapRegionDecoder decoder, Rect rect, Rect dest, int sample) { in drawInTiles() argument 694 int tileSize = TILE_SIZE * sample; in drawInTiles() 698 options.inSampleSize = sample; in drawInTiles() 700 canvas.scale((float) sample * dest.width() / rect.width(), in drawInTiles() 701 (float) sample * dest.height() / rect.height()); in drawInTiles()
|