Searched refs:fullSize (Results 1 – 5 of 5) sorted by relevance
/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/android/graphics/ |
D | BitmapFactory.cpp | 211 static bool needsFineScale(const int fullSize, const int decodedSize, const int sampleSize) { in needsFineScale() argument 212 if (fullSize % sampleSize == 0 && fullSize / sampleSize != decodedSize) { in needsFineScale() 214 } else if ((fullSize / sampleSize + 1) != decodedSize && in needsFineScale() 215 (fullSize / sampleSize) != decodedSize) { in needsFineScale() 221 static bool needsFineScale(const SkISize fullSize, const SkISize decodedSize, in needsFineScale() argument 223 return needsFineScale(fullSize.width(), decodedSize.width(), sampleSize) || in needsFineScale() 224 needsFineScale(fullSize.height(), decodedSize.height(), sampleSize); in needsFineScale()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 578 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; in writeToStream() local 581 if (fullSize != count) { in writeToStream() 583 fullSize); in writeToStream() 595 fullSize); in writeToStream() 629 PRIu32, fullSize); in writeToStream() 712 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; in writeToStream() local 714 if (fullSize != count) { in writeToStream() 716 fullSize); in writeToStream() 726 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) { in writeToStream() 2097 size_t fullSize = width * height * BYTES_PER_RGB_PIXEL; in DngCreator_nativeSetThumbnail() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 507 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null); in getBuiltInDrawable() local 508 return new BitmapDrawable(resources, fullSize); in getBuiltInDrawable() 579 Bitmap fullSize = null; in getBuiltInDrawable() local 584 fullSize = BitmapFactory.decodeStream(is, null, options); in getBuiltInDrawable() 585 if (fullSize != null) { in getBuiltInDrawable() 586 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()
|
/frameworks/av/media/libstagefright/ |
D | OggExtractor.cpp | 696 size_t fullSize = packetSize; in _readNextPacket() local 698 fullSize += buffer->range_length(); in _readNextPacket() 700 MediaBuffer *tmp = new MediaBuffer(fullSize); in _readNextPacket() 722 buffer->set_range(0, fullSize); in _readNextPacket()
|