Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/cocoa/
Dspeech_input_window_controller.mm72 CGFloat newWidth = cancelSize.width;
74 newWidth += tryAgainSize.width;
91 newWidth = std::max(newWidth, size.width + 2 * kBubbleHorizontalMargin);
104 newWidth = std::max(newWidth, textSize.width);
110 newWidth = std::max(newWidth, size.width);
113 return NSMakeSize(newWidth + 2 * kBubbleHorizontalMargin,
Ddock_icon.mm56 int newWidth = kBadgeFraction * badgeRect.size.width;
57 badgeRect.origin.x = badgeRect.size.width - newWidth;
58 badgeRect.size.width = newWidth;
/external/webkit/Source/WebCore/platform/image-decoders/qt/
DImageFrameQt.cpp92 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize() argument
98 m_size = IntSize(newWidth, newHeight); in setSize()
100 m_pixmap = QPixmap(newWidth, newHeight); in setSize()
/external/webkit/Source/WebCore/platform/image-decoders/cg/
DImageDecoderCG.cpp63 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize() argument
66 size_t backingStoreSize = newWidth * newHeight * sizeof(PixelData); in setSize()
73 m_size = IntSize(newWidth, newHeight); in setSize()
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscossprite.c218 int newWidth, newHeight; in WIMP_ModeChanged() local
231 newWidth = (currWidth >> oldXeig) << this->hidden->xeig; in WIMP_ModeChanged()
243 if (currWidth <= newWidth) in WIMP_ModeChanged()
245 extent[2] = newWidth; in WIMP_ModeChanged()
/external/webkit/Source/WebCore/platform/gtk/
DDragImageGtk.cpp48 int newWidth = scale.width() * cairo_image_surface_get_width(image); in scaleDragImage() local
50 …caledSurface = cairo_surface_create_similar(image, CAIRO_CONTENT_COLOR_ALPHA, newWidth, newHeight); in scaleDragImage()
DRenderThemeGtk.cpp659 int newWidth = max(2, progressRect.width() / progressActivityBlocks); in calculateProgressRect() local
660 int movableWidth = progressRect.width() - newWidth; in calculateProgressRect()
661 progressRect.setWidth(newWidth); in calculateProgressRect()
/external/webkit/Source/WebCore/html/
DHTMLTableColElement.cpp71 int newWidth = width().toInt(); in parseMappedAttribute() local
72 if (newWidth != col->width()) in parseMappedAttribute()
/external/webkit/Source/WebCore/platform/image-decoders/skia/
DImageDecoderSkia.cpp87 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize() argument
92 m_bitmap.setConfig(SkBitmap::kARGB_8888_Config, newWidth, newHeight); in setSize()
/external/webkit/Source/WebCore/rendering/
DRenderVideo.cpp167 int newWidth = renderBox.height() * elementSize.width() / elementSize.height(); in videoBox() local
169 if (renderBox.width() - newWidth > 2) in videoBox()
170 renderBox.setWidth(newWidth); in videoBox()
DRenderFrameSet.cpp579 int newWidth = maxWidth - borderThickness; in positionFrames() local
583 int dWidth = (width() - newWidth) / cols; in positionFrames()
606 setWidth(max(width(), newWidth)); in positionFrames()
DRenderBox.cpp1506 int newWidth = width(); in repaintDuringLayoutIfMoved() local
1514 m_frameRect = IntRect(newX, newY, newWidth, newHeight); in repaintDuringLayoutIfMoved()
1521 void RenderBox::setVisibleWidth(int newWidth) { in setVisibleWidth() argument
1525 || m_visibleWidth == newWidth) in setVisibleWidth()
1528 m_visibleWidth = newWidth; in setVisibleWidth()
DRenderBox.h466 void setVisibleWidth(int newWidth);
/external/webkit/Source/WebCore/platform/image-decoders/
DImageDecoder.cpp195 bool ImageFrame::setSize(int newWidth, int newHeight) in setSize() argument
199 m_backingStore.resize(newWidth * newHeight); in setSize()
201 m_size = IntSize(newWidth, newHeight); in setSize()
DImageDecoder.h118 bool setSize(int newWidth, int newHeight);
/external/webkit/Source/WebCore/inspector/front-end/
DScriptsPanel.js695 …var newWidth = Number.constrain(window.innerWidth - x, Preferences.minScriptsSidebarWidth, window.…
696 this.setSidebarWidth(newWidth);
700 setSidebarWidth: function(newWidth) argument
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";
DElementsPanel.js1103 …var newWidth = Number.constrain(window.innerWidth - x, Preferences.minElementsSidebarWidth, window…
1104 this.setSidebarWidth(newWidth);
1108 setSidebarWidth: function(newWidth) argument
1110 this.sidebarElement.style.width = newWidth + "px";
1111 this.contentElement.style.right = newWidth + "px";
1112 this.sidebarResizeElement.style.right = (newWidth - 3) + "px";
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/
Dwrench_menu_controller.mm189 CGFloat newWidth = size.width;
190 delta += newWidth - originalWidth;
/external/webkit/Source/WebKit/mac/WebView/
DWebVideoFullscreenController.mm257 double newWidth = originalRatio * frameToConstrain->size.height;
258 double diff = frameToConstrain->size.width - newWidth;
259 frameToConstrain->size.width = newWidth;
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller_unittest.mm1058 CGFloat newWidth = NSWidth([toWindow frame]);
1059 EXPECT_LT(oldWidth + 30.0, newWidth);