/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | jpeg_exif_metadata_accessor_test.cpp | 67 std::string GetProperty(const std::shared_ptr<ExifMetadata> &metadata, const std::string &prop); 84 ASSERT_EQ(GetProperty(exifMetadata, "BitsPerSample"), "9, 7, 8"); in HWTEST_F() 85 ASSERT_EQ(GetProperty(exifMetadata, "Orientation"), "Top-right"); in HWTEST_F() 86 ASSERT_EQ(GetProperty(exifMetadata, "ImageLength"), "1000"); in HWTEST_F() 87 ASSERT_EQ(GetProperty(exifMetadata, "ImageWidth"), "500"); in HWTEST_F() 88 ASSERT_EQ(GetProperty(exifMetadata, "GPSLatitude"), "39, 54, 20"); in HWTEST_F() 89 ASSERT_EQ(GetProperty(exifMetadata, "GPSLongitude"), "120, 52, 26"); in HWTEST_F() 90 ASSERT_EQ(GetProperty(exifMetadata, "GPSLatitudeRef"), "N"); in HWTEST_F() 91 ASSERT_EQ(GetProperty(exifMetadata, "GPSLongitudeRef"), "E"); in HWTEST_F() 92 ASSERT_EQ(GetProperty(exifMetadat in HWTEST_F() 1318 std::string JpegExifMetadataAccessorTest::GetProperty(const std::shared_ptr<ExifMetadata> &metadata, GetProperty() function in OHOS::Multimedia::JpegExifMetadataAccessorTest [all...] |
H A D | webp_exif_metadata_accessor_test.cpp | 81 std::string GetProperty(const std::shared_ptr<ExifMetadata>& metadata, const std::string& prop); 84 std::string WebpExifMetadataAccessorTest::GetProperty(const std::shared_ptr<ExifMetadata>& metadata, in GetProperty() function in OHOS::Multimedia::WebpExifMetadataAccessorTest 137 EXPECT_EQ(GetProperty(exifMetadata, "BitsPerSample"), "8, 8, 8"); in HWTEST_F() 138 EXPECT_EQ(GetProperty(exifMetadata, "Orientation"), "Top-right"); in HWTEST_F() 139 EXPECT_EQ(GetProperty(exifMetadata, "ImageLength"), "4608"); in HWTEST_F() 140 EXPECT_EQ(GetProperty(exifMetadata, "ImageWidth"), "3456"); in HWTEST_F() 141 EXPECT_EQ(GetProperty(exifMetadata, "GPSLatitude"), in HWTEST_F() 143 EXPECT_EQ(GetProperty(exifMetadata, "GPSLongitude"), in HWTEST_F() 145 EXPECT_EQ(GetProperty(exifMetadata, "GPSLatitudeRef"), "N"); in HWTEST_F() 146 EXPECT_EQ(GetProperty(exifMetadat in HWTEST_F() [all...] |
H A D | png_exif_metadata_accessor_test.cpp | 54 std::string GetProperty(const std::shared_ptr<ExifMetadata> &metadata, const std::string &prop); 57 std::string PngExifMetadataAccessorTest::GetProperty(const std::shared_ptr<ExifMetadata> &metadata, in GetProperty() function in OHOS::Multimedia::PngExifMetadataAccessorTest 94 ASSERT_EQ(GetProperty(exifMetadata, "XResolution"), "72"); in HWTEST_F() 95 ASSERT_EQ(GetProperty(exifMetadata, "ResolutionUnit"), "Inch"); in HWTEST_F() 96 ASSERT_EQ(GetProperty(exifMetadata, "Software"), "Adobe Photoshop CS Windows"); in HWTEST_F() 97 ASSERT_EQ(GetProperty(exifMetadata, "DateTime"), "2015:11:05 23:04:30"); in HWTEST_F() 98 ASSERT_EQ(GetProperty(exifMetadata, "YCbCrPositioning"), "Centered"); in HWTEST_F() 99 ASSERT_EQ(GetProperty(exifMetadata, "ColorSpace"), "Uncalibrated"); in HWTEST_F() 100 ASSERT_EQ(GetProperty(exifMetadata, "PixelXDimension"), "1080"); in HWTEST_F() 101 ASSERT_EQ(GetProperty(exifMetadat in HWTEST_F() [all...] |
H A D | heif_exif_metadata_accessor_test.cpp | 43 std::string GetProperty(const std::shared_ptr<ExifMetadata> &metadata, const std::string &key); 46 std::string HeifExifMetadataAccessorTest::GetProperty(const std::shared_ptr<ExifMetadata> &metadata, in GetProperty() function in OHOS::Multimedia::HeifExifMetadataAccessorTest 70 ASSERT_EQ(GetProperty(exifMetadata, "GPSLatitudeRef"), "N"); in HWTEST_F() 71 ASSERT_EQ(GetProperty(exifMetadata, "GPSLongitudeRef"), "E"); in HWTEST_F() 72 ASSERT_EQ(GetProperty(exifMetadata, "GPSLatitude"), "31, 15, 4.71"); in HWTEST_F() 73 ASSERT_EQ(GetProperty(exifMetadata, "GPSLongitude"), "121, 35, 43.32"); in HWTEST_F() 74 ASSERT_EQ(GetProperty(exifMetadata, "DateTimeOriginal"), "2024:03:18 18:15:41"); in HWTEST_F() 75 ASSERT_EQ(GetProperty(exifMetadata, "Make"), "Apple"); in HWTEST_F() 76 ASSERT_EQ(GetProperty(exifMetadata, "Model"), "iPhone 13"); in HWTEST_F() 77 ASSERT_EQ(GetProperty(exifMetadat in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_calendar.cpp | 93 auto dataJsVal = obj->GetProperty("date"); in Create() 94 auto currentDataJsVal = obj->GetProperty("currentData"); in Create() 95 auto preDataJsVal = obj->GetProperty("preData"); in Create() 96 auto nextDataJsVal = obj->GetProperty("nextData"); in Create() 105 auto controllerObj = obj->GetProperty("controller"); in Create() 106 auto yearValue = date->GetProperty("year"); in Create() 107 auto monthValue = date->GetProperty("month"); in Create() 108 auto dayValue = date->GetProperty("day"); in Create() 156 auto yearValue = obj->GetProperty("year"); in GetCalendarData() 157 auto monthValue = obj->GetProperty("mont in GetCalendarData() [all...] |
H A D | js_data_change_listener.h | 171 if (!value->GetProperty("type")->IsString()) { in TransferJSInfoType() 175 std::string operationType = value->GetProperty("type")->ToString(); in TransferJSInfoType() 208 if (value->GetProperty("index")->IsNumber()) { in transferIndex() 209 dataOperation.index = value->GetProperty("index")->ToNumber<int32_t>(); in transferIndex() 210 } else if (value->GetProperty("index")->IsObject()) { in transferIndex() 211 JSRef<JSObject> coupleIndex = JSRef<JSObject>::Cast(value->GetProperty("index")); in transferIndex() 212 if (coupleIndex->GetProperty("from")->IsNumber()) { in transferIndex() 213 dataOperation.coupleIndex.first = coupleIndex->GetProperty("from")->ToNumber<int32_t>(); in transferIndex() 215 if (coupleIndex->GetProperty("to")->IsNumber()) { in transferIndex() 216 dataOperation.coupleIndex.second = coupleIndex->GetProperty("t in transferIndex() [all...] |
H A D | js_tab_content.cpp | 108 JSRef<JSVal> builderFuncParam = paramObject->GetProperty("builder"); in SetTabBar() 124 JSRef<JSVal> typeParam = paramObject->GetProperty("type"); in SetTabBar() 137 JSRef<JSVal> textParam = paramObject->GetProperty("text"); in SetTabBar() 147 JSRef<JSVal> iconParam = paramObject->GetProperty("icon"); in SetTabBar() 176 if (!info->IsObject() || !ConvertFromJSValue(obj->GetProperty("color"), indicator.color)) { in SetIndicator() 182 if (!info->IsObject() || !ParseJsDimensionVp(obj->GetProperty("height"), indicatorHeight) || in SetIndicator() 191 if (!info->IsObject() || !ParseJsDimensionVp(obj->GetProperty("width"), indicatorWidth) || in SetIndicator() 197 if (!info->IsObject() || !ParseJsDimensionVp(obj->GetProperty("borderRadius"), indicatorBorderRadius) || in SetIndicator() 203 if (!info->IsObject() || !ParseJsDimensionVp(obj->GetProperty("marginTop"), indicatorMarginTop) || in SetIndicator() 223 if (!info->IsObject() || !ParseJsDimensionVp(obj->GetProperty("borderRadiu in SetBoard() [all...] |
H A D | js_particle.cpp | 143 auto fromJsValue = arrayItemJsObject->GetProperty("from"); in ParseAnimationFloatArray() 155 auto toJsValue = arrayItemJsObject->GetProperty("to"); in ParseAnimationFloatArray() 167 auto startMillisJsValue = arrayItemJsObject->GetProperty("startMillis"); in ParseAnimationFloatArray() 173 auto endMillisJsValue = arrayItemJsObject->GetProperty("endMillis"); in ParseAnimationFloatArray() 179 auto curveJsValue = arrayItemJsObject->GetProperty("curve"); in ParseAnimationFloatArray() 226 auto typeJsValue = updaterJsObject->GetProperty("type"); in ParseFloatUpdater() 234 auto configJsValue = updaterJsObject->GetProperty("config"); in ParseFloatUpdater() 302 auto floatRangeJsValue = floatJsObject->GetProperty("range"); in ParseFloatOption() 304 auto updaterJsValue = floatJsObject->GetProperty("updater"); in ParseFloatOption() 322 auto typeJsValue = particleJsObject->GetProperty("typ in ParseParticleObject() [all...] |
H A D | js_datepicker.cpp | 181 JSRef<JSVal> sizeProperty = pickerButtonParamObject->GetProperty("fontSize"); in ParseFontOfButtonStyle() 189 if (JSViewAbstract::ParseJsColor(pickerButtonParamObject->GetProperty("fontColor"), fontColor)) { in ParseFontOfButtonStyle() 192 auto fontWeight = pickerButtonParamObject->GetProperty("fontWeight"); in ParseFontOfButtonStyle() 196 JSRef<JSVal> style = pickerButtonParamObject->GetProperty("fontStyle"); in ParseFontOfButtonStyle() 203 JSRef<JSVal> family = pickerButtonParamObject->GetProperty("fontFamily"); in ParseFontOfButtonStyle() 213 if (pickerButtonParamObject->GetProperty("type")->IsNumber()) { in ParseButtonStyle() 214 auto buttonTypeIntValue = pickerButtonParamObject->GetProperty("type")->ToNumber<int32_t>(); in ParseButtonStyle() 223 if (pickerButtonParamObject->GetProperty("style")->IsNumber()) { in ParseButtonStyle() 224 auto styleModeIntValue = pickerButtonParamObject->GetProperty("style")->ToNumber<int32_t>(); in ParseButtonStyle() 230 if (pickerButtonParamObject->GetProperty("rol in ParseButtonStyle() [all...] |
H A D | js_navigation_utils.cpp | 38 auto itemSymbolIconObject = itemObject->GetProperty("symbolIcon"); in ParseSymbolAndIcon() 44 auto itemIconObject = itemObject->GetProperty("icon"); in ParseSymbolAndIcon() 49 auto itemActiveSymbolIconObject = itemObject->GetProperty("activeSymbolIcon"); in ParseSymbolAndIcon() 55 auto itemActiveIconObject = itemObject->GetProperty("activeIcon"); in ParseSymbolAndIcon() 69 auto colorProperty = optObj->GetProperty(BACKGROUND_COLOR_PROPERTY); in ParseBackgroundOptions() 74 auto blurProperty = optObj->GetProperty(BACKGROUND_BLUR_STYLE_PROPERTY); in ParseBackgroundOptions() 93 auto barStyleProperty = optObj->GetProperty(BAR_STYLE_PROPERTY); in ParseBarOptions() 104 if (JSViewAbstract::ParseLengthMetricsToDimension(optObj->GetProperty(PADDING_START_PROPERTY), paddingStart)) { in ParseBarOptions() 108 if (JSViewAbstract::ParseLengthMetricsToDimension(optObj->GetProperty(PADDING_END_PROPERTY), paddingEnd)) { in ParseBarOptions() 120 auto mainTitleModifierProperty = optObj->GetProperty(MAIN_TITLE_MODIFIE in ParseTextOptions() [all...] |
H A D | js_list_item_group.cpp | 57 if (!JSViewAbstract::ParseJsInteger<int32_t>(changeObject->GetProperty("start"), start) || start < 0) { in ParseChange() 63 } else if (!JSViewAbstract::ParseJsInteger<int32_t>(changeObject->GetProperty("deleteCount"), deleteCount) || in ParseChange() 67 auto childrenSizeValue = changeObject->GetProperty("childrenSize"); in ParseChange() 87 auto sizeArray = childrenSizeObj->GetProperty("sizeArray"); in SyncChildrenSize() 119 if (!ParseJsDouble(childrenSizeObj->GetProperty("defaultMainSize"), defaultSize) || !NonNegative(defaultSize)) { in SetChildrenMainSize() 130 auto changes = childrenSizeObj->GetProperty("changeArray"); in SetChildrenMainSize() 152 auto clearFunc = childrenSizeObj->GetProperty("clearChanges"); in SetChildrenMainSize() 173 if (ConvertFromJSValue(obj->GetProperty("space"), space) && space.IsNonNegative()) { in Create() 178 auto headerComponentObject = obj->GetProperty("headerComponent"); in Create() 189 auto footerComponentObject = obj->GetProperty("footerComponen in Create() [all...] |
H A D | js_badge.cpp | 74 auto value = obj->GetProperty("value"); in CreateBadgeParameters() 80 auto position = obj->GetProperty("position"); in CreateBadgeParameters() 87 JSRef<JSVal> xVal = postionValue->GetProperty("x"); in CreateBadgeParameters() 88 JSRef<JSVal> yVal = postionValue->GetProperty("y"); in CreateBadgeParameters() 102 auto style = obj->GetProperty("style"); in CreateBadgeParameters() 105 JSRef<JSVal> colorValue = value->GetProperty("color"); in CreateBadgeParameters() 106 JSRef<JSVal> fontSizeValue = value->GetProperty("fontSize"); in CreateBadgeParameters() 107 JSRef<JSVal> badgeSizeValue = value->GetProperty("badgeSize"); in CreateBadgeParameters() 108 JSRef<JSVal> badgeColorValue = value->GetProperty("badgeColor"); in CreateBadgeParameters() 109 JSRef<JSVal> borderColorValue = value->GetProperty("borderColo in CreateBadgeParameters() [all...] |
H A D | js_view_functions.cpp | 102 if (!JSViewAbstract::ParseJsDimensionVp(result->GetProperty("width"), measureWidth)) { in ExecuteMeasureSize() 105 if (!JSViewAbstract::ParseJsDimensionVp(result->GetProperty("height"), measureHeight)) { in ExecuteMeasureSize() 235 if (jsObject->GetProperty("initialRender")->IsFunction()) { in InitViewFunctions() 236 JSRef<JSVal> jsRenderFunc = jsObject->GetProperty("initialRenderView"); in InitViewFunctions() 246 JSRef<JSVal> jsRerenderFunc = jsObject->GetProperty("rerender"); in InitViewFunctions() 253 JSRef<JSVal> jsReloadFunc = jsObject->GetProperty("forceCompleteRerender"); in InitViewFunctions() 260 JSRef<JSVal> jsForceRerenderNodeFunc = jsObject->GetProperty("forceRerenderNode"); in InitViewFunctions() 267 JSRef<JSVal> jsHasNodeUpdateFunc = jsObject->GetProperty("hasNodeUpdateFunc"); in InitViewFunctions() 272 JSRef<JSVal> jsRecycleFunc = jsObject->GetProperty("recycleSelf"); in InitViewFunctions() 277 JSRef<JSVal> jsAboutToRecycleFunc = jsObject->GetProperty("aboutToRecycleInterna in InitViewFunctions() [all...] |
H A D | js_indicator.cpp | 114 JSRef<JSVal> size = obj->GetProperty("size"); in GetFontContent() 134 JSRef<JSVal> weight = obj->GetProperty("weight"); in GetFontContent() 170 JSRef<JSVal> leftValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::LEFT_VALUE)); in GetDotIndicatorInfo() 171 JSRef<JSVal> topValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::TOP_VALUE)); in GetDotIndicatorInfo() 172 JSRef<JSVal> rightValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::RIGHT_VALUE)); in GetDotIndicatorInfo() 173 JSRef<JSVal> bottomValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::BOTTOM_VALUE)); in GetDotIndicatorInfo() 174 JSRef<JSVal> startValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::START_VALUE)); in GetDotIndicatorInfo() 175 JSRef<JSVal> endValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::END_VALUE)); in GetDotIndicatorInfo() 176 JSRef<JSVal> itemWidthValue = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::ITEM_WIDTH_VALUE)); in GetDotIndicatorInfo() 177 JSRef<JSVal> itemHeightValue = obj->GetProperty(static_cas in GetDotIndicatorInfo() [all...] |
H A D | js_flex_impl.cpp | 39 JSRef<JSVal> wrapVal = obj->GetProperty("wrap"); in Create() 63 JSRef<JSVal> directionVal = obj->GetProperty("direction"); in CreateFlexComponent() 64 JSRef<JSVal> justifyVal = obj->GetProperty("justifyContent"); in CreateFlexComponent() 65 JSRef<JSVal> alignItemVal = obj->GetProperty("alignItems"); in CreateFlexComponent() 90 JSRef<JSVal> spaceVal = obj->GetProperty("space"); in CreateFlexComponent() 95 JSRef<JSObject> spaceObj = JSRef<JSObject>::Cast(obj->GetProperty("space")); in CreateFlexComponent() 96 JSRef<JSVal> mainSpaceVal = spaceObj->GetProperty("main"); in CreateFlexComponent() 112 JSRef<JSVal> spaceVal = obj->GetProperty("space"); in CreateWrapComponent() 118 JSRef<JSObject> spaceObj = JSRef<JSObject>::Cast(obj->GetProperty("space")); in CreateWrapComponent() 119 JSRef<JSVal> mainSpaceVal = spaceObj->GetProperty("mai in CreateWrapComponent() [all...] |
H A D | js_ability_component.cpp | 69 if (!obj->GetProperty("want")->IsObject()) { in Create() 72 auto want = JSRef<JSObject>::Cast(obj->GetProperty("want")); in Create() 73 if (want->GetProperty("bundleName")->IsNull() || want->GetProperty("bundleName")->IsUndefined() || in Create() 74 want->GetProperty("abilityName")->IsNull() || want->GetProperty("abilityName")->IsUndefined()) { in Create() 78 std::string bundleName = want->GetProperty("bundleName")->ToString(); in Create() 79 std::string abilityName = want->GetProperty("abilityName")->ToString(); in Create() 83 AbilityComponentModel::GetInstance()->SetWant(obj->GetProperty("want")->ToString()); in Create()
|
H A D | js_grid_col.cpp | 83 auto xs = gridParam->GetProperty("xs"); in ParserGridContainerSize() 87 auto sm = gridParam->GetProperty("sm"); in ParserGridContainerSize() 91 auto md = gridParam->GetProperty("md"); in ParserGridContainerSize() 95 auto lg = gridParam->GetProperty("lg"); in ParserGridContainerSize() 99 auto xl = gridParam->GetProperty("xl"); in ParserGridContainerSize() 103 auto xxl = gridParam->GetProperty("xxl"); in ParserGridContainerSize() 120 auto spanParam = gridParam->GetProperty("span"); in Create() 121 auto offsetParam = gridParam->GetProperty("offset"); in Create() 122 auto orderParam = gridParam->GetProperty("order"); in Create() 150 auto xVal = obj->GetProperty(" in Offset() [all...] |
H A D | js_calendar_picker.cpp | 61 JSRef<JSVal> sizeProperty = pickerButtonParamObject->GetProperty("fontSize"); in ParseFontOfButtonStyle() 69 if (JSViewAbstract::ParseJsColor(pickerButtonParamObject->GetProperty("fontColor"), fontColor)) { in ParseFontOfButtonStyle() 72 auto fontWeight = pickerButtonParamObject->GetProperty("fontWeight"); in ParseFontOfButtonStyle() 76 JSRef<JSVal> style = pickerButtonParamObject->GetProperty("fontStyle"); in ParseFontOfButtonStyle() 83 JSRef<JSVal> family = pickerButtonParamObject->GetProperty("fontFamily"); in ParseFontOfButtonStyle() 93 if (pickerButtonParamObject->GetProperty("type")->IsNumber()) { in ParseButtonStyle() 94 auto buttonTypeIntValue = pickerButtonParamObject->GetProperty("type")->ToNumber<int32_t>(); in ParseButtonStyle() 103 if (pickerButtonParamObject->GetProperty("style")->IsNumber()) { in ParseButtonStyle() 104 auto styleModeIntValue = pickerButtonParamObject->GetProperty("style")->ToNumber<int32_t>(); in ParseButtonStyle() 110 if (pickerButtonParamObject->GetProperty("rol in ParseButtonStyle() [all...] |
H A D | js_progress.cpp | 64 auto jsValue = paramObject->GetProperty("value"); in Create() 70 auto jsTotal = paramObject->GetProperty("total"); in Create() 81 auto jsStyle = paramObject->GetProperty("type"); in Create() 83 jsStyle = paramObject->GetProperty("style"); in Create() 212 auto jsStrokeWidth = paramObject->GetProperty(attrsProgressStrokeWidth); in JsSetProgressStyleOptions() 223 auto jsScaleCount = paramObject->GetProperty("scaleCount"); in JsSetProgressStyleOptions() 232 auto jsScaleWidth = paramObject->GetProperty(attrsProgressScaleWidth); in JsSetProgressStyleOptions() 262 auto strokeWidth = paramObject->GetProperty("strokeWidth"); in JsSetRingStyleOptions() 277 auto shadow = paramObject->GetProperty("shadow"); in JsSetRingStyleOptions() 287 auto status = paramObject->GetProperty("statu in JsSetRingStyleOptions() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_capturedata.cpp | 47 const std::string& RSCaptureData::GetProperty(const std::string& name) const in GetProperty() function in OHOS::Rosen::RSCaptureData 56 return Utils::ToFp32(GetProperty(name)); in GetPropertyFloat() 61 return Utils::ToFp64(GetProperty(name)); in GetPropertyDouble() 66 return Utils::ToInt8(GetProperty(name)); in GetPropertyInt8() 71 return Utils::ToUint8(GetProperty(name)); in GetPropertyUint8() 76 return Utils::ToInt16(GetProperty(name)); in GetPropertyInt16() 81 return Utils::ToUint16(GetProperty(name)); in GetPropertyUint16() 86 return Utils::ToInt32(GetProperty(name)); in GetPropertyInt32() 91 return Utils::ToUint32(GetProperty(name)); in GetPropertyUint32() 96 return Utils::ToInt64(GetProperty(nam in GetPropertyInt64() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/action_sheet/ |
H A D | js_action_sheet.cpp | 80 auto titleVal = obj->GetProperty("title"); in ParseSheetInfo() 86 auto iconVal = obj->GetProperty("icon"); in ParseSheetInfo() 92 auto actionValue = obj->GetProperty("action"); in ParseSheetInfo() 112 auto titleValue = obj->GetProperty("title"); in ParseTitleAndMessage() 119 auto subtitleValue = obj->GetProperty("subtitle"); in ParseTitleAndMessage() 126 auto messageValue = obj->GetProperty("message"); in ParseTitleAndMessage() 135 auto confirmVal = obj->GetProperty("confirm"); in ParseConfirmButton() 141 if (JSActionSheet::ParseJsString(confirmObj->GetProperty("value"), buttonValue)) { in ParseConfirmButton() 143 JSRef<JSVal> actionValue = confirmObj->GetProperty("action"); in ParseConfirmButton() 166 auto enabledValue = confirmObj->GetProperty("enable in ParseConfirmButton() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_alert_dialog.cpp | 80 if (JSAlertDialog::ParseJsString(objInner->GetProperty("value"), buttonValue)) { in ParseButtonObj() 85 auto enabledValue = objInner->GetProperty("enabled"); in ParseButtonObj() 91 auto defaultFocusValue = objInner->GetProperty("defaultFocus"); in ParseButtonObj() 97 auto style = objInner->GetProperty("style"); in ParseButtonObj() 103 if (JSAlertDialog::ParseJsColor(objInner->GetProperty("fontColor"), textColor)) { in ParseButtonObj() 108 if (JSAlertDialog::ParseJsColor(objInner->GetProperty("backgroundColor"), backgroundColor)) { in ParseButtonObj() 113 auto actionValue = objInner->GetProperty("action"); in ParseButtonObj() 133 auto primaryButton = objInner->GetProperty("primary"); in ParseButtonObj() 148 auto jsVal = obj->GetProperty(property.c_str()); in ParseButtonArray() 165 auto primaryButton = objInner->GetProperty("primar in ParseButtonArray() [all...] |
H A D | js_custom_dialog_controller.cpp | 83 JSRef<JSVal> builderCallback = constructorArg->GetProperty("builder"); in ConstructorCallback() 96 JSRef<JSVal> cancelCallback = constructorArg->GetProperty("cancel"); in ConstructorCallback() 119 JSRef<JSVal> autoCancelValue = constructorArg->GetProperty("autoCancel"); in ConstructorCallback() 125 JSRef<JSVal> customStyleValue = constructorArg->GetProperty("customStyle"); in ConstructorCallback() 131 auto alignmentValue = constructorArg->GetProperty("alignment"); in ConstructorCallback() 140 auto avoidModeValue = constructorArg->GetProperty("keyboardAvoidMode"); in ConstructorCallback() 149 auto offsetValue = constructorArg->GetProperty("offset"); in ConstructorCallback() 153 auto dxValue = offsetObj->GetProperty("dx"); in ConstructorCallback() 156 auto dyValue = offsetObj->GetProperty("dy"); in ConstructorCallback() 164 auto gridCountValue = constructorArg->GetProperty("gridCoun in ConstructorCallback() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_matrix4_module.cpp | 44 auto itemJSValue = value->GetProperty(runtime, index); in ConvertToMatrix() 86 auto objA = argv[0]->GetProperty(runtime, MATRIX_4X4); in Combine() 87 auto objB = thisObj->GetProperty(runtime, MATRIX_4X4); in Combine() 98 auto matrixArray = thisObj->GetProperty(runtime, MATRIX_4X4); in Invert() 116 auto matrixArray = thisObj->GetProperty(runtime, MATRIX_4X4); in Translate() 118 auto dxJSValue = argv[0]->GetProperty(runtime, "x"); in Translate() 120 auto dyJSValue = argv[0]->GetProperty(runtime, "y"); in Translate() 122 auto dzJSValue = argv[0]->GetProperty(runtime, "z"); in Translate() 137 auto matrixArray = thisObj->GetProperty(runtime, MATRIX_4X4); in Skew() 157 auto matrixArray = thisObj->GetProperty(runtim in Scale() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_swiper_theme.h | 51 if (!obj->HasProperty("colorValue") || !ParseJsColor(obj->GetProperty("colorValue"), color)) { in ApplyThemeToDotIndicator() 54 if (!obj->HasProperty("selectedColorValue") || !ParseJsColor(obj->GetProperty("selectedColorValue"), color)) { in ApplyThemeToDotIndicator() 75 if (!obj->HasProperty("color") || !ParseJsColor(obj->GetProperty("color"), color)) { in ApplyThemeToIndicatorStyle() 78 if (!obj->HasProperty("selectedColor") || !ParseJsColor(obj->GetProperty("selectedColor"), color)) { in ApplyThemeToIndicatorStyle() 90 if (!obj->HasProperty("fontColorValue") || !ParseJsColor(obj->GetProperty("fontColorValue"), color)) { in ApplyThemeToDigitIndicator() 93 if (!obj->HasProperty("selectedColorValue") || !ParseJsColor(obj->GetProperty("selectedColorValue"), color)) { in ApplyThemeToDigitIndicator() 105 if (!obj->HasProperty("arrowColor") || !ParseJsColor(obj->GetProperty("arrowColor"), color)) { in ApplyThemeToDisplayArrow() 109 !ParseJsColor(obj->GetProperty("backgroundColor"), color)) { in ApplyThemeToDisplayArrow()
|