You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/
This commit is contained in:
@@ -3,7 +3,7 @@ package android.text;
|
||||
import android.graphics.Canvas;
|
||||
|
||||
public class Layout {
|
||||
|
||||
|
||||
public enum Alignment {
|
||||
ALIGN_NORMAL,
|
||||
ALIGN_OPPOSITE,
|
||||
|
||||
@@ -148,4 +148,4 @@ public class Selection {
|
||||
*/
|
||||
public static final Object SELECTION_START = new START();
|
||||
public static final Object SELECTION_END = new END();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1415,4 +1415,4 @@ public class SpannableStringBuilder implements CharSequence, GetChars, Spannable
|
||||
private static final int SPAN_END_AT_START = 0x4000;
|
||||
private static final int SPAN_END_AT_END = 0x8000;
|
||||
private static final int SPAN_START_END_MASK = 0xF000;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ public class DateUtils {
|
||||
public static boolean isToday(long millis) {
|
||||
Date d1 = new Date(millis);
|
||||
Date d2 = new Date();
|
||||
|
||||
|
||||
return d1.getYear() == d2.getYear() && d1.getMonth() == d2.getMonth() && d1.getDate() == d2.getDate();
|
||||
}
|
||||
|
||||
|
||||
@@ -5,5 +5,5 @@ public class LinkMovementMethod extends BaseMovementMethod {
|
||||
public static MovementMethod getInstance() {
|
||||
return new LinkMovementMethod();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user