Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.util.Size;

public class Main {

    public static boolean isWide(Size size) {
        double ratio = ((double) size.getWidth()) / ((double) size.getHeight());
        return ratio > 1.68 && ratio < 1.87;
    }
}