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

1 2 3

  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilterDownsample.java 65 int newWidth = orig_w * p / 100;
69 if (newWidth <= 0 || newHeight <= 0 || newWidth >= w || newHeight >= h) {
72 Bitmap ret = Bitmap.createScaledBitmap(bitmap, newWidth, newHeight, true);
  /external/webkit/Source/WebCore/platform/image-decoders/cg/
ImageDecoderCG.cpp 63 bool ImageFrame::setSize(int newWidth, int newHeight)
66 size_t backingStoreSize = newWidth * newHeight * sizeof(PixelData);
73 m_size = IntSize(newWidth, newHeight);
  /external/webkit/Source/WebCore/platform/image-decoders/qt/
ImageFrameQt.cpp 92 bool ImageFrame::setSize(int newWidth, int newHeight)
98 m_size = IntSize(newWidth, newHeight);
100 m_pixmap = QPixmap(newWidth, newHeight);
  /external/webkit/Source/WebCore/html/
HTMLTableColElement.cpp 71 int newWidth = width().toInt();
72 if (newWidth != col->width())
  /external/webkit/Source/WebCore/platform/gtk/
DragImageGtk.cpp 48 int newWidth = scale.width() * cairo_image_surface_get_width(image);
50 cairo_surface_t* scaledSurface = cairo_surface_create_similar(image, CAIRO_CONTENT_COLOR_ALPHA, newWidth, newHeight);
  /external/webkit/Source/WebCore/platform/image-decoders/skia/
ImageDecoderSkia.cpp 87 bool ImageFrame::setSize(int newWidth, int newHeight)
92 m_bitmap.setConfig(SkBitmap::kARGB_8888_Config, newWidth, newHeight);
  /cts/apps/CtsVerifier/include/colorchecker/
testingimage.h 36 int newHeight, int newWidth);
  /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;
  /frameworks/base/media/java/android/media/videoeditor/
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;
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;
  /cts/apps/CtsVerifier/lib/colorchecker/
testingimage.cpp 59 int newHeight, int newWidth) {
60 mImage = new unsigned char[newHeight * newWidth * inputChannel];
63 newHeight, newWidth, inputChannel);
65 mWidth = newWidth;
72 int widthScale = inputWidth / newWidth;
  /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);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/
ButtonPropertyEditorPresentationImpl.java 167 private static void setBounds(Control control, int newX, int newY, int newWidth, int newHeight) {
189 control.setData("oldWidth", newWidth);
195 if (oldWidth == newWidth && oldHeight == newHeight) {
201 control.setBounds(newX, newY, newWidth, newHeight);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GeometryMath.java 131 public static float scale(float oldWidth, float oldHeight, float newWidth, float newHeight) {
134 return Math.min(newWidth / oldWidth, newHeight / oldHeight);
  /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/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
BalloonHint.java 245 int newWidth = mBalloonView.getMeasuredWidth() + getPaddingLeft()
249 setWidth(newWidth);
264 mForceDismiss = oldWidth - newWidth > 1 || newWidth - oldWidth > 1;
  /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/webkit/Source/WebCore/platform/image-decoders/
ImageDecoder.cpp 195 bool ImageFrame::setSize(int newWidth, int newHeight)
199 m_backingStore.resize(newWidth * newHeight);
201 m_size = IntSize(newWidth, newHeight);
  /external/webkit/Source/WebCore/rendering/
RenderVideo.cpp 167 int newWidth = renderBox.height() * elementSize.width() / elementSize.height();
169 if (renderBox.width() - newWidth > 2)
170 renderBox.setWidth(newWidth);
  /packages/apps/Phone/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);
  /frameworks/base/core/java/android/content/res/
CompatibilityInfo.java 495 int newWidth, newHeight;
497 newWidth = newShortSize;
500 newWidth = newLongSize;
504 float sw = width/(float)newWidth;
512 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;
  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java 199 int newWidth = widthSpecSize;
202 newWidth = getPaddingLeft() + getPaddingRight() + (mCellCountX * mCellWidth) +
206 setMeasuredDimension(newWidth, newHeight);
213 MeasureSpec.makeMeasureSpec(newWidth - getPaddingLeft() -
221 setMeasuredDimension(newWidth, newHeight);
  /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/native/libs/gui/
GLConsumer.cpp 725 int32_t newWidth = mCurrentCrop.width();
728 if (newWidth * mDefaultHeight > newHeight * mDefaultWidth) {
729 newWidth = newHeight * mDefaultWidth / mDefaultHeight;
730 ST_LOGV("too wide: newWidth = %d", newWidth);
731 } else if (newWidth * mDefaultHeight < newHeight * mDefaultWidth) {
732 newHeight = newWidth * mDefaultHeight / mDefaultWidth;
737 if (newWidth < mCurrentCrop.width()) {
738 int32_t dw = (newWidth - mCurrentCrop.width())/2;

Completed in 522 milliseconds

1 2 3