Lines Matching refs:aSplitPos
132 Point aSplitPos; in Resize() local
139 aSplitPos = m_pSplitter->GetPosPixel(); in Resize()
144 aSplitPos.Y() = aPlaygroundPos.Y(); in Resize()
147 if( ( aSplitPos.X() + aSplitSize.Width() ) > ( aPlaygroundSize.Width() )) in Resize()
148 aSplitPos.X() = aPlaygroundSize.Width() - aSplitSize.Width(); in Resize()
150 if( aSplitPos.X() <= aPlaygroundPos.X() ) in Resize()
151 aSplitPos.X() = aPlaygroundPos.X() + sal_Int32(aPlaygroundSize.Width() * 0.3); in Resize()
155 Size aTreeViewSize( aSplitPos.X(), aPlaygroundSize.Height() ); in Resize()
161 m_pSplitter->SetPosSizePixel( aSplitPos, Size( aSplitSize.Width(), aPlaygroundSize.Height() ) ); in Resize()
166 aSplitPos.X() = aPlaygroundPos.X(); in Resize()
169 if( ( aSplitPos.Y() + aSplitSize.Height() ) > ( aPlaygroundSize.Height() )) in Resize()
170 aSplitPos.Y() = aPlaygroundSize.Height() - aSplitSize.Height(); in Resize()
172 if( aSplitPos.Y() <= aPlaygroundPos.Y() ) in Resize()
173 aSplitPos.Y() = aPlaygroundPos.Y() + sal_Int32(aPlaygroundSize.Height() * 0.3); in Resize()
177 Size aTreeViewSize( aPlaygroundSize.Width() ,aSplitPos.Y()); in Resize()
183 m_pSplitter->SetPosSizePixel( aSplitPos, Size( aPlaygroundSize.Width(), aSplitSize.Height() ) ); in Resize()
191 m_pRight->SetPosSizePixel( aSplitPos.X() + aSplitSize.Width(), aPlaygroundPos.Y(), in Resize()
192 aPlaygroundSize.Width() - aSplitSize.Width() - aSplitPos.X(), aPlaygroundSize.Height()); in Resize()
194 …m_pRight->SetPosSizePixel( aSplitPos.X(), aPlaygroundPos.Y() + aSplitPos.Y() + aSplitSize.Height(), in Resize()
195 … aPlaygroundSize.Width() , aPlaygroundSize.Height() - aSplitSize.Height() - aSplitPos.Y()); in Resize()