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

Method Switch

app/src/main/java/cc/ioctl/tmoe/ui/wrapper/component/Switch.java:86–95  ·  view source on GitHub ↗
(Context context)

Source from the content-addressed store, hash-verified

84 }
85
86 public Switch(Context context) {
87 super(context);
88 rectF = new RectF();
89
90 paint = new Paint(Paint.ANTI_ALIAS_FLAG);
91 paint2 = new Paint(Paint.ANTI_ALIAS_FLAG);
92 paint2.setStyle(Paint.Style.STROKE);
93 paint2.setStrokeCap(Paint.Cap.ROUND);
94 paint2.setStrokeWidth(LayoutHelper.dp(2));
95 }
96
97 @Keep
98 public void setProgress(float value) {

Callers

nothing calls this directly

Calls 1

dpMethod · 0.95

Tested by

no test coverage detected