MCPcopy Create free account
hub / github.com/cinit/TMoe / draw

Method draw

app/src/main/java/cc/ioctl/tmoe/ui/wrapper/component/Switch.java:157–161  ·  view source on GitHub ↗
(Canvas canvas)

Source from the content-addressed store, hash-verified

155 } else {
156 maskDrawable = new Drawable() {
157 @Override
158 public void draw(Canvas canvas) {
159 android.graphics.Rect bounds = getBounds();
160 canvas.drawCircle(bounds.centerX(), bounds.centerY(), LayoutHelper.dp(18), ripplePaint);
161 }
162
163 @Override
164 public void setAlpha(int alpha) {

Callers 3

onDrawMethod · 0.45
onDrawMethod · 0.45
dispatchDrawMethod · 0.45

Calls 1

dpMethod · 0.95

Tested by

no test coverage detected