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

123

/frameworks/base/services/core/java/com/android/server/wm/
H A DInputMonitor.java46 // Current window with input focus for keys and other non-touch events. May be null.
251 // currently has touch focus.
415 InputWindowHandle focus, KeyEvent event, int policyFlags) {
416 WindowState windowState = focus != null ? (WindowState) focus.windowState : null;
424 InputWindowHandle focus, KeyEvent event, int policyFlags) {
425 WindowState windowState = focus != null ? (WindowState) focus.windowState : null;
437 /* Called when the current input focus changes.
442 Slog.d(TAG_WM, "Input focus ha
414 interceptKeyBeforeDispatching( InputWindowHandle focus, KeyEvent event, int policyFlags) argument
423 dispatchUnhandledKey( InputWindowHandle focus, KeyEvent event, int policyFlags) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DDescendantFocusabilityTest.java17 package android.widget.focus;
19 import android.widget.focus.DescendantFocusability;
H A DListOfButtonsTest.java17 package android.widget.focus;
20 import android.widget.focus.ListOfButtons;
32 * Tests that focus works as expected when navigating into and out of
95 assertFalse("button at top should have focus back",
119 // pressing down again shouldn't matter; make sure last item keeps focus
139 assertTrue("button at top should have focus back",
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/core/tests/coretests/src/android/widget/listview/focus/
H A DAdjacentListsWithAdjacentISVsInsideTest.java17 package android.widget.listview.focus;
H A DListButtonsDiagonalAcrossItemsTest.java17 package android.widget.listview.focus;
30 * Test that ListView will override default behavior of focus searching to
71 assertEquals("focus search right from left button should be center button",
74 assertEquals("focus search right from center button should be right button",
77 assertEquals("focus search left from centr button should be left button",
H A DListWithEditTextHeaderTest.java17 package android.widget.listview.focus;
49 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
56 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
66 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused());
/frameworks/base/services/core/java/com/android/server/audio/
H A DFocusRequester.java33 * Class to handle all the information about a user of audio focus. The lifecycle of each
34 * instance is managed by android.media.MediaFocusControl, from its addition to the audio focus
51 * the audio focus gain request that caused the addition of this object in the focus stack.
60 * the audio focus loss received my mFocusDispatcher, is AudioManager.AUDIOFOCUS_NONE if
61 * it never lost focus.
65 * the audio attributes associated with the focus request
144 private static String focusChangeToString(int focus) { argument
145 switch(focus) {
163 return "[invalid focus chang
[all...]
/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 = ((MonthView) 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/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDrawRectFilter.java99 output.focus();
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Capabilities.java136 for (int focus : focuses) {
137 FocusMode equiv = focusModeFromInt(focus);
158 * Converts the API-related integer representation of the focus mode to the
181 Log.w(TAG, "Unable to convert from API 2 focus mode: " + fm);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java77 target.focus();
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
H A DMainActivity.java33 * It presents a ui for setting ISO, Shutter speed, and focus
51 mFocusButton = (Button) findViewById(R.id.focus);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DRemoteInputView.java201 // During removal, we get reattached and lose focus. Not hiding in that
262 focus();
265 public void focus() { method in class:RemoteInputView
379 focus();
441 // won't lose IME focus.
475 // our focus, so we'll need to save our text here.
/frameworks/base/core/java/android/app/
H A DUiAutomation.java366 * Find the view that has the specified focus type. The search is performed
375 * @param focus The focus to find. One of {@link AccessibilityNodeInfo#FOCUS_INPUT} or
382 public AccessibilityNodeInfo findFocus(int focus) { argument
384 AccessibilityNodeInfo.ANY_WINDOW_ID, AccessibilityNodeInfo.ROOT_NODE_ID, focus);
/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/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java74 import com.android.systemui.recents.events.ui.focus.DismissFocusedTaskViewEvent;
75 import com.android.systemui.recents.events.ui.focus.FocusNextTaskViewEvent;
76 import com.android.systemui.recents.events.ui.focus.FocusPreviousTaskViewEvent;

Completed in 883 milliseconds

123