Searched refs:minFontScale (Results 1 - 12 of 12) sorted by relevance
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | dimension.cpp | 183 auto minFontScale = minOptional.value_or(0.0f); in ConvertToPxDistribute() local 186 return ConvertToPxByAppFontScale(minFontScale); in ConvertToPxDistribute() 188 return ConvertToPxByCustomFontScale(minFontScale, maxFontScale); in ConvertToPxDistribute() 191 double Dimension::ConvertToPxByCustomFontScale(float minFontScale, float maxFontScale) const in ConvertToPxByCustomFontScale() argument 195 float fontScale = std::clamp(pipeline->GetFontScale(), minFontScale, maxFontScale); in ConvertToPxByCustomFontScale() 199 double Dimension::ConvertToPxByAppFontScale(float minFontScale) const in ConvertToPxByAppFontScale() 204 float fontScale = std::clamp(pipeline->GetFontScale(), minFontScale, maxFontScale); in ConvertToPxByAppFontScale()
|
H A D | dimension.h | 157 double ConvertToPxByCustomFontScale(float minFontScale, float maxFontScale) const; 159 double ConvertToPxByAppFontScale(float minFontScale) const;
|
/foundation/arkui/ace_engine/advanced_ui_component/exceptionprompt/interfaces/ |
H A D | exceptionprompt.js | 178 Text.minFontScale(1); 272 Text.minFontScale(1);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/interfaces/ |
H A D | customtitle.js | 155 Text.minFontScale(0.85);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_text_bridge.cpp | 496 double minFontScale; in SetMinFontScale() local 497 if (!ArkTSUtils::ParseJsDouble(vm, secondArg, minFontScale)) { in SetMinFontScale() 500 if (LessOrEqual(minFontScale, 0.0f)) { in SetMinFontScale() 501 GetArkUINodeModifiers()->getTextModifier()->setTextMinFontScale(nativeNode, static_cast<float>(minFontScale)); in SetMinFontScale() 502 minFontScale = 0.0f; in SetMinFontScale() 503 } else if (GreatOrEqual(minFontScale, 1.0f)) { in SetMinFontScale() 504 minFontScale = 1.0f; in SetMinFontScale() 506 GetArkUINodeModifiers()->getTextModifier()->setTextMinFontScale(nativeNode, static_cast<float>(minFontScale)); in SetMinFontScale()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style.h | 326 void SetMinFontScale(float minFontScale) in SetMinFontScale() argument 328 minFontScale_ = minFontScale; in SetMinFontScale()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_text.cpp | 231 double minFontScale; in SetMinFontScale() local 232 if (info.Length() < 1 || !ParseJsDouble(info[0], minFontScale)) { in SetMinFontScale() 235 if (LessOrEqual(minFontScale, 0.0f)) { in SetMinFontScale() 239 if (GreatOrEqual(minFontScale, 1.0f)) { in SetMinFontScale() 243 TextModel::GetInstance()->SetMinFontScale(static_cast<float>(minFontScale)); in SetMinFontScale() 1095 JSClass<JSText>::StaticMethod("minFontScale", &JSText::SetMinFontScale, opt); in JSBind()
|
/foundation/arkui/ace_engine/advanced_ui_component/filter/interfaces/ |
H A D | filter.js | 460 Text.minFontScale(1); 958 Text.minFontScale(1); 1116 Text.minFontScale(1); 2105 Text.minFontScale(1); 2272 Text.minFontScale(1); 2602 Text.minFontScale(1);
|
/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/interfaces/ |
H A D | gridobjectsortcomponent.js | 1218 Text.minFontScale(MIN_FONT_SCALE); 1259 Text.minFontScale(MIN_FONT_SCALE); 1383 Text.minFontScale(MIN_FONT_SCALE); 1522 Text.minFontScale(MIN_FONT_SCALE); 1611 Text.minFontScale(MIN_FONT_SCALE);
|
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/ |
H A D | treeview.js | 1032 Text.minFontScale(o1); 1115 Text.minFontScale(o1); 3769 Text.minFontScale(o1); 3985 Text.minFontScale(o1); 4105 Text.minFontScale(o1);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_pattern.cpp | 3352 auto minFontScale = textLayoutProp->GetMinFontScale().value_or(0.0f); in DumpScaleInfo() local 3353 dumpLog.AddDesc(std::string("minFontScale: ").append(std::to_string(minFontScale))); in DumpScaleInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 11852 minFontScale(value) {
|
Completed in 52 milliseconds