Home
last modified time | relevance | path

Searched refs:newWidth (Results 1 – 25 of 28) sorted by relevance

12

/external/angle/samples/WindowTest/
DWindowTest.cpp44 int newWidth = width; in main() local
55 newWidth = std::max(0, width + (event.Key.Shift ? -20 : 20)); in main()
101 if (newWidth != width || newHeight != height) in main()
103 width = newWidth; in main()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicClassifierBenchmarker.java134 int newWidth = Math.round(width - stWidth * 2); in convertBitmapToInput() local
136 bitmap = Bitmap.createBitmap(bitmap, stWidth, stHeight, newWidth, newHeight); in convertBitmapToInput()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java268 final int newWidth = Math.round(newRect.width()); in rotateImageExif() local
271 Bitmap result = pool.get(newWidth, newHeight, toOrient.getConfig()); in rotateImageExif()
273 result = Bitmap.createBitmap(newWidth, newHeight, toOrient.getConfig()); in rotateImageExif()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp567 int newWidth = 0; in postIterate() local
570 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); in postIterate()
574 if (newWidth != m_glRenderTarget.getWidth() || in postIterate()
578 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); in postIterate()
580 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight, in postIterate()
/external/skqp/include/core/
DSkImageInfo.h439 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
440 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
/external/angle/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp349 size_t newWidth = rect.right - rect.left; in checkForResize() local
351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize()
353 mWidth = newWidth; in checkForResize()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js402 set: function(newWidth) { argument
403 if (newWidth <= 0 || !newWidth) {
407 this._strokeWidth = newWidth;
408 this._paint.setStrokeWidth(newWidth);
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js402 set: function(newWidth) { argument
403 if (newWidth <= 0 || !newWidth) {
407 this._strokeWidth = newWidth;
408 this._paint.setStrokeWidth(newWidth);
/external/skia/include/core/
DSkImageInfo.h519 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
520 return Make({newWidth, newHeight}, fColorInfo); in makeWH()
/external/deqp/modules/egl/
DteglResizeTests.cpp277 const int newWidth = newSurface.getWidth(); in compareCorners() local
279 const int minWidth = de::min(oldWidth, newWidth); in compareCorners()
285 const int newX = xCorner == 0 ? 0 : newWidth - minWidth; in compareCorners()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp207 int newWidth = SkTMin(static_cast<int>(yuvaPixmaps[i].width() * scale), in MakeFromYUVAPixmaps() local
211 SkImageInfo info = yuvaPixmaps[i].info().makeWH(newWidth, newHeight); in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp516 int newWidth = SkTMin(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() local
518 SkImageInfo info = originalPixmap.info().makeWH(newWidth, newHeight); in MakeCrossContextFromPixmap()
/external/skia/src/image/
DSkImage_GpuYUVA.cpp283 … int newWidth = std::min(static_cast<int>(yuvaPixmaps[i].width() * scale), maxTextureSize); in MakeFromYUVAPixmaps() local
286 SkImageInfo info = yuvaPixmaps[i].info().makeWH(newWidth, newHeight); in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp537 int newWidth = std::min(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() local
539 SkImageInfo info = originalPixmap.info().makeWH(newWidth, newHeight); in MakeCrossContextFromPixmap()
/external/mesa3d/include/HaikuGL/
DGLView.h69 virtual void FrameResized(float newWidth, float newHeight);
/external/deqp/modules/gles3/functional/
Des3fFboRenderTest.cpp1133 int newWidth = 64; in render() local
1175 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1180 context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1193 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().depthStencilFormat, newWidth, newHeight); in render()
1198 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthStencilFormat, newWidth, newHeig… in render()
1207 context.viewport(0, 0, newWidth, newHeight); in render()
1244 …readPixels(context, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRang… in render()
/external/skqp/src/core/
DSkImageFilter.cpp349 int newWidth, int newHeight, int offX, int offY) { in pad_image() argument
366 sk_sp<SkSpecialSurface> surf(src->makeSurface(outProps, SkISize::Make(newWidth, newHeight))); in pad_image()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1307 GLint newWidth = (width + 7) & ~7; in fxt1_encode() local
1309 newSource = malloc(comps * newWidth * newHeight * sizeof(GLubyte)); in fxt1_encode()
1315 upscale_teximage2d(width, height, newWidth, newHeight, in fxt1_encode()
1319 width = newWidth; in fxt1_encode()
1321 srcRowStride = comps * newWidth; in fxt1_encode()
Dmipmap.c1921 GLint newWidth, newHeight, newDepth; in _mesa_prepare_mipmap_levels() local
1927 &newWidth, &newHeight, &newDepth)) { in _mesa_prepare_mipmap_levels()
1933 newWidth, newHeight, newDepth, in _mesa_prepare_mipmap_levels()
1938 width = newWidth; in _mesa_prepare_mipmap_levels()
/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp1745 int newWidth = 64; in render() local
1753 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorbufferFormat, newWidth, newHeight); in render()
1758 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorbufferFormat, newWidth, newHeigh… in render()
1769 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthbufferFormat, newWidth, newHeigh… in render()
1776 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().stencilbufferFormat, newWidth, newHei… in render()
1780 context.viewport(0, 0, newWidth, newHeight); in render()
1817 context.readPixels(dst, 0, 0, newWidth, newHeight); in render()
/external/catch2/third_party/
Dclara.hpp204 auto width( size_t newWidth ) -> Column& { in width() argument
205 assert( newWidth > 0 ); in width()
206 m_width = newWidth; in width()
/external/catch2/include/external/
Dclara.hpp204 auto width(size_t newWidth) -> Column& { in width() argument
205 assert(newWidth > 0); in width()
206 m_width = newWidth; in width()
/external/skia/src/core/
DSkImageFilter.cpp369 int newWidth, int newHeight, int offX, int offY) { in pad_image() argument
385 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(SkISize::Make(newWidth, newHeight))); in pad_image()
/external/skqp/site/user/api/
DSkImageInfo_Reference.md972 …ImageInfo'>SkImageInfo</a> <a href='#SkImageInfo_makeWH'>makeWH</a>(int newWidth, int newHeight) c…
1690 …ImageInfo'>SkImageInfo</a> <a href='#SkImageInfo_makeWH'>makeWH</a>(int newWidth, int newHeight)co…
1698 <table> <tr> <td><a name='SkImageInfo_makeWH_newWidth'><code><strong>newWidth</strong></code></…
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderImageLoadStoreTests.cpp222 int newWidth = int(width * scale); in scaleDimensionsToMemory() local
227 << " to " << newWidth << "x" << newHeight << "." << tcu::TestLog::EndMessage; in scaleDimensionsToMemory()
229 width = newWidth; in scaleDimensionsToMemory()

12