Searched refs:border2 (Results 1 – 2 of 2) sorted by relevance
350 static int compareBorders(const CollapsedBorderValue& border1, const CollapsedBorderValue& border2) in compareBorders() argument353 if (!border2.exists()) { in compareBorders()362 if (border2.style() == BHIDDEN) { in compareBorders()371 if (border2.style() == BNONE) { in compareBorders()380 if (border1.width() != border2.width()) in compareBorders()381 return border1.width() < border2.width() ? -1 : 1; in compareBorders()384 if (border1.style() != border2.style()) in compareBorders()385 return border1.style() < border2.style() ? -1 : 1; in compareBorders()388 if (border1.precedence() == border2.precedence()) in compareBorders()390 return border1.precedence() < border2.precedence() ? -1 : 1; in compareBorders()[all …]
726 const int border2 = TestShell::virtualWindowBorder * 2; in setWindowRect() local727 if (m_windowRect.width <= border2) in setWindowRect()728 m_windowRect.width = 1 + border2; in setWindowRect()729 if (m_windowRect.height <= border2) in setWindowRect()730 m_windowRect.height = 1 + border2; in setWindowRect()731 int width = m_windowRect.width - border2; in setWindowRect()732 int height = m_windowRect.height - border2; in setWindowRect()