Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Utils/
DOverlayUtils.h35 inline constexpr int kDigitSpace = 16; variable
40 inline constexpr int kBufferWidth = kMaxDigits * kDigitWidth + (kMaxDigits - 1) * kDigitSpace;
90 return SkRect::MakeLTRB(left, 0, left + kDigitWidth, kDigitSpace); in drawSegment()
92 return SkRect::MakeLTRB(left, 0, left + kDigitSpace, kDigitHeight / 2.); in drawSegment()
94 return SkRect::MakeLTRB(left + kDigitWidth - kDigitSpace, 0, left + kDigitWidth, in drawSegment()
97 return SkRect::MakeLTRB(left, kDigitHeight / 2. - kDigitSpace / 2., in drawSegment()
99 kDigitHeight / 2. + kDigitSpace / 2.); in drawSegment()
101 return SkRect::MakeLTRB(left, kDigitHeight / 2., left + kDigitSpace, in drawSegment()
104 return SkRect::MakeLTRB(left + kDigitWidth - kDigitSpace, kDigitHeight / 2., in drawSegment()
107 return SkRect::MakeLTRB(left, kDigitHeight - kDigitSpace, left + kDigitWidth, in drawSegment()
[all …]
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp80 left += 3 * (kDigitWidth + kDigitSpace); in draw()
109 left += kDigitWidth + kDigitSpace; in draw()
118 left += 3 * (kDigitWidth + kDigitSpace); in draw()
140 left += kDigitWidth + kDigitSpace; in drawNumber()
145 left += kDigitWidth + kDigitSpace; in drawNumber()
151 left += kDigitWidth + kDigitSpace; in drawDash()
154 left += kDigitWidth + kDigitSpace; in drawDash()
DHdrSdrRatioOverlay.cpp35 left += kDigitWidth + kDigitSpace; in drawNumber()
37 left += kDigitWidth + kDigitSpace; in drawNumber()
40 left += kDigitWidth + kDigitSpace; in drawNumber()