Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_triangle.cpp48 int16_t lastY = p1.y; in Draw() local
65 while (edge1.curPoint.y == lastY) { in Draw()
69 while (edge2.curPoint.y == lastY) { in Draw()
73 lastY = edge1.curPoint.y; in Draw()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Drender_pattern_lock.cpp268 int16_t lastY = lastCell.GetRow(); in AddPassPoint() local
279 if ((j != y) && (j != lastY) && in AddPassPoint()
280 … ((double(lastX - i) / (lastY - j) == double(i - x) / (j - y)) && !CheckChoosePoint(i, j))) { in AddPassPoint()
283 if ((j == lastY) && (j == y) && !CheckChoosePoint(i, j)) { in AddPassPoint()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_pattern.cpp420 int32_t lastY = lastCell.GetRow(); in AddPassPoint() local
431 if ((j != y) && (j != lastY) && in AddPassPoint()
432 … (NearEqual(static_cast<float>(lastX - i) / (lastY - j), static_cast<float>(i - x) / (j - y)) && in AddPassPoint()
436 if ((j == lastY) && (j == y) && !CheckChoosePoint(i, j)) { in AddPassPoint()