Home
last modified time | relevance | path

Searched refs:MULTIPLE_FACTOR (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/focus_animation/
H A Drosen_render_focus_animation.cpp45 constexpr float MULTIPLE_FACTOR = 2.0f; variable
89 int32_t maxHeight = sqrt(pow(width_ + MULTIPLE_FACTOR * padding, MULTIPLE_FACTOR) + in PaintGlow()
90 pow(height_ + MULTIPLE_FACTOR * padding, MULTIPLE_FACTOR)); in PaintGlow()
97 skCanvas->translate(width_ / MULTIPLE_FACTOR, height_ / MULTIPLE_FACTOR); in PaintGlow()
133 maxHeight + MULTIPLE_FACTOR * padding, maxHeight + MULTIPLE_FACTOR * padding), in PaintGlow()
139 int32_t maxHeight = sqrt(pow(width_ + MULTIPLE_FACTOR * padding, MULTIPLE_FACTOR) + in PaintGlow()
140 pow(height_ + MULTIPLE_FACTOR * padding, MULTIPLE_FACTOR)); in PaintGlow()
145 canvas->Translate(width_ / MULTIPLE_FACTOR, height_ / MULTIPLE_FACTOR); in PaintGlow()
182 (maxHeight + MULTIPLE_FACTOR * padding) - (maxHeight / MULTIPLE_FACTOR + padding), in PaintGlow()
183 (maxHeight + MULTIPLE_FACTOR * padding) - (maxHeight / MULTIPLE_FACTOR + padding))); in PaintGlow()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item_group/
H A Dmenu_item_group_layout_algorithm.cpp34 constexpr float MULTIPLE_FACTOR = 2.0f; variable
285 … margin.left = CalcLength(iconWidth * MULTIPLE_FACTOR + iconContentPadding * MULTIPLE_FACTOR); in UpdateHeaderAndFooterMargin()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dtouch_drawing_manager.cpp45 constexpr int32_t MULTIPLE_FACTOR { 10 }; variable
624 int32_t futureX = x + xVelocity_ * MULTIPLE_FACTOR; in DrawTracker()
625 int32_t futureY = y + yVelocity_ * MULTIPLE_FACTOR; in DrawTracker()