Home
last modified time | relevance | path

Searched refs:rowHeight (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_layout_algorithm.cpp85 auto rowHeight = std::max(textSize.Height(), spinnerSize.Height()); in Measure() local
86 rowGeometry->SetFrameSize(SizeF(rowWidth, rowHeight)); in Measure()
91 SizeF(rowWidth, rowHeight > defaultHeight ? rowHeight : defaultHeight)); in Measure()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_edit_text/
H A Dcustom_input_method.cpp191 int16_t rowHeight = KEYBOARD_HEIGHT / 4; // 4: row number in SetupKeyboard() local
197 FlexLayout* row1 = SetupKeyRow("row1", KEYBOARD_WIDTH, rowHeight); in SetupKeyboard()
201 FlexLayout* row2 = SetupKeyRow("row2", KEYBOARD_WIDTH, rowHeight); in SetupKeyboard()
205 FlexLayout* row3 = SetupKeyRow("row3", KEYBOARD_WIDTH, rowHeight); in SetupKeyboard()
209 FlexLayout* row4 = SetupKeyRow("row4", KEYBOARD_WIDTH, rowHeight); in SetupKeyboard()
/ohos5.0/docs/zh-cn/application-dev/performance/
H A Davoid_high_frequency_callback_execute_lengthy_operation.md476 …taskpool](../reference/apis-arkts/js-apis-taskpool.md)处理耗时操作后返回结果给Row的高度rowHeight作为正例,来对比组件属性刷新时的性…
499 使用任务池taskpool处理耗时操作后返回结果给Row的高度rowHeight作为正例。
526 @StorageLink('height') rowHeight: number = 0;
540 Row().width(this.rowWidth).height(this.rowHeight).backgroundColor(Color.Blue)
558 如图10所示,从日志可以看出,页面加载时通过taskpool方式仅执行一次耗时的getHeight()。然后返回结果直接赋值给Row高度变量rowHeight。修改6次Row组件宽度,不需要再重复调…
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/
H A Dmenu_item_layout_algorithm.cpp231 float rowHeight = Container::GreatOrEqualAPIVersion(PlatformVersion::VERSION_TWELVE) ? in MeasureRow() local
246 rowHeight = std::max(rowHeight, childSize.Height()); in MeasureRow()
249 row->GetGeometryNode()->SetFrameSize(SizeF(rowWidth, rowHeight)); in MeasureRow()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_position_map.h497 float rowHeight = 0.0f; in GetRowEndIndexAndHeight() local
503 rowHeight = totalHeight_ - posMap_[endIndex].mainPos - footerSize_; in GetRowEndIndexAndHeight()
505 rowHeight = posMap_[endIndex + 1].mainPos - posMap_[endIndex].mainPos - space_; in GetRowEndIndexAndHeight()
507 return { endIndex, rowHeight }; in GetRowEndIndexAndHeight()
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/pages/
H A DPhonePage.ets58 private rowHeight: number = 0;
88 this.rowHeight = 104;
197 …this.titleHeight + this.rowHeight * (this.targetInfoArray.length > this.maxLengthOneLine ? 2 : 1) +
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_pattern.cpp258 auto rowHeight = pointSize.Height(); in UpdateParentNodeSize() local
262 rowHeight = rowHeight * pointCount; in UpdateParentNodeSize()
267 … rowProperty->UpdateUserDefinedIdealSize(CalcSize(CalcLength(rowWidth), CalcLength(rowHeight))); in UpdateParentNodeSize()