Home
last modified time | relevance | path

Searched refs:focus (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DHorizontalFocusSearchTest.java17 package android.widget.focus;
19 import android.widget.focus.HorizontalFocusSearch;
27 import static android.widget.focus.VerticalFocusSearchTest.FocusSearchAlg;
28 import static android.widget.focus.VerticalFocusSearchTest.NewFocusSearchAlg;
DGoneParentFocusedChildTest.java17 package android.widget.focus;
23 import android.widget.focus.GoneParentFocusedChild;
DListWithFooterViewAndNewLabelsTest.java17 package android.widget.focus;
19 import android.widget.focus.ListWithFooterViewAndNewLabels;
DLinearLayoutGridTest.java17 package android.widget.focus;
24 import android.widget.focus.LinearLayoutGrid;
DRequestFocusTest.java17 package android.widget.focus;
19 import android.widget.focus.RequestFocus;
DFocusChangeWithInterestingRectHintTest.java17 package android.widget.focus;
19 import android.widget.focus.AdjacentVerticalRectLists;
DFocusAfterRemovalTest.java17 package android.widget.focus;
19 import android.widget.focus.FocusAfterRemoval;
DVerticalFocusSearchTest.java17 package android.widget.focus;
19 import android.widget.focus.VerticalFocusSearch;
DDescendantFocusabilityTest.java17 package android.widget.focus;
19 import android.widget.focus.DescendantFocusability;
DListOfButtonsTest.java17 package android.widget.focus;
19 import android.widget.focus.ListOfButtons;
DScrollingThroughListOfFocusablesTest.java17 package android.widget.focus;
25 import android.widget.focus.ListOfInternalSelectionViews;
DRequestFocus.java17 package android.widget.focus;
DDescendantFocusability.java17 package android.widget.focus;
DLinearLayoutGrid.java17 package android.widget.focus;
DListOfButtons.java17 package android.widget.focus;
DAdjacentVerticalRectLists.java17 package android.widget.focus;
/frameworks/base/docs/html/resources/articles/
Dtouch-mode.jd53 <p>In touch mode, there is no focus and no selection. Any selected item in a
64 resurrect the selection/focus whenever the user leaves touch mode. For
70 to exit touch mode and resurrect the focus.</p>
72 <p>The relationship between touch mode, selection, and focus means you must not
73 rely on selection and/or focus to exist in your application. A very common
85 <p>In general, focus doesn't exist in touch mode. However, focus can exist in
97 focus. If the user touches a widget that is focusable in touch
98 mode, that widget will receive focus. Otherwise, any currently
99 focused widget will not retain focus unless it is focusable in touch
101 the screen, the input text field receives the focus.</p>
[all …]
/frameworks/base/services/java/com/android/server/wm/
DInputMonitor.java292 InputWindowHandle focus, KeyEvent event, int policyFlags) { in interceptKeyBeforeDispatching() argument
293 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in interceptKeyBeforeDispatching()
300 InputWindowHandle focus, KeyEvent event, int policyFlags) { in dispatchUnhandledKey() argument
301 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in dispatchUnhandledKey()
DInputManager.java578 public long interceptKeyBeforeDispatching(InputWindowHandle focus, in interceptKeyBeforeDispatching() argument
581 focus, event, policyFlags); in interceptKeyBeforeDispatching()
585 public KeyEvent dispatchUnhandledKey(InputWindowHandle focus, in dispatchUnhandledKey() argument
588 focus, event, policyFlags); in dispatchUnhandledKey()
/frameworks/base/docs/html/guide/topics/ui/
Dui-events.jd146 <p>Remember that key events are always delivered to the View currently in focus. They are dispatche…
148 currently has focus, then you can see the event travel through the <code>{@link android.view.View#d…
171 …>{@link android.view.View#onFocusChanged}</code> - Called when the view gains or loses focus.</li>
192 necessary to give focus to actionable items (like buttons) so the user can see
195 highlight items, or give focus to a particular View. Thus, there is a mode
202 Other Views that are touchable, like buttons, will not take focus when touched; they will
207 exit touch mode, and find a view to take focus. Now, the user may resume interacting
219 <p>The framework will handle routine focus movement in response to user input.
220 This includes changing the focus as Views are removed or hidden, or as new
221 Views become available. Views indicate their willingness to take focus
[all …]
/frameworks/base/docs/html/guide/practices/design/
Daccessibility.jd20 <li><a href="#FocusOrder">Controlling focus order</a></li>
90 "focusable" property is "true." This means that users can focus on the widget using the directional
92 and visually indicate focus by changing the widget visual appearance in some way.</p>
95 request that a widget be given focus. Such methods include:</p>
110 <h3 id="FocusOrder">Controlling focus order</h3>
112 <p>When the user navigates in any direction using the directional controls, focus is passed from one
113 view to another, as determined by the focus ordering. The ordering of the focus movement is based on
122 <dd>Defines the next view to receive focus when the user navigates down.</dd>
125 <dd>Defines the next view to receive focus when the user navigates left.</dd>
128 <dd>Defines the next view to receive focus when the user navigates right.</dd>
[all …]
/frameworks/base/docs/html/guide/topics/media/
Dmediaplayer.jd26 <li><a href="#audiofocus">Handling audio focus</a></li>
464 <h3 id="audiofocus">Handling audio focus</h3>
478 you should always request audio focus. Once it has focus, it can use the sound output freely, but it
480 always listen for focus changes. If it is notified that it has lost the audio
481 focus, it should immediately either kill the audio or lower it to a quiet level
483 loud playback after it receives focus again.</p>
486 (and highly encouraged) to comply with the audio focus guidelines, but the
488 music even after losing audio focus, nothing in the system will prevent that.
492 <p>To request audio focus, you must call
502 // could not get audio focus.
[all …]
/frameworks/base/tests/RenderScriptTests/ShadersTest/res/raw/
Ddepth_fs.glsl6 // the focus range
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListWithEditTextHeaderTest.java17 package android.widget.listview.focus;
DListHorizontalFocusWithinItemWinsTest.java17 package android.widget.listview.focus;

1234