Home
last modified time | relevance | path

Searched refs:fullSize (Results 1 – 6 of 6) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
DInputStreamProvider.java131 Bitmap fullSize = null; in readCroppedBitmap() local
137 fullSize = BitmapFactory.decodeStream(is, null, options); in readCroppedBitmap()
140 if (fullSize != null) { in readCroppedBitmap()
142 scaleDownSampleSize = bounds.x / fullSize.getWidth(); in readCroppedBitmap()
150 if (roundedTrueCrop.width() > fullSize.getWidth()) { in readCroppedBitmap()
152 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); in readCroppedBitmap()
154 if (roundedTrueCrop.right > fullSize.getWidth()) { in readCroppedBitmap()
156 roundedTrueCrop.offset(-(roundedTrueCrop.right - fullSize.getWidth()), 0); in readCroppedBitmap()
158 if (roundedTrueCrop.height() > fullSize.getHeight()) { in readCroppedBitmap()
160 roundedTrueCrop.bottom = roundedTrueCrop.top + fullSize.getHeight(); in readCroppedBitmap()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java63 MetadataImage fullSize = getLastImage(); in close() local
64 if (fullSize != null) { in close()
67 mFullSizeImages.remove(fullSize.getTimestamp()); in close()
72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); in close()
79 mSingleImageSaver.saveAndCloseImage(fullSize, Optional.fromNullable(thumbnail), in close()
80 fullSize.getMetadata()); in close()
DSingleImageSaver.java34 public void saveAndCloseImage(ImageProxy fullSize, Optional<ImageProxy> thumbnail, in saveAndCloseImage() argument
/packages/modules/NeuralNetworks/common/
DSharedMemoryAndroid.cpp130 const auto fullSize = mapping->getSize().withDefault(0); in map() local
131 if (fullSize == 0 || fullSize > std::numeric_limits<size_t>::max()) { in map()
135 const size_t size = static_cast<size_t>(fullSize); in map()
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java243 final float fullSize = (mIsPortrait ? (float) getWidth() : (float) getHeight()); in setupAnimators() local
249 fullSize-mAnimateFrom.width()/2.0f); in setupAnimators()
323 ValueAnimator.ofFloat(fullSize-mAnimateFrom.width()/2.0f, in setupAnimators()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java500 Bitmap fullSize = null; in doInBackground() local
502 fullSize = BitmapFactory.decodeStream(mInStream); in doInBackground()
504 if (fullSize != null) { in doInBackground()
505 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left, in doInBackground()