Searched refs:keyObj (Results 1 – 2 of 2) sorted by relevance
434 private static String getKeyName(Object keyObj) { in getKeyName() argument435 if (keyObj.getClass() == CaptureResult.Key.class in getKeyName()436 || keyObj.getClass() == TotalCaptureResult.class) { in getKeyName()437 return ((CaptureResult.Key) keyObj).getName(); in getKeyName()438 } else if (keyObj.getClass() == CaptureRequest.Key.class) { in getKeyName()439 return ((CaptureRequest.Key) keyObj).getName(); in getKeyName()440 } else if (keyObj.getClass() == CameraCharacteristics.Key.class) { in getKeyName()441 return ((CameraCharacteristics.Key) keyObj).getName(); in getKeyName()447 private static Object getKeyValue(CameraMetadata md, Object keyObj) { in getKeyValue() argument449 return ((CaptureResult) md).get((CaptureResult.Key) keyObj); in getKeyValue()[all …]
276 private static String getKeyName(Object keyObj) throws ItsException { in getKeyName() argument277 if (keyObj.getClass() == CaptureResult.Key.class in getKeyName()278 || keyObj.getClass() == TotalCaptureResult.class) { in getKeyName()279 return ((CaptureResult.Key)keyObj).getName(); in getKeyName()280 } else if (keyObj.getClass() == CaptureRequest.Key.class) { in getKeyName()281 return ((CaptureRequest.Key)keyObj).getName(); in getKeyName()282 } else if (keyObj.getClass() == CameraCharacteristics.Key.class) { in getKeyName()283 return ((CameraCharacteristics.Key)keyObj).getName(); in getKeyName()288 private static Object getKeyValue(CameraMetadata md, Object keyObj) throws ItsException { in getKeyValue() argument290 return ((CaptureResult)md).get((CaptureResult.Key)keyObj); in getKeyValue()[all …]