Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DSize.java174 ArrayList<Integer> flatSizes = new ArrayList<>(); in listToString() local
176 flatSizes.add(s.width()); in listToString()
177 flatSizes.add(s.height()); in listToString()
179 return TextUtils.join(LIST_DELIMITER, flatSizes); in listToString()
189 String[] flatSizes = TextUtils.split(encodedSizes, LIST_DELIMITER); in stringToList() local
191 for (int i = 0; i < flatSizes.length; i += 2) { in stringToList()
192 int width = Integer.parseInt(flatSizes[i]); in stringToList()
193 int height = Integer.parseInt(flatSizes[i + 1]); in stringToList()