Searched refs:focusHeight (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 305 private void initializeFocusAreas(int focusWidth, int focusHeight, in initializeFocusAreas() argument 313 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, in initializeFocusAreas() 317 private void initializeMeteringAreas(int focusWidth, int focusHeight, in initializeMeteringAreas() argument 327 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, in initializeMeteringAreas() 343 int focusHeight = mPieRenderer.getSize(); in onSingleTapUp() local 351 initializeFocusAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight); in onSingleTapUp() 355 initializeMeteringAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight); in onSingleTapUp() 491 private void calculateTapArea(int focusWidth, int focusHeight, float areaMultiple, in calculateTapArea() argument 494 int areaHeight = (int) (focusHeight * areaMultiple); in calculateTapArea()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | FocusManager.java | 257 int focusHeight = mFocusIndicatorRotateLayout.getHeight(); in onTouch() local 270 calculateTapArea(focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, in onTouch() 272 calculateTapArea(focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, in onTouch() 279 int top = Util.clamp(y - focusHeight / 2, 0, previewHeight - focusHeight); in onTouch() 447 public void calculateTapArea(int focusWidth, int focusHeight, float areaMultiple, in calculateTapArea() argument 450 int areaHeight = (int)(focusHeight * areaMultiple); in calculateTapArea()
|