title: FocusMeteringAction seems to be not working correctly on latest version of CameraX
body: <p>To provide you as simple example as possible, I will use <a href="https://github.com/android/camera-samples/tree/master/CameraXBasic" rel="nofollow noreferrer">CameraXBasic</a> repository on Github. My goal is to implement tap to focus feature - when user taps on the preview, the camera should focus in the indicated point. I will skip the camera configuration, as the mentioned repository is an official sample and we can assume that it was implemented according to the documentation.</p>
  
  <p>So in order to intercept user taps I added this part of code:</p>
  
  <pre><code>viewFinder.setOnTouchListener { v, event -&gt;
      if (event.action != MotionEvent.ACTION_UP) {
          return@setOnTouchListener true
      }
  
      val factory = SurfaceOrientedMeteringPointFactory(
          v.width.toFloat(),
          v.height.toFloat()
      )
      val focusPoint = factory.createPoint(event.x, event.y)
      val focusAction = FocusMeteringAction.Builder(focusPoint).build()
      camera?.cameraControl?.startFocusAndMetering(focusAction)
  
      return@setOnTouchListener true
  }
  </code></pre>
  
  <p>It's worth mentioning, that above method is based on <a href="https://proandroiddev.com/android-camerax-tap-to-focus-pinch-to-zoom-zoom-slider-eb88f3aa6fc6" rel="nofollow noreferrer">this blog</a>. Everything works fine, except the camera focuses on wrong objects. E.g. we have two objects behind the camera:</p>
  
  <pre><code> -------
  |       |    -----
  |       |   |     |
  |   A   |   |  B  |
  |       |   |     |
  |       |    -----
   ------- 
  </code></pre>
  
  <p>As you can imagine, object <strong>A</strong> is closer to the device than object <strong>B</strong>. When I tap on the <strong>A</strong> object, camera focuses on the <strong>B</strong> object. And conversely, when I tap on the <strong>B</strong> object, camera focuses on the <strong>A</strong> object. It looks like library was using not the <code>event.x</code> value, but <code>v.width - event.x</code> value.</p>
  
  <p>To check this behavior, you can add code from this question to the provided sample in <code>viewFinder.post { /* */ }</code> method.</p>
  
  <p><strong>Update</strong></p>
  
  <p>As mentioned in <a href="https://stackoverflow.com/a/60585382/4386668">this answer</a>, the issue may be related to <code>PreviewView</code> which I was using. When creating the focus point we have to (at least for now) translate the point to <code>PreviewView</code> rotation. E.g. when device is in vertical position, just use this transformation: <code>factory.createPoint(event.y, v.width - event.x)</code>.</p>