Merge "Add @UnsupportedAppUsage annotations"
am: 058b566f90
Change-Id: I982201ecfc2f257ff5509de10a73549ebe657aff
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
@@ -1534,6 +1537,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;
|
||||
|
||||
Reference in New Issue
Block a user