Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Utils/
DOverlayUtils.h33 inline constexpr int kDigitWidth = 64; variable
40 inline constexpr int kBufferWidth = kMaxDigits * kDigitWidth + (kMaxDigits - 1) * kDigitSpace;
90 return SkRect::MakeLTRB(left, 0, left + kDigitWidth, kDigitSpace); in drawSegment()
94 return SkRect::MakeLTRB(left + kDigitWidth - kDigitSpace, 0, left + kDigitWidth, in drawSegment()
98 left + kDigitWidth, in drawSegment()
104 return SkRect::MakeLTRB(left + kDigitWidth - kDigitSpace, kDigitHeight / 2., in drawSegment()
105 left + kDigitWidth, kDigitHeight); in drawSegment()
107 return SkRect::MakeLTRB(left, kDigitHeight - kDigitSpace, left + kDigitWidth, in drawSegment()
/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()