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.java204 float dotSize = (DOT_SIZE * height); in draw() local
206 float dotSpacing = dotPadding + dotSize; in draw()
207 float x = width - padding - dotSize; in draw()
208 float y = height - padding - dotSize; in draw()
210 drawDotAndPadding(x, y, dotPadding, dotSize, 2); in draw()
211 drawDotAndPadding(x - dotSpacing, y, dotPadding, dotSize, 1); in draw()
212 drawDotAndPadding(x - dotSpacing * 2, y, dotPadding, dotSize, 0); in draw()
233 float dotPadding, float dotSize, int i) { in drawDotAndPadding() argument
236 mForegroundPath.addRect(x, y, x + dotSize, y + dotSize, Direction.CW); in drawDotAndPadding()
238 mCutoutPath.addRect(x - dotPadding, y - dotPadding, x + dotSize + dotPadding, in drawDotAndPadding()
[all …]