Searched refs:fullSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 667 Bitmap fullSize = null; local 673 fullSize = BitmapFactory.decodeStream(is, null, options); 676 if (fullSize != null) { 678 scaleDownSampleSize = bounds.x / fullSize.getWidth(); 686 if (roundedTrueCrop.width() > fullSize.getWidth()) { 688 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 690 if (roundedTrueCrop.right > fullSize.getWidth()) { 697 if (roundedTrueCrop.height() > fullSize.getHeight()) { 699 roundedTrueCrop.bottom = roundedTrueCrop.top + fullSize.getHeight(); 701 if (roundedTrueCrop.bottom > fullSize.getHeight()) { [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapFactory.cpp | 170 static bool needsFineScale(const int fullSize, const int decodedSize, const int sampleSize) { in needsFineScale() argument 171 if (fullSize % sampleSize == 0 && fullSize / sampleSize != decodedSize) { in needsFineScale() 173 } else if ((fullSize / sampleSize + 1) != decodedSize && in needsFineScale() 174 (fullSize / sampleSize) != decodedSize) { in needsFineScale() 180 static bool needsFineScale(const SkISize fullSize, const SkISize decodedSize, in needsFineScale() argument 182 return needsFineScale(fullSize.width(), decodedSize.width(), sampleSize) || in needsFineScale() 183 needsFineScale(fullSize.height(), decodedSize.height(), sampleSize); in needsFineScale()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 598 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; in writeToStream() local 601 if (fullSize != count) { in writeToStream() 603 fullSize); in writeToStream() 615 fullSize); in writeToStream() 649 PRIu32, fullSize); in writeToStream() 732 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; in writeToStream() local 734 if (fullSize != count) { in writeToStream() 736 fullSize); in writeToStream() 746 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) { in writeToStream() 2431 size_t fullSize = width * height * BYTES_PER_RGB_PIXEL; in DngCreator_nativeSetThumbnail() local [all …]
|
/frameworks/av/media/module/extractors/ogg/ |
D | OggExtractor.cpp | 835 size_t fullSize = packetSize; in _readNextPacket() local 837 fullSize += buffer->range_length(); in _readNextPacket() 839 if (fullSize > 16 * 1024 * 1024) { // arbitrary limit of 16 MB packet size in _readNextPacket() 849 (void) mBufferGroup->acquire_buffer(&tmp, false, fullSize); in _readNextPacket() 852 tmp = new StandAloneMediaBuffer(fullSize); in _readNextPacket() 883 buffer->set_range(0, fullSize); in _readNextPacket()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewFrameRateTest.java | 193 ViewGroup.LayoutParams fullSize = new ViewGroup.LayoutParams( in velocityWithChildMovement() local 196 mActivity.setContentView(frameLayout, fullSize); in velocityWithChildMovement() 200 frameLayout.addView(mMovingView, fullSize); in velocityWithChildMovement()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 1132 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null); in getBuiltInDrawable() local 1133 return new BitmapDrawable(resources, fullSize); in getBuiltInDrawable() 1204 Bitmap fullSize = null; in getBuiltInDrawable() local 1209 fullSize = BitmapFactory.decodeStream(is, null, options); in getBuiltInDrawable() 1210 if (fullSize != null) { in getBuiltInDrawable() 1211 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in getBuiltInDrawable()
|