Lines Matching defs:focusedViewRect
117 Rect focusedViewRect = focusedView->GetRect();
119 if (currentRect.GetBottom() >= focusedViewRect.GetBottom()) {
124 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) {
127 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
134 Rect focusedViewRect = focusedView->GetRect();
136 if (currentRect.GetTop() <= focusedViewRect.GetTop()) {
141 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) {
144 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
151 Rect focusedViewRect = focusedView->GetRect();
153 if (currentRect.GetRight() >= focusedViewRect.GetRight()) {
158 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) {
161 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
168 Rect focusedViewRect = focusedView->GetRect();
170 if (currentRect.GetLeft() <= focusedViewRect.GetLeft()) {
175 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) {
178 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);