Searched refs:surfaceOrigin (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiProducerActivity.java | 160 int[] surfaceOrigin = new int[2]; in run() local 185 surfaceOrigin[0] = 0; in run() 186 surfaceOrigin[1] = 0; in run() 189 mContent.getLocationInSurface(surfaceOrigin); in run() 190 mRenderer.setContentDrawBounds(surfaceOrigin[0], surfaceOrigin[1], in run() 191 surfaceOrigin[0] + mContent.getWidth(), in run() 192 surfaceOrigin[1] + mContent.getHeight()); in run() 195 surfaceOrigin[0] = 0; in run() 196 surfaceOrigin[1] = 0; in run() 197 mTargetFrame.getLocationInSurface(surfaceOrigin); in run() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Letterbox.java | 73 public void layout(Rect outer, Rect inner, Point surfaceOrigin) { in layout() argument 77 mTop.layout(outer.left, outer.top, inner.right, inner.top, surfaceOrigin); in layout() 78 mLeft.layout(outer.left, inner.top, inner.left, outer.bottom, surfaceOrigin); in layout() 79 mBottom.layout(inner.left, inner.bottom, outer.right, outer.bottom, surfaceOrigin); in layout() 80 mRight.layout(inner.right, outer.top, outer.right, inner.bottom, surfaceOrigin); in layout() 241 public void layout(int left, int top, int right, int bottom, Point surfaceOrigin) { in layout() argument 244 mLayoutFrameRelative.offset(-surfaceOrigin.x, -surfaceOrigin.y); in layout()
|