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:
@@ -5,18 +5,18 @@ package android.text;
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class ClipboardManager {
|
||||
/**
|
||||
* Returns the text on the clipboard. It will eventually be possible
|
||||
* to store types other than text too, in which case this will return
|
||||
* null if the type cannot be coerced to text.
|
||||
*/
|
||||
public abstract CharSequence getText();
|
||||
/**
|
||||
* Sets the contents of the clipboard to the specified text.
|
||||
*/
|
||||
public abstract void setText(CharSequence text);
|
||||
/**
|
||||
* Returns true if the clipboard contains text; false otherwise.
|
||||
*/
|
||||
public abstract boolean hasText();
|
||||
/**
|
||||
* Returns the text on the clipboard. It will eventually be possible
|
||||
* to store types other than text too, in which case this will return
|
||||
* null if the type cannot be coerced to text.
|
||||
*/
|
||||
public abstract CharSequence getText();
|
||||
/**
|
||||
* Sets the contents of the clipboard to the specified text.
|
||||
*/
|
||||
public abstract void setText(CharSequence text);
|
||||
/**
|
||||
* Returns true if the clipboard contains text; false otherwise.
|
||||
*/
|
||||
public abstract boolean hasText();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user