Searched refs:oldFocus (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChange.java | 40 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument 41 mOldFocus = oldFocus; in onGlobalFocusChanged()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | FocusResolver.cpp | 178 sp<IBinder> oldFocus = getFocusedWindowToken(displayId); in updateFocusedWindow() local 179 if (newFocus == oldFocus) { in updateFocusedWindow() 188 return {{oldFocus, newFocus, displayId, reason}}; in updateFocusedWindow()
|
D | FocusResolver.h | 55 sp<IBinder> oldFocus; member
|
D | InputDispatcher.cpp | 6246 if (changes.oldFocus) { in onFocusChangedLocked() 6247 std::shared_ptr<InputChannel> focusedInputChannel = getInputChannelLocked(changes.oldFocus); in onFocusChangedLocked() 6252 enqueueFocusEventLocked(changes.oldFocus, false /*hasFocus*/, changes.reason); in onFocusChangedLocked() 6270 sendFocusChangedCommandLocked(changes.oldFocus, changes.newFocus); in onFocusChangedLocked()
|
/frameworks/native/services/inputflinger/tests/ |
D | FocusResolver_test.cpp | 23 ASSERT_EQ(_oldFocus, _changes->oldFocus); \ 77 ASSERT_EQ(focusableWindowToken, changes->oldFocus); in TEST() 106 ASSERT_EQ(focusableWindowToken, changes->oldFocus); in TEST()
|
/frameworks/base/core/java/android/view/ |
D | ViewTreeObserver.java | 142 public void onGlobalFocusChanged(View oldFocus, View newFocus); in onGlobalFocusChanged() argument 1119 final void dispatchOnGlobalFocusChange(View oldFocus, View newFocus) { in dispatchOnGlobalFocusChange() argument 1127 listener.onGlobalFocusChanged(oldFocus, newFocus); in dispatchOnGlobalFocusChange()
|
D | View.java | 7869 View oldFocus = (mAttachInfo != null) ? getRootView().findFocus() : null; 7873 updateFocusedInCluster(oldFocus, direction); 7877 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, this); 8056 void notifyGlobalFocusCleared(View oldFocus) { 8057 if (oldFocus != null && mAttachInfo != null) { 8058 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, null); 13369 private void updateFocusedInCluster(View oldFocus, @FocusDirection int direction) { in updateFocusedInCluster() argument 13370 if (oldFocus != null) { in updateFocusedInCluster() 13371 View oldCluster = oldFocus.findKeyboardNavigationCluster(); in updateFocusedInCluster() 13376 oldFocus.setFocusedInCluster(oldCluster); in updateFocusedInCluster() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayContent.java | 3690 void scheduleToastWindowsTimeoutIfNeededLocked(WindowState oldFocus, WindowState newFocus) { in scheduleToastWindowsTimeoutIfNeededLocked() argument 3691 if (oldFocus == null || (newFocus != null && newFocus.mOwnerUid == oldFocus.mOwnerUid)) { in scheduleToastWindowsTimeoutIfNeededLocked() 3696 mTmpWindow = oldFocus; in scheduleToastWindowsTimeoutIfNeededLocked() 3765 final WindowState oldFocus = mCurrentFocus; in updateFocusedWindowLocked() local 3780 getDisplayPolicy().focusChangedLw(oldFocus, newFocus); in updateFocusedWindowLocked() 3782 if (imWindowChanged && oldFocus != mInputMethodWindow) { in updateFocusedWindowLocked() 3804 scheduleToastWindowsTimeoutIfNeededLocked(oldFocus, newFocus); in updateFocusedWindowLocked()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2131 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 3108 View oldFocus = selectedView.findFocus(); in arrowScrollFocused() local 3109 newFocus = FocusFinder.getInstance().findNextFocus(this, oldFocus, direction); in arrowScrollFocused()
|