Drop rikkax

* TODO: Reimplement some functions

* Locale set is not needed as Android 13 will land

* Don't release until all fixed
This commit is contained in:
tarsin committed 2022-05-26 19:37:15 +08:00
1 parent c7ffdbec93
commit 87d284ad97
46 files changed
+69 -281

No files matched your search

@@ -67,11 +67,10 @@ public class DrawerArrowDrawable extends Drawable {
/**
* @param context used to get the configuration for the drawable from
*/
public DrawerArrowDrawable(Context context, int color) {
public DrawerArrowDrawable(Context context) {
Resources resources = context.getResources();
mPaint.setAntiAlias(true);
mPaint.setColor(color);
mSize = resources.getDimensionPixelSize(R.dimen.dad_drawable_size);
// round this because having this floating may cause bad measurements
mBarSize = Math.round(resources.getDimension(R.dimen.dad_bar_size));
@@ -145,11 +144,6 @@ public class DrawerArrowDrawable extends Drawable {
canvas.restore();
}
public void setColor(@ColorInt int color) {
mPaint.setColor(color);
invalidateSelf();
}
@Override
public void setAlpha(int i) {
mPaint.setAlpha(i);