Home
last modified time | relevance | path

Searched refs:areaHeight (Results 1 – 2 of 2) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java450 int areaHeight = (int)(focusHeight * areaMultiple); in calculateTapArea() local
452 int top = Util.clamp(y - areaHeight / 2, 0, previewHeight - areaHeight); in calculateTapArea()
454 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight); in calculateTapArea()
/packages/apps/Camera/src/com/android/camera/
DFocusManager.java504 int areaHeight = (int) (focusHeight * areaMultiple); in calculateTapArea() local
506 int top = Util.clamp(y - areaHeight / 2, 0, previewHeight - areaHeight); in calculateTapArea()
508 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight); in calculateTapArea()