Home
last modified time | relevance | path

Searched refs:tempColors (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_gauge.cpp160 JSRef<JSArray> tempColors = jsColor->GetValueAt(i); in SetColors() local
161 double value = tempColors->GetValueAt(1)->ToNumber<double>(); in SetColors()
162 float weight = tempColors->GetValueAt(1)->ToNumber<float>(); in SetColors()
164 if (!ParseJsColor(tempColors->GetValueAt(0), selectedColor)) { in SetColors()
203 auto tempColors = JSRef<JSArray>::Cast(jsValue); in SetGradientColors() local
205 float weight = tempColors->GetValueAt(1)->ToNumber<float>(); in SetGradientColors()
211 JSRef<JSVal> jsColorValue = tempColors->GetValueAt(0); in SetGradientColors()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_gauge_bridge.cpp174 auto tempColors = panda::CopyableGlobal<panda::ArrayRef>(vm, jsValue); in SetGradientColors() local
175 if (tempColors.IsEmpty() || tempColors->IsUndefined() || tempColors->IsNull()) { in SetGradientColors()
179 float weight = tempColors->GetValueAt(vm, jsValue, 1)->ToNumber(vm)->Value(); in SetGradientColors()
185 auto jsColorValue = tempColors->GetValueAt(vm, jsValue, 0); in SetGradientColors()

Completed in 3 milliseconds