HomeSort by relevance Sort by last modified time
    Searched refs:destHeight (Results 1 - 25 of 25) sorted by null

  /hardware/qcom/display/msm8226/libqdutils/
qd_utils.cpp 97 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
101 if (srcWidth * destHeight > destWidth * srcHeight) {
104 } else if (srcWidth * destHeight < destWidth * srcHeight) {
105 srcWidth = destHeight * srcWidth / srcHeight;
106 srcHeight = destHeight;
109 srcHeight = destHeight;
112 if (srcHeight > destHeight) srcHeight = destHeight;
114 y = (destHeight - srcHeight) / 2;
qd_utils.h 51 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
  /hardware/qcom/display/msm8909/libqdutils/
qd_utils.cpp 96 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
100 if (srcWidth * destHeight > destWidth * srcHeight) {
103 } else if (srcWidth * destHeight < destWidth * srcHeight) {
104 srcWidth = destHeight * srcWidth / srcHeight;
105 srcHeight = destHeight;
108 srcHeight = destHeight;
111 if (srcHeight > destHeight) srcHeight = destHeight;
113 y = (destHeight - srcHeight) / 2;
qd_utils.h 59 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
  /hardware/qcom/display/msm8994/libqdutils/
qd_utils.cpp 96 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
100 if (srcWidth * destHeight > destWidth * srcHeight) {
103 } else if (srcWidth * destHeight < destWidth * srcHeight) {
104 srcWidth = destHeight * srcWidth / srcHeight;
105 srcHeight = destHeight;
108 srcHeight = destHeight;
111 if (srcHeight > destHeight) srcHeight = destHeight;
113 y = (destHeight - srcHeight) / 2;
qd_utils.h 59 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
  /frameworks/base/libs/hwui/
Readback.cpp 42 int destHeight = bitmap->height();
44 || destHeight > 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);
  /external/skia/src/core/
SkBitmapScaler.cpp 24 float destWidth, float destHeight,
60 float destWidth, float destHeight,
88 float scaleY = destHeight / srcFullHeight;
243 int destWidth, int destHeight, SkBitmap::Allocator* allocator) {
245 if (!valid_for_resize(source, destWidth, destHeight)) {
250 result.setInfo(SkImageInfo::MakeN32(destWidth, destHeight, source.alphaType()));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageControl.java 186 int destHeight = imageHeight;
192 destHeight = (int) (mScale * destHeight);
198 + mTopMargin, destWidth, destHeight);
207 gc.fillRectangle(0, 0, destWidth, destHeight);
ImageOverlay.java 287 int destHeight = vi.getScaledImgSize();
291 destX, destY, destWidth, destHeight);
294 SwtUtils.drawRectangleShadow(gc, destX, destY, destWidth, destHeight);
SwtUtils.java 267 int destHeight = (int) (scale * boundingBox.height);
269 ImageData destData = new ImageData(destWidth, destHeight, srcData.depth, srcData.palette);
270 byte[] alphaData = new byte[destHeight * destWidth];
ImageUtils.java     [all...]
RenderPreviewManager.java 613 int destHeight = vi.getScaledImgSize();
616 int y = destY + destHeight;
    [all...]
  /frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
ImageUtils.java 211 int destHeight = Math.max(1, (int) (yScale * sourceHeight));
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,
260 int nearestHeight = destHeight;
  /packages/apps/Launcher2/src/com/android/launcher2/
Utilities.java 167 static void drawSelectedAllAppsBitmap(Canvas dest, int destWidth, int destHeight,
183 float py = (destHeight - src.getHeight()) / 2;
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc_utils.cpp 436 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
440 if (srcWidth * destHeight > destWidth * srcHeight) {
443 } else if (srcWidth * destHeight < destWidth * srcHeight) {
444 srcWidth = destHeight * srcWidth / srcHeight;
445 srcHeight = destHeight;
448 srcHeight = destHeight;
451 if (srcHeight > destHeight) srcHeight = destHeight;
453 y = (destHeight - srcHeight) / 2;
    [all...]
hwc_utils.h 281 void getAspectRatioPosition(int destWidth, int destHeight, int srcWidth,
  /frameworks/av/cmds/stagefright/
mediafilter.cpp 197 int32_t destWidth, destHeight, destStride, destSliceHeight;
206 && destFormat->findInt32("height", & destHeight)
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtilsTest.java 246 int destHeight = (int) (scale * boundingBox.height);
247 BufferedImage dest = new BufferedImage(destWidth, destHeight, image.getType());
  /frameworks/base/services/core/java/com/android/server/wm/
AppTransition.java     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/GL/
glxext.h 796 int destXOrigin, destYOrigin, destWidth, destHeight;
    [all...]
  /external/mesa3d/include/GL/
glxext.h     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/GL/
glxext.h     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar 
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 374 milliseconds