Searched refs:focus (Results 26 - 48 of 48) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
H A DListWithEditTextHeaderTest.java17 package android.widget.listview.focus;
48 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
55 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
64 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDayPickerView.java374 * Attempts to return the date that has accessibility focus.
376 * @return The date that has accessibility focus, or {@code null} if no date
377 * has focus.
384 final CalendarDay focus = ((SimpleMonthView) child).getAccessibilityFocus();
385 if (focus != null) {
387 // Clear focus to avoid ListView bug in Jelly Bean MR1.
390 return focus;
399 * Attempts to restore accessibility focus to a given date. No-op if
402 * @param day The date that should receive accessibility focus
403 * @return {@code true} if focus wa
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DHorizontalFocusSearch.java17 package android.widget.focus;
H A DListOfEditTexts.java17 package android.widget.focus;
H A DListOfInternalSelectionViews.java17 package android.widget.focus;
H A DListWithFooterViewAndNewLabels.java17 package android.widget.focus;
H A DListWithMailMessages.java17 package android.widget.focus;
H A DVerticalFocusSearch.java17 package android.widget.focus;
30 * vertical layout to excercise some core focus searching.
H A DRequestFocusTest.java17 package android.widget.focus;
38 * have focus become invisible or GONE.
106 * This tests checks the case in which the first focusable View clears focus.
107 * In such a case the framework tries to give the focus to another View starting
108 * from the top. Hence, the framework will try to give focus to the view that
109 * wants to clear its focus.
120 // Make sure that the clearing focus View is the first focusable.
123 assertSame("The clearing focus button is the first focusable.",
125 assertSame("The gaining focus button is the first focusable.",
128 // Focus the clearing focus butto
[all...]
H A DScrollingThroughListOfFocusablesTest.java17 package android.widget.focus;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDrawRectFilter.java102 output.focus();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java77 target.focus();
H A DCameraStreamer.java384 clientTarget.focus();
1144 getRenderTarget().focus();
1171 getRenderTarget().focus();
H A DRenderTarget.java209 public void focus() { method in class:RenderTarget
211 // We assume RenderTargets are immutable, so that we do not need to focus if the current
H A DGraphRunner.java285 mRenderTarget.focus();
H A DImageShader.java605 target.focus();
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java44 public Object findFocus(Object info, int focus); argument
381 public Object findFocus(Object info, int focus) { argument
670 public Object findFocus(Object info, int focus) { argument
671 return AccessibilityNodeInfoCompatJellyBean.findFocus(info, focus);
808 * Action that gives accessibility focus to the node.
813 * Action that clears accessibility focus of the node.
1025 * The input focus.
1030 * The accessibility focus.
1170 * Find the view that has the specified focus type. The search starts from
1173 * @param focus Th
1180 findFocus(int focus) argument
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java1059 * Atomically transfers touch focus from one window to another as identified by
1061 * touch focus if they support split touch dispatch
1063 * method only transfers touch focus of the specified window without affecting
1064 * other windows that may also have touch focus at the same time.
1065 * @param fromChannel The channel of a window that currently has touch focus.
1066 * @param toChannel The channel of the window that should receive touch focus in
1069 * specified channel did not actually have touch focus at the time of the request.
1329 private long interceptKeyBeforeDispatching(InputWindowHandle focus, argument
1331 return mWindowManagerCallbacks.interceptKeyBeforeDispatching(focus, event, policyFlags);
1335 private KeyEvent dispatchUnhandledKey(InputWindowHandle focus, argument
1488 interceptKeyBeforeDispatching(InputWindowHandle focus, KeyEvent event, int policyFlags) argument
1491 dispatchUnhandledKey(InputWindowHandle focus, KeyEvent event, int policyFlags) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java311 public void focus() { method in class:GLFrame
313 throw new RuntimeException("Could not focus on GLFrame for drawing!");
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DMediaDecoder.java225 getRenderTarget().focus();
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java91 * Action that gives input focus to the node.
96 * Action that clears input focus of the node.
121 * Action that gives accessibility focus to the node.
126 * Action that clears accessibility focus of the node.
357 * The input focus.
362 * The accessibility focus.
573 * Find the view that has the specified focus type. The search starts from
576 * @param focus The focus to find. One of {@link #FOCUS_INPUT} or
583 public AccessibilityNodeInfo findFocus(int focus) { argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java617 /** Whether the window is in local focus mode or not */
1243 // shown for the first time the next time it gets focus.
1823 // handle first focus request
2563 // Lazily load the accessibility focus drawable.
2613 // going to make the focus visible... otherwise we scroll
2617 // to update the scroll position if the focus has changed (in which
2622 final View focus = mView.findFocus();
2623 if (focus == null) {
2627 if (focus != lastScrolledFocus) {
2628 // If the focus ha
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java686 * Gets the bounds of the accessibility focus in the active window.
688 * @param outBounds The output to which to write the focus bounds.
689 * @return Whether accessibility focus was found and the bounds are populated.
693 // Instead of keeping track of accessibility focus events per
694 // window to be able to find the focus in the active window,
707 AccessibilityNodeInfo focus = root.findFocus(
709 if (focus == null) {
712 focus.getBoundsInScreen(outBounds);
714 MagnificationSpec spec = service.getCompatibleMagnificationSpec(focus.getWindowId());
2759 // The active window is either the window that has input focus o
[all...]

Completed in 566 milliseconds

12