Home
last modified time | relevance | path

Searched refs:layoutParams (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_panel_test.cpp1151 LayoutParams layoutParams; variable
1173 LayoutParams layoutParams; variable
1195 LayoutParams layoutParams; variable
1217 LayoutParams layoutParams; variable
1239 LayoutParams layoutParams; variable
1265 LayoutParams layoutParams; variable
1291 LayoutParams layoutParams; variable
1318 LayoutParams layoutParams; variable
1344 LayoutParams layoutParams; variable
1366 LayoutParams layoutParams; variable
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_panel.cpp283 if (layoutParams.portraitRect.posX_ < 0 || layoutParams.portraitRect.posY_ < 0 || in AdjustPanelRect()
284 layoutParams.landscapeRect.posX_ < 0 || layoutParams.landscapeRect.posY_ < 0) { in AdjustPanelRect()
288 …if (!CheckSize(panelFlag, layoutParams.portraitRect.width_, layoutParams.portraitRect.height_, tru… in AdjustPanelRect()
292 …if (!CheckSize(panelFlag, layoutParams.landscapeRect.width_, layoutParams.landscapeRect.height_, f… in AdjustPanelRect()
296 auto result = ParsePanelRect(panelFlag, layoutParams); in AdjustPanelRect()
302 adjustPanelRectLayoutParams_ = layoutParams; in AdjustPanelRect()
325 auto ret = CalculateNoConfigRect(panelFlag, layoutParams); in ParsePanelRect()
333 auto ret = GetSysPanelAdjust(panelFlag, keys, layoutParams); in ParsePanelRect()
425 keyboardLayoutParams_.PortraitPanelRect_ = layoutParams.portraitRect; in GetSysPanelAdjust()
430 PanelAdjustInfo &porIterValue, const LayoutParams &layoutParams) in CalculatePanelRect() argument
[all …]
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
H A Dinput_method_panel.h77 int32_t AdjustPanelRect(const PanelFlag panelFlag, const LayoutParams &layoutParams);
78 int32_t ParsePanelRect(const PanelFlag panelFlag, const LayoutParams &layoutParams);
80 …tuple<std::vector<std::string>, std::vector<std::string>> &keys, const LayoutParams &layoutParams);
82 const LayoutParams &layoutParams);
83 …alculateLandscapeRect(sptr<OHOS::Rosen::Display> &defaultDisplay, const LayoutParams &layoutParams,
137 int32_t CalculateFloatRect(const LayoutParams &layoutParams, PanelAdjustInfo &lanIterValue,
139 int32_t CalculateNoConfigRect(const PanelFlag panelFlag, const LayoutParams &layoutParams);
/ohos5.0/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_panel.cpp433 …PARAM_CHECK_RETURN(env, JsPanelRect::Read(env, argv[1], ctxt->layoutParams), "js param rect covert… in CheckParam()
459 sysPanelStatus = { false, ctxt->panelFlag, ctxt->layoutParams.portraitRect.width_, in AdjustPanelRect()
460 ctxt->layoutParams.portraitRect.height_ }; in AdjustPanelRect()
462 sysPanelStatus = { false, ctxt->panelFlag, ctxt->layoutParams.landscapeRect.width_, in AdjustPanelRect()
463 ctxt->layoutParams.landscapeRect.height_ }; in AdjustPanelRect()
466 auto code = ctxt->inputMethodPanel->AdjustPanelRect(ctxt->panelFlag, ctxt->layoutParams); in AdjustPanelRect()
496 napi_value JsPanelRect::Write(napi_env env, const LayoutParams &layoutParams) in Write() argument
501 …ect::WriteProperty(env, jsObject, "landscapeRect", JsRect::Write(env, layoutParams.landscapeRect)); in Write()
506 bool JsPanelRect::Read(napi_env env, napi_value object, LayoutParams &layoutParams) in Read() argument
510 bool ret = JsRect::Read(env, rectObject, layoutParams.landscapeRect); in Read()
[all …]
H A Djs_panel.h53 static napi_value Write(napi_env env, const LayoutParams &layoutParams);
54 static bool Read(napi_env env, napi_value object, LayoutParams &layoutParams);
78 LayoutParams layoutParams = {