Home
last modified time | relevance | path

Searched refs:froward (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_water_flow.cpp358 int32_t froward = 0; in SetNestedScroll() local
359 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollForward"), froward); in SetNestedScroll()
360 if (froward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
361 froward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
363 froward = 0; in SetNestedScroll()
372 nestedOpt.forward = static_cast<NestedScrollMode>(froward); in SetNestedScroll()
H A Djs_scroll.cpp468 int32_t froward = 0; in SetNestedScroll() local
469 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollForward"), froward); in SetNestedScroll()
470 if (froward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
471 froward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
472 froward = 0; in SetNestedScroll()
480 nestedOpt.forward = static_cast<NestedScrollMode>(froward); in SetNestedScroll()
H A Djs_grid.cpp639 int32_t froward = 0; in SetNestedScroll() local
640 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollForward"), froward); in SetNestedScroll()
641 if (froward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
642 froward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
643 froward = 0; in SetNestedScroll()
651 nestedOpt.forward = static_cast<NestedScrollMode>(froward); in SetNestedScroll()
H A Djs_list.cpp467 int32_t froward = 0; in SetNestedScroll() local
468 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollForward"), froward); in SetNestedScroll()
469 if (froward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
470 froward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
471 froward = 0; in SetNestedScroll()
479 nestedOpt.forward = static_cast<NestedScrollMode>(froward); in SetNestedScroll()
H A Djs_web.cpp5042 int32_t froward = -1; in SetNestedScroll() local
5043 JSViewAbstract::ParseJsInt32(obj->GetProperty("scrollForward"), froward); in SetNestedScroll()
5044 if (CheckNestedScrollMode(froward)) { in SetNestedScroll()
5045 nestedOpt.scrollDown = static_cast<NestedScrollMode>(froward); in SetNestedScroll()
5046 nestedOpt.scrollRight = static_cast<NestedScrollMode>(froward); in SetNestedScroll()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_water_flow_bridge.cpp291 int32_t froward = NUM_0; in SetNestedScroll() local
293 ArkTSUtils::ParseJsInteger(vm, scrollForwardValue, froward); in SetNestedScroll()
294 if (froward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
295 froward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
296 froward = NUM_0; in SetNestedScroll()
303 GetArkUINodeModifiers()->getWaterFlowModifier()->setWaterFlowNestedScroll(nativeNode, froward, backward); in SetNestedScroll()
H A Darkts_native_scroll_bridge.cpp73 auto froward = 0; in SetNestedScroll() local
75 ArkTSUtils::ParseJsInteger(vm, scrollForwardValue, froward); in SetNestedScroll()
76 if (froward < static_cast<int32_t>(NestedScrollMode::SELF_ONLY) || in SetNestedScroll()
77 froward > static_cast<int32_t>(NestedScrollMode::PARALLEL)) { in SetNestedScroll()
78 froward = FROWARD_INITIAL_VALUE; in SetNestedScroll()
85 GetArkUINodeModifiers()->getScrollModifier()->setScrollNestedScroll(nativeNode, froward, backward); in SetNestedScroll()

Completed in 19 milliseconds