Home
last modified time | relevance | path

Searched refs:oldFocus (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DGlobalFocusChange.java40 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
41 mOldFocus = oldFocus; in onGlobalFocusChanged()
/frameworks/native/services/inputflinger/dispatcher/
DFocusResolver.cpp178 sp<IBinder> oldFocus = getFocusedWindowToken(displayId); in updateFocusedWindow() local
179 if (newFocus == oldFocus) { in updateFocusedWindow()
188 return {{oldFocus, newFocus, displayId, reason}}; in updateFocusedWindow()
DFocusResolver.h55 sp<IBinder> oldFocus; member
DInputDispatcher.cpp6246 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/
DFocusResolver_test.cpp23 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/
DViewTreeObserver.java142 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()
DView.java7869 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/
DDisplayContent.java3690 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/
DWebView.java2131 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
/frameworks/base/core/java/android/widget/
DListView.java3108 View oldFocus = selectedView.findFocus(); in arrowScrollFocused() local
3109 newFocus = FocusFinder.getInstance().findNextFocus(this, oldFocus, direction); in arrowScrollFocused()