Home
last modified time | relevance | path

Searched refs:viewHeight (Results 1 - 9 of 9) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/model/
H A Dmodel_touch_handler.cpp20 bool ModelTouchHandler::HandleTouchEvent(const TouchEventInfo& info, uint32_t viewWidth, uint32_t viewHeight) in HandleTouchEvent() argument
23 auto sceneEvent = CreateSceneTouchEvent(event, viewWidth, viewHeight); in HandleTouchEvent()
77 uint32_t viewWidth, uint32_t viewHeight) const in CreateSceneTouchEvent()
79 if (viewWidth == 0U || viewHeight == 0U) { in CreateSceneTouchEvent()
80 LOGE("CreateSceneTouchEvent error view width and height %d x %d", viewWidth, viewHeight); in CreateSceneTouchEvent()
88 pointerEvent.y_ = point.GetOffset().GetY() / viewHeight; in CreateSceneTouchEvent()
99 pointerEvent.deltaY_ = deltaChange.GetY() / viewHeight; in CreateSceneTouchEvent()
H A Dmodel_touch_handler.h36 bool HandleTouchEvent(const TouchEventInfo& info, uint32_t viewWidth, uint32_t viewHeight);
60 uint32_t viewHeight) const;
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_video.cpp647 int16_t viewHeight = GetHeight(); in SetSurfaceInfo() local
648 if ((viewWidth <= 0) || (viewHeight <= 0)) { in SetSurfaceInfo()
653 float ratioY = static_cast<float>(height) / viewHeight; in SetSurfaceInfo()
661 surfaceViewPositionY = (viewHeight - surfaceViewHeight) / 2; // 2:half in SetSurfaceInfo()
664 surfaceViewHeight = viewHeight; in SetSurfaceInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.h114 float BottomFinalPos(float viewHeight) const override
116 float endOffset = viewHeight - GetContentHeight();
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_run_args.h75 int32_t viewHeight = 0; member
H A Dace_ability.cpp103 LOGI("runArgs.viewHeight: %{private}d", runArgs.viewHeight); in DumpAceRunArgs()
380 // Should make it possible to update surface changes by using viewWidth and viewHeight. in InitEnv()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_info_base.h123 * @param viewHeight height of the viewport.
126 virtual float BottomFinalPos(float viewHeight) const = 0;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.h93 float BottomFinalPos(float viewHeight) const override;
H A Dwater_flow_layout_info_sw.cpp454 float WaterFlowLayoutInfoSW::BottomFinalPos(float viewHeight) const
456 return -(EndPosWithMargin() + delta_ + footerHeight_) + std::min(maxHeight_, viewHeight);

Completed in 6 milliseconds