/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
generatemip.inl | 31 static void GenerateMip_Y(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 37 ASSERT(sourceHeight > 1); 51 static void GenerateMip_X(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 57 ASSERT(sourceHeight == 1); 71 static void GenerateMip_Z(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 77 ASSERT(sourceHeight == 1); 91 static void GenerateMip_XY(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 97 ASSERT(sourceHeight > 1); 120 static void GenerateMip_YZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 126 ASSERT(sourceHeight > 1) [all...] |
generatemip.h | 20 inline void GenerateMip(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
IconFactory.java | 48 int sourceHeight = sourceImage.getHeight(); 50 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) { 75 int sourceHeight = sourceImage.getHeight(); 79 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) { 89 srcRect = new Rect(0, 0, sourceWidth, sourceHeight); 93 float hScale = sourceHeight / (float) iconHeight; 100 float borderH = (sourceHeight - ih) / 2.0f;
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
BitmapUtilTests.java | 105 private byte[] createJpegRawData(int sourceWidth, int sourceHeight) throws IOException { 106 return createRawData(Bitmap.CompressFormat.JPEG, sourceWidth, sourceHeight); 109 private byte[] createPngRawData(int sourceWidth, int sourceHeight) throws IOException { 110 return createRawData(Bitmap.CompressFormat.PNG, sourceWidth, sourceHeight); 114 int sourceHeight) throws IOException { 116 Bitmap b = Bitmap.createBitmap(sourceWidth, sourceHeight, Bitmap.Config.ARGB_8888);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 74 int sourceHeight = icon.getHeight(); 75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) { 79 (sourceHeight - textureHeight) / 2, 81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) { 116 int sourceHeight = icon.getIntrinsicHeight(); 117 if (sourceWidth > 0 && sourceHeight > 0) { 119 if (width < sourceWidth || height < sourceHeight) { 121 final float ratio = (float) sourceWidth / sourceHeight; 122 if (sourceWidth > sourceHeight) { 124 } else if (sourceHeight > sourceWidth) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
IconUtilities.java | 122 int sourceHeight = icon.getIntrinsicHeight(); 124 if (sourceWidth > 0 && sourceHeight > 0) { 126 if (width < sourceWidth || height < sourceHeight) { 128 final float ratio = (float) sourceWidth / sourceHeight; 129 if (sourceWidth > sourceHeight) { 131 } else if (sourceHeight > sourceWidth) { 134 } else if (sourceWidth < width && sourceHeight < height) { 137 height = sourceHeight;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Canvas/ |
draw-dynamic-canvas-2d-to-hw-accelerated-canvas-2d.html | 12 function setSize(sourceWidth, sourceHeight, destWidth, destHeight) { 14 sourceCanvas2D.height = sourceHeight;
|
draw-static-canvas-2d-to-hw-accelerated-canvas-2d.html | 12 function setSize(sourceWidth, sourceHeight, destWidth, destHeight) { 14 sourceCanvas2D.height = sourceHeight;
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
ImageUtils.java | 205 int sourceHeight = source.getHeight(); 207 int destHeight = Math.max(1, (int) (yScale * sourceHeight)); 223 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, 267 g2.drawImage(source, 0, 0, nearestWidth, nearestHeight, 0, 0, sourceWidth, sourceHeight, 272 sourceHeight = nearestHeight; 277 int halfHeight = sourceHeight / 2; 281 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight, 286 sourceHeight = halfHeight;
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
formatutils.h | 20 typedef void (*MipGenerationFunction)(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth,
|
/external/chromium_org/ui/file_manager/image_loader/ |
image_loader.js | 154 var sourceHeight = height; 159 sourceHeight = width; 163 var targetHeight = sourceHeight; 167 targetHeight = sourceHeight * options.scale;
|
/external/chromium_org/chrome/renderer/resources/ |
offline.js | 1165 var sourceHeight = this.typeConfig.height; 1169 sourceHeight = sourceHeight * 2; 1176 sourceWidth * this.size, sourceHeight, [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 175 int sourceHeight = icon.getIntrinsicHeight(); 176 if (sourceWidth > 0 && sourceHeight > 0) { 178 final float ratio = (float) sourceWidth / sourceHeight; 179 if (sourceWidth > sourceHeight) { 181 } else if (sourceHeight > sourceWidth) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | [all...] |
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 219 uint32_t sourceWidth, sourceHeight; 222 sourceHeight = mainDpyInfo.h; 225 sourceHeight = mainDpyInfo.w; 228 Rect layerStackRect(sourceWidth, sourceHeight); 231 float displayAspect = (float) sourceHeight / (float) sourceWidth; [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/include/ |
ExynosVideoApi.h | 164 int SourceHeight; /* [IN] height of video to be encoded */
|
/frameworks/native/opengl/tests/hwc/ |
hwcStress.cpp | 463 int sourceHeight = layer->sourceCrop.bottom 466 && ((layer->displayFrame.top + sourceHeight) <= height)) { 470 + sourceHeight;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/mpeg4/ |
Exynos_OMX_Mpeg4enc.c | 144 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SourceHeight : %d", pCommonParam->SourceHeight); 182 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SourceHeight : %d", pCommonParam->SourceHeight); 232 pCommonParam->SourceHeight = pExynosOutputPort->portDefinition.format.video.nFrameHeight; 340 pCommonParam->SourceHeight = pExynosOutputPort->portDefinition.format.video.nFrameHeight; [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc.cpp | 252 uint32_t sourceHeight = sourceCrop.bottom - sourceCrop.top; 255 isEqual(((float)layerHeight / (float)sourceHeight), yresRatio))
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
control.h | [all...] |
/external/chromium_org/third_party/WebKit/Source/core/paint/ |
BoxPainter.cpp | [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/h264/ |
Exynos_OMX_H264enc.c | 174 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SourceHeight : %d", pCommonParam->SourceHeight); 241 pCommonParam->SourceHeight = pExynosOutputPort->portDefinition.format.video.nFrameHeight; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFramebufferBlitTests.cpp | 767 const int sourceHeight = (m_blitDir == BLIT_DEFAULT_TO_TARGET) ? (getHeight()) : (fboTexH); 769 const int gridRenderHeight= de::min(256, sourceHeight); [all...] |