Home
last modified time | relevance | path

Searched refs:currentRect (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp118 Rect currentRect = current->GetRect(); in CompareCandidatesByUp() local
119 if (currentRect.GetBottom() >= focusedViewRect.GetBottom()) { in CompareCandidatesByUp()
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()
135 Rect currentRect = current->GetRect(); in CompareCandidatesByDown() local
136 if (currentRect.GetTop() <= focusedViewRect.GetTop()) { in CompareCandidatesByDown()
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()
152 Rect currentRect = current->GetRect(); CompareCandidatesByLeft() local
169 Rect currentRect = current->GetRect(); CompareCandidatesByRight() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_effect_render_node_drawable.cpp88 auto currentRect = canvas.GetDeviceClipBounds(); in GenerateEffectDataOnDemand() local
90 auto offscreenSurface = surface->MakeSurface(currentRect.GetWidth(), currentRect.GetHeight()); in GenerateEffectDataOnDemand()
101 currentMatrix.PostTranslate(-currentRect.GetLeft(), -currentRect.GetTop()); in GenerateEffectDataOnDemand()
108 effectData->cachedRect_.Offset(currentRect.GetLeft(), currentRect.GetTop()); in GenerateEffectDataOnDemand()
/foundation/window/window_manager/window_scene/session/host/src/
H A Dsystem_session.cpp284 auto currentRect = winRect_; in CheckKeyEventDispatch() local
285 if (!GetRSVisible() || currentRect.width_ == 0 || currentRect.height_ == 0) { in CheckKeyEventDispatch()
288 currentRect.width_, currentRect.height_, GetRSVisible(), GetPersistentId()); in CheckKeyEventDispatch()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_chart.cpp804 Rect currentRect = GetContentRect(); in DrawGradientColor() local
809 int16_t mixScale = !enableReverse_ ? (currentRect.GetBottom() - y) : (y - currentRect.GetTop()); in DrawGradientColor()
810 if ((mixScale < 0) || (mixScale >= currentRect.GetHeight())) { in DrawGradientColor()
914 Rect currentRect = GetContentRect(); in GradientColor() local
923 int16_t mixScale = enableReverse_ ? (linePoints.start.y + endY - currentRect.GetTop()) : in GradientColor()
924 (currentRect.GetBottom() - (startY - linePoints.start.y)); in GradientColor()
925 if ((mixScale < 0) || (mixScale >= currentRect.GetHeight())) { in GradientColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dframe_node.h1012 auto currentRect = GetTransformRectRelativeToWindow(); in GetVirtualNodeTransformRectRelativeToWindow() local
1013 currentRect.SetTop(currentRect.Top() + parentRect.Top()); in GetVirtualNodeTransformRectRelativeToWindow()
1014 currentRect.SetLeft(currentRect.Left() + parentRect.Left()); in GetVirtualNodeTransformRectRelativeToWindow()
1015 return currentRect; in GetVirtualNodeTransformRectRelativeToWindow()
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Drender_node.cpp970 Rect currentRect = Rect(GetGlobalOffset(), GetLayoutSize()); in SetAccessibilityRect() local
971 Rect clampRect = currentRect.Constrain(parentRect); in SetAccessibilityRect()
975 node->SetGlobalRect(currentRect * content->GetViewScale()); in SetAccessibilityRect()
1011 Rect currentRect = Rect(GetGlobalOffset(), GetLayoutSize()); in SetAccessibilityRect() local
1012 Rect clampRect = currentRect.Constrain(parentRect); in SetAccessibilityRect()
1014 node->SetGlobalRect(currentRect * content->GetViewScale()); in SetAccessibilityRect()

Completed in 10 milliseconds