/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLTableColElement.cpp | 74 int newWidth = width().toInt(); 75 if (newWidth != col->width())
|
/external/qemu/distrib/sdl-1.2.15/src/video/riscos/ |
SDL_riscossprite.c | 218 int newWidth, newHeight; 231 newWidth = (currWidth >> oldXeig) << this->hidden->xeig; 243 if (currWidth <= newWidth) 245 extent[2] = newWidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 68 int newWidth = orig_w * p / 100; 72 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) { 75 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
|
/external/chromium_org/third_party/skia/bench/ |
ETCBitmapBench.cpp | 48 etc1_uint32 newWidth = origWidth * factor; 51 etc1_uint32 newDataSz = etc1_get_encoded_data_size(newWidth, newHeight); 54 etc1_pkm_format_header(newData, newWidth, newHeight); 68 for(etc1_uint32 i = 0; i < newWidth; i += origWidth) {
|
/external/chromium_org/third_party/skia/gm/ |
etc1bitmap.cpp | 45 int newWidth = (blockWidth - 1) << 2; 48 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE; 53 etc1_pkm_format_header(newData, newWidth, newHeight); 65 *width = newWidth;
|
/external/skia/bench/ |
ETCBitmapBench.cpp | 48 etc1_uint32 newWidth = origWidth * factor; 51 etc1_uint32 newDataSz = etc1_get_encoded_data_size(newWidth, newHeight); 54 etc1_pkm_format_header(newData, newWidth, newHeight); 68 for(etc1_uint32 i = 0; i < newWidth; i += origWidth) {
|
/external/skia/gm/ |
etc1bitmap.cpp | 45 int newWidth = (blockWidth - 1) << 2; 48 size_t newDataSz = etc1_get_encoded_data_size(newWidth, newHeight) + ETC_PKM_HEADER_SIZE; 53 etc1_pkm_format_header(newData, newWidth, newHeight); 65 *width = newWidth;
|
/frameworks/av/media/libstagefright/omx/ |
SoftVideoDecoderOMXComponent.cpp | 364 uint32_t newWidth = video_def->nFrameWidth; 366 if (newWidth != oldWidth || newHeight != oldHeight) { 369 (mIsAdaptive && outputPort) ? mAdaptiveMaxWidth : newWidth; 377 mWidth = newWidth; 381 mCropWidth = newWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMultiColumnFlowThread.cpp | 141 LayoutUnit newWidth; 143 calculateColumnCountAndWidth(newWidth, dummyColumnCount); 144 return newWidth != logicalWidth();
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
framebuffer.c | 347 GLuint newWidth, newHeight; 353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 356 if (buffer->Width != newWidth || buffer->Height != newHeight) { 358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); 364 GLuint newWidth, newHeight; 370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 373 if (buffer->Width != newWidth || buffer->Height != newHeight) { 375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
UiUtils.java | 167 int newWidth = (int) originalWidth; 171 newWidth = (int) Math.round(originalWidth * scale); 175 Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true); 186 int newWidth = (int) originalWidth; 190 newWidth = (int) Math.round(originalWidth * scale); 193 Bitmap bitmap = Bitmap.createBitmap(newWidth, newHeight, bitmapConfig); 195 canvas.scale((float) (newWidth / originalWidth),
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
TransformationUtils.java | 248 final int newWidth = Math.round(newRect.width()); 251 Bitmap result = pool.get(newWidth, newHeight, toOrient.getConfig()); 253 result = Bitmap.createBitmap(newWidth, newHeight, toOrient.getConfig());
|
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 347 GLuint newWidth, newHeight; 353 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 356 if (buffer->Width != newWidth || buffer->Height != newHeight) { 358 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight ); 364 GLuint newWidth, newHeight; 370 ctx->Driver.GetBufferSize( buffer, &newWidth, &newHeight ); 373 if (buffer->Width != newWidth || buffer->Height != newHeight) { 375 ctx->Driver.ResizeBuffers(ctx, buffer, newWidth, newHeight );
|
/packages/apps/InCallUI/src/com/android/incallui/ |
ContactsAsyncHelper.java | 181 int newWidth = (int) (orgWidth / ratio); 185 if (newWidth <= 0 || newHeight <= 0) { 192 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 225 final int newWidth = (int) (cropWidth * scaleFactor); 227 if (newWidth <= 0 || newHeight <= 0) { 230 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
ContactsAsyncHelper.java | 181 int newWidth = (int) (orgWidth / ratio); 185 if (newWidth <= 0 || newHeight <= 0) { 192 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 494 int newWidth, newHeight; 496 newWidth = newShortSize; 499 newWidth = newLongSize; 503 float sw = width/(float)newWidth; 511 outDm.widthPixels = newWidth;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
BoundedRect.java | 303 float newWidth = Math.abs(fixed_x - p[0]); 305 newWidth = Math.max(newWidth, aspRatio * newHeight); 306 if (newWidth < widthSoFar) 307 widthSoFar = newWidth;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrAARectRenderer.cpp | 621 SkScalar newWidth = SkScalarHalf(rect.width() * vec[0].length()) + SK_ScalarHalf; 642 verts[i].fWidthHeight.fX = newWidth; [all...] |
/external/deqp/framework/egl/ |
egluGLContextFactory.cpp | 702 int newWidth = 0; 705 eglQuerySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); 709 if (newWidth != m_glRenderTarget.getWidth() || 713 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); 715 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight,
|
/external/deqp/modules/egl/ |
teglResizeTests.cpp | 262 const int newWidth = newSurface.getWidth(); 264 const int minWidth = de::min(oldWidth, newWidth); 270 const int newX = xCorner == 0 ? 0 : newWidth - minWidth;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
FlyoutControlComposite.java | 468 int newWidth = width; 470 newWidth = event.x + RESIZE_WIDTH / 2; 472 newWidth = width - event.x + RESIZE_WIDTH / 2; 474 newWidth = event.y + RESIZE_WIDTH / 2; 476 newWidth = width - event.y + RESIZE_WIDTH / 2; 479 if (newWidth != width) { 480 m_preferences.setWidth(newWidth); [all...] |
/external/skia/src/gpu/ |
GrAARectRenderer.cpp | 621 SkScalar newWidth = SkScalarHalf(rect.width() * vec[0].length()) + SK_ScalarHalf; 642 verts[i].fWidthHeight.fX = newWidth; [all...] |
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 201 final int newWidth = Math.max(0, childWidth - delta); 202 mImposedTabWidths[i] = newWidth; 204 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 525 int32_t newWidth = getWindowProp(code->nativeWindow.get(), 529 if (newWidth != code->lastWindowWidth
|