Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamPreview.java834 float[] normalizedPoint = calculateNormalizedPoint(motionEvent); in tapToFocus() local
836 if (isTapToResetAutoFocus(normalizedPoint)) { in tapToFocus()
840 showFocusIndicator(normalizedPoint); in tapToFocus()
841 mLocalFgService.tapToFocus(normalizedPoint); in tapToFocus()
883 private void showFocusIndicator(float[] normalizedPoint) { in showFocusIndicator() argument
886 normalizedPoint[0] * mTextureViewCard.getWidth() - indicatorSize / 2f; in showFocusIndicator()
887 float translationY = normalizedPoint[1] * mTextureViewCard.getHeight() in showFocusIndicator()
DCameraController.java1488 public void tapToFocus(float[] normalizedPoint) { in tapToFocus() argument
1496 mTapToFocusPoints = normalizedPoint; in tapToFocus()
1498 new MeteringRectangle[]{calculateMeteringRectangle(normalizedPoint)}; in tapToFocus()
1620 private MeteringRectangle calculateMeteringRectangle(float[] normalizedPoint) { in calculateMeteringRectangle() argument
1634 float[] mappingPoints = new float[]{normalizedPoint[0], normalizedPoint[1]}; in calculateMeteringRectangle()
DDeviceAsWebcamFgService.java508 public void tapToFocus(float[] normalizedPoint) { in tapToFocus() argument
514 mCameraController.tapToFocus(normalizedPoint); in tapToFocus()