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:
@@ -1,5 +1,5 @@
|
||||
package android.view;
|
||||
|
||||
public class AbsSavedState {
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -355,4 +355,4 @@ public abstract class ActionMode {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,9 +310,9 @@ public class GestureDetector {
|
||||
|
||||
/**
|
||||
* Creates a GestureDetector with the supplied listener.
|
||||
* This variant of the constructor should be used from a non-UI thread
|
||||
* This variant of the constructor should be used from a non-UI thread
|
||||
* (as it allows specifying the Handler).
|
||||
*
|
||||
*
|
||||
* @param listener the listener invoked for all the callbacks, this must
|
||||
* not be null.
|
||||
* @param handler the handler to use
|
||||
@@ -331,10 +331,10 @@ public class GestureDetector {
|
||||
* Creates a GestureDetector with the supplied listener.
|
||||
* You may only use this constructor from a UI thread (this is the usual situation).
|
||||
* @see android.os.Handler#Handler()
|
||||
*
|
||||
*
|
||||
* @param listener the listener invoked for all the callbacks, this must
|
||||
* not be null.
|
||||
*
|
||||
*
|
||||
* @throws NullPointerException if {@code listener} is null.
|
||||
*
|
||||
* @deprecated Use {@link #GestureDetector(android.content.Context,
|
||||
@@ -394,7 +394,7 @@ public class GestureDetector {
|
||||
}
|
||||
init(context);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Creates a GestureDetector with the supplied listener that runs deferred events on the
|
||||
* thread associated with the supplied {@link android.os.Handler}.
|
||||
@@ -447,7 +447,7 @@ public class GestureDetector {
|
||||
/**
|
||||
* Sets the listener which will be called for double-tap and related
|
||||
* gestures.
|
||||
*
|
||||
*
|
||||
* @param onDoubleTapListener the listener invoked for all the callbacks, or
|
||||
* null to stop listening for double-tap gestures.
|
||||
*/
|
||||
|
||||
@@ -9,5 +9,5 @@ public class InflateException extends RuntimeException {
|
||||
public InflateException(String string) {
|
||||
super(string);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ public class TextureView extends View {
|
||||
|
||||
public interface SurfaceTextureListener {}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1099,7 +1099,7 @@ public class View implements Drawable.Callback {
|
||||
protected native void native_requestLayout(long widget);
|
||||
protected native void native_setBackgroundDrawable(long widget, long paintable);
|
||||
protected native void native_queueAllocate(long widget);
|
||||
|
||||
|
||||
protected native void native_addClass(long widget, String className);
|
||||
protected native void native_removeClass(long widget, String className);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import android.content.Context;
|
||||
* default values are mainly based on AOSPs defaults. Does not account for scaling yet.
|
||||
*/
|
||||
public class ViewConfiguration {
|
||||
|
||||
|
||||
public static ViewConfiguration get(Context context) {
|
||||
return new ViewConfiguration();
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ import android.util.AttributeSet;
|
||||
* A ViewStub is an invisible, zero-sized View that can be used to lazily inflate
|
||||
* layout resources at runtime.
|
||||
*
|
||||
* When a ViewStub is made visible, or when {@link #inflate()} is invoked, the layout resource
|
||||
* When a ViewStub is made visible, or when {@link #inflate()} is invoked, the layout resource
|
||||
* is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views.
|
||||
* Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or
|
||||
* {@link #inflate()} is invoked.
|
||||
@@ -169,9 +169,9 @@ public final class ViewStub extends View {
|
||||
* Specifies the layout resource to inflate when this StubbedView becomes visible or invisible
|
||||
* or when {@link #inflate()} is invoked. The View created by inflating the layout resource is
|
||||
* used to replace this StubbedView in its parent.
|
||||
*
|
||||
*
|
||||
* @param layoutResource A valid layout resource identifier (different from 0.)
|
||||
*
|
||||
*
|
||||
* @see #getLayoutResource()
|
||||
* @see #setVisibility(int)
|
||||
* @see #inflate()
|
||||
@@ -217,7 +217,7 @@ public final class ViewStub extends View {
|
||||
*
|
||||
* @param visibility One of {@link #VISIBLE}, {@link #INVISIBLE}, or {@link #GONE}.
|
||||
*
|
||||
* @see #inflate()
|
||||
* @see #inflate()
|
||||
*/
|
||||
@Override
|
||||
public void setVisibility(int visibility) {
|
||||
@@ -305,7 +305,7 @@ public final class ViewStub extends View {
|
||||
* Listener used to receive a notification after a ViewStub has successfully
|
||||
* inflated its layout resource.
|
||||
*
|
||||
* @see android.view.ViewStub#setOnInflateListener(android.view.ViewStub.OnInflateListener)
|
||||
* @see android.view.ViewStub#setOnInflateListener(android.view.ViewStub.OnInflateListener)
|
||||
*/
|
||||
public static interface OnInflateListener {
|
||||
/**
|
||||
|
||||
@@ -3,5 +3,5 @@ package android.view.animation;
|
||||
import android.animation.TimeInterpolator;
|
||||
|
||||
public interface Interpolator extends TimeInterpolator {
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user