package com.epson.cameracopy.ui;

import android.graphics.Point;
import java.util.Comparator;

/* renamed from: com.epson.cameracopy.ui.AreaComparator */
/* compiled from: PictureResolutionDialogFragment */
class AreaComparator implements Comparator<Point> {
    AreaComparator() {
    }

    public int compare(Point point, Point point2) {
        int i = point.x * point.y;
        int i2 = point2.x * point2.y;
        if (i > i2) {
            return -1;
        }
        return i == i2 ? 0 : 1;
    }
}
