Home
last modified time | relevance | path

Searched refs:mFocusArea (Results 1 – 4 of 4) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java67 private List<Area> mFocusArea; // focus area in driver format field in FocusManager
235 if (mFocusArea != null) { in onAutoFocus()
248 if ((mFocusArea != null) && (mState == STATE_FOCUSING || in onTouch()
260 if (mFocusArea == null) { in onTouch()
261 mFocusArea = new ArrayList<Area>(); in onTouch()
262 mFocusArea.add(new Area(new Rect(), 1)); in onTouch()
271 mFocusArea.get(0).rect); in onTouch()
355 if (mFocusAreaSupported && mFocusArea != null) { in getFocusMode()
388 return mFocusArea; in getFocusAreas()
409 if (mFocusArea == null) { in updateFocusUI()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java87 private List<Object> mFocusArea; // focus area in driver format field in FocusOverlayManager
274 if (mFocusArea != null) { in onAutoFocus()
307 if (mFocusArea == null) { in initializeFocusAreas()
308 mFocusArea = new ArrayList<Object>(); in initializeFocusAreas()
309 mFocusArea.add(new Area(new Rect(), 1)); in initializeFocusAreas()
314 ((Area) mFocusArea.get(0)).rect); in initializeFocusAreas()
337 if ((mFocusArea != null) && (mState == STATE_FOCUSING || in onSingleTapUp()
422 if (mFocusAreaSupported && mFocusArea != null) { in getFocusMode()
443 return mFocusArea; in getFocusAreas()
457 if (mFocusArea == null) { in updateFocusUI()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java95 private List<Area> mFocusArea; // focus area in driver format field in FocusOverlayManager
294 if (mFocusArea != null) { in onAutoFocus()
341 if (mFocusArea == null) { in initializeFocusAreas()
342 mFocusArea = new ArrayList<Area>(); in initializeFocusAreas()
343 mFocusArea.add(new Area(new Rect(), 1)); in initializeFocusAreas()
347 mFocusArea.get(0).rect = computeCameraRectFromPreviewCoordinates(x, y, getAFRegionSizePx()); in initializeFocusAreas()
366 if ((mFocusArea != null) && (mState == STATE_FOCUSING || in onSingleTapUp()
486 if (mFocusAreaSupported && mFocusArea != null) { in getFocusMode()
523 return mFocusArea; in getFocusAreas()
535 mFocusArea = null; in resetTouchFocus()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java301 private AccessibilityNodeInfo mFocusArea = null; field in RotaryService
1625 if (mFocusArea == null) { in nudgeTo()
1631 if (mFocusArea.performAction(ACTION_NUDGE_SHORTCUT, arguments)) { in nudgeTo()
1633 AccessibilityNodeInfo root = mNavigator.getRoot(mFocusArea); in nudgeTo()
1645 if (mFocusArea.performAction(ACTION_QUERY_NUDGE_DISABLED, arguments)) { in nudgeTo()
1646 L.d("Nudging in " + direction + " is disabled for this focus area: " + mFocusArea); in nudgeTo()
1655 if (mFocusArea.performAction(ACTION_NUDGE_TO_ANOTHER_FOCUS_AREA, arguments)) { in nudgeTo()
1657 AccessibilityNodeInfo root = mNavigator.getRoot(mFocusArea); in nudgeTo()
1668 mNavigator.findNudgeTargetFocusArea(windows, mFocusedNode, mFocusArea, direction); in nudgeTo()
1676 AccessibilityWindowInfo sourceWindow = mFocusArea.getWindow(); in nudgeTo()
[all …]