/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_textpicker_bridge.cpp | 64 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetBackgroundColor() local 68 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetBackgroundColor() 142 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); // text color in SetTextStyle() local 149 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetTextStyle() 191 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); // text color in SetSelectedTextStyle() local 198 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedTextStyle() 240 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); // text color in SetDisappearTextStyle() local 247 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetDisappearTextStyle() 373 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(COLOR_INDEX); in SetDivider() local 395 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, colorObj)) { in SetDivider()
|
H A D | arkts_native_timepicker_bridge.cpp | 58 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetTextStyle() local 65 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetTextStyle() 107 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetSelectedTextStyle() local 114 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedTextStyle() 156 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetDisappearTextStyle() local 163 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetDisappearTextStyle()
|
H A D | arkts_native_toggle_bridge.cpp | 157 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetSelectedColor() local 161 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedColor() 185 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetSwitchPointColor() local 189 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSwitchPointColor() 343 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(INDEX_ARGUMENT_1); in SetBackgroundColor() local 346 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetBackgroundColor()
|
H A D | arkts_native_loading_progress_bridge.cpp | 33 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetColor() local 36 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetColor() 81 auto colorArg = runtimeCallInfo->GetCallArgRef(1); in SetForegroundColor() local 85 if (ArkTSUtils::ParseJsColorStrategy(vm, colorArg, strategy)) { in SetForegroundColor() 91 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, foregroundColor)) { in SetForegroundColor()
|
H A D | arkts_native_select_bridge.cpp | 143 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetFontColor() local 147 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, fontColor)) { in SetFontColor() 159 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetSelectedOptionBgColor() local 177 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetOptionBgColor() local 181 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, optionBgColor)) { in SetOptionBgColor() 193 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetOptionFontColor() local 209 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetSelectedOptionFontColor() local 812 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetMenuBackgroundColor() local 815 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetMenuBackgroundColor() 864 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(2); in SetDivider() local [all …]
|
H A D | arkts_native_list_item_group_bridge.cpp | 37 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(COLOR_INDEX); in SetDivider() local 41 dividerEndMarginArgs->IsUndefined() && colorArg->IsUndefined()) { in SetDivider() 65 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, colorObj)) { in SetDivider()
|
H A D | arkts_native_menu_item_bridge.cpp | 56 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetLabelFontColor() local 59 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetLabelFontColor() 82 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetContentFontColor() local 85 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetContentFontColor()
|
H A D | arkts_native_menu_bridge.cpp | 29 Local<JSValueRef> colorArg, Local<JSValueRef> startMarginArg, Local<JSValueRef> endMarginArg) in BuildMenuDividerOptions() argument 43 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in BuildMenuDividerOptions() 75 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(ARG_INDEX_2); in SetMenuDivider() local 79 if (strokeWidthArg->IsUndefined() && colorArg->IsUndefined() && startMarginArg->IsUndefined() in SetMenuDivider() 88 auto dividerOptions = BuildMenuDividerOptions(vm, strokeWidthArg, colorArg, startMarginArg, in SetMenuDivider()
|
H A D | arkts_native_checkbox_bridge.cpp | 52 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); // mark color in SetMark() local 59 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, strokeColor)) { in SetMark() 100 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetSelectedColor() local 104 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, selectedColor)) { in SetSelectedColor() 118 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetUnSelectedColor() local 122 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, unSelectedColor)) { in SetUnSelectedColor()
|
H A D | arkts_native_divider_bridge.cpp | 82 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetColor() local 85 if (ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetColor()
|
H A D | arkts_native_calendar_picker_bridge.cpp | 60 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetTextStyle() local 65 if (!colorArg->IsUndefined()) { in SetTextStyle() 66 ArkTSUtils::ParseJsColorAlpha(vm, colorArg, textColor); in SetTextStyle()
|
H A D | arkts_native_progress_bridge.cpp | 154 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(ARG_COLOR_INDEX_VALUE); in SetProgressColor() local 158 if (ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetProgressColor() 160 } else if (ConvertProgressResourceColor(vm, colorArg, gradient)) { in SetProgressColor() 556 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetProgressBackgroundColor() local 559 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetProgressBackgroundColor()
|
H A D | arkts_native_date_picker_bridge.cpp | 239 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetBackgroundColor() local 242 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetBackgroundColor()
|
H A D | arkts_native_checkboxgroup_bridge.cpp | 168 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetCheckboxGroupMark() local 179 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, strokeColor)) { in SetCheckboxGroupMark()
|
H A D | arkts_native_common_shape_bridge.cpp | 436 auto colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetForegroundColor() local 438 if (ArkTSUtils::ParseJsColorStrategy(vm, colorArg, strategy)) { in SetForegroundColor() 444 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, foregroundColor)) { in SetForegroundColor()
|
H A D | arkts_native_tabs_bridge.cpp | 197 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(TABS_ARG_INDEX_2); in SetDivider() local 203 auto isColorArgInvalid = colorArg->IsNull() || colorArg->IsUndefined(); in SetDivider() 229 if (isColorArgInvalid || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, colorObj)) { in SetDivider()
|
H A D | arkts_native_side_bar_container_bridge.cpp | 337 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_2); in SetDivider() local 372 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetDivider()
|
H A D | arkts_native_text_bridge.cpp | 186 auto colorArg = runtimeCallInfo->GetCallArgRef(1); in SetForegroundColor() local 190 if (ArkTSUtils::ParseJsColorStrategy(vm, colorArg, strategy)) { in SetForegroundColor() 196 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, foregroundColor)) { in SetForegroundColor() 619 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetTextShadow() local 641 vm, colorArg, colorArray.get(), length, ArkTSUtils::parseShadowColor); in SetTextShadow()
|
H A D | arkts_native_span_bridge.cpp | 74 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_3); in ParseTextShadow() local 89 …ArkTSUtils::ParseArray<uint32_t>(vm, colorArg, colorArray.get(), length, ArkTSUtils::parseShadowCo… in ParseTextShadow()
|
H A D | arkts_native_alphabet_indexer_bridge.cpp | 687 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetPopupTitleBackground() local 689 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetPopupTitleBackground()
|
H A D | arkts_native_common_bridge.cpp | 241 if (ParseJsShadowColorStrategy(vm, colorArg, shadowColorStrategy)) { in ParseJsShadowColor() 245 } else if (ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in ParseJsShadowColor() 2076 auto colorArg = runtimeCallInfo->GetCallArgRef(NUM_4); in SetShadow() local 2110 if (ParseJsShadowColor(vm, colorArg, type, color)) { in SetShadow() 3667 auto colorArg = runtimeCallInfo->GetCallArgRef(NUM_1); in SetForegroundColor() local 3669 if (colorArg->IsString(vm)) { in SetForegroundColor() 3670 std::string colorStr = colorArg->ToString(vm)->ToString(vm); in SetForegroundColor() 5042 if (!ArkTSUtils::ParseJsColor(vm, colorArg, color)) { in SetBackgroundEffect() 5950 if (ArkTSUtils::ParseJsColorAlpha(vm, colorArg, colorValue)) { in ParseLightSource() 8160 auto colorArg = runtimeCallInfo->GetCallArgRef(NUM_3); in SetFocusBox() local [all …]
|
H A D | arkts_native_list_bridge.cpp | 687 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(LIST_ARG_INDEX_2); in SetDivider() local 691 dividerEndMarginArgs->IsUndefined() && colorArg->IsUndefined()) { in SetDivider() 714 if (!ArkTSUtils::ParseJsColorAlpha(vm, colorArg, colorObj)) { in SetDivider()
|
H A D | arkts_native_text_input_bridge.cpp | 1315 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(CALL_ARG_3); in SetCancelButton() local 1346 if (!colorArg->IsUndefined() && !colorArg->IsNull() && in SetCancelButton() 1347 ArkTSUtils::ParseJsColorAlpha(vm, colorArg, value)) { in SetCancelButton()
|
H A D | arkts_native_image_bridge.cpp | 585 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(1); in SetFillColor() local 588 if (ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color)) { in SetFillColor()
|
H A D | arkts_native_swiper_bridge.cpp | 624 Local<JSValueRef> colorArg = runtimeCallInfo->GetCallArgRef(DOT_INDICATOR_COLOR); in GetSwiperDotIndicator() local 650 …std::string colorStr = ArkTSUtils::ParseJsColorAlpha(vm, colorArg, color) ? std::to_string(color.G… in GetSwiperDotIndicator()
|