/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);
|
RenderThemeGtk.cpp | 659 int newWidth = max(2, progressRect.width() / progressActivityBlocks); 660 int movableWidth = progressRect.width() - newWidth; 661 progressRect.setWidth(newWidth);
|
/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);
|
/external/qemu/distrib/sdl-1.2.12/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;
|
MediaImageItem.java | 179 int newWidth = mScaledWidth; 184 final int [] framingBuffer = new int[newWidth]; 191 tmp, newWidth, 1); 193 intBuffer.put(framingBuffer, 0, newWidth); [all...] |
/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/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);
|
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 490 int newWidth, newHeight; 492 newWidth = newShortSize; 495 newWidth = newLongSize; 499 float sw = width/(float)newWidth; 507 outDm.widthPixels = newWidth;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewCellLayout.java | 215 int newWidth = widthSpecSize; 218 newWidth = mPaddingLeft + mPaddingRight + (mCellCountX * mCellWidth) + 222 setMeasuredDimension(newWidth, newHeight); 229 MeasureSpec.makeMeasureSpec(newWidth - mPaddingLeft - 237 setMeasuredDimension(newWidth, newHeight);
|
AppWidgetResizeFrame.java | 313 int newWidth = mWidgetView.getWidth() + 2 * mBackgroundPadding - mWidgetPaddingLeft - 331 lp.width = newWidth; 341 PropertyValuesHolder width = PropertyValuesHolder.ofInt("width", lp.width, newWidth);
|
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 200 final int newWidth = Math.max(0, childWidth - delta); 201 mImposedTabWidths[i] = newWidth; 203 extraWidth -= childWidth - newWidth; // delta may have been clamped
|
ImageView.java | 715 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + 717 if (newWidth <= widthSize) { 718 widthSize = newWidth; [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
MediaLinearLayout.java | [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
TreeView.java | 638 int newWidth, newHeight; 640 newWidth = 643 newHeight = (int) (newWidth / ratio); 648 newWidth = (int) (newHeight * ratio); 654 newWidth = Math.max(newWidth * 2, 1); 657 new Image(Display.getDefault(), newWidth, newHeight); 660 gc.fillRectangle(0, 0, newWidth, newHeight); 664 newWidth, newHeight); [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
SendUi.java | 426 int newWidth = bitmap.getWidth(); 434 newWidth = bitmap.getWidth() - navBarWidth; 436 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ScriptsPanel.js | 695 var newWidth = Number.constrain(window.innerWidth - x, Preferences.minScriptsSidebarWidth, window.innerWidth * 0.66); 696 this.setSidebarWidth(newWidth); 700 setSidebarWidth: function(newWidth) 702 this.sidebarElement.style.width = newWidth + "px"; 703 this.sidebarButtonsElement.style.width = newWidth + "px"; 704 this.viewsContainerElement.style.right = newWidth + "px"; 705 this.sidebarResizeWidgetElement.style.right = newWidth + "px"; 706 this.sidebarResizeElement.style.right = (newWidth - 3) + "px"; [all...] |
ElementsPanel.js | [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebVideoFullscreenController.mm | 257 double newWidth = originalRatio * frameToConstrain->size.height; 258 double diff = frameToConstrain->size.width - newWidth; 259 frameToConstrain->size.width = newWidth;
|
/frameworks/base/media/java/android/media/ |
RemoteControlClient.java | [all...] |