Home
last modified time | relevance | path

Searched refs:minimumSize (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DIntSize.h94 void clampToMinimumSize(const IntSize& minimumSize) in clampToMinimumSize() argument
96 if (m_width < minimumSize.width()) in clampToMinimumSize()
97 m_width = minimumSize.width(); in clampToMinimumSize()
98 if (m_height < minimumSize.height()) in clampToMinimumSize()
99 m_height = minimumSize.height(); in clampToMinimumSize()
DLayoutSize.h107 void clampToMinimumSize(const LayoutSize& minimumSize) in clampToMinimumSize() argument
109 if (m_width < minimumSize.width()) in clampToMinimumSize()
110 m_width = minimumSize.width(); in clampToMinimumSize()
111 if (m_height < minimumSize.height()) in clampToMinimumSize()
112 m_height = minimumSize.height(); in clampToMinimumSize()
/external/chromium_org/content/test/data/dom_storage/
Dsanity_check.js82 function makeLargeString(minimumSize) { argument
83 return Array(minimumSize).join("X");
/external/chromium_org/third_party/WebKit/Source/platform/
DPurgeableBuffer.cpp39 static size_t minimumSize = 4 * 4096; variable
43 if (size < minimumSize) in create()
/external/clang/test/SemaObjC/
Dproperty-9-impl-method.m49 NSSize minimumSize; property
58 @dynamic tabHeaderView, headerRect, minimumSize;
/external/webrtc/src/modules/interface/
Dmodule_common_types.h443 WebRtc_Word32 VerifyAndAllocate(const WebRtc_UWord32 minimumSize);
562 VideoFrame::VerifyAndAllocate(const WebRtc_UWord32 minimumSize) in VerifyAndAllocate() argument
564 if (minimumSize < 1) in VerifyAndAllocate()
568 if(minimumSize > _bufferSize) in VerifyAndAllocate()
571 WebRtc_UWord8* newBufferBuffer = new WebRtc_UWord8[minimumSize]; in VerifyAndAllocate()
579 _bufferSize = minimumSize; in VerifyAndAllocate()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DImageResource.cpp253 LayoutSize minimumSize(imageSize.width() > 0 ? 1 : 0, imageSize.height() > 0 ? 1 : 0); in imageSizeForRenderer() local
255 imageSize.clampToMinimumSize(minimumSize); in imageSizeForRenderer()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderLayerScrollableArea.cpp1263 LayoutSize minimumSize = element->minimumSizeForResizing().shrunkTo(currentSize); in resize() local
1264 element->setMinimumSizeForResizing(minimumSize); in resize()
1272 …LayoutSize difference = (currentSize + newOffset - adjustedOldOffset).expandedTo(minimumSize) - cu… in resize()
DRenderBoxModelObject.cpp844 IntSize minimumSize(resolvedSize.width() > 0 ? 1 : 0, resolvedSize.height() > 0 ? 1 : 0); in calculateImageIntrinsicDimensions() local
847 resolvedSize.clampToMinimumSize(minimumSize); in calculateImageIntrinsicDimensions()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DDOMWindow.cpp281 FloatSize minimumSize = page->chrome().client().minimumWindowSize(); in adjustWindowRect() local
284 window.setWidth(min(max(minimumSize.width(), window.width()), screen.width())); in adjustWindowRect()
286 window.setHeight(min(max(minimumSize.height(), window.height()), screen.height())); in adjustWindowRect()