/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
InputStreamProvider.java | 131 Bitmap fullSize = null; 137 fullSize = BitmapFactory.decodeStream(is, null, options); 140 if (fullSize != null) { 142 scaleDownSampleSize = bounds.x / fullSize.getWidth(); 150 if (roundedTrueCrop.width() > fullSize.getWidth()) { 152 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 154 if (roundedTrueCrop.right > fullSize.getWidth()) { 156 roundedTrueCrop.offset(-(roundedTrueCrop.right - fullSize.getWidth()), 0); 158 if (roundedTrueCrop.height() > fullSize.getHeight()) { 160 roundedTrueCrop.bottom = roundedTrueCrop.top + fullSize.getHeight() [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
MostRecentImageSaver.java | 63 MetadataImage fullSize = getLastImage(); 64 if (fullSize != null) { 67 mFullSizeImages.remove(fullSize.getTimestamp()); 72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); 79 mSingleImageSaver.saveAndCloseImage(fullSize, Optional.fromNullable(thumbnail), 80 fullSize.getMetadata());
|
SingleImageSaver.java | 34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail,
|
/device/generic/goldfish/wifi/ipv6proxy/ |
packet.h | 43 size_t fullSize() const {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasTransform.java | 126 * @param fullSize the size of the full view area being scrolled 129 public void setSize(int imgSize, int fullSize, int clientSize) { 131 mFullSize = fullSize;
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 165 static bool needsFineScale(const int fullSize, const int decodedSize, const int sampleSize) { 166 if (fullSize % sampleSize == 0 && fullSize / sampleSize != decodedSize) { 168 } else if ((fullSize / sampleSize + 1) != decodedSize && 169 (fullSize / sampleSize) != decodedSize) { 175 static bool needsFineScale(const SkISize fullSize, const SkISize decodedSize, 177 return needsFineScale(fullSize.width(), decodedSize.width(), sampleSize) || 178 needsFineScale(fullSize.height(), decodedSize.height(), sampleSize);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
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.getHeight()) [all...] |
/packages/apps/Camera2/src/com/android/camera/widget/ |
ModeOptions.java | 243 final float fullSize = (mIsPortrait ? (float) getWidth() : (float) getHeight()); 249 fullSize-mAnimateFrom.width()/2.0f); 323 ValueAnimator.ofFloat(fullSize-mAnimateFrom.width()/2.0f,
|
/frameworks/base/core/jni/ |
android_hardware_camera2_DngCreator.cpp | 580 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; 583 if (fullSize != count) { 585 fullSize); 597 fullSize); 631 PRIu32, fullSize); 714 uint32_t fullSize = mWidth * mHeight * mBytesPerSample * mSamplesPerPixel; 716 if (fullSize != count) { 718 fullSize); 728 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) { [all...] |
/frameworks/av/media/extractors/ogg/ |
OggExtractor.cpp | 703 size_t fullSize = packetSize; 705 fullSize += buffer->range_length(); 707 if (fullSize > 16 * 1024 * 1024) { // arbitrary limit of 16 MB packet size 714 MediaBufferBase *tmp = MediaBufferBase::Create(fullSize); 743 buffer->set_range(0, fullSize); [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperManager.java | 628 Bitmap fullSize = BitmapFactory.decodeStream(is, null, null); 629 return new BitmapDrawable(resources, fullSize); 700 Bitmap fullSize = null; 705 fullSize = BitmapFactory.decodeStream(is, null, options); 706 if (fullSize != null) { 707 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
CropActivity.java | 500 Bitmap fullSize = null; 502 fullSize = BitmapFactory.decodeStream(mInStream); 504 if (fullSize != null) { 505 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
|
/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
nv50_ir_lowering_nv50.cpp | 64 unsigned int fullSize = typeSizeof(fTy); 75 t[j] = bld->getSSA(fullSize); 78 s[0] = bld->getSSA(fullSize); 79 s[1] = bld->getSSA(fullSize); 120 r[j] = bld->getSSA(fullSize); 143 Value *one = bld->getSSA(fullSize); 146 rr[j] = bld->getSSA(fullSize); [all...] |
/device/google/contexthub/firmware/os/core/ |
seos.c | 606 int32_t fullSize = segDataSize + sizeof(seg); // without footer or padding 632 footerLen = (-fullSize) & 3; 637 .crc = ~soft_crc32(storageSeg, fullSize, ~0), 644 ret = osWriteShared((uint8_t*)storageSeg + fullSize, footer, footerLen); [all...] |