/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_date_picker_bridge.cpp | 43 …if (textColorArgs->IsUndefined() && fontSizeArgs->IsUndefined() && fontWeightArgs->IsUndefined() && in SetSelectedTextStyle() 44 fontFamilyArgs->IsUndefined() && fontStyleArgs->IsUndefined()) { in SetSelectedTextStyle() 102 …if (textColorArgs->IsUndefined() && fontSizeArgs->IsUndefined() && fontWeightArgs->IsUndefined() && in SetTextStyle() 103 fontFamilyArgs->IsUndefined() && fontStyleArgs->IsUndefined()) { in SetTextStyle() 160 …if (textColorArgs->IsUndefined() && fontSizeArgs->IsUndefined() && fontWeightArgs->IsUndefined() && in SetDisappearTextStyle() 161 fontFamilyArgs->IsUndefined() && fontStyleArgs->IsUndefined()) { in SetDisappearTextStyle() 213 if (isLunarArg->IsUndefined() || !isLunarArg->IsBoolean()) { in SetLunar()
|
H A D | arkts_native_alphabet_indexer_bridge.cpp | 55 if (!weightArg->IsNull() && !weightArg->IsUndefined()) { in SetPopupItemFont() 90 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetSelectedFont() 92 (styleValArg->IsNull() || styleValArg->IsUndefined())) { in SetSelectedFont() 97 if (!fontSizeArg->IsNull() && !fontSizeArg->IsUndefined() && in SetSelectedFont() 140 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetPopupFont() 142 (styleValArg->IsNull() || styleValArg->IsUndefined())) { in SetPopupFont() 147 if (!fontSizeArg->IsNull() && !fontSizeArg->IsUndefined() && in SetPopupFont() 190 …if ((fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) && (weightArg->IsNull() || weightArg->Is… in SetFont() 192 (styleValArg->IsNull() || styleValArg->IsUndefined())) { in SetFont() 431 if (!thirdArg->IsNull() && !thirdArg->IsUndefined() && in SetAlignStyle() [all …]
|
H A D | arkts_native_menu_bridge.cpp | 79 if (strokeWidthArg->IsUndefined() && colorArg->IsUndefined() && startMarginArg->IsUndefined() in SetMenuDivider() 80 && endMarginArg->IsUndefined()) { in SetMenuDivider() 149 …if (sizeArg->IsUndefined() && weightArg->IsUndefined() && familyArg->IsUndefined() && styleArg->Is… in SetFont() 202 … if (topLeftArgs->IsUndefined() && topRightArgs->IsUndefined() && bottomLeftArgs->IsUndefined() && in ParseRadius() 203 bottomRightArgs->IsUndefined()) { in ParseRadius() 331 if (secondArg->IsUndefined() || secondArg->IsNull()) { in SetSubMenuExpandingMode()
|
H A D | arkts_native_calendar_picker_bridge.cpp | 65 if (!colorArg->IsUndefined()) { in SetTextStyle() 103 if (!alignTypeArg->IsNull() && !alignTypeArg->IsUndefined() && alignTypeArg->IsNumber()) { in SetEdgeAlign() 108 if (!dxArg->IsNull() && !dxArg->IsUndefined()) { in SetEdgeAlign() 111 if (!dyArg->IsNull() && !dyArg->IsUndefined()) { in SetEdgeAlign() 145 …if (leftArg->IsUndefined() && rightArg->IsUndefined() && topArg->IsUndefined() && bottomArg->IsUnd… in SetCalendarPickerPadding() 200 …if (leftArg->IsUndefined() && rightArg->IsUndefined() && topArg->IsUndefined() && bottomArg->IsUnd… in SetCalendarPickerBorder()
|
H A D | arkts_native_timepicker_bridge.cpp | 65 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetTextStyle() 69 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetTextStyle() 77 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetTextStyle() 91 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) { in SetTextStyle() 114 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedTextStyle() 118 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetSelectedTextStyle() 126 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetSelectedTextStyle() 140 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) { in SetSelectedTextStyle() 167 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetDisappearTextStyle() 175 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetDisappearTextStyle() [all …]
|
H A D | arkts_native_menu_item_bridge.cpp | 113 …if (sizeArg->IsUndefined() && weightArg->IsUndefined() && familyArg->IsUndefined() && styleArg->Is… in SetLabelFont() 169 …if (sizeArg->IsUndefined() && weightArg->IsUndefined() && familyArg->IsUndefined() && styleArg->Is… in SetContentFont()
|
H A D | arkts_native_list_bridge.cpp | 72 if (!minLengthArg->IsUndefined() && !maxLengthArg->IsUndefined() && in SetListLanes() 103 if (secondArg->IsUndefined()) { in SetEditMode() 131 if (secondArg->IsUndefined()) { in SetMultiSelectable() 248 if (secondArg->IsUndefined()) { in SetSticky() 350 if (secondArg->IsUndefined()) { in SetListDirection() 438 if (!thirdArg->IsUndefined()) { in SetListNestedScroll() 474 if (secondArg->IsUndefined()) { in SetListScrollBar() 690 if (dividerStrokeWidthArgs->IsUndefined() && dividerStartMarginArgs->IsUndefined() && in SetDivider() 691 dividerEndMarginArgs->IsUndefined() && colorArg->IsUndefined()) { in SetDivider() 768 …if (minSpaceArgs->IsUndefined() && maxSpaceArgs->IsUndefined() && conductivityArgs->IsUndefined() … in SetChainAnimationOptions() [all …]
|
H A D | arkts_native_navigation_bridge.cpp | 40 if (!hideArg->IsNull() && !hideArg->IsUndefined() && hideArg->IsBoolean()) { in SetHideToolBar() 43 if (!animatedArg->IsNull() && !animatedArg->IsUndefined() && animatedArg->IsBoolean()) { in SetHideToolBar() 171 if (valueArg->IsUndefined() || !valueArg->IsNumber()) { in SetUsrNavigationMode() 201 if (!hideArg->IsNull() && !hideArg->IsUndefined() && hideArg->IsBoolean()) { in SetHideTitleBar() 204 if (!animatedArg->IsNull() && !animatedArg->IsUndefined() && animatedArg->IsBoolean()) { in SetHideTitleBar() 228 if (valueArg->IsUndefined() || !valueArg->IsNumber()) { in SetNavBarPosition() 282 if (jsValue->IsNull() || jsValue->IsUndefined() || !jsValue->IsArray(vm)) { in SetNavBarWidthRange() 290 if (minNavBarWidth->IsNull() || minNavBarWidth->IsUndefined() || in SetNavBarWidthRange() 299 if (maxNavBarWidth->IsNull() || maxNavBarWidth->IsUndefined() || in SetNavBarWidthRange() 531 } else if (menusArg->IsUndefined()) { in SetMenus() [all …]
|
H A D | arkts_native_textpicker_bridge.cpp | 149 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetTextStyle() 153 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetTextStyle() 161 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetTextStyle() 175 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) { in SetTextStyle() 198 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedTextStyle() 202 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetSelectedTextStyle() 210 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetSelectedTextStyle() 224 if (!fontStyleArg->IsNull() && !fontStyleArg->IsUndefined()) { in SetSelectedTextStyle() 251 if (fontSizeArg->IsNull() || fontSizeArg->IsUndefined()) { in SetDisappearTextStyle() 259 if (!fontWeightArg->IsNull() && !fontWeightArg->IsUndefined()) { in SetDisappearTextStyle() [all …]
|
H A D | arkts_native_tabs_bridge.cpp | 53 if (barModeArg->IsNull() || barModeArg->IsUndefined()) { in SetTabBarMode() 64 nonScrollableLayoutStyleArg->IsUndefined()) { in SetTabBarMode() 99 if (thirdArg->IsUndefined()) { in SetScrollableBarModeOptions() 273 if (secondArg->IsUndefined() || secondArg->IsNull()) { in SetFadingEdge() 354 if (overlapArg->IsUndefined()) { in SetBarOverlap() 380 if (isVerticalArg->IsNull() || isVerticalArg->IsUndefined()) { in SetIsVertical() 406 if (barValArg->IsNull() || barValArg->IsUndefined()) { in SetTabBarPosition() 434 if (scrollableArg->IsNull() || scrollableArg->IsUndefined()) { in SetScrollable() 544 if (durationArg->IsNull() || durationArg->IsUndefined()) { in SetAnimationDuration() 594 if (info[TABS_ARG_INDEX_1]->IsUndefined()) { in SetTabClip() [all …]
|
H A D | arkts_native_list_item_group_bridge.cpp | 40 if (dividerStrokeWidthArgs->IsUndefined() && dividerStartMarginArgs->IsUndefined() && in SetDivider() 41 dividerEndMarginArgs->IsUndefined() && colorArg->IsUndefined()) { in SetDivider() 142 if (styleArg->IsUndefined() || styleArg->IsNull() || !styleArg->IsNumber()) { in SetListItemGroupInitialize()
|
H A D | arkts_native_water_flow_bridge.cpp | 98 if (enableScrollInteractionArg->IsUndefined() || !enableScrollInteractionArg->IsBoolean()) { in SetEnableScrollInteraction() 137 …if (columnsGapArg->IsUndefined() || !ArkTSUtils::ParseJsDimensionVpNG(vm, columnsGapArg, columnsGa… in SetColumnsGap() 175 if (rowsGapArg->IsUndefined() || !ArkTSUtils::ParseJsDimensionVpNG(vm, rowsGapArg, rowGap)) { in SetRowsGap() 262 if (!layoutDirectionArg->IsUndefined()) { in SetLayoutDirection() 354 if (!argEdgeEffect->IsUndefined() && !argEdgeEffect->IsNull()) { in SetEdgeEffect() 363 if (argEdgeEffectOptions->IsNull() || argEdgeEffectOptions->IsUndefined()) { in SetEdgeEffect() 393 if (fadingEdgeArg->IsUndefined() || fadingEdgeArg->IsNull()) { in SetFadingEdge() 397 if (!fadingEdgeLengthArg->IsUndefined() && !fadingEdgeLengthArg->IsNull() && in SetFadingEdge() 453 …scrollBarArg->IsUndefined() || (scrollBarArg->IsString(vm) && scrollBarWidth.ToString().empty()) || in SetScrollBarWidth() 481 … if (!ArkTSUtils::ParseJsString(vm, argColor, color) || argColor->IsUndefined() || color.empty()) { in SetScrollBarColor() [all …]
|
H A D | arkts_native_toggle_bridge.cpp | 121 CHECK_EQUAL_RETURN(context->IsUndefined(), true, nullptr); in SetContentModifierBuilder() 143 …CHECK_EQUAL_RETURN(nodeptr.IsEmpty() || nodeptr->IsUndefined() || nodeptr->IsNull(), true, nullptr… in SetContentModifierBuilder() 161 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSelectedColor() 189 …if (colorArg->IsNull() || colorArg->IsUndefined() || !ArkTSUtils::ParseJsColorAlpha(vm, colorArg, … in SetSwitchPointColor() 218 if (!pointRadiusArg->IsUndefined() && in SetSwitchStyle() 227 if (unselectedColorArg->IsNull() || unselectedColorArg->IsUndefined() || in SetSwitchStyle() 234 if (pointColorArg->IsNull() || pointColorArg->IsUndefined() || in SetSwitchStyle() 241 if (!trackRadiusArg->IsUndefined() && in SetSwitchStyle() 372 if (hoverEffectArg->IsUndefined() || !hoverEffectArg->IsNumber()) { in SetHoverEffect()
|
H A D | arkts_native_form_component_bridge.cpp | 72 if (dimensionArg->IsNull() || dimensionArg->IsUndefined()) { in SetDimension() 98 if (moduleNameArg->IsNull() || moduleNameArg->IsUndefined()) { in SetModuleName() 128 bool hasWidth = (!widthValue->IsNull() && !widthValue->IsUndefined() && in SetSize() 130 bool hasHeight = (!heightValue->IsNull() && !heightValue->IsUndefined() && in SetSize()
|
H A D | arkts_native_stepper_item_bridge.cpp | 27 if (valueArg->IsUndefined() || valueArg->IsNull()) { in SetNextLabel() 53 if (valueArg->IsUndefined() || valueArg->IsNull()) { in SetPrevLabel() 79 if (valueArg->IsUndefined() || !valueArg->IsNumber()) { in SetStatus()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_scrollable.cpp | 30 …if (jsValue->IsNull() || jsValue->IsUndefined() || !JSViewAbstract::ParseJsInt32(jsValue, edgeEffe… in ParseEdgeEffect() 40 if ((!(jsValue->IsNull() || jsValue->IsUndefined())) && jsValue->IsObject()) { in ParseAlwaysEnable() 54 if (!info[0]->IsUndefined() && info[0]->IsNumber()) { in ParseDisplayMode() 81 …ract::ParseJsDimensionVp(info[0], scrollBarWidth) || info[0]->IsNull() || info[0]->IsUndefined() || in ParseBarWidth() 95 if (info[0]->IsUndefined()) { in JsClip()
|
H A D | js_search.cpp | 183 if (param->GetProperty("placeholder")->IsUndefined()) { in Create() 251 if (info[0]->IsUndefined() || !info[0]->IsBoolean()) { in SetEnableKeyboardOnFocus() 317 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SetSearchIcon() 482 if (iconProp->IsUndefined() || iconProp->IsNull()) { in SetCancelButton() 556 if (tmpInfo->IsUndefined()) { in SetInputFilter() 621 if (fontSize->IsNull() || fontSize->IsUndefined()) { in SetPlaceholderFont() 903 if (info[0]->IsUndefined()) { in SetCopyOption() 998 if (info[0]->IsUndefined() || !info[0]->IsBoolean()) { in SetSelectionMenuHidden() 1033 if (info[0]->IsUndefined()) { in SetType() 1055 if (info[0]->IsUndefined()) { in SetEnterKeyType() [all …]
|
H A D | js_interactable_view.cpp | 48 if (args[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnTouch() 78 if (args[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnKey() 100 if (args[0]->IsUndefined()) { in JsOnKeyPreIme() 122 if (info[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnHover() 189 if (jsOnClickVal->IsUndefined() && IsDisableEventVersion()) { in JsOnClick() 244 if (info[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnAppear() 264 if (info[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnDisAppear() 285 if (info[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnAttach() 305 if (info[0]->IsUndefined() && IsDisableEventVersion()) { in JsOnDetach()
|
H A D | js_textfield.cpp | 139 if (textValue->IsUndefined()) { in CreateTextInput() 188 if (textValue->IsUndefined()) { in CreateTextArea() 214 if (jsValue->IsUndefined()) { in SetType() 231 if (jsValue->IsUndefined()) { in SetContentType() 263 if (fontSize->IsNull() || fontSize->IsUndefined()) { in SetPlaceholderFont() 315 if (jsValue->IsUndefined()) { in SetEnterKeyType() 473 if (jsValue->IsUndefined()) { in SetMaxLength() 588 if (jsValue->IsUndefined()) { in SetInputFilter() 1048 if (jsValue->IsUndefined()) { in SetCopyOption() 1296 if (jsValue->IsUndefined() || !jsValue->IsBoolean()) { in SetEnableKeyboardOnFocus() [all …]
|
H A D | js_progress.cpp | 82 if (jsStyle->IsNull() || jsStyle->IsUndefined()) { in Create() 148 if (info[0]->IsNull() || info[0]->IsUndefined() || !ParseJsColor(info[0], colorVal)) { in SetColor() 263 if (strokeWidth->IsUndefined() || strokeWidth->IsNull() || in JsSetRingStyleOptions() 278 if (shadow->IsUndefined() || shadow->IsNull() || !ParseJsBool(shadow, paintShadow)) { in JsSetRingStyleOptions() 288 if (status->IsUndefined() || status->IsNull() || !ParseJsString(status, statusStr)) { in JsSetRingStyleOptions() 368 if (jsContext->IsUndefined() || jsContext->IsNull() || (!ParseJsString(jsContext, text))) { in JsSetCapsuleStyle() 470 if (param->IsNull() || param->IsUndefined() || !param->IsObject()) { in ConvertGradientColor() 508 if (strokeWidth->IsUndefined() || strokeWidth->IsNull() || in JsSetLinearStyleOptions() 530 if (strokeRadius->IsUndefined() || strokeRadius->IsNull() || in JsSetLinearStyleOptions()
|
H A D | js_select.cpp | 249 if (info[0]->IsNull() || info[0]->IsUndefined()) { in Font() 401 if (info[0]->IsNull() || info[0]->IsUndefined()) { in FontColor() 422 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SelectedOptionBgColor() 437 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SelectedOptionFont() 458 if (info[0]->IsNull() || info[0]->IsUndefined()) { in SelectedOptionFontColor() 478 if (info[0]->IsUndefined() || info[0]->IsNull()) { in OptionBgColor() 494 if (info[0]->IsNull() || info[0]->IsUndefined()) { in OptionFont() 515 if (info[0]->IsUndefined() || info[0]->IsNull()) { in OptionFontColor() 712 if (info[1]->IsUndefined() || info[1]->IsNull()) { in SetMenuAlign() 746 if (info[0]->IsUndefined() || info[0]->IsNull()) { in SetOptionWidth() [all …]
|
H A D | js_sliding_panel.cpp | 148 if (!valueTopLeft->IsUndefined()) { in ParsePanelRadius() 152 if (!valueTopRight->IsUndefined()) { in ParsePanelRadius() 156 if (!valueBottomLeft->IsUndefined()) { in ParsePanelRadius() 160 if (!valueBottomRight->IsUndefined()) { in ParsePanelRadius() 244 if (!styleJsValue->IsUndefined() && styleJsValue->IsNumber()) { in JsPanelBorder() 331 (info[0]->IsUndefined() || info[0]->IsNull())) { in SetShow()
|
H A D | js_form_menu_item.cpp | 119 if (!info[NUM_FUN_4]->IsUndefined() && info[NUM_FUN_4]->IsFunction()) { in JsOnRegClick() 164 …if (info[NUM_WANT_1]->IsUndefined() || !info[NUM_WANT_1]->IsObject() || info[NUM_ID_2]->IsUndefine… in OnClickParameterCheck()
|
H A D | js_datepicker.cpp | 407 if (fontSize->IsNull() || fontSize->IsUndefined()) { in ParseTextStyle() 418 if (!fontWeight->IsNull() && !fontWeight->IsUndefined()) { in ParseTextStyle() 428 if (!fontFamily->IsNull() && !fontFamily->IsUndefined()) { in ParseTextStyle() 654 if (!paramObj->IsUndefined()) { in CreateDatePicker() 758 if (!onDidAppear->IsUndefined() && onDidAppear->IsFunction()) { in DatePickerDialogAppearEvent() 904 if (!onChange->IsUndefined() && onChange->IsFunction()) { in GetChangeEvent() 924 if (!onAccept->IsUndefined() && onAccept->IsFunction()) { in GetAcceptEvent() 943 if (!onCancel->IsUndefined() && onCancel->IsFunction()) { in GetCancelEvent() 1674 if (!onChange->IsUndefined() && onChange->IsFunction()) { in Show() 1687 if (!onAccept->IsUndefined() && onAccept->IsFunction()) { in Show() [all …]
|
H A D | js_calendar_picker.cpp | 214 if (!valueRadius->IsUndefined()) { in SetBorder() 449 if (!changeEventVal->IsUndefined() && changeEventVal->IsFunction()) { in Create() 479 if (fontSize->IsNull() || fontSize->IsUndefined()) { in ParseTextStyle() 490 if (!fontWeight->IsNull() && !fontWeight->IsUndefined()) { in ParseTextStyle() 562 if (!onChange->IsUndefined() && onChange->IsFunction()) { in ChangeDialogEvent() 576 if (!onAccept->IsUndefined() && onAccept->IsFunction()) { in ChangeDialogEvent() 600 if (!onCancel->IsUndefined() && onCancel->IsFunction()) { in DialogCancelEvent() 623 if (!onDidAppear->IsUndefined() && onDidAppear->IsFunction()) { in AppearDialogEvent() 634 if (!onWillAppear->IsUndefined() && onWillAppear->IsFunction()) { in AppearDialogEvent() 655 if (!onDidDisappear->IsUndefined() && onDidDisappear->IsFunction()) { in DisappearDialogEvent() [all …]
|