Loading core/java/android/annotation/BinderThread.java +3 −3 Original line number Diff line number Diff line Loading @@ -29,10 +29,10 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * on the binder thread. * <p> * Example: * <pre>{@code * (@BinderThread * <pre><code> * @BinderThread * public BeamShareData createBeamShareData() { ... } * }</pre> * </code></pre> * * {@hide} */ Loading core/java/android/annotation/CallSuper.java +2 −2 Original line number Diff line number Diff line Loading @@ -25,10 +25,10 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * Denotes that any overriding methods should invoke this method as well. * <p> * Example: * <pre>{@code * <pre><code> * @CallSuper * public abstract void onFocusLost(); * }</pre> * </code></pre> * * @hide */ Loading core/java/android/annotation/CheckResult.java +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * <p> * Example: * <pre>{@code * public @CheckResult String trim(String s) { return s.trim(); } * public @CheckResult String trim(String s) { return s.trim(); } * ... * s.trim(); // this is probably an error * s = s.trim(); // ok Loading core/java/android/annotation/ColorInt.java +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * <p> * Example: * <pre>{@code * public abstract void setTextColor(@ColorInt int color); * public abstract void setTextColor(@ColorInt int color); * }</pre> * * @hide Loading core/java/android/annotation/FloatRange.java +2 −2 Original line number Diff line number Diff line Loading @@ -28,12 +28,12 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * Denotes that the annotated element should be a float or double in the given range * <p> * Example: * <pre>{@code * <pre><code> * @FloatRange(from=0.0,to=1.0) * public float getAlpha() { * ... * } * }</pre> * </code></pre> * * @hide */ Loading Loading
core/java/android/annotation/BinderThread.java +3 −3 Original line number Diff line number Diff line Loading @@ -29,10 +29,10 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * on the binder thread. * <p> * Example: * <pre>{@code * (@BinderThread * <pre><code> * @BinderThread * public BeamShareData createBeamShareData() { ... } * }</pre> * </code></pre> * * {@hide} */ Loading
core/java/android/annotation/CallSuper.java +2 −2 Original line number Diff line number Diff line Loading @@ -25,10 +25,10 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * Denotes that any overriding methods should invoke this method as well. * <p> * Example: * <pre>{@code * <pre><code> * @CallSuper * public abstract void onFocusLost(); * }</pre> * </code></pre> * * @hide */ Loading
core/java/android/annotation/CheckResult.java +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * <p> * Example: * <pre>{@code * public @CheckResult String trim(String s) { return s.trim(); } * public @CheckResult String trim(String s) { return s.trim(); } * ... * s.trim(); // this is probably an error * s = s.trim(); // ok Loading
core/java/android/annotation/ColorInt.java +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * <p> * Example: * <pre>{@code * public abstract void setTextColor(@ColorInt int color); * public abstract void setTextColor(@ColorInt int color); * }</pre> * * @hide Loading
core/java/android/annotation/FloatRange.java +2 −2 Original line number Diff line number Diff line Loading @@ -28,12 +28,12 @@ import static java.lang.annotation.RetentionPolicy.SOURCE; * Denotes that the annotated element should be a float or double in the given range * <p> * Example: * <pre>{@code * <pre><code> * @FloatRange(from=0.0,to=1.0) * public float getAlpha() { * ... * } * }</pre> * </code></pre> * * @hide */ Loading