Kaydet (Commit) a9c45c5e authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

android: add to DisplayPortMetrics position and zoom getter

Change-Id: I90674f51113c082d3bd88a72f8b9883b44569f87
üst 2174ad93
...@@ -20,6 +20,14 @@ public final class DisplayPortMetrics { ...@@ -20,6 +20,14 @@ public final class DisplayPortMetrics {
private final RectF mPosition; private final RectF mPosition;
private final float mResolution; private final float mResolution;
public RectF getPosition() {
return mPosition;
}
public float getResolution() {
return mResolution;
}
public DisplayPortMetrics() { public DisplayPortMetrics() {
this(0, 0, 0, 0, 1); this(0, 0, 0, 0, 1);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment