/test/xts/acts/arkui/ace_ets_components_ux/ace_ets_component_swiper/src/main/ets/TestAbility/pages/ |
D | Index.ets | 75 LazyForEach(this.data, (item: string) => { 76 Text(item) 82 }, (item: string) => item) 100 LazyForEach(this.data, (item: string) => { 101 Text(item) 107 }, (item: string) => item) 125 LazyForEach(this.data, (item: string) => { 126 Text(item) 132 }, (item: string) => item) 150 LazyForEach(this.data, (item: string) => { [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api11/entry/src/main/ets/MainAbility/pages/Swiper/ |
D | Swiper1.ets | 73 LazyForEach(this.data, (item: string) => { 74 Text(item) 80 }, (item: string) => item) 98 LazyForEach(this.data, (item: string) => { 99 Text(item) 105 }, (item: string) => item) 123 LazyForEach(this.data, (item: string) => { 124 Text(item) 130 }, (item: string) => item) 148 LazyForEach(this.data, (item: string) => { [all …]
|
/test/testfwk/arkxtest/jsunit/src/module/config/ |
D | Filter.js | 26 …return !this.params.split(',').map(item => item.split('#')[0]).map(item => item == this.suiteName)… 31 …let suiteFilterResult = classArray.filter(item => !item.includes('#')).map(item => item == this.su… 32 …let itFilterResult = classArray.filter(item => item.includes('#')).map(item => item == (this.suite… 45 …return this.params.split(',').map(item => item == this.suiteName).reduce((pre, cur) => pre || cur,… 49 return this.params.split(',').some(item => item == (this.suiteName + '#' + this.itName)); 61 …return !this.params.split(',').map(item => item == this.suiteName).reduce((pre, cur) => pre || cur… 65 …return !this.params.split(',').map(item => item == this.itName).reduce((pre, cur) => pre || cur, f…
|
D | configService.js | 114 …classArray.forEach(item => !item.match(nameRule) ? this.filterValid.push(`${key}:${params[key]}`) … 160 .map(item => this.filterParam.testType[item] || 0) 165 .map(item => this.filterParam.level[item] || 0) 170 .map(item => this.filterParam.size[item] || 0) 197 … let result = filterArray.map(item => item.filterSuite()).reduce((pre, cur) => pre || cur, false); 215 … let result = filterArray.map(item => item.filterIt()).reduce((pre, cur) => pre || cur, false); 229 return filterArray.map(item => item.filterIt()).reduce((pre, cur) => pre || cur, false); 280 return this.runSkipped.split(",").some(item => { 281 …return item === desc || item.startsWith(desc + '.') || item.startsWith(desc + '#') || desc.startsW… 286 return this.runSkipped.split(",").some(item => { [all …]
|
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ |
D | ListLanes03.ets | 27 ForEach(this.arr, (item: number) => { 29 Text('' + item) 32 }.key('ListLanes31_' + item) 33 }, (item: string) => item) 44 ForEach(this.arr, (item: number) => { 46 Text('' + item) 49 }.key('ListLanes32_' + item) 50 }, (item: string) => item) 61 ForEach(this.arr, (item: number) => { 63 Text('' + item) [all …]
|
D | ListLanes05.ets | 32 ForEach(this.arr, (item: number) => { 34 Text('' + item) 37 }.key('ListItem01_' + item) 38 }, (item: string) => item) 48 ForEach(this.arr, (item: number) => { 50 Text('' + item) 53 }.key('ListItem02_' + item) 54 }, (item: string) => item) 64 ForEach(this.arr, (item: number) => { 66 Text('' + item) [all …]
|
D | ListLanes04.ets | 32 ForEach(this.arr, (item: number) => { 34 Text('' + item) 37 }.key('ListItem01_' + item) 38 }, (item: string) => item) 48 ForEach(this.arr, (item: number) => { 50 Text('' + item) 53 }.key('ListItem02_' + item) 54 }, (item: string) => item) 64 ForEach(this.arr, (item: number) => { 66 Text('' + item) [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_layout/ace_ets_module_layout_api11/entry/src/main/ets/MainAbility/pages/List/ |
D | ListLanes03.ets | 27 ForEach(this.arr, (item: number) => { 29 Text('' + item) 32 }.key('ListLanes31_' + item) 33 }, (item: string) => item) 44 ForEach(this.arr, (item: number) => { 46 Text('' + item) 49 }.key('ListLanes32_' + item) 50 }, (item: string) => item) 61 ForEach(this.arr, (item: number) => { 63 Text('' + item) [all …]
|
D | ListLanes05.ets | 32 ForEach(this.arr, (item: number) => { 34 Text('' + item) 37 }.key('ListItem0501_' + item) 38 }, (item: string) => item) 48 ForEach(this.arr, (item: number) => { 50 Text('' + item) 53 }.key('ListItem02_' + item) 54 }, (item: string) => item) 64 ForEach(this.arr, (item: number) => { 66 Text('' + item) [all …]
|
D | ListLanes04.ets | 32 ForEach(this.arr, (item: number) => { 34 Text('' + item) 37 }.key('ListItem01_' + item) 38 }, (item: string) => item) 48 ForEach(this.arr, (item: number) => { 50 Text('' + item) 53 }.key('ListItem02_' + item) 54 }, (item: string) => item) 64 ForEach(this.arr, (item: number) => { 66 Text('' + item) [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api11/entry/src/main/ets/MainAbility/pages/ |
D | sidebarType.ets | 33 ForEach(this.arr, (item: number, index) => { 35 … Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) 36 Text("Index0" + item) 38 .fontColor(this.current === item ? '#0A59F7' : '#999') 42 this.current = item 44 }, (item: string) => item) 80 ForEach(this.arr, (item: number, index) => { 82 … Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) 83 Text("Index0" + item) 85 .fontColor(this.current === item ? '#0A59F7' : '#999') [all …]
|
/test/xts/acts/arkui/ace_ets_component_completion/ace_ets_component_wholeCompletion/src/main/ets/TestAbility/pages/ |
D | sidebarType.ets | 33 ForEach(this.arr, (item: number, index) => { 35 … Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) 36 Text("Index0" + item) 38 .fontColor(this.current === item ? '#0A59F7' : '#999') 42 this.current = item 44 }, (item: string) => item) 80 ForEach(this.arr, (item: number, index) => { 82 … Image(this.current === item ? this.selectedIcon : this.normalIcon).width(64).height(64) 83 Text("Index0" + item) 85 .fontColor(this.current === item ? '#0A59F7' : '#999') [all …]
|
D | navigationType.ets | 38 ForEach(this.arr, (item: string) => { 41 Text("NavRouter" + item) 50 Text("NavDestinationContent" + item) 52 .title("NavDestinationTitle" + item) 56 }, (item: string) => item) 114 ForEach(this.arr, (item) => { 117 Text("NavRouter" + item) 126 Text("NavDestinationContent" + item) 128 .title("NavDestinationTitle" + item) 132 }, item => item) [all …]
|
/test/testfwk/developer_test/src/core/command/ |
D | parameter.py | 36 for item in level_list: 37 item = item.strip(" ") 38 if not item.isdigit(): 43 if item not in level_key_list: 50 for item in level_list: 51 item = item.strip(" ") 62 for item in type_list: 63 item = item.upper() 64 data = test_category_dic.get(item, None)
|
/test/xts/acts/kernel_lite/util_posix/src/ |
D | ActsUtilDataStructApiTest.cpp | 91 ENTRY item; variable 100 item.key = hashKey; 101 item.data = hashValue; 103 searchResult = hsearch(item, ENTER); 106 item.key = hashKey; 107 searchResult = hsearch(item, FIND); 123 ENTRY item; variable 131 item.key = hashKey; 132 searchResult = hsearch(item, FIND); 148 ENTRY item; variable [all …]
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
D | device_lite.py | 76 for index, item in enumerate(com_list): 77 com_list[index] = item.strip().strip(b'\x00'.decode()) 148 for item in device: 149 if "ip" in item.keys() and "port" in item.keys(): 151 (item.get("ip"), item.get("port")) 153 elif "type" in item.keys() and "com" in item.keys(): 154 self.device_sn = "local_%s" % item.get("com") 182 for item in device: 183 if "label" not in item.keys(): 186 if "com" not in item.keys() or ("com" in item.keys() and [all …]
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
D | commonattrs_foregroundblurstyle_test.cpp | 28 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle001() local 29 auto ret = nodeAPI->setAttribute(stack, NODE_FOREGROUND_BLUR_STYLE, &item); in TestCommonAttrsForegroundBlurStyle001() 40 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle002() local 41 auto ret = nodeAPI->setAttribute(stack, NODE_FOREGROUND_BLUR_STYLE, &item); in TestCommonAttrsForegroundBlurStyle002() 52 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle003() local 53 auto ret = nodeAPI->setAttribute(stack, NODE_FOREGROUND_BLUR_STYLE, &item); in TestCommonAttrsForegroundBlurStyle003() 64 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle004() local 65 auto ret = nodeAPI->setAttribute(stack, NODE_FOREGROUND_BLUR_STYLE, &item); in TestCommonAttrsForegroundBlurStyle004() 76 ArkUI_AttributeItem item = {values, sizeof(values) / sizeof(ArkUI_NumberValue)}; in TestCommonAttrsForegroundBlurStyle005() local 77 auto ret = nodeAPI->setAttribute(stack, NODE_FOREGROUND_BLUR_STYLE, &item); in TestCommonAttrsForegroundBlurStyle005() [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_navigation/ace_ets_module_navigation_api11/entry/src/main/ets/MainAbility/pages/Navigation/ |
D | navigationType.ets | 38 ForEach(this.arr, (item: string) => { 41 Text("NavRouter" + item) 50 Text("NavDestinationContent" + item) 52 .title("NavDestinationTitle" + item) 56 }, (item: string) => item) 114 ForEach(this.arr, (item) => { 117 Text("NavRouter" + item) 126 Text("NavDestinationContent" + item) 128 .title("NavDestinationTitle" + item) 132 }, item => item) [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_imageText/ace_ets_module_imageText_api12/entry/src/main/ets/MainAbility/pages/RichEditorEnhance/ |
D | RichEditor3.ets | 36 this.controller.getSpans({ start: -1, end: -1 }).forEach((item,index) => { 37 if(typeof(item as RichEditorImageSpanResult)['imageStyle'] != 'undefined'){ 38 …this.layoutStyleBorderRadius += JSON.stringify(index + ":" + (item as RichEditorImageSpanResult).i… 39 …this.layoutStyleMargin += JSON.stringify(index + ":" + (item as RichEditorImageSpanResult).imageSt… 41 if(typeof(item as RichEditorTextSpanResult)['symbolSpanStyle'] != 'undefined') { 44 …this.paragraphStyleTextAlign += JSON.stringify(index + ":" + (item as RichEditorTextSpanResult).pa… 45 …this.paragraphStyleLeadingMargin += JSON.stringify(index + ":" + (item as RichEditorTextSpanResult… 56 selection.forEach((item,index) => { 57 if(typeof(item as RichEditorImageSpanResult)['imageStyle'] != 'undefined'){ 58 …this.layoutStyleBorderRadius += JSON.stringify(index + ":" + (item as RichEditorImageSpanResult).i… [all …]
|
/test/ostest/wukong/common/src/ |
D | multimode_manager.cpp | 46 MMI::KeyEvent::KeyItem item; in SingleKeyCodeInput() local 47 item.SetKeyCode(keycode); in SingleKeyCodeInput() 48 item.SetPressed(true); in SingleKeyCodeInput() 49 item.SetDownTime(downtime); in SingleKeyCodeInput() 52 keyKeyboardEvent->AddPressedKeyItems(item); in SingleKeyCodeInput() 60 keyKeyboardEvent->RemoveReleasedKeyItems(item); in SingleKeyCodeInput() 61 item.SetKeyCode(keycode); in SingleKeyCodeInput() 62 item.SetPressed(false); in SingleKeyCodeInput() 63 item.SetDownTime(downtime); in SingleKeyCodeInput() 66 keyKeyboardEvent->AddPressedKeyItems(item); in SingleKeyCodeInput() [all …]
|
/test/testfwk/arkxtest/uitest/record/ |
D | matrix3.h | 38 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; }); 76 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString() 101 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; }); 140 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString() 166 std::for_each(vector.begin(), vector.end(), [num](auto& item) { item = item * num; }); 199 [&val](const auto& item) { val = val + "item: " + std::to_string(item) + " "; }); in ToString()
|
/test/testfwk/developer_test/src/core/config/ |
D | resource_manager.py | 132 for item in preparer_list: 133 if "name" not in item.keys(): 136 if item["name"] == "push": 137 push_value = item["value"] 148 elif item["name"] == "pull": 149 push_value = item["value"] 155 elif item["name"] == "shell": 156 command = item["value"].strip() 159 command = item["name"] + " " + item["value"] 164 for item in preparer_list: [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_scroll/ace_ets_module_scroll_api12/entry/src/main/ets/MainAbility/pages/AlphabetIndexer/ |
D | PopupAlpha.ets | 31 ForEach(this.arrayA, (item: string) => { 33 Text(item) 39 }, (item: string) => item) 41 ForEach(this.arrayB, (item: string) => { 43 Text(item) 49 }, (item: string) => item) 51 ForEach(this.arrayC, (item: string) => { 53 Text(item) 59 }, (item: string) => item) 61 ForEach(this.arrayL, (item: string) => { [all …]
|
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_commonAttrsLayout/ace_ets_module_commonAttrsLayout_api11/entry/src/main/ets/MainAbility/pages/layoutConstraints/ |
D | layoutConstraints.ets | 53 ForEach(this.children, (item: string) => { 54 Text(item) 59 Text(item) 65 }, (item: string) => item) 76 ForEach(this.children, (item: string) => { 78 Text(item) 83 }, (item: string) => item) 96 ForEach(this.priorityChildren, (item) => { 97 if (item.priority === 1 || item.priority === 5) { 98 Text(`1\n(priority:${item.priority})`) [all …]
|
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/MainAbility/pages/ |
D | layoutConstraints.ets | 57 ForEach(this.children, (item: string) => { 58 Text(item) 63 Text(item) 69 }, (item: string) => item) 80 ForEach(this.children, (item: string) => { 82 Text(item) 87 }, (item: string) => item) 100 ForEach(this.priorityChildren, (item: PriorityChild) => { 101 if (item.priority === 1 || item.priority === 5) { 102 Text(`1\n(priority:${item.priority})`) [all …]
|