Searched refs:destHeight (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
D | OpenGLReadback.cpp | 120 int destHeight = bitmap->height(); in copyTextureInto() local 121 if (destWidth > caches.maxTextureSize || destHeight > caches.maxTextureSize) { in copyTextureInto() 123 destHeight, caches.maxTextureSize); in copyTextureInto() 188 glTexImage2D(GL_TEXTURE_2D, 0, internalFormat, destWidth, destHeight, 0, format, type, nullptr); in copyTextureInto() 194 renderState.setViewport(destWidth, destHeight); in copyTextureInto() 211 srcRect.getHeight() != (float)destHeight; in copyTextureInto() 214 sourceTexture.height() != (uint32_t)destHeight; 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/ |
D | ImageUtils.java | 208 int destHeight = Math.max(1, (int) (yScale * sourceHeight)); 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() 257 int nearestHeight = destHeight; in scale()
|
/frameworks/av/cmds/stagefright/ |
D | mediafilter.cpp | 197 int32_t destWidth, destHeight, destStride, destSliceHeight; in tryCopyDecodedBuffer() local 206 && destFormat->findInt32("height", & destHeight) in tryCopyDecodedBuffer()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransition.java | 1318 final float destHeight = destFrame.height(); in createAspectScaledThumbnailFreeformAnimationLocked() local 1320 final float scaleV = enter ? sourceHeight / destHeight : destHeight / sourceHeight; in createAspectScaledThumbnailFreeformAnimationLocked() 1329 final float scaleVCenter = ((enter ? destHeight : sourceHeight) + surfaceInsetsV) / 2; in createAspectScaledThumbnailFreeformAnimationLocked()
|