Searched refs:focused (Results 51 - 75 of 91) sorted by relevance

1234

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DLinearLayoutManagerTest.java62 * Since most UI tests are not practical, these tests are focused on internal data representation
70 * Tests that the LinearLayoutManager retains the focused element after multiple measure
71 * calls to the RecyclerView. There was a bug where the focused view was lost when the soft
140 assertThat("Child at position " + focusIndex + " should be focused",
143 // requestRectangleOnScreen (inside bringPointIntoView) for the focused view with a rect
167 assertThat("Child at position " + focusIndex + " should be focused",
250 // adapter position of the currently focused item.
256 assertThat("Child at position " + focusIndex + " should be focused",
266 // become focused one by one until hitting the last focusable item, at which point,
267 // unfocusable items should become visible on the screen until the currently focused ite
[all...]
H A DBaseStaggeredGridLayoutManagerTest.java657 public View onFocusSearchFailed(View focused, int direction, RecyclerView.Recycler recycler, argument
661 result = super.onFocusSearchFailed(focused, direction, recycler, state);
H A DStaggeredGridLayoutManagerTest.java394 assertTrue("new focused view should have a larger position "
483 private void focusSearchAndWaitForScroll(View focused, int dir) throws Throwable { argument
484 focusSearch(focused, dir);
562 // adapter position of the currently focused item.
585 // continue until the currently focused item is still visible. The focused item should not
675 // adapter position of the currently focused item.
698 // continue until the currently focused item is still visible. The focused item should not
784 // adapter position of the currently focused ite
[all...]
/frameworks/base/core/java/android/widget/
H A DListView.java211 // Keeps focused children visible through resizes
1743 // clear focus when removing the focused child below from messing
1749 // We can remember the focused view to restore after re-layout
1750 // if the data hasn't changed, or if the focused position is a
1806 * previously focused item to make sure it is still visible. If the item is not
1864 final View focused = getFocusedChild();
1865 if (focused != null) {
1866 focused.clearFocus();
2334 View focused = getFocusedChild();
2335 if (focused !
[all...]
H A DSearchView.java522 * Sets a listener to inform when a suggestion is focused or clicked.
937 final boolean focused = mSearchSrcTextView.hasFocus();
938 final int[] stateSet = focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET;
1977 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1978 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp521 onWindowFocusChanged_native(JNIEnv* env, jobject clazz, jlong handle, jboolean focused) argument
529 code->callbacks.onWindowFocusChanged(code, focused ? 1 : 0);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
H A DPicker.java50 * shows one item if the Picker is focused. On a touch screen device, the Picker will not get focus
647 // is the selected column) since the currently focused view (Picker) has a flag of
669 public void requestChildFocus(View child, View focused) { argument
670 super.requestChildFocus(child, focused);
/frameworks/base/core/java/android/app/
H A DNativeActivity.java100 private native void onWindowFocusChangedNative(long handle, boolean focused); argument
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java391 public void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect); argument
H A DWebView.java1647 * Removes the autocomplete popup from the currently focused form field, if
3030 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
3031 mProvider.getViewDelegate().onFocusChanged(focused, direction, previouslyFocusedRect);
3032 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java199 public View onFocusSearchFailed(View focused, int direction, argument
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DRecyclerViewActivity.java199 public View onFocusSearchFailed(View focused, int direction, argument
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java639 public void requestChildFocus(View child, View focused) { argument
640 super.requestChildFocus(child, focused);
641 if (!isInTouchMode() && isDescendantClipped(focused)) {
H A DLinearLayoutManager.java754 final View focused = getFocusedChild();
755 if (focused != null && anchorInfo.isViewValidAsAnchor(focused, state)) {
756 anchorInfo.assignFromViewAndKeepVisibleRect(focused);
1885 public View onFocusSearchFailed(View focused, int focusDirection, argument
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DTwoWayBindingAdapterTest.java220 final boolean[] focused = new boolean[1];
225 focused[0] = view.isFocused();
228 if (focused[0]) {
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DBaseCardView.java661 private void applySelectedState(boolean focused) { argument
666 if (focused) {
677 setInfoViewVisibility(focused);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DGridLayoutManager.java993 public View onFocusSearchFailed(View focused, int focusDirection, argument
995 View prevFocusedChild = findContainingItemView(focused);
1002 View view = super.onFocusSearchFailed(focused, focusDirection, recycler, state);
1024 // the currently focused view.
1034 // highest amount of span overlap with the currently focused view.
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraAgent.java170 public void onAutoFocus(boolean focused, CameraProxy camera); argument
H A DAndroidCamera2AgentImpl.java1072 public void onAutoFocus(final boolean focused,
1077 cb.onAutoFocus(focused, camera);
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DNestedScrollView.java591 // Let the focused view and/or our descendants get the key first
1244 * to a component visible in this area. If no component can be focused in
1322 // previously focused item still has focus and is off screen, give
1669 public void requestChildFocus(View child, View focused) { argument
1671 scrollToChild(focused);
1674 mChildToScrollTo = focused;
1676 super.requestChildFocus(child, focused);
1785 // If the currently-focused view was visible on the screen when the
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DSearchView.java532 * Sets a listener to inform when a suggestion is focused or clicked.
948 final boolean focused = mSearchSrcTextView.hasFocus();
949 final int[] stateSet = focused ? FOCUSED_STATE_SET : EMPTY_STATE_SET;
1915 protected void onFocusChanged(boolean focused, int direction, Rect previouslyFocusedRect) { argument
1916 super.onFocusChanged(focused, direction, previouslyFocusedRect);
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java384 public UiSelector focused(boolean val) { method in class:UiSelector
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java807 * @return The node info of the focused view or null.
1790 * Gets whether this node is focused.
1792 * @return True if the node is focused.
1799 * Sets whether this node is focused.
1806 * @param focused True if the node is focused.
1810 public void setFocused(boolean focused) { argument
1811 setBooleanProperty(BOOLEAN_PROPERTY_FOCUSED, focused);
1840 * Gets whether this node is accessibility focused.
1842 * @return True if the node is accessibility focused
1860 setAccessibilityFocused(boolean focused) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java1135 // Always report the focused window.
1272 if (oldWindow.focused != newWindow.focused) {
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
H A DSlidingPaneLayout.java745 public void requestChildFocus(View child, View focused) { argument
746 super.requestChildFocus(child, focused);

Completed in 668 milliseconds

1234