Searched refs:fullSize (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 168 static bool needsFineScale(const int fullSize, const int decodedSize, const int sampleSize) { in needsFineScale() argument 169 if (fullSize % sampleSize == 0 && fullSize / sampleSize != decodedSize) { in needsFineScale() 171 } else if ((fullSize / sampleSize + 1) != decodedSize && in needsFineScale() 172 (fullSize / sampleSize) != decodedSize) { in needsFineScale() 178 static bool needsFineScale(const SkISize fullSize, const SkISize decodedSize, in needsFineScale() argument 180 return needsFineScale(fullSize.width(), decodedSize.width(), sampleSize) || in needsFineScale() 181 needsFineScale(fullSize.height(), decodedSize.height(), sampleSize); in needsFineScale()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 670 Bitmap fullSize = null; local 676 fullSize = BitmapFactory.decodeStream(is, null, options); 679 if (fullSize != null) { 681 scaleDownSampleSize = bounds.x / fullSize.getWidth(); 689 if (roundedTrueCrop.width() > fullSize.getWidth()) { 691 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 693 if (roundedTrueCrop.right > fullSize.getWidth()) { 700 if (roundedTrueCrop.height() > fullSize.getHeight()) { 702 roundedTrueCrop.bottom = roundedTrueCrop.top + fullSize.getHeight(); 704 if (roundedTrueCrop.bottom > fullSize.getHeight()) { [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 581 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; in writeToStream() local 584 if (fullSize != count) { in writeToStream() 586 fullSize); in writeToStream() 598 fullSize); in writeToStream() 632 PRIu32, fullSize); in writeToStream() 715 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; in writeToStream() local 717 if (fullSize != count) { in writeToStream() 719 fullSize); in writeToStream() 729 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) { in writeToStream() 2386 size_t fullSize = width * height * BYTES_PER_RGB_PIXEL; in DngCreator_nativeSetThumbnail() local [all …]
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 779 size_t fullSize = packetSize; in _readNextPacket() local 781 fullSize += buffer->range_length(); in _readNextPacket() 783 if (fullSize > 16 * 1024 * 1024) { // arbitrary limit of 16 MB packet size in _readNextPacket() 792 mBufferGroup->acquire_buffer(&tmp, false, fullSize); in _readNextPacket() 795 tmp = new StandAloneMediaBuffer(fullSize); in _readNextPacket() 826 buffer->set_range(0, fullSize); in _readNextPacket()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 636 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null); in getBuiltInDrawable() local 637 return new BitmapDrawable(resources, fullSize); in getBuiltInDrawable() 708 Bitmap fullSize = null; in getBuiltInDrawable() local 713 fullSize = BitmapFactory.decodeStream(is, null, options); in getBuiltInDrawable() 714 if (fullSize != null) { in getBuiltInDrawable() 715 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()
|