6package org.mozilla.gecko.gfx;
8import org.json.JSONException;
9import org.json.JSONObject;
24 width = json.getInt(
"width");
25 height = json.getInt(
"height");
26 }
catch (JSONException e) {
static int nextPowerOfTwo(float value)
boolean equals(IntSize size)
static int nextPowerOfTwo(int value)
IntSize scale(float factor)
IntSize(int inWidth, int inHeight)