Home
last modified time | relevance | path

Searched refs:tempHeight (Results 1 - 8 of 8) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/
H A Dscreen_pattern.cpp148 auto tempHeight = paintRect.Height(); in UpdateToInputManager() local
152 tempWidth = tempHeight; in UpdateToInputManager()
153 tempHeight = temp; in UpdateToInputManager()
156 screenMaxHeight_ = std::max(screenMaxHeight_, tempHeight); in UpdateToInputManager()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.cpp256 auto tempHeight = height_; in TryShrinkTextWidth() local
259 while (NearEqual(tempHeight, height_)) { in TryShrinkTextWidth()
270 tempHeight = tempSize.value().Height(); in TryShrinkTextWidth()
271 if (!NearEqual(tempHeight, height_)) { in TryShrinkTextWidth()
/foundation/arkui/ace_engine/frameworks/base/geometry/ng/
H A Dsize_t.h131 T tempHeight = height_ - top.value_or(0) - bottom.value_or(0); in MinusPadding() local
132 if (NonNegative(tempHeight)) { in MinusPadding()
133 height_ = tempHeight; in MinusPadding()
145 T tempHeight = height_ - top.value_or(0) - bottom.value_or(0); in MinusPaddingToNonNegative() local
146 height_ = NonNegative(tempHeight) ? tempHeight : 0; in MinusPaddingToNonNegative()
521 T tempHeight = height_.value() - top.value_or(0) - bottom.value_or(0);
522 height_ = NonNegative(tempHeight) ? tempHeight : 0;
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_spannable_string_unit_test.cpp876 int16_t tempHeight = 0; in HWTEST_F() local
877 spannableString_->GetFontHeight(i, tempHeight, 0, 20); in HWTEST_F()
878 EXPECT_EQ(height, tempHeight); in HWTEST_F()
960 int16_t tempHeight = 0; in HWTEST_F() local
961 spannableString_->GetFontHeight(i, tempHeight, 0, 20); in HWTEST_F()
962 EXPECT_EQ(inputHeight, tempHeight); in HWTEST_F()
1037 int16_t tempHeight = 0; in HWTEST_F() local
1038 spannableString_->GetFontHeight(i, tempHeight, 0, 20); in HWTEST_F()
1039 EXPECT_EQ(inputHeight, tempHeight); in HWTEST_F()
/foundation/arkui/ui_lite/frameworks/font/
H A Dui_font_bitmap.cpp375 uint16_t tempHeight = static_cast<uint16_t>(spannableHeight); in GetLineMaxHeight() local
376 maxHeight = tempHeight > maxHeight ? tempHeight : maxHeight; in GetLineMaxHeight()
H A Dui_line_break.cpp207 uint16_t tempHeight = fontEngine->GetHeight(fontId, fontSize); in GetLetterWidth() local
208 height = static_cast<int16_t>(tempHeight); in GetLetterWidth()
H A Dui_font_vector.cpp1023 uint16_t tempHeight = static_cast<uint16_t>(spannableHeight); in GetLineMaxHeight() local
1024 maxHeight = tempHeight > maxHeight ? tempHeight : maxHeight; in GetLineMaxHeight()
/foundation/arkui/ui_lite/frameworks/common/
H A Dspannable_string.cpp330 int16_t tempHeight = tempSpan->data_.height; in SetFontHeight() local
331 if (inputHeight == tempHeight) { in SetFontHeight()
338 tempLeft.height = tempHeight; in SetFontHeight()
342 tempRight.height = tempHeight; in SetFontHeight()

Completed in 11 milliseconds