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
src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
This commit is contained in:
@@ -22,21 +22,21 @@ package android.text;
|
||||
* added, changed, or removed.
|
||||
*/
|
||||
public interface SpanWatcher extends NoCopySpan {
|
||||
/**
|
||||
* This method is called to notify you that the specified object
|
||||
* has been attached to the specified range of the text.
|
||||
*/
|
||||
public void onSpanAdded(Spannable text, Object what, int start, int end);
|
||||
/**
|
||||
* This method is called to notify you that the specified object
|
||||
* has been detached from the specified range of the text.
|
||||
*/
|
||||
public void onSpanRemoved(Spannable text, Object what, int start, int end);
|
||||
/**
|
||||
* This method is called to notify you that the specified object
|
||||
* has been relocated from the range <code>ostart…oend</code>
|
||||
* to the new range <code>nstart…nend</code> of the text.
|
||||
*/
|
||||
public void onSpanChanged(Spannable text, Object what, int ostart, int oend,
|
||||
int nstart, int nend);
|
||||
/**
|
||||
* This method is called to notify you that the specified object
|
||||
* has been attached to the specified range of the text.
|
||||
*/
|
||||
public void onSpanAdded(Spannable text, Object what, int start, int end);
|
||||
/**
|
||||
* This method is called to notify you that the specified object
|
||||
* has been detached from the specified range of the text.
|
||||
*/
|
||||
public void onSpanRemoved(Spannable text, Object what, int start, int end);
|
||||
/**
|
||||
* This method is called to notify you that the specified object
|
||||
* has been relocated from the range <code>ostart…oend</code>
|
||||
* to the new range <code>nstart…nend</code> of the text.
|
||||
*/
|
||||
public void onSpanChanged(Spannable text, Object what, int ostart, int oend,
|
||||
int nstart, int nend);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user