Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DSignalDrawable.java196 float dotSize = (DOT_SIZE * height); in draw() local
198 float dotSpacing = dotPadding + dotSize; in draw()
199 float x = width - padding - dotSize; in draw()
200 float y = height - padding - dotSize; in draw()
202 drawDotAndPadding(x, y, dotPadding, dotSize, 2); in draw()
203 drawDotAndPadding(x - dotSpacing, y, dotPadding, dotSize, 1); in draw()
204 drawDotAndPadding(x - dotSpacing * 2, y, dotPadding, dotSize, 0); in draw()
229 float dotPadding, float dotSize, int i) { in drawDotAndPadding() argument
232 mForegroundPath.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDotAndPadding()
234 mCutoutPath.addRect(x - dotPadding, y - dotPadding, x + dotSize + dotPadding, in drawDotAndPadding()
[all …]