/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetConfigure.java | 56 int maxDimension = Math.max(display.heightPixels, display.widthPixels); 57 maxDimension /= 2; 65 intent.putExtra("outputX", maxDimension); 66 intent.putExtra("outputY", maxDimension);
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
BitmapUtils.java | 88 private Bitmap getThumbnail(Bitmap original, int maxDimension) { 93 float scaleFactor = (float) maxDimension / width; 97 float scaleFactor = (float) maxDimension / height;
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiGranularityTests.cpp | 477 const deUint32 maxDimension = 500; 488 attachments.push_back(AttachmentInfo(format, rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimension), 1)); 496 attachments.push_back(AttachmentInfo(VkFormat(formatIdx), rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimension), 1)); 503 attachments.push_back(AttachmentInfo(VkFormat(formatIdx), rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimension), 1)); 505 attachments.push_back(AttachmentInfo(mandatoryFormats[rnd.getInt(0, DE_LENGTH_OF_ARRAY(mandatoryFormats) - 1)], rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimension), 1)); 511 attachments.push_back(AttachmentInfo(format, rnd.getInt(1, maxDimension), rnd.getInt(1, maxDimension), 1)) [all...] |
/external/skia/src/image/ |
SkImage_Raster.cpp | 41 const int maxDimension = SK_MaxS32 >> 2; 46 if (info.width() > maxDimension || info.height() > maxDimension) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
ShortcutBitmapSaver.java | 156 int maxDimension, CompressFormat format, int quality) { 169 final Bitmap shrunk = mService.shrinkBitmap(original, maxDimension);
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
Palette.java | 668 * will be resized so that its largest dimension matches {@code maxDimension}. If the 674 * @param maxDimension the number of pixels that the max dimension should be scaled down to, 679 public Palette.Builder resizeBitmapSize(final int maxDimension) { 680 mResizeMaxDimension = maxDimension; [all...] |
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
Palette.java | 660 * will be resized so that its largest dimension matches {@code maxDimension}. If the 666 * @param maxDimension the number of pixels that the max dimension should be scaled down to, 671 public Builder resizeBitmapSize(final int maxDimension) { 672 mResizeMaxDimension = maxDimension; 913 final int maxDimension = Math.max(bitmap.getWidth(), bitmap.getHeight()); 914 if (maxDimension > mResizeMaxDimension) [all...] |
/external/skia/tests/ |
SkpSkGrTest.cpp | 336 const int maxDimension = 1000; 338 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); 339 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); 340 SkRect rect = {0, 0, SkIntToScalar(SkTMin(maxDimension, pWidth)), 341 SkIntToScalar(SkTMin(maxDimension, pHeight))};
|
/external/ImageMagick/MagickCore/ |
segment.c | 113 #define MaxDimension 3 480 "\n\n\nCluster Extents: (Vector Size: %d)\n",MaxDimension); 496 "\n\n\nCluster Center Values: (Vector Size: %d)\n",MaxDimension); 970 *extrema[MaxDimension]; 974 *histogram[MaxDimension], 985 for (i=0; i < MaxDimension; i++) [all...] |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
ImageUtils.java | 63 int maxDimension = Math.max(image.getWidth(), image.getHeight()); 64 double scale = THUMBNAIL_SIZE / (double)maxDimension;
|
/external/skia/dm/ |
DMSrcSink.cpp | [all...] |
/prebuilts/sdk/current/support/v7/palette/ |
android-support-v7-palette.jar | |
/external/swiftshader/src/OpenGL/libGL/ |
Context.cpp | [all...] |
/external/swiftshader/src/OpenGL/libGLES_CM/ |
Context.cpp | [all...] |
/external/swiftshader/src/OpenGL/libGLESv2/ |
Context.cpp | [all...] |
/frameworks/av/media/libstagefright/ |
ACodec.cpp | [all...] |