Home | History | Annotate | Download | only in camera

Lines Matching full:focus

41 // A class that handles everything about focus in still picture mode.
42 // This also handles the metering area because it is the same as focus area.
51 private static final int STATE_IDLE = 0; // Focus is not active.
52 private static final int STATE_FOCUSING = 1; // Focus is in progress.
53 // Focus is in progress and the camera should take a picture after focus finishes.
55 private static final int STATE_SUCCESS = 3; // Focus finishes and succeeds.
56 private static final int STATE_FAIL = 4; // Focus finishes and fails.
67 private List<Area> mFocusArea; // focus area in driver format
130 // coordinates. In tap focus, the inverted matrix converts the UI
151 // Do not focus if touch focus has been triggered.
162 // User releases half-pressed focus key.
180 // If the user has half-pressed the shutter and focus is completed, we
181 // can take the photo right away. If the focus mode is infinity, we can
186 // Half pressing the shutter (i.e. the focus button event) will
188 // focus here.
191 // We didn't do focus. This can happen if the user press focus key
206 // Take the picture no matter focus succeeds or fails. No need
217 // This happens when (1) user is half-pressing the focus key or
218 // (2) touch focus is triggered. Play the focus tone. Do not
223 // not do a full scan. The focus callback arrives before doSnap
233 // If this is triggered by touch focus, cancel focus after a
239 // User has released the focus key before focus completes.
247 // Let users be able to cancel previous touch focus.
275 // Use margin to set the focus indicator to the touched area.
286 // Stop face detection because we want to specify focus and metering area.
289 // Set the focus area and metering area.
310 // If auto focus was in progress, it would have been canceled.
323 // callbacks after the focus completes.
333 // Otherwise, focus mode stays at auto and the tap area passed to the
356 // Always use autofocus in tap-to-focus.
363 // Try to find a supported focus mode from the default list.
376 // focus mode. Fall back to auto.
398 // Set the length of focus indicator according to preview frame size.
404 // Show only focus indicator or face indicator.
413 // metering area. Either focus area is not supported or
421 // the focus status. It does not do a full scan. So the result is
436 // Put focus indicator to the center.