Home | History | Annotate | Download | only in settings

Lines Matching defs:sizes

30  * Facilitates caching of camera supported picture sizes, which is slow
38 * Opportunistically update the picture sizes cache, if needed.
40 * @param cameraId cameraID we have sizes for.
41 * @param sizes List of valid sizes.
43 public static void updateSizesForCamera(Context context, int cameraId, List<Size> sizes) {
52 editor.putString(key_sizes, Size.listToString(sizes));
58 * Return list of Sizes for provided cameraId. Check first to see if we
61 * before calling or null will be returned if sizes were not previously
64 * @param cameraId cameraID we would like sizes for.
65 * @return List of valid sizes, or null if the Camera can not be opened.
88 List<Size> sizes = Size.buildListFromCameraSizes(thisCamera.getParameters()
93 editor.putString(key_sizes, Size.listToString(sizes));
95 return sizes;