Home
last modified time | relevance | path

Searched refs:inWidth (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/ui/
DGraphicBuffer.cpp60 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
138 static_cast<int>(inWidth) == width && 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/
DScaleFilter.java57 protected int getOutputWidth(int inWidth, int inHeight) { in getOutputWidth() argument
58 return (int)(inWidth * mScale); in getOutputWidth()
62 protected int getOutputHeight(int inWidth, int inHeight) { in getOutputHeight() argument
DCropFilter.java157 protected int getOutputWidth(int inWidth, int inHeight) { in getOutputWidth() argument
158 return mOutputWidth <= 0 ? inWidth : mOutputWidth; in getOutputWidth()
161 protected int getOutputHeight(int inWidth, int inHeight) { in getOutputHeight() argument
/frameworks/native/include/ui/
DGraphicBuffer.h83 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/
DWallpaperManager.java527 int inWidth; in getBuiltInDrawable() local
535 inWidth = options.outWidth; in getBuiltInDrawable()
549 outWidth = Math.min(inWidth, outWidth); in getBuiltInDrawable()
552 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
555 float left = (inWidth - outWidth) * horizontalAlignment; 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()
645 cropRect.left = (inWidth - cropWidth) * horizontalAlignment; in getMaxCropRect()
649 cropRect.right = inWidth; in getMaxCropRect()
650 float cropHeight = outHeight * (inWidth / (float) outWidth); in getMaxCropRect()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java814 int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) {
817 if (inWidth / (float) inHeight > outWidth / (float) outHeight) {
820 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2;
821 cropRect.right = inWidth - cropRect.left;
828 cropRect.right = inWidth;
829 cropRect.top = (inHeight - (outHeight / (float) outWidth) * inWidth) / 2;
/frameworks/support/samples/SupportLeanbackShowcase/libs/
Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/ ...