Skip to content

Commit 47c65b6

Browse files
committed
see 06/26 log
1 parent f66a053 commit 47c65b6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

utilcode/src/main/java/com/blankj/utilcode/util/SpanUtils.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,11 +1071,11 @@ class SpaceSpan extends ReplacementSpan {
10711071
private final int width;
10721072
private final int color;
10731073

1074-
SpaceSpan(int width) {
1074+
private SpaceSpan(int width) {
10751075
this(width, Color.TRANSPARENT);
10761076
}
10771077

1078-
SpaceSpan(int width, int color) {
1078+
private SpaceSpan(int width, int color) {
10791079
super();
10801080
this.width = width;
10811081
this.color = color;
@@ -1110,7 +1110,7 @@ class CustomQuoteSpan implements LeadingMarginSpan {
11101110
private final int stripeWidth;
11111111
private final int gapWidth;
11121112

1113-
CustomQuoteSpan(int color, int stripeWidth, int gapWidth) {
1113+
private CustomQuoteSpan(int color, int stripeWidth, int gapWidth) {
11141114
super();
11151115
this.color = color;
11161116
this.stripeWidth = stripeWidth;
@@ -1149,7 +1149,7 @@ class CustomBulletSpan implements LeadingMarginSpan {
11491149

11501150
private Path sBulletPath = null;
11511151

1152-
CustomBulletSpan(int color, int radius, int gapWidth) {
1152+
private CustomBulletSpan(int color, int radius, int gapWidth) {
11531153
this.color = color;
11541154
this.radius = radius;
11551155
this.gapWidth = gapWidth;
@@ -1208,25 +1208,25 @@ class CustomIconMarginSpan implements LeadingMarginSpan, android.text.style.Line
12081208
private int need1;
12091209
private boolean flag;
12101210

1211-
CustomIconMarginSpan(Bitmap b, int pad, int verticalAlignment) {
1211+
private CustomIconMarginSpan(Bitmap b, int pad, int verticalAlignment) {
12121212
mBitmap = b;
12131213
mPad = pad;
12141214
mVerticalAlignment = verticalAlignment;
12151215
}
12161216

1217-
CustomIconMarginSpan(Drawable drawable, int pad, int verticalAlignment) {
1217+
private CustomIconMarginSpan(Drawable drawable, int pad, int verticalAlignment) {
12181218
mBitmap = drawable2Bitmap(drawable);
12191219
mPad = pad;
12201220
mVerticalAlignment = verticalAlignment;
12211221
}
12221222

1223-
CustomIconMarginSpan(Context context, Uri uri, int pad, int verticalAlignment) {
1223+
private CustomIconMarginSpan(Context context, Uri uri, int pad, int verticalAlignment) {
12241224
mBitmap = uri2Bitmap(context, uri);
12251225
mPad = pad;
12261226
mVerticalAlignment = verticalAlignment;
12271227
}
12281228

1229-
CustomIconMarginSpan(Context context, int resourceId, int pad, int verticalAlignment) {
1229+
private CustomIconMarginSpan(Context context, int resourceId, int pad, int verticalAlignment) {
12301230
mBitmap = resource2Bitmap(context, resourceId);
12311231
mPad = pad;
12321232
mVerticalAlignment = verticalAlignment;
@@ -1357,7 +1357,7 @@ class CustomTypefaceSpan extends TypefaceSpan {
13571357

13581358
private final Typeface newType;
13591359

1360-
CustomTypefaceSpan(Typeface type) {
1360+
private CustomTypefaceSpan(Typeface type) {
13611361
super("");
13621362
newType = type;
13631363
}
@@ -1402,7 +1402,7 @@ class CustomImageSpan extends CustomDynamicDrawableSpan {
14021402
private int mResourceId;
14031403
private Context mContext;
14041404

1405-
CustomImageSpan(Context context, Bitmap b, int verticalAlignment) {
1405+
private CustomImageSpan(Context context, Bitmap b, int verticalAlignment) {
14061406
super(verticalAlignment);
14071407
mContext = context;
14081408
mDrawable = context != null
@@ -1413,20 +1413,20 @@ class CustomImageSpan extends CustomDynamicDrawableSpan {
14131413
mDrawable.setBounds(0, 0, width > 0 ? width : 0, height > 0 ? height : 0);
14141414
}
14151415

1416-
CustomImageSpan(Drawable d, int verticalAlignment) {
1416+
private CustomImageSpan(Drawable d, int verticalAlignment) {
14171417
super(verticalAlignment);
14181418
mDrawable = d;
14191419
mDrawable.setBounds(0, 0, mDrawable.getIntrinsicWidth(),
14201420
mDrawable.getIntrinsicHeight());
14211421
}
14221422

1423-
CustomImageSpan(Context context, Uri uri, int verticalAlignment) {
1423+
private CustomImageSpan(Context context, Uri uri, int verticalAlignment) {
14241424
super(verticalAlignment);
14251425
mContext = context;
14261426
mContentUri = uri;
14271427
}
14281428

1429-
CustomImageSpan(Context context, @DrawableRes int resourceId, int verticalAlignment) {
1429+
private CustomImageSpan(Context context, @DrawableRes int resourceId, int verticalAlignment) {
14301430
super(verticalAlignment);
14311431
mContext = context;
14321432
mResourceId = resourceId;
@@ -1477,11 +1477,11 @@ abstract class CustomDynamicDrawableSpan extends ReplacementSpan {
14771477

14781478
final int mVerticalAlignment;
14791479

1480-
CustomDynamicDrawableSpan() {
1480+
private CustomDynamicDrawableSpan() {
14811481
mVerticalAlignment = ALIGN_BOTTOM;
14821482
}
14831483

1484-
CustomDynamicDrawableSpan(int verticalAlignment) {
1484+
private CustomDynamicDrawableSpan(int verticalAlignment) {
14851485
mVerticalAlignment = verticalAlignment;
14861486
}
14871487

@@ -1568,7 +1568,7 @@ class ShadowSpan extends CharacterStyle implements UpdateAppearance {
15681568
private float dx, dy;
15691569
private int shadowColor;
15701570

1571-
ShadowSpan(float radius, float dx, float dy, int shadowColor) {
1571+
private ShadowSpan(float radius, float dx, float dy, int shadowColor) {
15721572
this.radius = radius;
15731573
this.dx = dx;
15741574
this.dy = dy;

0 commit comments

Comments
 (0)