HomeSort by relevance Sort by last modified time
    Searched full:ratioheight (Results 1 - 5 of 5) sorted by null

  /developers/build/prebuilts/gradle/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.kt 34 private var ratioHeight = 0
49 ratioHeight = height
57 if (ratioWidth == 0 || ratioHeight == 0) {
60 if (width < height * ratioWidth / ratioHeight) {
61 setMeasuredDimension(width, width * ratioHeight / ratioWidth)
63 setMeasuredDimension(height * ratioWidth / ratioHeight, height)
  /developers/build/prebuilts/gradle/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.kt 34 private var ratioHeight = 0
49 ratioHeight = height
57 if (ratioWidth == 0 || ratioHeight == 0) {
60 if (width < ((height * ratioWidth) / ratioHeight)) {
61 setMeasuredDimension(width, (width * ratioHeight) / ratioWidth)
63 setMeasuredDimension((height * ratioWidth) / ratioHeight, height)
  /developers/samples/android/media/Camera2Basic/kotlinApp/Application/src/main/java/com/example/android/camera2basic/
AutoFitTextureView.kt 34 private var ratioHeight = 0
49 ratioHeight = height
57 if (ratioWidth == 0 || ratioHeight == 0) {
60 if (width < height * ratioWidth / ratioHeight) {
61 setMeasuredDimension(width, width * ratioHeight / ratioWidth)
63 setMeasuredDimension(height * ratioWidth / ratioHeight, height)
  /developers/samples/android/media/Camera2Video/kotlinApp/Application/src/main/java/com/example/android/camera2video/
AutoFitTextureView.kt 34 private var ratioHeight = 0
49 ratioHeight = height
57 if (ratioWidth == 0 || ratioHeight == 0) {
60 if (width < ((height * ratioWidth) / ratioHeight)) {
61 setMeasuredDimension(width, (width * ratioHeight) / ratioWidth)
63 setMeasuredDimension((height * ratioWidth) / ratioHeight, height)
  /external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
AutoFitTextureView.java 28 private int ratioHeight = 0;
55 ratioHeight = height;
64 if (0 == ratioWidth || 0 == ratioHeight) {
67 if (width < height * ratioWidth / ratioHeight) {
68 setMeasuredDimension(width, width * ratioHeight / ratioWidth);
70 setMeasuredDimension(height * ratioWidth / ratioHeight, height);

Completed in 175 milliseconds