Home
last modified time | relevance | path

Searched refs:dstWidth (Results 1 – 5 of 5) sorted by relevance

/frameworks/layoutlib/bridge/src/android/view/
DShadowPainter.java90 int dstWidth = image.getWidth(); in createDropShadow() local
96 int xStop = dstWidth - right; in createDropShadow()
108 int lastPixelOffset = right * dstWidth; in createDropShadow()
112 for (int y = 0, bufferOffset = 0; y < dstHeight; y++, bufferOffset = y * dstWidth) { in createDropShadow()
141 for (int x = 0, bufferOffset = 0; x < dstWidth; x++, bufferOffset = x) { in createDropShadow()
144 for (int y = 0; y < shadowSize; y++, bufferOffset += dstWidth) { in createDropShadow()
152 for (int y = yStart; y < yStop; y++, bufferOffset += dstWidth) { in createDropShadow()
/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java306 long timeUs, @Option int option, int dstWidth, int dstHeight) { in getScaledFrameAtTime() argument
311 if (dstWidth <= 0) { in getScaledFrameAtTime()
312 throw new IllegalArgumentException("Invalid width: " + dstWidth); in getScaledFrameAtTime()
318 return _getFrameAtTime(timeUs, option, dstWidth, dstHeight); in getScaledFrameAtTime()
/frameworks/av/media/libstagefright/include/media/stagefright/
DColorConverter.h46 size_t dstWidth, size_t dstHeight, size_t dstStride,
/frameworks/base/graphics/java/android/graphics/
DBitmap.java796 public static Bitmap createScaledBitmap(@NonNull Bitmap src, int dstWidth, int dstHeight, in createScaledBitmap() argument
802 if (width != dstWidth || height != dstHeight) { in createScaledBitmap()
803 final float sx = dstWidth / (float) width; in createScaledBitmap()
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp195 size_t dstWidth, size_t dstHeight, size_t dstStride, in convert() argument
205 dstWidth, dstHeight, dstStride, in convert()