List of usage examples for android.util SizeF getWidth
public float getWidth()
From source file:com.android.camera2.its.ItsSerializer.java
@SuppressWarnings("unchecked") private static Object serializeSizeF(SizeF size) throws org.json.JSONException { JSONObject sizeObj = new JSONObject(); sizeObj.put("width", size.getWidth()); sizeObj.put("height", size.getHeight()); return sizeObj; }