29 lines
910 B
Java
29 lines
910 B
Java
|
package c.o.a.t;
|
||
|
|
||
|
import android.graphics.PointF;
|
||
|
import android.graphics.RectF;
|
||
|
import androidx.annotation.NonNull;
|
||
|
/* compiled from: MeteringRegion */
|
||
|
public class a implements Comparable<a> {
|
||
|
public final RectF i;
|
||
|
public final int j;
|
||
|
|
||
|
public a(@NonNull RectF rectF, int i) {
|
||
|
this.i = rectF;
|
||
|
this.j = i;
|
||
|
}
|
||
|
|
||
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
||
|
@Override // java.lang.Comparable
|
||
|
public int compareTo(@NonNull a aVar) {
|
||
|
return -Integer.valueOf(this.j).compareTo(Integer.valueOf(aVar.j));
|
||
|
}
|
||
|
|
||
|
public final void f(@NonNull RectF rectF, @NonNull PointF pointF) {
|
||
|
rectF.left = Math.min(rectF.left, pointF.x);
|
||
|
rectF.top = Math.min(rectF.top, pointF.y);
|
||
|
rectF.right = Math.max(rectF.right, pointF.x);
|
||
|
rectF.bottom = Math.max(rectF.bottom, pointF.y);
|
||
|
}
|
||
|
}
|