Home
last modified time | relevance | path

Searched refs:backward (Results 1 - 25 of 49) sorted by relevance

12

/foundation/arkui/ace_engine/test/unittest/core/pattern/refresh/
H A Drefresh_nested_test_ng.cpp161 EXPECT_EQ(swiperNestedOption.backward, NestedScrollMode::SELF_FIRST); in HWTEST_F()
227 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
240 EXPECT_EQ(swiperNestedOption.backward, NestedScrollMode::SELF_FIRST); in HWTEST_F()
243 EXPECT_EQ(refreshNestedOption.backward, NestedScrollMode::SELF_FIRST); in HWTEST_F()
311 .backward = NestedScrollMode::PARENT_FIRST, in HWTEST_F()
351 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
451 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
509 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
564 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
613 * @tc.expected: Scrolling nest because backward i in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/common/ime/
H A Dtext_input_client.h157 virtual bool HandleOnTab(bool backward) in HandleOnTab() argument
184 virtual void HandleOnDelete(bool backward) {} in HandleOnDelete() argument
186 virtual bool HandleOnDeleteComb(bool backward) in HandleOnDeleteComb() argument
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow.cpp350 .backward = NestedScrollMode::SELF_ONLY, in SetNestedScroll()
365 int32_t backward = 0; in SetNestedScroll() local
366 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollBackward"), backward); in SetNestedScroll()
367 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
368 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
370 backward = 0; in SetNestedScroll()
373 nestedOpt.backward = static_cast<NestedScrollMode>(backward); in SetNestedScroll()
H A Djs_scroll.cpp461 .backward = NestedScrollMode::SELF_ONLY, in SetNestedScroll()
474 int32_t backward = 0; in SetNestedScroll() local
475 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollBackward"), backward); in SetNestedScroll()
476 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
477 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
478 backward = 0; in SetNestedScroll()
481 nestedOpt.backward = static_cast<NestedScrollMode>(backward); in SetNestedScroll()
H A Djs_grid.cpp632 .backward = NestedScrollMode::SELF_ONLY, in SetNestedScroll()
645 int32_t backward = 0; in SetNestedScroll() local
646 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollBackward"), backward); in SetNestedScroll()
647 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
648 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
649 backward = 0; in SetNestedScroll()
652 nestedOpt.backward = static_cast<NestedScrollMode>(backward); in SetNestedScroll()
H A Djs_list.cpp460 .backward = NestedScrollMode::SELF_ONLY, in SetNestedScroll()
473 int32_t backward = 0; in SetNestedScroll() local
474 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollBackward"), backward); in SetNestedScroll()
475 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
476 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
477 backward = 0; in SetNestedScroll()
480 nestedOpt.backward = static_cast<NestedScrollMode>(backward); in SetNestedScroll()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_properties.h114 NestedScrollMode backward; member
118 return forward != NestedScrollMode::SELF_ONLY || backward != NestedScrollMode::SELF_ONLY; in NeedParent()
123 return forward ? this->forward != NestedScrollMode::SELF_ONLY : backward != NestedScrollMode::SELF_ONLY; in NeedParent()
128 return forward == other.forward && backward == other.backward; in operator ==()
139 ", backward: " + std::to_string(static_cast<int32_t>(backward)); in ToString()
H A Dnestable_scroll_container.h161 .backward = NestedScrollMode::SELF_ONLY,
/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/
H A Dscroll_nested_test_ng.cpp84 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
131 * @tc.expected: Scrolling nest because backward is SELF_FIRST in HWTEST_F()
165 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
208 * @tc.expected: Scrolling nest because backward is SELF_FIRST in HWTEST_F()
243 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
286 * @tc.expected: Scrolling nest because backward is SELF_FIRST in HWTEST_F()
320 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
374 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
439 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
506 .backward in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_event_test_ng.cpp573 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
602 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
632 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
668 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
830 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
841 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
847 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
878 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
1123 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
1172 .backward in HWTEST_F()
[all...]
H A Dswiper_attr_test_ng.cpp926 EXPECT_EQ(nestedScroll.backward, NestedScrollMode::SELF_ONLY); in HWTEST_F()
942 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
952 EXPECT_EQ(nestedScroll.backward, NestedScrollMode::SELF_FIRST); in HWTEST_F()
1301 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
1315 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
1332 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
1352 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
1361 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
1370 .backward = NestedScrollMode::SELF_ONLY, in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/list/
H A Dlist_nested_test_ng.cpp309 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
368 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
413 * @tc.steps: step4. Scroll backward in HWTEST_F()
423 * @tc.steps: step5. Scroll backward in HWTEST_F()
445 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
490 * @tc.steps: step4. Scroll backward in HWTEST_F()
500 * @tc.steps: step5. Scroll backward in HWTEST_F()
530 .backward = NestedScrollMode::SELF_FIRST, in HWTEST_F()
567 * @tc.steps: step3. Scroll backward in HWTEST_F()
588 .backward in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dgrid_modifier.cpp293 void SetNestedScroll(ArkUINodeHandle node, int32_t forward, int32_t backward) in SetNestedScroll() argument
297 .backward = static_cast<NestedScrollMode>(backward), in SetNestedScroll()
310 .backward = NestedScrollMode::SELF_ONLY, in ResetNestedScroll()
H A Dnode_list_modifier.cpp273 (*values)[1] = static_cast<ArkUI_Int32>(options.backward); in GetListNestedScroll()
276 void SetListNestedScroll(ArkUINodeHandle node, ArkUI_Int32 forward, ArkUI_Int32 backward) in SetListNestedScroll() argument
280 .backward = static_cast<NestedScrollMode>(backward), in SetListNestedScroll()
293 .backward = NestedScrollMode::SELF_ONLY, in ResetListNestedScroll()
H A Dwater_flow_modifier.cpp204 .backward = NestedScrollMode::SELF_ONLY, in SetWaterFlowNestedScroll()
207 nestedOpt.backward = static_cast<NestedScrollMode>(scrollBackward); in SetWaterFlowNestedScroll()
217 .backward = NestedScrollMode::SELF_ONLY, in ResetWaterFlowNestedScroll()
295 (*values)[1] = static_cast<ArkUI_Int32>(options.backward); in GetWaterFlowNestedScroll()
H A Dnode_scroll_modifier.cpp69 .backward = NestedScrollMode::SELF_ONLY, in SetScrollNestedScroll()
72 nestedOpt.backward = static_cast<NestedScrollMode>(scrollBackward); in SetScrollNestedScroll()
82 .backward = NestedScrollMode::SELF_ONLY, in ResetScrollNestedScroll()
421 (*values)[1] = static_cast<ArkUI_Int32>(options.backward); in GetScrollNestedScroll()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/
H A Drefresh_model_ng.cpp51 .backward = NestedScrollMode::SELF_FIRST, in Create()
68 .backward = NestedScrollMode::SELF_FIRST, in CreateFrameNode()
H A Drefresh_pattern.cpp1184 (Positive(offset) && (nestedScroll.backward == NestedScrollMode::SELF_ONLY || in HandleScroll()
1185 nestedScroll.backward == NestedScrollMode::PARALLEL))); in HandleScroll()
1192 (Positive(offset) && nestedScroll.backward == NestedScrollMode::SELF_FIRST)); in HandleScroll()
1216 (nestedScroll.forward != NestedScrollMode::PARALLEL || nestedScroll.backward != NestedScrollMode::PARALLEL)) { in OnScrollStartRecursive()
1227 (Positive(velocity) && nestedScroll.backward == NestedScrollMode::PARENT_FIRST))) { in HandleScrollVelocity()
1237 (Positive(velocity) && nestedScroll.backward == NestedScrollMode::SELF_FIRST))) { in HandleScrollVelocity()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_water_flow_bridge.cpp292 int32_t backward = NUM_0; in SetNestedScroll() local
298 ArkTSUtils::ParseJsInteger(vm, scrollBackwardValue, backward); in SetNestedScroll()
299 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
300 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
301 backward = NUM_0; in SetNestedScroll()
303 GetArkUINodeModifiers()->getWaterFlowModifier()->setWaterFlowNestedScroll(nativeNode, froward, backward); in SetNestedScroll()
H A Darkts_native_grid_bridge.cpp640 int32_t backward = static_cast<int32_t>(NestedScrollMode::SELF_ONLY); in SetNestedScroll() local
645 backward = arg_backward->Int32Value(vm); in SetNestedScroll()
653 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
654 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
655 backward = static_cast<int32_t>(NestedScrollMode::SELF_ONLY); in SetNestedScroll()
658 GetArkUINodeModifiers()->getGridModifier()->setNestedScroll(nativeNode, forward, backward); in SetNestedScroll()
H A Darkts_native_scroll_bridge.cpp71 Local<JSValueRef> scrollBackwardValue = runtimeCallInfo->GetCallArgRef(2); // 2: index of scroll backward value in SetNestedScroll()
74 auto backward = 0; in SetNestedScroll() local
80 ArkTSUtils::ParseJsInteger(vm, scrollBackwardValue, backward); in SetNestedScroll()
81 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
82 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
83 backward = BACKWARD_INITIAL_VALUE; in SetNestedScroll()
85 GetArkUINodeModifiers()->getScrollModifier()->setScrollNestedScroll(nativeNode, froward, backward); in SetNestedScroll()
H A Darkts_native_list_bridge.cpp419 int32_t backward = 0; in SetListNestedScroll() local
424 backward = thirdArg->Int32Value(vm); in SetListNestedScroll()
432 if (backward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetListNestedScroll()
433 backward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetListNestedScroll()
434 backward = static_cast<int32_t>(NestedScrollMode::SELF_ONLY); in SetListNestedScroll()
437 GetArkUINodeModifiers()->getListModifier()->setListNestedScroll(nativeNode, forward, backward); in SetListNestedScroll()
/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_test_ng.cpp72 scrollPn->nestedScroll_ = { .forward = NestedScrollMode::PARALLEL, .backward = NestedScrollMode::PARALLEL }; in InitNestedScrolls()
94 scrollPn->nestedScroll_ = { .forward = NestedScrollMode::SELF_ONLY, .backward = NestedScrollMode::SELF_ONLY }; in HWTEST_F()
120 scrollPn->nestedScroll_ = { .forward = NestedScrollMode::SELF_FIRST, .backward = NestedScrollMode::SELF_FIRST }; in HWTEST_F()
146 scrollPn->nestedScroll_ = { .forward = NestedScrollMode::SELF_FIRST, .backward = NestedScrollMode::SELF_FIRST }; in HWTEST_F()
168 scrollPn->nestedScroll_ = { .forward = NestedScrollMode::PARENT_FIRST, .backward = NestedScrollMode::PARENT_FIRST }; in HWTEST_F()
177 * @tc.desc: Test nested HandleScroll with different scroll mode forward/backward
191 scrollPn->nestedScroll_ = { .forward = NestedScrollMode::PARENT_FIRST, .backward = NestedScrollMode::SELF_ONLY }; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_group_pattern.h65 bool backward = false; member
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_list_ffi.cpp195 .backward = NestedScrollMode(scrollBackward)}; in FfiOHOSAceFrameworkListSetNestedScroll()

Completed in 32 milliseconds

12