Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static boolean isNewRatioInferior(double d, android.hardware.Camera.Size size,
            android.hardware.Camera.Size size1) {
        return Math.abs(d - (double) size.height / (double) size.width) <= Math
                .abs(d - (double) size1.height / (double) size1.width);
    }
}