Searched refs:candidateRect (Results 1 - 1 of 1) sorted by relevance
/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | focus_manager.cpp | 123 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByUp() local 124 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) { in CompareCandidatesByUp() 125 return currentRect.GetBottom() > candidateRect.GetBottom(); in CompareCandidatesByUp() 127 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect); in CompareCandidatesByUp() 140 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByDown() local 141 if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) { in CompareCandidatesByDown() 142 return currentRect.GetTop() < candidateRect.GetTop(); in CompareCandidatesByDown() 144 return CompareCandidatesDistance(focusedViewRect, candidateRect, currentRect); in CompareCandidatesByDown() 157 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByLeft() local 158 if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) { in CompareCandidatesByLeft() 174 Rect candidateRect = candidate->GetRect(); CompareCandidatesByRight() local [all...] |
Completed in 1 milliseconds