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:
@@ -4,7 +4,7 @@ import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
|
||||
public class AccountManager {
|
||||
|
||||
|
||||
public static AccountManager get(Context context) {
|
||||
return new AccountManager();
|
||||
}
|
||||
|
||||
@@ -11,5 +11,5 @@ public class AnimatorInflater {
|
||||
public static StateListAnimator loadStateListAnimator(Context context, int resId) {
|
||||
return new StateListAnimator();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package android.animation;
|
||||
|
||||
public class ArgbEvaluator {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package android.animation;
|
||||
|
||||
public class LayoutTransition {
|
||||
|
||||
|
||||
public void enableTransitionType(int transitionType) {}
|
||||
|
||||
public void setStartDelay(int transitionType, long startDelay) {}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package android.annotation;
|
||||
|
||||
public @interface SystemApi {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ public class Activity extends ContextThemeWrapper implements Window.Callback, La
|
||||
*
|
||||
* @param className class name of activity or null
|
||||
* @return instance of main activity class
|
||||
* @throws Exception
|
||||
* @throws Exception
|
||||
*/
|
||||
private static Activity createMainActivity(String className, long native_window, String uriString) throws Exception {
|
||||
Uri uri = uriString != null ? Uri.parse(uriString) : null;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package android.app;
|
||||
|
||||
public class DownloadManager {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package android.app;
|
||||
|
||||
public class SearchManager {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package android.app;
|
||||
import android.content.res.Configuration;
|
||||
|
||||
public class UiModeManager {
|
||||
|
||||
|
||||
public int getCurrentModeType() {
|
||||
return Configuration.UI_MODE_TYPE_NORMAL;
|
||||
}
|
||||
|
||||
@@ -14,5 +14,5 @@ public class WallpaperManager {
|
||||
}
|
||||
|
||||
private static native void set_bitmap(long texture);
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
package android.app.admin;
|
||||
|
||||
public class DevicePolicyManager {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -6,4 +6,3 @@ final public class JobWorkItem {
|
||||
public JobWorkItem(Intent intent) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package android.bluetooth;
|
||||
|
||||
public class BluetoothProfile {
|
||||
|
||||
|
||||
public interface ServiceListener {}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ package android.content;
|
||||
public class ClipData {
|
||||
|
||||
String text;
|
||||
|
||||
|
||||
public static ClipData newPlainText(CharSequence label, CharSequence text) {
|
||||
ClipData clip = new ClipData();
|
||||
clip.text = text.toString();
|
||||
|
||||
@@ -10,7 +10,7 @@ import android.net.Uri;
|
||||
import java.util.Iterator;
|
||||
|
||||
public class IntentFilter {
|
||||
|
||||
|
||||
private List<String> actions = new ArrayList<>();
|
||||
private Set<String> categories = new HashSet<>();
|
||||
private List<String> dataSchemes = new ArrayList<>();
|
||||
|
||||
@@ -1674,7 +1674,7 @@ public class PackageManager {
|
||||
* to modify the data returned.
|
||||
*
|
||||
* @return ProviderInfo containing information about the service.
|
||||
* @throws Exception
|
||||
* @throws Exception
|
||||
*
|
||||
* @see #GET_META_DATA
|
||||
* @see #GET_SHARED_LIBRARY_FILES
|
||||
@@ -2402,7 +2402,7 @@ public class PackageManager {
|
||||
*
|
||||
* @return ContentProviderInfo Information about the provider, if found,
|
||||
* else null.
|
||||
* @throws Exception
|
||||
* @throws Exception
|
||||
*/
|
||||
public ProviderInfo resolveContentProvider(String authority, int flags) {
|
||||
for (PackageParser.Provider p : Context.pkg.providers) {
|
||||
|
||||
@@ -56,4 +56,4 @@ public class PackageUserState {
|
||||
? new HashSet<String>(o.enabledComponents)
|
||||
: null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -481,4 +481,4 @@ public abstract class AbstractCursor implements CrossProcessCursor {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ public abstract class AbstractWindowedCursor extends AbstractCursor {
|
||||
@Override
|
||||
protected void checkPosition() {
|
||||
super.checkPosition();
|
||||
|
||||
|
||||
if (mWindow == null) {
|
||||
throw new /*StaleDataException*/RuntimeException("Attempting to access a closed CursorWindow." +
|
||||
"Most probable cause: cursor is deactivated prior to calling this method.");
|
||||
@@ -206,4 +206,4 @@ public abstract class AbstractWindowedCursor extends AbstractCursor {
|
||||
super.onDeactivateOrClose();
|
||||
closeWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,11 +23,11 @@ public final class CharArrayBuffer {
|
||||
public CharArrayBuffer(int size) {
|
||||
data = new char[size];
|
||||
}
|
||||
|
||||
|
||||
public CharArrayBuffer(char[] buf) {
|
||||
data = buf;
|
||||
}
|
||||
|
||||
|
||||
public char[] data; // In and out parameter
|
||||
public int sizeCopied; // Out parameter
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user