Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java74 public Size getFromSetting(String sizeSetting, List<Size> supportedSizes) { in getFromSetting() argument
75 if (SIZE_LARGE.equals(sizeSetting)) { in getFromSetting()
77 } else if (SIZE_MEDIUM.equals(sizeSetting)) { in getFromSetting()
79 } else if (SIZE_SMALL.equals(sizeSetting)) { in getFromSetting()
81 } else if (sizeSetting != null && sizeSetting.split("x").length == 2) { in getFromSetting()
82 Size desiredSize = sizeFromSettingString(sizeSetting); in getFromSetting()
102 public int getFromSetting(String sizeSetting) { in getFromSetting() argument
105 if (!SIZE_SMALL.equals(sizeSetting) && !SIZE_MEDIUM.equals(sizeSetting)) { in getFromSetting()
106 sizeSetting = SIZE_LARGE; in getFromSetting()
109 if (SIZE_LARGE.equals(sizeSetting)) { in getFromSetting()
[all …]