/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, 36 ASSERT(sourceWidth == 1); 51 static void GenerateMip_X(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 56 ASSERT(sourceWidth > 1); 71 static void GenerateMip_Z(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 76 ASSERT(sourceWidth == 1); 91 static void GenerateMip_XY(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 96 ASSERT(sourceWidth > 1); 120 static void GenerateMip_YZ(size_t sourceWidth, size_t sourceHeight, size_t sourceDepth, 125 ASSERT(sourceWidth == 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 | 47 int sourceWidth = sourceImage.getWidth(); 50 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) { 74 int sourceWidth = sourceImage.getWidth(); 79 if (sourceWidth == 0 || sourceHeight == 0 || iconWidth == 0 || iconHeight == 0) { 89 srcRect = new Rect(0, 0, sourceWidth, sourceHeight); 92 float wScale = sourceWidth / (float) iconWidth; 99 float borderW = (sourceWidth - iw) / 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); 113 private byte[] createRawData(Bitmap.CompressFormat format, int sourceWidth, 116 Bitmap b = Bitmap.createBitmap(sourceWidth, sourceHeight, Bitmap.Config.ARGB_8888);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Utilities.java | 73 int sourceWidth = icon.getWidth(); 75 if (sourceWidth > textureWidth && sourceHeight > textureHeight) { 78 (sourceWidth - textureWidth) / 2, 81 } else if (sourceWidth == textureWidth && sourceHeight == textureHeight) { 115 int sourceWidth = icon.getIntrinsicWidth(); 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 | 121 int sourceWidth = icon.getIntrinsicWidth(); 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) { 136 width = sourceWidth;
|
/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) { 13 sourceCanvas2D.width = sourceWidth;
|
draw-static-canvas-2d-to-hw-accelerated-canvas-2d.html | 12 function setSize(sourceWidth, sourceHeight, destWidth, destHeight) { 13 sourceCanvas2D.width = sourceWidth;
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
ImageUtils.java | 204 int sourceWidth = source.getWidth(); 206 int destWidth = Math.max(1, (int) (xScale * sourceWidth)); 223 g2.drawImage(source, 0, 0, destWidth, destHeight, 0, 0, sourceWidth, sourceHeight, 257 while (nearestWidth < sourceWidth / 2) { 267 g2.drawImage(source, 0, 0, nearestWidth, nearestHeight, 0, 0, sourceWidth, sourceHeight, 271 sourceWidth = nearestWidth; 276 int halfWidth = sourceWidth / 2; 281 g2.drawImage(source, 0, 0, halfWidth, halfHeight, 0, 0, sourceWidth, sourceHeight, 285 sourceWidth = halfWidth;
|
/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 | 153 var sourceWidth = width; 158 sourceWidth = height; 162 var targetWidth = sourceWidth; 166 targetWidth = sourceWidth * options.scale;
|
/external/chromium_org/chrome/renderer/resources/ |
offline.js | 1164 var sourceWidth = this.typeConfig.width; 1168 sourceWidth = sourceWidth * 2; 1173 var sourceX = (sourceWidth * this.size) * (0.5 * (this.size - 1)); 1176 sourceWidth * this.size, sourceHeight, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
Utilities.java | 174 int sourceWidth = icon.getIntrinsicWidth(); 176 if (sourceWidth > 0 && sourceHeight > 0) { 178 final float ratio = (float) sourceWidth / sourceHeight; 179 if (sourceWidth > sourceHeight) { 181 } else if (sourceHeight > sourceWidth) {
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 219 uint32_t sourceWidth, sourceHeight; 221 sourceWidth = mainDpyInfo.w; 226 sourceWidth = mainDpyInfo.h; 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 | 163 int SourceWidth; /* [IN] width of video to be encoded */
|
/frameworks/base/core/java/com/android/internal/widget/ |
ResolverDrawerLayout.java | 628 final int sourceWidth = MeasureSpec.getSize(widthMeasureSpec); 629 int widthSize = sourceWidth; 685 setMeasuredDimension(sourceWidth, heightSize);
|
/frameworks/native/opengl/tests/hwc/ |
hwcStress.cpp | 461 int sourceWidth = layer->sourceCrop.right 465 if (((layer->displayFrame.left + sourceWidth) <= width) 468 + sourceWidth;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/mpeg4/ |
Exynos_OMX_Mpeg4enc.c | 143 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SourceWidth : %d", pCommonParam->SourceWidth); 181 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SourceWidth : %d", pCommonParam->SourceWidth); 231 pCommonParam->SourceWidth = pExynosOutputPort->portDefinition.format.video.nFrameWidth; 339 pCommonParam->SourceWidth = pExynosOutputPort->portDefinition.format.video.nFrameWidth; [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc.cpp | 251 uint32_t sourceWidth = sourceCrop.right - sourceCrop.left; 254 if (isEqual(((float)layerWidth / (float)sourceWidth), xresRatio) &&
|
/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 | 173 Exynos_OSAL_Log(EXYNOS_LOG_TRACE, "SourceWidth : %d", pCommonParam->SourceWidth); 240 pCommonParam->SourceWidth = pExynosOutputPort->portDefinition.format.video.nFrameWidth; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFramebufferBlitTests.cpp | 766 const int sourceWidth = (m_blitDir == BLIT_DEFAULT_TO_TARGET) ? (getWidth()) : (fboTexW); 768 const int gridRenderWidth = de::min(256, sourceWidth); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCalls.cpp | 701 unsigned SourceWidth = CISourceWidth->getZExtValue(); 702 unsigned SourceEnd = SourceStart + SourceWidth; [all...] |