Home
last modified time | relevance | path

Searched refs:minSize (Results 1 – 18 of 18) sorted by relevance

/external/chromium/chrome/browser/ui/cocoa/
Dprofile_menu_button_unittest.mm56 NSSize minSize = [button minControlSize];
57 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
60 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
61 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
64 EXPECT_TRUE(NSEqualSizes(minSize, [button minControlSize]));
65 EXPECT_GT([button desiredControlSize].height, minSize.height);
66 EXPECT_GT([button desiredControlSize].width, minSize.width);
69 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
70 EXPECT_TRUE(NSEqualSizes(minSize, [button desiredControlSize]));
Dbrowser_window_controller.mm267 NSSize minSize = [[self window] minSize];
270 if (windowRect.width() < minSize.width)
271 windowRect.set_width(minSize.width);
272 if (windowRect.height() < minSize.height)
273 windowRect.set_height(minSize.height);
/external/srec/portable/src/
Dpstream.c388 int cbAvail, minSize; in PortFread() local
416 minSize = cbRemain < cbAvail ? cbRemain : cbAvail; in PortFread()
417 passert(minSize >= 0); in PortFread()
419 cbRemain -= minSize; in PortFread()
420 while (minSize-- > 0) in PortFread()
445 int cbAvail, minSize; in PortFwrite() local
493 minSize = cbWrite < cbAvail ? cbWrite : cbAvail; in PortFwrite()
495 memcpy((char *)PortFile->curPos, buffer, minSize); in PortFwrite()
496 buffer += minSize; in PortFwrite()
497 PortFile->curPos += minSize; in PortFwrite()
[all …]
/external/icu4c/tools/genrb/
Dustr.c28 #define ALLOCATION(minSize) (minSize < 0x80 ? 0x80 : (2 * minSize + 0x80) & ~(0x80 - 1)) argument
/external/skia/include/core/
DSkWriter32.h24 SkWriter32(size_t minSize) in SkWriter32() argument
25 : fMinSize(minSize), in SkWriter32()
DSkChunkAlloc.h17 SkChunkAlloc(size_t minSize);
DSkFlattenable.h206 SkFlattenableWriteBuffer(size_t minSize);
/external/chromium/chrome/browser/extensions/
Dbrowser_action_apitest.cc164 gfx::Size minSize = BrowserActionTestUtil::GetMinPopupSize(); in IN_PROC_BROWSER_TEST_F() local
169 ASSERT_GT(minSize.height() + growFactor * 2, maxSize.height()); in IN_PROC_BROWSER_TEST_F()
170 ASSERT_GT(minSize.width() + growFactor * 2, maxSize.width()); in IN_PROC_BROWSER_TEST_F()
175 EXPECT_EQ(minSize, actions_bar.GetPopupBounds().size()); in IN_PROC_BROWSER_TEST_F()
/external/skia/src/core/
DSkChunkAlloc.cpp51 SkChunkAlloc::SkChunkAlloc(size_t minSize) in SkChunkAlloc() argument
52 : fBlock(NULL), fMinSize(SkAlign4(minSize)), fPool(NULL), fTotalCapacity(0) in SkChunkAlloc()
DSkFlattenable.cpp221 SkFlattenableWriteBuffer::SkFlattenableWriteBuffer(size_t minSize) : in SkFlattenableWriteBuffer() argument
222 INHERITED(minSize) { in SkFlattenableWriteBuffer()
/external/icu4c/test/cintltst/
Dcldrtest.c115 int32_t minSize; in TestKeyInRootRecursive() local
119 … const int32_t *subRootBundleArr = ures_getIntVector(subRootBundle, &minSize, &errorCode); in TestKeyInRootRecursive()
122 if (minSize > subBundleSize) { in TestKeyInRootRecursive()
123 minSize = subBundleSize; in TestKeyInRootRecursive()
130 for (idx = 0; idx < minSize && sameArray; idx++) { in TestKeyInRootRecursive()
165 int32_t minSize = ures_getSize(subRootBundle); in TestKeyInRootRecursive() local
169 if (minSize > ures_getSize(subBundle)) { in TestKeyInRootRecursive()
170 minSize = ures_getSize(subBundle); in TestKeyInRootRecursive()
194 for (idx = 0; idx < minSize; idx++) { in TestKeyInRootRecursive()
/external/webkit/Source/WebCore/rendering/
DRenderListBox.cpp70 const int minSize = 4; variable
207 return max(minSize, specifiedSize); in size()
208 return min(max(minSize, numItems()), maxDefaultSize); in size()
DRenderThemeMac.h188 …void setControlSize(NSCell*, const IntSize* sizes, const IntSize& minSize, float zoomLevel = 1.0f);
DRenderThemeMac.mm640 void RenderThemeMac::setControlSize(NSCell* cell, const IntSize* sizes, const IntSize& minSize, flo…
643 if (minSize.width() >= static_cast<int>(sizes[NSRegularControlSize].width() * zoomLevel) &&
644 minSize.height() >= static_cast<int>(sizes[NSRegularControlSize].height() * zoomLevel))
646 else if (minSize.width() >= static_cast<int>(sizes[NSSmallControlSize].width() * zoomLevel) &&
647 minSize.height() >= static_cast<int>(sizes[NSSmallControlSize].height() * zoomLevel))
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_popup_controller.mm328 NSSize minSize = {ExtensionViewMac::kMinWidth, ExtensionViewMac::kMinHeight};
329 return minSize;
/external/webrtc/src/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp1051 unsigned minSize = std::min(x.size(), y.size()); in operator ()() local
1052 for(unsigned u = fchar_offset; u < minSize; ++u) { in operator ()()
1069 unsigned minSize = std::min(x.size(), y.size()); in operator ()() local
1070 for(unsigned u = fchar_offset; u < minSize; ++u) { in operator ()()
1087 unsigned minSize = std::min(length(x), length(y)); in operator ()() local
1088 for(unsigned u = fchar_offset; u < minSize; ++u) { in operator ()()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm1037 NSSize minSize = [profileMenuButton_ minControlSize];
1056 if (availableWidth > minSize.width) {
1065 std::max(availableWidth, minSize.width));
/external/webkit/Source/WebCore/css/
DCSSStyleSelector.cpp6834 int minSize = settings->minimumFontSize(); in getComputedSizeFromSpecifiedSize() local
6839 if (zoomedSize < minSize) in getComputedSizeFromSpecifiedSize()
6840 zoomedSize = minSize; in getComputedSizeFromSpecifiedSize()