Home
last modified time | relevance | path

Searched refs:rectObj (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java273 JSONObject rectObj = new JSONObject(); in serializeRect() local
274 rectObj.put("left", rect.left); in serializeRect()
275 rectObj.put("right", rect.right); in serializeRect()
276 rectObj.put("top", rect.top); in serializeRect()
277 rectObj.put("bottom", rect.bottom); in serializeRect()
278 return rectObj; in serializeRect()
333 JSONObject rectObj = new JSONObject(); in serializeMeteringRectangle() local
334 rectObj.put("x", rect.getX()); in serializeMeteringRectangle()
335 rectObj.put("y", rect.getY()); in serializeMeteringRectangle()
336 rectObj.put("width", rect.getWidth()); in serializeMeteringRectangle()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java97 JSONObject rectObj = new JSONObject(); in serializeRect() local
98 rectObj.put("left", rect.left); in serializeRect()
99 rectObj.put("right", rect.right); in serializeRect()
100 rectObj.put("top", rect.top); in serializeRect()
101 rectObj.put("bottom", rect.bottom); in serializeRect()
102 return rectObj; in serializeRect()
176 JSONObject rectObj = new JSONObject(); in serializeMeteringRectangle() local
177 rectObj.put("x", rect.getX()); in serializeMeteringRectangle()
178 rectObj.put("y", rect.getY()); in serializeMeteringRectangle()
179 rectObj.put("width", rect.getWidth()); in serializeMeteringRectangle()
[all …]