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 D | select_layout_algorithm.cpp | 85 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 D | custom_input_method.cpp | 191 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 D | avoid_high_frequency_callback_execute_lengthy_operation.md | 476 …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 D | menu_item_layout_algorithm.cpp | 231 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 D | list_position_map.h | 497 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 D | PhonePage.ets | 58 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 D | slider_pattern.cpp | 258 auto rowHeight = pointSize.Height(); in UpdateParentNodeSize() local 262 rowHeight = rowHeight * pointCount; in UpdateParentNodeSize() 267 … rowProperty->UpdateUserDefinedIdealSize(CalcSize(CalcLength(rowWidth), CalcLength(rowHeight))); in UpdateParentNodeSize()
|