Lines Matching refs:candidateRect
123 Rect candidateRect = candidate->GetRect();
124 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) {
125 return currentRect.GetBottom() > candidateRect.GetBottom();
127 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
140 Rect candidateRect = candidate->GetRect();
141 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) {
142 return currentRect.GetTop() < candidateRect.GetTop();
144 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
157 Rect candidateRect = candidate->GetRect();
158 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) {
159 return currentRect.GetRight() > candidateRect.GetRight();
161 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
174 Rect candidateRect = candidate->GetRect();
175 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) {
176 return currentRect.GetLeft() < candidateRect.GetLeft();
178 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);