/frameworks/native/libs/ui/ |
D | GraphicBuffer.cpp | 60 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() argument 62 : GraphicBuffer(inWidth, inHeight, inFormat, 1, static_cast<uint64_t>(inUsage), in GraphicBuffer() 67 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() argument 72 mInitCheck = initWithSize(inWidth, inHeight, inFormat, inLayerCount, in GraphicBuffer() 77 GraphicBuffer::GraphicBuffer(uint32_t inWidth, uint32_t inHeight, in GraphicBuffer() argument 81 inWidth, inHeight, inFormat, inLayerCount, static_cast<uint64_t>(inUsage), in GraphicBuffer() 131 status_t GraphicBuffer::reallocate(uint32_t inWidth, uint32_t inHeight, in reallocate() argument 139 static_cast<int>(inHeight) == height && in reallocate() 150 return initWithSize(inWidth, inHeight, inFormat, inLayerCount, in reallocate() 154 bool GraphicBuffer::needsReallocation(uint32_t inWidth, uint32_t inHeight, in needsReallocation() argument [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ScaleFilter.java | 57 protected int getOutputWidth(int inWidth, int inHeight) { in getOutputWidth() argument 62 protected int getOutputHeight(int inWidth, int inHeight) { in getOutputHeight() argument 63 return (int)(inHeight * mScale); in getOutputHeight()
|
D | CropFilter.java | 157 protected int getOutputWidth(int inWidth, int inHeight) { in getOutputWidth() argument 161 protected int getOutputHeight(int inWidth, int inHeight) { in getOutputHeight() argument 162 return mOutputHeight <= 0 ? inHeight : mOutputHeight; in getOutputHeight()
|
/frameworks/native/include/ui/ |
D | GraphicBuffer.h | 83 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 132 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 135 GraphicBuffer(uint32_t inWidth, uint32_t inHeight, PixelFormat inFormat, 158 status_t reallocate(uint32_t inWidth, uint32_t inHeight, 161 bool needsReallocation(uint32_t inWidth, uint32_t inHeight, 219 status_t initWithSize(uint32_t inWidth, uint32_t inHeight,
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 528 int inHeight; in getBuiltInDrawable() local 536 inHeight = options.outHeight; in getBuiltInDrawable() 550 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable() 552 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable() 557 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable() 637 private static RectF getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, in getMaxCropRect() argument 641 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { in getMaxCropRect() 643 cropRect.bottom = inHeight; in getMaxCropRect() 644 float cropWidth = outWidth * (inHeight / (float) outHeight); in getMaxCropRect() 651 cropRect.top = (inHeight - cropHeight) * verticalAlignment; in getMaxCropRect()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 814 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) { 817 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { 819 cropRect.bottom = inHeight; 820 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2; 829 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2; 830 cropRect.bottom = inHeight - cropRect.top;
|
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
D | picasso-2.5.2.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/squareup/
com/ ... |