Searched refs:newFocus (Results 1 - 13 of 13) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DGuidedStepRootLayout.java50 View newFocus = super.focusSearch(focused, direction);
52 if (Util.isDescendant(this, newFocus)) {
53 return newFocus;
66 return newFocus;
/frameworks/base/core/tests/coretests/src/android/view/
H A DGlobalFocusChange.java42 public void onGlobalFocusChanged(View oldFocus, View newFocus) { argument
44 mNewFocus = newFocus;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
H A DTaskViewFocusFrame.java93 * @param newFocus The newly focused view.
95 public void moveGridTaskViewFocus(View newFocus) { argument
99 if (newFocus instanceof GridTaskView) {
102 newFocus.getLocationInWindow(location);
115 public void onGlobalFocusChanged(View oldFocus, View newFocus) { argument
119 if (newFocus == null) {
/frameworks/base/core/java/android/view/
H A DViewTreeObserver.java103 * When the view tree transitions from non-touch mode to touch mode, newFocus is
105 * touch mode) either oldFocus or newFocus can be null.
108 * @param newFocus The newly focused View, if any.
110 public void onGlobalFocusChanged(View oldFocus, View newFocus); argument
916 final void dispatchOnGlobalFocusChange(View oldFocus, View newFocus) { argument
924 listener.onGlobalFocusChanged(oldFocus, newFocus);
H A DViewGroup.java1357 final View newFocus = focusSearch(FOCUS_FORWARD);
1358 if (newFocus != null) {
1359 newFocus.requestFocus();
H A DView.java14026 final int newFocus;
14028 newFocus = FOCUSABLE;
14030 newFocus = NOT_FOCUSABLE;
14032 mViewFlags = (mViewFlags & ~FOCUSABLE) | newFocus;
14033 focusableChangedByAuto = (old & FOCUSABLE) ^ (newFocus & FOCUSABLE);
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java2537 final AppWindowToken newFocus;
2540 newFocus = null;
2542 newFocus = mRoot.getAppWindowToken(token);
2543 if (newFocus == null) {
2546 if (DEBUG_FOCUS_LIGHT) Slog.v(TAG_WM, "Set focused app to: " + newFocus
2550 final boolean changed = mFocusedApp != newFocus;
2553 mFocusedApp = newFocus;
2554 mInputMonitor.setFocusedAppLw(newFocus);
4658 WindowState newFocus;
4670 newFocus
[all...]
H A DDisplayContent.java2376 void scheduleToastWindowsTimeoutIfNeededLocked(WindowState oldFocus, WindowState newFocus) { argument
2377 if (oldFocus == null || (newFocus != null && newFocus.mOwnerUid == oldFocus.mOwnerUid)) {
/frameworks/base/core/java/android/widget/
H A DListView.java3088 View newFocus;
3091 newFocus = FocusFinder.getInstance().findNextFocus(this, oldFocus, direction);
3113 newFocus = FocusFinder.getInstance().findNextFocusFromRect(this, mTempRect, direction);
3116 if (newFocus != null) {
3117 final int positionOfNewFocus = positionOfNewFocus(newFocus);
3130 int focusScroll = amountToScrollToNewFocus(direction, newFocus, positionOfNewFocus);
3135 newFocus.requestFocus(direction);
3138 } else if (distanceToView(newFocus) < maxScrollAmount){
3143 newFocus.requestFocus(direction);
3152 * @param newFocus Th
3155 positionOfNewFocus(View newFocus) argument
3188 amountToScrollToNewFocus(int direction, View newFocus, int positionOfNewFocus) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTestWindowManagerPolicy.java266 WindowState newFocus) {
265 focusChangedLw(WindowState lastFocus, WindowState newFocus) argument
/frameworks/base/services/core/java/com/android/server/policy/
H A DWindowManagerPolicy.java1247 public int focusChangedLw(WindowState lastFocus, WindowState newFocus); argument
H A DPhoneWindowManager.java5908 public int focusChangedLw(WindowState lastFocus, WindowState newFocus) { argument
5909 mFocusedWindow = newFocus;
/frameworks/base/core/java/android/webkit/
H A DWebView.java2237 public void onGlobalFocusChanged(View oldFocus, View newFocus) { argument

Completed in 122 milliseconds