Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DOpenGLReadback.cpp119 int destWidth = bitmap->width(); in copyTextureInto() local
121 if (destWidth > caches.maxTextureSize || destHeight > caches.maxTextureSize) { in copyTextureInto()
122 ALOGW("Can't copy surface into bitmap, %dx%d exceeds max texture size %d", destWidth, in copyTextureInto()
188 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, destWidth, destHeight, 0, format, type, nullptr); in copyTextureInto()
194 renderState.setViewport(destWidth, destHeight); in copyTextureInto()
210 requiresFilter = srcRect.getWidth() != (float)destWidth || in copyTextureInto()
213 requiresFilter = sourceTexture.width() != (uint32_t)destWidth || in copyTextureInto()
222 .setModelViewMapUnitToRect(Rect(destWidth, destHeight)) in copyTextureInto()
225 ortho.loadOrtho(destWidth, destHeight); in copyTextureInto()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java207 int destWidth = Math.max(1, (int) (xScale * sourceWidth)); in scale() local
215 new BufferedImage(destWidth, destHeight, imageType); in scale()
219 g2.fillRect(0, 0, destWidth, destHeight); in scale()
224 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, in scale()
256 int nearestWidth = destWidth; // Width closest to source width that = 2^x, x is integer in scale()
/frameworks/av/cmds/stagefright/
Dmediafilter.cpp197 int32_t destWidth, destHeight, destStride, destSliceHeight; in tryCopyDecodedBuffer() local
205 && destFormat->findInt32("width", &destWidth) in tryCopyDecodedBuffer()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java1317 final float destWidth = destFrame.width(); in createAspectScaledThumbnailFreeformAnimationLocked() local
1319 final float scaleH = enter ? sourceWidth / destWidth : destWidth / sourceWidth; in createAspectScaledThumbnailFreeformAnimationLocked()
1328 final float scaleHCenter = ((enter ? destWidth : sourceWidth) + surfaceInsetsH) / 2; in createAspectScaledThumbnailFreeformAnimationLocked()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java733 final int destWidth = (int)(cropHint.width() * heightR); in generateCrop() local
735 destWidth, wallpaper.height, true); in generateCrop()