Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java227 int focusWidth, int focusHeight, int x, int y, int previewWidth, int previewHeight) { in initializeFocusAreas() argument
235 focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, focusArea.get(0).rect); in initializeFocusAreas()
239 int focusWidth, int focusHeight, int x, int y, int previewWidth, int previewHeight) { in initializeMeteringAreas() argument
249 focusWidth, focusHeight, 1.5f, x, y, previewWidth, previewHeight, meteringArea.get(0).rect); in initializeMeteringAreas()
264 int focusHeight = pieRenderer.getSize(); in onSingleTapUp() local
272 initializeFocusAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight); in onSingleTapUp()
276 initializeMeteringAreas(focusWidth, focusHeight, x, y, previewWidth, previewHeight); in onSingleTapUp()
410 int focusHeight, in calculateTapArea() argument
418 int areaHeight = (int) (focusHeight * areaMultiple); in calculateTapArea()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java305 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/
DFocusManager.java257 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()