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:
@@ -4,21 +4,21 @@ public final class InputQueue {
|
||||
// for now, we will put a GtkEventController for the window here
|
||||
private long native_ptr = 0;
|
||||
|
||||
public long getNativePtr() {
|
||||
return native_ptr; // FIXME?
|
||||
}
|
||||
public long getNativePtr() {
|
||||
return native_ptr; // FIXME?
|
||||
}
|
||||
|
||||
public static interface Callback {
|
||||
/**
|
||||
* Called when the given InputQueue is now associated with the
|
||||
* thread making this call, so it can start receiving events from it.
|
||||
*/
|
||||
void onInputQueueCreated(InputQueue queue);
|
||||
public static interface Callback {
|
||||
/**
|
||||
* Called when the given InputQueue is now associated with the
|
||||
* thread making this call, so it can start receiving events from it.
|
||||
*/
|
||||
void onInputQueueCreated(InputQueue queue);
|
||||
|
||||
/**
|
||||
* Called when the given InputQueue is no longer associated with
|
||||
* the thread and thus not dispatching events.
|
||||
*/
|
||||
void onInputQueueDestroyed(InputQueue queue);
|
||||
}
|
||||
/**
|
||||
* Called when the given InputQueue is no longer associated with
|
||||
* the thread and thus not dispatching events.
|
||||
*/
|
||||
void onInputQueueDestroyed(InputQueue queue);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user