Lines Matching refs:aInnerSize
259 Size aInnerSize = aSize; in NotifyChange() local
260 aInnerSize.Width() -= 2; in NotifyChange()
261 aInnerSize.Height() -= 2; in NotifyChange()
265 if ( aDrawSize.Width() > aInnerSize.Width() ) in NotifyChange()
267 aDrawSize.Height() = aDrawSize.Height() * aInnerSize.Width() / aDrawSize.Width(); in NotifyChange()
268 if ( aDrawSize.Height() > aInnerSize.Height() ) in NotifyChange()
271 aDrawSize.Height() = aInnerSize.Height(); in NotifyChange()
274 aDrawSize.Width() = aInnerSize.Width(); in NotifyChange()
276 else if ( aDrawSize.Height() > aInnerSize.Height() ) in NotifyChange()
278 aDrawSize.Width() = aDrawSize.Width() * aInnerSize.Height() / aDrawSize.Height(); in NotifyChange()
279 if ( aDrawSize.Width() > aInnerSize.Width() ) in NotifyChange()
282 aDrawSize.Width() = aInnerSize.Width(); in NotifyChange()
285 aDrawSize.Height() = aInnerSize.Height(); in NotifyChange()