Searched refs:fullSize (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 670 Bitmap fullSize = null; 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 [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 217 static bool needsFineScale(const int fullSize, const int decodedSize, const int sampleSize) { argument 218 if (fullSize % sampleSize == 0 && fullSize / sampleSize != decodedSize) { 220 } else if ((fullSize / sampleSize + 1) != decodedSize && 221 (fullSize / sampleSize) != decodedSize) { 227 static bool needsFineScale(const SkISize fullSize, const SkISize decodedSize, argument 229 return needsFineScale(fullSize.width(), decodedSize.width(), sampleSize) || 230 needsFineScale(fullSize.height(), decodedSize.height(), sampleSize);
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 524 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null); 525 return new BitmapDrawable(resources, fullSize); 596 Bitmap fullSize = null; 601 fullSize = BitmapFactory.decodeStream(is, null, options); 602 if (fullSize != null) { 603 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 579 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; local 582 if (fullSize != count) { 584 fullSize); 596 fullSize); 630 PRIu32, fullSize); 713 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; local 715 if (fullSize != count) { 717 fullSize); 727 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) { 2115 size_t fullSize local 2196 size_t fullSize = rStride * uHeight; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | OggExtractor.cpp | 696 size_t fullSize = packetSize; local 698 fullSize += buffer->range_length(); 700 if (fullSize > 16 * 1024 * 1024) { // arbitrary limit of 16 MB packet size 707 MediaBuffer *tmp = new (std::nothrow) MediaBuffer(fullSize); 736 buffer->set_range(0, fullSize);
|
Completed in 2705 milliseconds