Lines Matching refs:aPos
248 Point aPos; in ImplCalcPos() local
324 aPos.X() = devRect.Left()-aSize.Width()+1; in ImplCalcPos()
325 aPos.Y() = devRect.Top(); in ImplCalcPos()
326 aPos.Y() -= pWindow->mpWindowImpl->mnTopBorder; in ImplCalcPos()
334 if ( aPos.X() < aScreenRect.Left() ) in ImplCalcPos()
349 aPos = devRect.TopRight(); in ImplCalcPos()
350 aPos.Y() -= pWindow->mpWindowImpl->mnTopBorder; in ImplCalcPos()
358 if ( aPos.X()+aSize.Width() > aScreenRect.Right() ) in ImplCalcPos()
373 aPos.X() = devRect.Left(); in ImplCalcPos()
374 aPos.Y() = devRect.Top()-aSize.Height()+1; in ImplCalcPos()
375 if ( aPos.Y() < aScreenRect.Top() ) in ImplCalcPos()
389 aPos = devRect.BottomLeft(); in ImplCalcPos()
390 if ( aPos.Y()+aSize.Height() > aScreenRect.Bottom() ) in ImplCalcPos()
411 if ( aPos.Y()+aSize.Height() > aScreenRect.Bottom() ) in ImplCalcPos()
413 aPos.Y() = devRect.Bottom()-aSize.Height()+1; in ImplCalcPos()
414 if ( aPos.Y() < aScreenRect.Top() ) in ImplCalcPos()
415 aPos.Y() = aScreenRect.Top(); in ImplCalcPos()
423 aPos.X() -= aScreenRect.Left() - devRectRTL.Right() + aSize.Width() - 1; in ImplCalcPos()
424 else if( aPos.X() + aSize.Width() > aScreenRect.Right() ) in ImplCalcPos()
426 aPos.X() -= aSize.Width()-2; // popup to left instead in ImplCalcPos()
427 aPos.Y() -= 2; in ImplCalcPos()
430 else if ( aPos.X()+aSize.Width() > aScreenRect.Right() ) in ImplCalcPos()
432 aPos.X() = devRect.Right()-aSize.Width()+1; in ImplCalcPos()
433 if ( aPos.X() < aScreenRect.Left() ) in ImplCalcPos()
434 aPos.X() = aScreenRect.Left(); in ImplCalcPos()
447 aPos = pW->AbsoluteScreenToOutputPixel( aPos ); in ImplCalcPos()
457 return pW->OutputToScreenPixel( aPos ); in ImplCalcPos()
739 Point aPos; in StartPopupMode() local
741 …aPos = GetParent()->OutputToScreenPixel( GetParent()->AbsoluteScreenToOutputPixel( pBox->OutputToA… in StartPopupMode()
742 aRect.SetPos( aPos ); in StartPopupMode()