mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 19:07:17 +01:00
29 lines
725 B
Java
29 lines
725 B
Java
package androidx.constraintlayout.motion.utils;
|
|
|
|
import android.view.View;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes13.dex */
|
|
public class ViewState {
|
|
public int bottom;
|
|
public int left;
|
|
public int right;
|
|
public float rotation;
|
|
public int top;
|
|
|
|
public void getState(View view) {
|
|
this.left = view.getLeft();
|
|
this.top = view.getTop();
|
|
this.right = view.getRight();
|
|
this.bottom = view.getBottom();
|
|
this.rotation = view.getRotation();
|
|
}
|
|
|
|
public int height() {
|
|
return this.bottom - this.top;
|
|
}
|
|
|
|
public int width() {
|
|
return this.right - this.left;
|
|
}
|
|
}
|