Home
last modified time | relevance | path

Searched refs:focusedViewRect (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp117 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByUp() local
124 … if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) { in CompareCandidatesByUp()
134 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByDown() local
136 if (currentRect.GetTop() <= focusedViewRect.GetTop()) { in CompareCandidatesByDown()
141 … if (IsAtSameCol(focusedViewRect, currentRect) && IsAtSameCol(focusedViewRect, candidateRect)) { in CompareCandidatesByDown()
151 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByLeft() local
153 if (currentRect.GetRight() >= focusedViewRect.GetRight()) { in CompareCandidatesByLeft()
158 … if (IsAtSameRow(focusedViewRect, currentRect) && IsAtSameRow(focusedViewRect, candidateRect)) { in CompareCandidatesByLeft()
168 Rect focusedViewRect = focusedView->GetRect(); in CompareCandidatesByRight() local
170 if (currentRect.GetLeft() <= focusedViewRect.GetLeft()) { in CompareCandidatesByRight()
[all …]