Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 058b566f authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add @UnsupportedAppUsage annotations"

parents f892a8ce 61beb339
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -48,13 +48,6 @@ Landroid/accounts/IAccountManagerResponse$Stub;-><init>()V
Landroid/accounts/IAccountManagerResponse$Stub;->asInterface(Landroid/os/IBinder;)Landroid/accounts/IAccountManagerResponse;
Landroid/accounts/IAccountManagerResponse;->onError(ILjava/lang/String;)V
Landroid/accounts/IAccountManagerResponse;->onResult(Landroid/os/Bundle;)V
Landroid/animation/Animator;->reverse()V
Landroid/animation/ArgbEvaluator;->getInstance()Landroid/animation/ArgbEvaluator;
Landroid/animation/LayoutTransition;->cancel()V
Landroid/animation/LayoutTransition;->cancel(I)V
Landroid/animation/ValueAnimator;->animateValue(F)V
Landroid/animation/ValueAnimator;->mDuration:J
Landroid/animation/ValueAnimator;->sDurationScale:F
Landroid/app/ActionBar;->collapseActionView()Z
Landroid/app/ActionBar;->DISPLAY_TITLE_MULTIPLE_LINES:I
Landroid/app/ActionBar;->setShowHideAnimationEnabled(Z)V
+2 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
package android.animation;

import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.content.pm.ActivityInfo.Config;
import android.content.res.ConstantState;

@@ -460,6 +461,7 @@ public abstract class Animator implements Cloneable {
    /**
     * @hide
     */
    @UnsupportedAppUsage
    public void reverse() {
        throw new IllegalStateException("Reverse is not supported");
    }
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@

package android.animation;

import android.annotation.UnsupportedAppUsage;

/**
 * This evaluator can be used to perform type interpolation between integer
 * values that represent ARGB colors.
@@ -31,6 +33,7 @@ public class ArgbEvaluator implements TypeEvaluator {
     *
     * @hide
     */
    @UnsupportedAppUsage
    public static ArgbEvaluator getInstance() {
        return sInstance;
    }
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.animation;

import android.annotation.UnsupportedAppUsage;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
@@ -1070,6 +1071,7 @@ public class LayoutTransition {
     *
     * @hide
     */
    @UnsupportedAppUsage
    public void cancel() {
        if (currentChangingAnimations.size() > 0) {
            LinkedHashMap<View, Animator> currentAnimCopy =
@@ -1105,6 +1107,7 @@ public class LayoutTransition {
     *
     * @hide
     */
    @UnsupportedAppUsage
    public void cancel(int transitionType) {
        switch (transitionType) {
            case CHANGE_APPEARING:
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package android.animation;
import android.annotation.CallSuper;
import android.annotation.IntDef;
import android.annotation.TestApi;
import android.annotation.UnsupportedAppUsage;
import android.os.Looper;
import android.os.Trace;
import android.util.AndroidRuntimeException;
@@ -75,6 +76,7 @@ public class ValueAnimator extends Animator implements AnimationHandler.Animatio
    /**
     * Internal constants
     */
    @UnsupportedAppUsage
    private static float sDurationScale = 1.0f;

    /**
@@ -200,6 +202,7 @@ public class ValueAnimator extends Animator implements AnimationHandler.Animatio
    //

    // How long the animation should last in ms
    @UnsupportedAppUsage
    private long mDuration = 300;

    // The amount of time in ms to delay starting the animation after start() is called. Note
@@ -1509,6 +1512,7 @@ public class ValueAnimator extends Animator implements AnimationHandler.Animatio
     * @param fraction The elapsed fraction of the animation.
     */
    @CallSuper
    @UnsupportedAppUsage
    void animateValue(float fraction) {
        fraction = mInterpolator.getInterpolation(fraction);
        mCurrentFraction = fraction;