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

/frameworks/base/libs/hwui/
H A DReadback.cpp41 int destWidth = bitmap->width(); local
43 if (destWidth > caches.maxTextureSize
46 destWidth, destHeight, caches.maxTextureSize);
96 glTexImage2D(GL_TEXTURE_2D, 0, format, destWidth, destHeight,
160 renderState.setViewport(destWidth, destHeight);
165 Rect destRect(destWidth, destHeight);
175 ortho.loadOrtho(destWidth, destHeight);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DImageUtils.java210 int destWidth = Math.max(1, (int) (xScale * sourceWidth));
218 new BufferedImage(destWidth, destHeight, imageType);
222 g2.fillRect(0, 0, destWidth, destHeight);
227 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight,
259 int nearestWidth = destWidth; // Width closest to source width that = 2^x, x is integer
/frameworks/av/cmds/stagefright/
H A Dmediafilter.cpp197 int32_t destWidth, destHeight, destStride, destSliceHeight; local
205 && destFormat->findInt32("width", &destWidth)
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java1192 final float destWidth = destFrame.width();
1194 final float scaleH = enter ? sourceWidth / destWidth : destWidth / sourceWidth;
1203 final float scaleHCenter = ((enter ? destWidth : sourceWidth) + surfaceInsetsH) / 2;
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java426 final int destWidth = (int)(cropHint.width() * heightR);
428 destWidth, wallpaper.height, true);

Completed in 218 milliseconds