Home
last modified time | relevance | path

Searched refs:focusArea (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java77 private List<Area> focusArea; // focus area in driver format field in FocusOverlayManager
195 if (focusArea != null) { in onAutoFocus()
228 if (focusArea == null) { in initializeFocusAreas()
229 focusArea = new ArrayList<>(); in initializeFocusAreas()
230 focusArea.add(new Area(new Rect(), 1)); in initializeFocusAreas()
235 focusWidth, focusHeight, 1f, x, y, previewWidth, previewHeight, focusArea.get(0).rect); in initializeFocusAreas()
258 if ((focusArea != null) in onSingleTapUp()
340 if (focusAreaSupported && focusArea != null) { in getFocusMode()
360 return focusArea; in getFocusAreas()
374 if (focusArea == null) { in updateFocusUI()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java462 View focusArea = fragmentView.findViewById(R.id.settings_car_ui_focus_area); in requestTopLevelMenuFocus() local
463 if (focusArea == null) { in requestTopLevelMenuFocus()
468 if (focusArea.isInTouchMode() || focusArea.hasFocus()) { in requestTopLevelMenuFocus()
471 focusArea.performAccessibilityAction(ACTION_FOCUS, /* arguments= */ null); in requestTopLevelMenuFocus()
493 View focusArea = fragmentView.findViewById(R.id.settings_car_ui_focus_area); in requestContentPaneFocus() local
495 if (focusArea == null) { in requestContentPaneFocus()
496 focusArea = fragmentView.findViewById(R.id.settings_content_focus_area); in requestContentPaneFocus()
497 if (focusArea == null) { in requestContentPaneFocus()
502 View finalFocusArea = focusArea; // required to be effectively final for inner class access in requestContentPaneFocus()
/packages/apps/Launcher3/tests/src/com/android/launcher3/dragging/
DTaplDragTest.java67 @PlatinumTest(focusArea = "launcher")
118 @PlatinumTest(focusArea = "launcher")
148 @PlatinumTest(focusArea = "launcher")
173 @PlatinumTest(focusArea = "launcher")
195 @PlatinumTest(focusArea = "launcher")
222 @PlatinumTest(focusArea = "launcher")
DTaplUninstallRemoveTest.java100 @PlatinumTest(focusArea = "launcher")
117 @PlatinumTest(focusArea = "launcher")
134 @PlatinumTest(focusArea = "launcher")
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DNavigator.java428 for (AccessibilityNodeInfo focusArea : candidateFocusAreas) { in findNudgeTargetFocusArea()
429 if (focusArea.equals(currentFocusArea)) { in findNudgeTargetFocusArea()
430 candidateFocusAreas.remove(focusArea); in findNudgeTargetFocusArea()
431 focusArea.recycle(); in findNudgeTargetFocusArea()
437 for (AccessibilityNodeInfo focusArea : candidateFocusAreas) { in findNudgeTargetFocusArea()
438 Rect bounds = Utils.getBoundsInScreen(focusArea); in findNudgeTargetFocusArea()
483 for (AccessibilityNodeInfo focusArea : focusAreasInAnotherWindow) { in findNudgeTargetFocusArea()
484 Rect bounds = Utils.getBoundsInScreen(focusArea); in findNudgeTargetFocusArea()
832 (focusArea) -> Utils.isFocusArea(focusArea) && hasFocusableDescendants(focusArea), in addNonEmptyFocusAreas()
836 private boolean hasFocusableDescendants(@NonNull AccessibilityNodeInfo focusArea) { in hasFocusableDescendants() argument
[all …]
DUtils.java414 AccessibilityNodeInfo focusArea = getAncestorFocusArea(node); in getBoundsInScreen() local
415 if (focusArea != null) { in getBoundsInScreen()
416 Rect focusAreaBounds = getBoundsInScreen(focusArea); in getBoundsInScreen()
418 focusArea.recycle(); in getBoundsInScreen()
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/
DHeadsUpContainerView.java135 FocusArea focusArea = (FocusArea) topmostChild; in focusTopmostChild() local
136 View view = focusArea.findViewById(R.id.action_1); in focusTopmostChild()
138 focusArea.setDefaultFocus(view); in focusTopmostChild()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/auto/
DAutoSettingsFrameFragment.java67 FocusArea focusArea = getView().findViewById(R.id.car_ui_focus_area); in onCarUiInsetsChanged() local
68 focusArea.setHighlightPadding( in onCarUiInsetsChanged()
70 focusArea.setBoundsOffset(/* left= */ 0, /* top= */ 0, /* right= */ 0, /* bottom= */ 0); in onCarUiInsetsChanged()
/packages/apps/Launcher3/tests/src/com/android/launcher3/appiconmenu/
DTaplAppIconMenuTest.java54 @PlatinumTest(focusArea = "launcher")
77 @PlatinumTest(focusArea = "launcher")
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayViewController.java227 FocusArea focusArea = (FocusArea) view; in refreshRotaryFocusIfNeeded() local
228 return focusArea.performAccessibilityAction(ACTION_FOCUS, /* arguments= */ null); in refreshRotaryFocusIfNeeded()
/packages/apps/Launcher3/tests/src/com/android/launcher3/allapps/
DTaplOpenCloseAllAppsTest.java92 @PlatinumTest(focusArea = "launcher")
122 @PlatinumTest(focusArea = "launcher")
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNavigatorTest.java1324 AccessibilityNodeInfo focusArea = mNodeBuilder in testFindNudgeTargetFocusArea6() local
1330 .setParent(focusArea) in testFindNudgeTargetFocusArea6()
1351 mNavigator.findNudgeTargetFocusArea(windows, view1, focusArea, View.FOCUS_RIGHT); in testFindNudgeTargetFocusArea6()
1380 AccessibilityNodeInfo focusArea = mNodeBuilder in testFindFirstOrphan() local
1386 .setParent(focusArea) in testFindFirstOrphan()
1483 AccessibilityNodeInfo focusArea = createNode("focusArea"); in testGetAncestorFocusArea() local
1486 assertThat(result1).isEqualTo(focusArea); in testGetAncestorFocusArea()
1490 assertThat(result2).isEqualTo(focusArea); in testGetAncestorFocusArea()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplOverviewIconTest.java44 @PlatinumTest(focusArea = "launcher")
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DTaplAddWidgetTest.java106 @PlatinumTest(focusArea = "launcher")