Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_image_bridge.cpp799 auto directionChanged = isRightToLeft && isLengthMetrics; in SetBorderRadius() local
803 values[INDEX_0] = directionChanged ? topRight.Value() : topLeft.Value(); in SetBorderRadius()
804 …units[INDEX_0] = directionChanged ? static_cast<int>(topRight.Unit()) : static_cast<int>(topLeft.U… in SetBorderRadius()
805 values[INDEX_1] = directionChanged ? topLeft.Value() : topRight.Value(); in SetBorderRadius()
806 …units[INDEX_1] = directionChanged ? static_cast<int>(topLeft.Unit()) : static_cast<int>(topRight.U… in SetBorderRadius()
807 values[INDEX_2] = directionChanged ? bottomRight.Value() : bottomLeft.Value(); in SetBorderRadius()
808 …units[INDEX_2] = directionChanged ? static_cast<int>(bottomRight.Unit()) : static_cast<int>(bottom… in SetBorderRadius()
809 values[INDEX_3] = directionChanged ? bottomLeft.Value() : bottomRight.Value(); in SetBorderRadius()
810 …units[INDEX_3] = directionChanged ? static_cast<int>(bottomLeft.Unit()) : static_cast<int>(bottomR… in SetBorderRadius()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/grid/
H A Drender_grid.cpp217 bool directionChanged = direction_ != grid->GetDirection(); in Update() local
241 if (directionChanged || !scrollable_) { in Update()