Lines Matching refs:currentRect
118 Rect currentRect = current->GetRect();
119 if (currentRect.GetBottom() >= focusedViewRect.GetBottom()) {
124 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) {
125 return currentRect.GetBottom() > candidateRect.GetBottom();
127 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
135 Rect currentRect = current->GetRect();
136 if (currentRect.GetTop() <= focusedViewRect.GetTop()) {
141 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) {
142 return currentRect.GetTop() < candidateRect.GetTop();
144 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
152 Rect currentRect = current->GetRect();
153 if (currentRect.GetRight() >= focusedViewRect.GetRight()) {
158 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) {
159 return currentRect.GetRight() > candidateRect.GetRight();
161 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);
169 Rect currentRect = current->GetRect();
170 if (currentRect.GetLeft() <= focusedViewRect.GetLeft()) {
175 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) {
176 return currentRect.GetLeft() < candidateRect.GetLeft();
178 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect);