@@ -1071,11 +1071,11 @@ class SpaceSpan extends ReplacementSpan {
1071
1071
private final int width ;
1072
1072
private final int color ;
1073
1073
1074
- SpaceSpan (int width ) {
1074
+ private SpaceSpan (int width ) {
1075
1075
this (width , Color .TRANSPARENT );
1076
1076
}
1077
1077
1078
- SpaceSpan (int width , int color ) {
1078
+ private SpaceSpan (int width , int color ) {
1079
1079
super ();
1080
1080
this .width = width ;
1081
1081
this .color = color ;
@@ -1110,7 +1110,7 @@ class CustomQuoteSpan implements LeadingMarginSpan {
1110
1110
private final int stripeWidth ;
1111
1111
private final int gapWidth ;
1112
1112
1113
- CustomQuoteSpan (int color , int stripeWidth , int gapWidth ) {
1113
+ private CustomQuoteSpan (int color , int stripeWidth , int gapWidth ) {
1114
1114
super ();
1115
1115
this .color = color ;
1116
1116
this .stripeWidth = stripeWidth ;
@@ -1149,7 +1149,7 @@ class CustomBulletSpan implements LeadingMarginSpan {
1149
1149
1150
1150
private Path sBulletPath = null ;
1151
1151
1152
- CustomBulletSpan (int color , int radius , int gapWidth ) {
1152
+ private CustomBulletSpan (int color , int radius , int gapWidth ) {
1153
1153
this .color = color ;
1154
1154
this .radius = radius ;
1155
1155
this .gapWidth = gapWidth ;
@@ -1208,25 +1208,25 @@ class CustomIconMarginSpan implements LeadingMarginSpan, android.text.style.Line
1208
1208
private int need1 ;
1209
1209
private boolean flag ;
1210
1210
1211
- CustomIconMarginSpan (Bitmap b , int pad , int verticalAlignment ) {
1211
+ private CustomIconMarginSpan (Bitmap b , int pad , int verticalAlignment ) {
1212
1212
mBitmap = b ;
1213
1213
mPad = pad ;
1214
1214
mVerticalAlignment = verticalAlignment ;
1215
1215
}
1216
1216
1217
- CustomIconMarginSpan (Drawable drawable , int pad , int verticalAlignment ) {
1217
+ private CustomIconMarginSpan (Drawable drawable , int pad , int verticalAlignment ) {
1218
1218
mBitmap = drawable2Bitmap (drawable );
1219
1219
mPad = pad ;
1220
1220
mVerticalAlignment = verticalAlignment ;
1221
1221
}
1222
1222
1223
- CustomIconMarginSpan (Context context , Uri uri , int pad , int verticalAlignment ) {
1223
+ private CustomIconMarginSpan (Context context , Uri uri , int pad , int verticalAlignment ) {
1224
1224
mBitmap = uri2Bitmap (context , uri );
1225
1225
mPad = pad ;
1226
1226
mVerticalAlignment = verticalAlignment ;
1227
1227
}
1228
1228
1229
- CustomIconMarginSpan (Context context , int resourceId , int pad , int verticalAlignment ) {
1229
+ private CustomIconMarginSpan (Context context , int resourceId , int pad , int verticalAlignment ) {
1230
1230
mBitmap = resource2Bitmap (context , resourceId );
1231
1231
mPad = pad ;
1232
1232
mVerticalAlignment = verticalAlignment ;
@@ -1357,7 +1357,7 @@ class CustomTypefaceSpan extends TypefaceSpan {
1357
1357
1358
1358
private final Typeface newType ;
1359
1359
1360
- CustomTypefaceSpan (Typeface type ) {
1360
+ private CustomTypefaceSpan (Typeface type ) {
1361
1361
super ("" );
1362
1362
newType = type ;
1363
1363
}
@@ -1402,7 +1402,7 @@ class CustomImageSpan extends CustomDynamicDrawableSpan {
1402
1402
private int mResourceId ;
1403
1403
private Context mContext ;
1404
1404
1405
- CustomImageSpan (Context context , Bitmap b , int verticalAlignment ) {
1405
+ private CustomImageSpan (Context context , Bitmap b , int verticalAlignment ) {
1406
1406
super (verticalAlignment );
1407
1407
mContext = context ;
1408
1408
mDrawable = context != null
@@ -1413,20 +1413,20 @@ class CustomImageSpan extends CustomDynamicDrawableSpan {
1413
1413
mDrawable .setBounds (0 , 0 , width > 0 ? width : 0 , height > 0 ? height : 0 );
1414
1414
}
1415
1415
1416
- CustomImageSpan (Drawable d , int verticalAlignment ) {
1416
+ private CustomImageSpan (Drawable d , int verticalAlignment ) {
1417
1417
super (verticalAlignment );
1418
1418
mDrawable = d ;
1419
1419
mDrawable .setBounds (0 , 0 , mDrawable .getIntrinsicWidth (),
1420
1420
mDrawable .getIntrinsicHeight ());
1421
1421
}
1422
1422
1423
- CustomImageSpan (Context context , Uri uri , int verticalAlignment ) {
1423
+ private CustomImageSpan (Context context , Uri uri , int verticalAlignment ) {
1424
1424
super (verticalAlignment );
1425
1425
mContext = context ;
1426
1426
mContentUri = uri ;
1427
1427
}
1428
1428
1429
- CustomImageSpan (Context context , @ DrawableRes int resourceId , int verticalAlignment ) {
1429
+ private CustomImageSpan (Context context , @ DrawableRes int resourceId , int verticalAlignment ) {
1430
1430
super (verticalAlignment );
1431
1431
mContext = context ;
1432
1432
mResourceId = resourceId ;
@@ -1477,11 +1477,11 @@ abstract class CustomDynamicDrawableSpan extends ReplacementSpan {
1477
1477
1478
1478
final int mVerticalAlignment ;
1479
1479
1480
- CustomDynamicDrawableSpan () {
1480
+ private CustomDynamicDrawableSpan () {
1481
1481
mVerticalAlignment = ALIGN_BOTTOM ;
1482
1482
}
1483
1483
1484
- CustomDynamicDrawableSpan (int verticalAlignment ) {
1484
+ private CustomDynamicDrawableSpan (int verticalAlignment ) {
1485
1485
mVerticalAlignment = verticalAlignment ;
1486
1486
}
1487
1487
@@ -1568,7 +1568,7 @@ class ShadowSpan extends CharacterStyle implements UpdateAppearance {
1568
1568
private float dx , dy ;
1569
1569
private int shadowColor ;
1570
1570
1571
- ShadowSpan (float radius , float dx , float dy , int shadowColor ) {
1571
+ private ShadowSpan (float radius , float dx , float dy , int shadowColor ) {
1572
1572
this .radius = radius ;
1573
1573
this .dx = dx ;
1574
1574
this .dy = dy ;
0 commit comments