Home
last modified time | relevance | path

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

/external/skia/src/image/
DSkImage.cpp88 SkImage* SkImage::newImage(int newWidth, int newHeight, const SkIRect* subset, in newImage() argument
90 if (newWidth <= 0 || newHeight <= 0) { in newImage()
105 if (NULL == subset && this->width() == newWidth && this->height() == newHeight) { in newImage()
109 return as_IB(this)->onNewImage(newWidth, newHeight, subset, quality); in newImage()
145 SkImage* SkImage_Base::onNewImage(int newWidth, int newHeight, const SkIRect* subset, in onNewImage() argument
148 const SkImageInfo info = SkImageInfo::Make(newWidth, newHeight, kN32_SkColorType, in onNewImage()
162 surface->getCanvas()->scale(newWidth / src.width(), newHeight / src.height()); in onNewImage()
DSkImage_Base.h60 virtual SkImage* onNewImage(int newWidth, int newHeight, const SkIRect* subset,
/external/skia/gm/
Detc1bitmap.cpp45 int newWidth = (blockWidth - 1) << 2; in slice_etc1_data() local
48 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE; in slice_etc1_data()
53 etc1_pkm_format_header(newData, newWidth, newHeight); in slice_etc1_data()
65 *width = newWidth; in slice_etc1_data()
/external/skia/bench/
DETCBitmapBench.cpp48 etc1_uint32 newWidth = origWidth * factor; in create_expanded_etc1_bitmap() local
51 etc1_uint32 newDataSz = etc1_get_encoded_data_size(newWidth, newHeight); in create_expanded_etc1_bitmap()
54 etc1_pkm_format_header(newData, newWidth, newHeight); in create_expanded_etc1_bitmap()
68 for(etc1_uint32 i = 0; i < newWidth; i += origWidth) { in create_expanded_etc1_bitmap()
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
DAwtPanel.java44 private int newWidth = 1; field in AwtPanel
62 if (newWidth != newWidth2 || newHeight != newHeight2){ in AwtPanel()
63 newWidth = newWidth2; in AwtPanel()
66 System.out.println("EDT: componentResized " + newWidth + ", " + newHeight); in AwtPanel()
266 reshapeInThread(newWidth, newHeight); in postFrame()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/
DButtonPropertyEditorPresentationImpl.java167 private static void setBounds(Control control, int newX, int newY, int newWidth, int newHeight) { in setBounds() argument
189 control.setData("oldWidth", newWidth); in setBounds()
195 if (oldWidth == newWidth && oldHeight == newHeight) { in setBounds()
201 control.setBounds(newX, newY, newWidth, newHeight); in setBounds()
/external/mesa3d/src/mesa/main/
Dframebuffer.c347 GLuint newWidth, newHeight; in _mesa_resizebuffers() local
353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); in _mesa_resizebuffers()
356 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); in _mesa_resizebuffers()
364 GLuint newWidth, newHeight; in _mesa_resizebuffers() local
370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); in _mesa_resizebuffers()
373 if (buffer->Width != newWidth || buffer->Height != newHeight) { in _mesa_resizebuffers()
375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); in _mesa_resizebuffers()
Dtexcompress_fxt1.c1330 GLint newWidth = (width + 7) & ~7; in fxt1_encode() local
1332 newSource = malloc(comps * newWidth * newHeight * sizeof(GLubyte)); in fxt1_encode()
1338 upscale_teximage2d(width, height, newWidth, newHeight, in fxt1_encode()
1342 width = newWidth; in fxt1_encode()
1344 srcRowStride = comps * newWidth; in fxt1_encode()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp525 int newWidth = 0; in postIterate() local
528 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); in postIterate()
532 if (newWidth != m_glRenderTarget.getWidth() || in postIterate()
536 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); in postIterate()
538 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight, in postIterate()
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
DLwjglCanvas.java210 int newWidth = Math.max(canvas.getWidth(), 1); in runLoop() local
212 if (width != newWidth || height != newHeight){ in runLoop()
213 width = newWidth; in runLoop()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
DFlyoutControlComposite.java468 int newWidth = width; in handle_mouseMove() local
470 newWidth = event.x + RESIZE_WIDTH / 2; in handle_mouseMove()
472 newWidth = width - event.x + RESIZE_WIDTH / 2; in handle_mouseMove()
474 newWidth = event.y + RESIZE_WIDTH / 2; in handle_mouseMove()
476 newWidth = width - event.y + RESIZE_WIDTH / 2; in handle_mouseMove()
479 if (newWidth != width) { in handle_mouseMove()
480 m_preferences.setWidth(newWidth); in handle_mouseMove()
/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/skia/include/core/
DSkImageInfo.h226 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
227 return SkImageInfo::Make(newWidth, newHeight, fColorType, fAlphaType, fProfileType); in makeWH()
DSkImage.h172 SkImage* newImage(int newWidth, int newHeight, const SkIRect* subset = NULL,
/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/deqp/modules/gles3/functional/
Des3fFboRenderTest.cpp1131 int newWidth = 64; in render() local
1173 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1178 context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1191 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().depthStencilFormat, newWidth, newHeight); in render()
1196 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthStencilFormat, newWidth, newHeig… in render()
1205 context.viewport(0, 0, newWidth, newHeight); in render()
1242 …readPixels(context, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRang… in render()
/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp1723 int newWidth = 64; in render() local
1731 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorbufferFormat, newWidth, newHeight); in render()
1736 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorbufferFormat, newWidth, newHeigh… in render()
1747 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthbufferFormat, newWidth, newHeigh… in render()
1754 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().stencilbufferFormat, newWidth, newHei… in render()
1758 context.viewport(0, 0, newWidth, newHeight); in render()
1795 context.readPixels(dst, 0, 0, newWidth, newHeight); in render()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jface_3.6.1.M20100825-0800.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...