Home
last modified time | relevance | path

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

/base/msdp/device_status/services/interaction/drag/src/
Ddrag_drawing.cpp274 float scalingValue = GetScaling(); in UpdateShadowPic() local
275 if ((1.0 * INT32_MAX / (SVG_WIDTH + TWELVE_SIZE)) <= scalingValue) { in UpdateShadowPic()
276 FI_HILOGE("Invalid scalingValue:%{public}f", scalingValue); in UpdateShadowPic()
279 int32_t adjustSize = (SVG_WIDTH + TWELVE_SIZE) * scalingValue; in UpdateShadowPic()
1093 float scalingValue = GetScaling(); in Draw() local
1094 if ((1.0 * INT_MAX / (SVG_WIDTH + EIGHT_SIZE)) <= scalingValue) { in Draw()
1095 FI_HILOGE("Invalid scalingValue:%{public}f", scalingValue); in Draw()
1098 int32_t adjustSize = EIGHT_SIZE * scalingValue; in Draw()
1109 …dragStyleNode->SetBounds(svgTouchPositionX, (TWELVE_SIZE - EIGHT_SIZE) * scalingValue, stylePixelM… in Draw()
1111 …dragStyleNode->SetFrame(svgTouchPositionX, (TWELVE_SIZE - EIGHT_SIZE) * scalingValue, stylePixelMa… in Draw()
[all …]