Searched refs:choices (Results 1 – 7 of 7) sorted by relevance
588 private fun chooseVideoSize(choices: Array<Size>) = choices.firstOrNull { in showToast()589 it.width == it.height * 4 / 3 && it.width <= 1080 } ?: choices[choices.size - 1] in showToast()603 choices: Array<Size>, in chooseOptimalSize()612 val bigEnough = choices.filter { in chooseOptimalSize()619 choices[0] in chooseOptimalSize()
59 List<String> choices = fakeData.strictExampleSet.strings; in generateFakeField() local60 text = choices.get(seed % choices.size()); in generateFakeField()
233 private static Size chooseVideoSize(Size[] choices) { in chooseVideoSize() argument234 for (Size size : choices) { in chooseVideoSize()240 return choices[choices.length - 1]; in chooseVideoSize()254 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize() argument259 for (Size option : choices) { in chooseOptimalSize()271 return choices[0]; in chooseOptimalSize()
778 choices: Array<Size>, in chooseOptimalSize()792 for (option in choices) { in chooseOptimalSize()811 return choices[0] in chooseOptimalSize()
384 private static Size chooseOptimalSize(Size[] choices, int textureViewWidth, in chooseOptimalSize() argument393 for (Size option : choices) { in chooseOptimalSize()413 return choices[0]; in chooseOptimalSize()
16 to send. You can also create notification channels to reflect choices made by users of
1634 private static Size chooseOptimalSize(Size[] choices, int textureViewWidth,1642 for (Size option : choices) {1662 return choices[0];