/ohos5.0/build/templates/metadata/ |
H A D | write_meta_data.py | 76 root[options.type] = options.app_profile 79 root[options.type] = options.js_assets 85 root[options.type] = options.ets_assets 87 root[options.type] = options.raw_assets 89 root[options.type] = options.unresolved_assets 92 root[options.type] = options.resources 103 if options.type == 'hap' or options.type == 'resources': 221 options.js_assets = load_assets(options, options.js_assets, 'js') 223 options.ets_assets = load_assets(options, options.ets_assets, 'ets') 228 options.type, options.raw_assets, options.js_assets, options.ets_assets, options.resources, [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/ |
H A D | image_packer_native.cpp | 114 if (options == nullptr) { in CopyPackingOptions() 118 std::string format(options->mimeType.data, options->mimeType.size); in CopyPackingOptions() 133 if (*options == nullptr) { in OH_PackingOptions_Create() 178 options->mimeType.data = static_cast<char *>(malloc(options->mimeType.size)); in OH_PackingOptions_SetMimeType() 204 if (options == nullptr) { in OH_PackingOptions_SetQuality() 224 if (options == nullptr) { in OH_PackingOptions_SetNeedsPackProperties() 244 if (options == nullptr) { in OH_PackingOptions_SetDesiredDynamicRange() 254 if (options == nullptr) { in OH_PackingOptions_SetLoop() 257 options->loop = loop; in OH_PackingOptions_SetLoop() 267 *loop = options->loop; in OH_PackingOptions_GetLoop() [all …]
|
H A D | image_source_native.cpp | 128 *index = options->index; in OH_DecodingOptions_GetIndex() 138 options->index = index; in OH_DecodingOptions_SetIndex() 242 delete options; in OH_DecodingOptions_Release() 349 SourceOptions options; in OH_ImageSourceNative_CreateFromUri() local 371 SourceOptions options; in OH_ImageSourceNative_CreateFromFd() local 391 SourceOptions options; in OH_ImageSourceNative_CreateFromData() local 412 SourceOptions options; in OH_ImageSourceNative_CreateFromRawFile() local 655 if (options == nullptr || !options->GetInnerDecodingOptForPicture() || in OH_DecodingOptionsForPicture_GetDesiredAuxiliaryPictures() 678 if (options == nullptr || !options->GetInnerDecodingOptForPicture() || in OH_DecodingOptionsForPicture_SetDesiredAuxiliaryPictures() 701 delete options; in OH_DecodingOptionsForPicture_Release() [all …]
|
/ohos5.0/build/scripts/ |
H A D | build_js_assets.py | 58 options.js_assets_dir = build_utils.parse_gn_list(options.js_assets_dir) 59 options.ets_assets_dir = build_utils.parse_gn_list(options.ets_assets_dir) 60 options.js_forms_dir = build_utils.parse_gn_list(options.js_forms_dir) 61 options.testrunner_dir = build_utils.parse_gn_list(options.testrunner_dir) 62 return options 69 if options.app_profile: 200 options.nodejs_path, options.webpack_js, options.webpack_ets, 201 options.webpack_config_js, options.webpack_config_ets 204 if not options.js_assets_dir and not options.ets_assets_dir: 218 node_js = os.path.relpath(options.nodejs_path, options.ace_loader_home) [all …]
|
H A D | hapbuilder.py | 64 packaged_js_assets, assets = options.packaged_js_assets, options.assets 102 cmd = [options.nodejs_path, options.js2abc_js, '--bc-version'] 195 options.assets = build_utils.parse_gn_list(options.assets) 196 return options 203 options.hap_profile, options.packaged_js_assets, 204 options.packaged_resources, options.certificate_file, 205 options.keystore_path, options.certificate_profile 210 if options.dso: 214 lambda: create_hap(options, options.hap_path), 215 options, [all …]
|
H A D | compile_resources.py | 42 options.resources_dir = build_utils.parse_gn_list(options.resources_dir) 43 return options 48 if not options.app_profile: 54 def compile_resources(options): argument 72 if options.package_name != "" and options.package_name is not None: 91 options = parse_args(args) 93 if options.resources_dir == []: 96 inputs = ([options.restool_path, options.hap_profile]) 101 input_strings = [options.package_name] if options.package_name else [] 105 if options.output_header_file: [all …]
|
H A D | app_sign.py | 47 options = parser.parse_args(args) 48 return options 54 cmd.extend(['-signAlg', options.sign_algo]) 55 cmd.extend(['-keyAlias', options.keyalias]) 58 cmd.extend(['-profileFile', options.profileFile]) 61 cmd.extend(['-keyPwd', options.keyPwd]) 75 options = parse_args(args) 76 if not options.hap_out_dir: 77 sign_app(options, options.inFile, options.outFile) 79 if not os.path.exists(options.hap_out_dir): [all …]
|
H A D | compile_app.py | 54 return options 186 if options.test_hap: 194 options.build_level, '-p', 'product=default', options.assemble_type]) 196 if options.enable_debug: 225 sdk_dir = options.sdk_home 235 sdk_dir = options.sdk_home 273 options = parse_args(args) 279 options.ohos_app_abi, options.module_libs_dir) 288 make_env(options.build_profile, cwd, options.ohpm_registry, options) 291 hvigor_build(cwd, options) [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_dfx.cpp | 50 options_ = options; in SetDecodeInfoOptions() 77 DecodeInfoOptions options = options_; in ReportDecodeFault() local 78 ffrt::submit([options, temp] { in ReportDecodeFault() 86 "ROTATE", options.rotate, in ReportDecodeFault() 87 "EDITABLE", options.editable, in ReportDecodeFault() 88 "SAMPLE_SIZE", options.sampleSize, in ReportDecodeFault() 98 "INDEX", options.index, in ReportDecodeFault() 101 "MIMETYPE", options.mimeType, in ReportDecodeFault() 109 "ERROR_MSG", options.errorMsg); in ReportDecodeFault() 131 DecodeInfoOptions options = options_; in ReportDecodeInfo() local [all …]
|
/ohos5.0/foundation/ability/idl_tool/ |
H A D | main.cpp | 31 if (options.DoShowUsage()) { in DoOptionsCheck() 32 options.ShowUsage(); in DoOptionsCheck() 36 if (options.DoShowVersion()) { in DoOptionsCheck() 37 options.ShowVersion(); in DoOptionsCheck() 41 if (options.HasErrors()) { in DoOptionsCheck() 42 options.ShowErrors(); in DoOptionsCheck() 49 options.ShowWarning(); in DoOptionsCheck() 57 if (options.DoCompile()) { in DoCompile() 58 Parser parser(options); in DoCompile() 109 options.GetGenerationDirectory(), options.GetAttribute()); in DoGenerage() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_input_menu_test.cpp | 47 SelectionOptions options; variable 85 SelectionOptions options; variable 123 SelectionOptions options; variable 161 SelectionOptions options; variable 199 SelectionOptions options; variable 237 SelectionOptions options; variable 276 SelectionOptions options; variable 315 SelectionOptions options; variable 354 SelectionOptions options; variable 393 SelectionOptions options; variable [all …]
|
H A D | text_area_menu_test.cpp | 228 SelectionOptions options; variable 258 SelectionOptions options; variable 297 SelectionOptions options; variable 336 SelectionOptions options; variable 380 SelectionOptions options; variable 462 SelectionOptions options; variable 500 SelectionOptions options; variable 547 SelectionOptions options; variable 594 SelectionOptions options; variable 633 SelectionOptions options; variable [all …]
|
/ohos5.0/base/time/time_service/test/unittest/js_test/permission/ |
H A D | SystemTimerNormal.test.js | 57 let options = { 83 let options = { 102 let options = { 121 let options = { 140 let options = { 159 let options = { 178 let options = { 197 let options = { 217 let options = { 244 let options = { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 380 get options() { 496 get options() { 635 get options() { 830 get options() { 863 if (this.options.type === 'capsule' && this.options.i2 && this.options.showIcon) { 1064 get options() { 1187 get options() { 2481 this.options.j2 : this.options.l2) ?? 2565 options: this.options, 2577 options: this.options, [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | component_factory.h | 88 component = new CameraComponent(options, children, styleManager); in CreateComponent() 93 component = new CanvasComponent(options, children, styleManager); in CreateComponent() 97 component = new DivComponent(options, children, styleManager); in CreateComponent() 100 component = new StackComponent(options, children, styleManager); in CreateComponent() 103 component = new ImageComponent(options, children, styleManager); in CreateComponent() 109 uint16_t id = ComponentUtils::GetComponentType(options); in CreateComponent() 126 component = new TabsComponent(options, children, styleManager); in CreateComponent() 130 component = new TextComponent(options, children, styleManager); in CreateComponent() 142 component = new ListComponent(options, children, styleManager); in CreateComponent() 145 component = new DivComponent(options, children, styleManager); in CreateComponent() [all …]
|
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/ |
H A D | intl_test.cpp | 502 options = { 521 options = { 627 if (it != options.end()) { 631 if (it != options.end()) { 635 if (it != options.end()) { 639 if (it != options.end()) { 643 if (it != options.end()) { 647 if (it != options.end()) { 651 if (it != options.end()) { 655 if (it != options.end()) { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/source/ |
H A D | segmentbutton.ets | 514 if (this.options.type === 'capsule' && this.options.showText && this.options.showIcon) { 702 if (this.options === void 0 || this.options.buttons === void 0) { 717 if (this.options === void 0 || this.options.buttons === void 0) { 822 options: this.options, 1001 if (this.options === void 0 || this.options.buttons === void 0) { 1122 options: this.options, 1136 options: this.options, 1159 options: this.options, 1165 options: this.options, 1183 options: this.options, [all …]
|
/ohos5.0/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | dhcp_option_test.cpp | 45 FreeOptionList(&options); in TearDown() 48 DhcpOptionList options = {0}; 80 EXPECT_TRUE(options.size == 2); 81 ClearOptions(&options); 82 EXPECT_TRUE(options.size == 0); 95 EXPECT_TRUE(options.size == 2); 96 ClearOptions(&options); 97 EXPECT_TRUE(options.size == 0); 110 ClearOptions(&options); 124 ClearOptions(&options); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_transitioneffect.h | 81 translate.x = CalcDimension(options.x, DimensionUnit(options.xType)); in Translate() 82 translate.y = CalcDimension(options.y, DimensionUnit(options.yType)); in Translate() 83 translate.z = CalcDimension(options.z, DimensionUnit(options.zType)); in Translate() 90 NG::ScaleOptions scale(options.x, options.y, options.z, in Scale() 91 CalcDimension(options.centerX, DimensionUnit(options.centerXType)), in Scale() 92 CalcDimension(options.centerY, DimensionUnit(options.centerYType))); in Scale() 98 NG::RotateOptions rotate(options.x, options.y, options.z, options.angle, in Rotate() 99 CalcDimension(options.centerX, DimensionUnit(options.centerXType)), in Rotate() 100 CalcDimension(options.centerY, DimensionUnit(options.centerYType)), in Rotate() 101 CalcDimension(options.centerZ, DimensionUnit(options.centerZType)), in Rotate() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkGesture.ts | 44 if (options !== undefined) { 46 this.count = options.count; 74 if (options !== undefined) { 76 this.repeat = options.repeat; 119 if (options !== undefined) { 166 if (options !== undefined) { 169 this.speed = options.speed; 200 if (options !== undefined) { 248 if (options !== undefined) { 292 if (options !== undefined) { [all …]
|
/ohos5.0/build/ohos/ndk/ |
H A D | create_ndk_docs_portal.py | 43 options, _ = parser.parse_args(args) 44 return options 47 def write_portal_and_archive(options): argument 60 if options.archive_doc: 63 options.docs_archive, 69 options = parse_args(args) 74 outputs = [options.portal_path] 75 if options.docs_archive: 76 outputs.append(options.docs_archive) 80 options, [all …]
|
/ohos5.0/base/startup/init/services/etc/appender/ |
H A D | file_appender.py | 37 return options 78 for line in options.lines: 93 for append_f in options.files: 101 if options.files: 103 if options.lines: 115 if options.files: 119 if options.lines: 120 for line in options.lines: 130 options = parse_args(args) 132 if options.files: [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/v2/ |
H A D | v2_json_coder.ts | 74 options.alias = alias; 79 Meta.define(tar, prop, options); 105 if (options && options.disabled) { 108 ret[(options && options.alias) || saveKey] = value[saveKey]; 208 Object.assign(options, type); 212 options.alias = type as string; 214 return options; 220 const options = meta[prop]; 237 if (options && options.disabled) { 265 } else if (options && options.factory) { [all …]
|
/ohos5.0/foundation/multimedia/image_framework/interfaces/kits/native/include/image/ |
H A D | image_packer_native.h | 84 Image_ErrorCode OH_PackingOptions_Create(OH_PackingOptions **options); 95 Image_ErrorCode OH_PackingOptions_GetMimeType(OH_PackingOptions *options, 106 Image_ErrorCode OH_PackingOptions_SetMimeType(OH_PackingOptions *options, 117 Image_ErrorCode OH_PackingOptions_GetQuality(OH_PackingOptions *options, 128 Image_ErrorCode OH_PackingOptions_SetQuality(OH_PackingOptions *options, 138 Image_ErrorCode OH_PackingOptions_GetNeedsPackProperties(OH_PackingOptions *options, 149 Image_ErrorCode OH_PackingOptions_SetNeedsPackProperties(OH_PackingOptions *options, 247 Image_ErrorCode OH_PackingOptions_Release(OH_PackingOptions *options); 297 OH_PackingOptions *options, OH_ImageSourceNative *imageSource, int32_t fd); 310 OH_PackingOptions *options, OH_PixelmapNative *pixelmap, int32_t fd); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/source/ |
H A D | atomicserviceweb.ets | 339 options = options || {}; 389 options?.callback && options?.callback(error); 571 if (!options.files || options.files.length <= 0) { 722 if (!this.checkRouterMode(options.mode, options)) { 733 if (!this.checkRouterMode(options.mode, options)) { 750 } else if (options.index || options.index === 0) { 754 router.back(options.index, options.params); 756 } else if (options.delta || options.delta === 0) { 807 } else if (options.index || options.index === 0) { 816 this.navPathStack?.popToIndex(options.index, options.result, options.animated); [all …]
|