alexandroid/decompiled/jadx/sources/androidx/constraintlayout/motion/widget/Key.java
KaKi87 a47fad5135 📦 Add decompiled Alexa 2.2.730155.0 (jadx, apktool, Hermes strings)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 00:04:16 +01:00

106 lines
3.7 KiB
Java

package androidx.constraintlayout.motion.widget;
import android.content.Context;
import android.util.AttributeSet;
import androidx.constraintlayout.motion.utils.ViewSpline;
import androidx.constraintlayout.widget.ConstraintAttribute;
import java.util.HashMap;
import java.util.HashSet;
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
/* loaded from: classes13.dex */
public abstract class Key {
public static final String ALPHA = "alpha";
public static final String CURVEFIT = "curveFit";
public static final String CUSTOM = "CUSTOM";
public static final String ELEVATION = "elevation";
public static final String MOTIONPROGRESS = "motionProgress";
public static final String PIVOT_X = "transformPivotX";
public static final String PIVOT_Y = "transformPivotY";
public static final String PROGRESS = "progress";
public static final String ROTATION = "rotation";
public static final String ROTATION_X = "rotationX";
public static final String ROTATION_Y = "rotationY";
public static final String SCALE_X = "scaleX";
public static final String SCALE_Y = "scaleY";
public static final String TRANSITIONEASING = "transitionEasing";
public static final String TRANSITION_PATH_ROTATE = "transitionPathRotate";
public static final String TRANSLATION_X = "translationX";
public static final String TRANSLATION_Y = "translationY";
public static final String TRANSLATION_Z = "translationZ";
public static int UNSET = -1;
public static final String VISIBILITY = "visibility";
public static final String WAVE_OFFSET = "waveOffset";
public static final String WAVE_PERIOD = "wavePeriod";
public static final String WAVE_PHASE = "wavePhase";
public static final String WAVE_VARIES_BY = "waveVariesBy";
HashMap<String, ConstraintAttribute> mCustomConstraints;
int mFramePosition;
int mTargetId;
String mTargetString;
protected int mType;
public Key() {
int i = UNSET;
this.mFramePosition = i;
this.mTargetId = i;
this.mTargetString = null;
}
public abstract void addValues(HashMap<String, ViewSpline> hashMap);
@Override //
/* renamed from: clone, reason: merged with bridge method [inline-methods] */
public abstract Key mo7630clone();
public Key copy(Key key) {
this.mFramePosition = key.mFramePosition;
this.mTargetId = key.mTargetId;
this.mTargetString = key.mTargetString;
this.mType = key.mType;
this.mCustomConstraints = key.mCustomConstraints;
return this;
}
public abstract void getAttributeNames(HashSet<String> hashSet);
public int getFramePosition() {
return this.mFramePosition;
}
public abstract void load(Context context, AttributeSet attributeSet);
public boolean matches(String str) {
String str2 = this.mTargetString;
if (str2 == null || str == null) {
return false;
}
return str.matches(str2);
}
public void setFramePosition(int i) {
this.mFramePosition = i;
}
public abstract void setValue(String str, Object obj);
public Key setViewId(int i) {
this.mTargetId = i;
return this;
}
public boolean toBoolean(Object obj) {
return obj instanceof Boolean ? ((Boolean) obj).booleanValue() : Boolean.parseBoolean(obj.toString());
}
public float toFloat(Object obj) {
return obj instanceof Float ? ((Float) obj).floatValue() : Float.parseFloat(obj.toString());
}
public int toInt(Object obj) {
return obj instanceof Integer ? ((Integer) obj).intValue() : Integer.parseInt(obj.toString());
}
public void setInterpolation(HashMap<String, Integer> hashMap) {
}
}