Searched refs:newFocus (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChange.java | 42 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument 44 mNewFocus = newFocus; in onGlobalFocusChanged()
|
/frameworks/base/core/java/android/view/ |
D | ViewTreeObserver.java | 98 public void onGlobalFocusChanged(View oldFocus, View newFocus); in onGlobalFocusChanged() argument 786 final void dispatchOnGlobalFocusChange(View oldFocus, View newFocus) { in dispatchOnGlobalFocusChange() argument 794 listener.onGlobalFocusChanged(oldFocus, newFocus); in dispatchOnGlobalFocusChange()
|
D | WindowManagerPolicy.java | 916 public int focusChangedLw(WindowState lastFocus, WindowState newFocus); in focusChangedLw() argument
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 2862 View newFocus; in arrowScrollFocused() local 2865 newFocus = FocusFinder.getInstance().findNextFocus(this, oldFocus, direction); in arrowScrollFocused() 2887 newFocus = FocusFinder.getInstance().findNextFocusFromRect(this, mTempRect, direction); in arrowScrollFocused() 2890 if (newFocus != null) { in arrowScrollFocused() 2891 final int positionOfNewFocus = positionOfNewFocus(newFocus); in arrowScrollFocused() 2904 int focusScroll = amountToScrollToNewFocus(direction, newFocus, positionOfNewFocus); in arrowScrollFocused() 2909 newFocus.requestFocus(direction); in arrowScrollFocused() 2912 } else if (distanceToView(newFocus) < maxScrollAmount){ in arrowScrollFocused() 2917 newFocus.requestFocus(direction); in arrowScrollFocused() 2929 private int positionOfNewFocus(View newFocus) { [all …]
|
/frameworks/base/services/java/com/android/server/wm/ |
D | WindowManagerService.java | 3822 AppWindowToken newFocus = findAppWindowToken(token); in setFocusedApp() local 3823 if (newFocus == null) { in setFocusedApp() 3827 changed = mFocusedApp != newFocus; in setFocusedApp() 3828 if (DEBUG_FOCUS_LIGHT) Slog.v(TAG, "Set focused app to: " + newFocus in setFocusedApp() 3830 mFocusedApp = newFocus; in setFocusedApp() 3832 mInputMonitor.setFocusedAppLw(newFocus); in setFocusedApp() 7102 WindowState newFocus; in handleMessage() local 7106 newFocus = mCurrentFocus; in handleMessage() 7107 if (lastFocus == newFocus) { in handleMessage() 7111 mLastFocus = newFocus; in handleMessage() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 1762 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindowManager.java | 3605 public int focusChangedLw(WindowState lastFocus, WindowState newFocus) { in focusChangedLw() argument 3606 mFocusedWindow = newFocus; in focusChangedLw()
|