HomeSort by relevance Sort by last modified time
    Searched defs:newWidth (Results 1 - 25 of 58) sorted by null

1 2 3

  /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/angle/samples/gles2_book/MipMap2D/
MipMap2D.c 175 int newWidth,
180 &newWidth, &newHeight );
184 newWidth, newHeight, 0, GL_RGB,
195 width = newWidth;
  /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 130 int newWidth = (int) originalWidth;
134 newWidth = (int) Math.round(originalWidth * scale);
138 Bitmap.createScaledBitmap(originalBitmap, newWidth, newHeight, true);
149 int newWidth = (int) originalWidth;
153 newWidth = (int) Math.round(originalWidth * scale);
156 Bitmap bitmap = Bitmap.createBitmap(newWidth, newHeight, bitmapConfig);
158 canvas.scale((float) (newWidth / originalWidth),
  /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 252 int newWidth = (int) (orgWidth / ratio);
256 if (newWidth <= 0 || newHeight <= 0) {
263 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 223 final int newWidth = (int) (cropWidth * scaleFactor);
225 final Bitmap scaledBitmap = Bitmap.createBitmap(newWidth, newHeight,
  /packages/services/Telephony/src/com/android/phone/
ContactsAsyncHelper.java 283 int newWidth = (int) (orgWidth / ratio);
287 if (newWidth <= 0 || newHeight <= 0) {
294 return Bitmap.createScaledBitmap(orgBitmap, newWidth, newHeight, true);
  /external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
AwtPanel.java 44 private int newWidth = 1;
62 if (newWidth != newWidth2 || newHeight != newHeight2){
63 newWidth = newWidth2;
66 System.out.println("EDT: componentResized " + newWidth + ", " + newHeight);
266 reshapeInThread(newWidth, newHeight);
  /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;
  /frameworks/base/media/java/android/media/videoeditor/
OverlayFrame.java 374 int newWidth = ((overlayCanvas.getHeight() * overlayBitmap.getWidth())
376 left = (overlayCanvas.getWidth() - newWidth) / 2;
378 right = left + newWidth;
404 int newWidth = ((overlayBitmap.getHeight() * overlayCanvas.getWidth())
406 left = (overlayBitmap.getWidth() - newWidth) / 2;
408 right = left + newWidth;
VideoEditor.java 262 int newWidth = ((overlayCanvas.getHeight() * mOverlayBitmap.getWidth())
264 left = (overlayCanvas.getWidth() - newWidth) / 2;
266 right = left + newWidth;
292 int newWidth = ((mOverlayBitmap.getHeight() * overlayCanvas.getWidth())
294 left = (mOverlayBitmap.getWidth() - newWidth) / 2;
296 right = left + newWidth;
  /packages/apps/Camera2/src/com/android/camera/crop/
BoundedRect.java 301 float newWidth = Math.abs(fixed_x - p[0]);
303 newWidth = Math.max(newWidth, aspRatio * newHeight);
304 if (newWidth < widthSoFar)
305 widthSoFar = 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/WebKit/Source/core/rendering/
RenderImage.cpp 236 LayoutUnit newWidth = computedValues.m_extent;
240 imageSizeChanged = width() != newWidth || height() != newHeight;
  /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/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/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/
LwjglCanvas.java 210 int newWidth = Math.max(canvas.getWidth(), 1);
212 if (width != newWidth || height != newHeight){
213 width = newWidth;
  /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 198 final int newWidth = Math.max(0, childWidth - delta);
199 mImposedTabWidths[i] = newWidth;
201 extraWidth -= childWidth - newWidth; // delta may have been clamped
  /frameworks/base/core/jni/
android_app_NativeActivity.cpp 511 int32_t newWidth = getWindowProp(code->nativeWindow.get(),
515 if (newWidth != code->lastWindowWidth
  /frameworks/native/libs/gui/
GLConsumer.cpp 917 int32_t newWidth = mCurrentCrop.width();
920 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
921 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
922 ST_LOGV("too wide: newWidth = %d", newWidth);
923 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
924 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
929 if (newWidth < mCurrentCrop.width()) {
930 int32_t dw = (newWidth - mCurrentCrop.width())/2;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ScrollingTabContainerView.java 114 final int newWidth = getMeasuredWidth();
116 if (lockedExpanded && oldWidth != newWidth) {

Completed in 1710 milliseconds

1 2 3