Home
last modified time | relevance | path

Searched refs:oldFocus (Results 1 – 11 of 11) 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.cpp175 sp<IBinder> oldFocus = getFocusedWindowToken(displayId); in updateFocusedWindow() local
176 if (newFocus == oldFocus) { in updateFocusedWindow()
185 return {{oldFocus, newFocus, displayId, reason}}; in updateFocusedWindow()
DFocusResolver.h55 sp<IBinder> oldFocus; member
DInputDispatcher.h602 void notifyFocusChangedLocked(const sp<IBinder>& oldFocus, const sp<IBinder>& newFocus)
DInputDispatcher.cpp6147 if (changes.oldFocus) { in onFocusChangedLocked()
6148 std::shared_ptr<InputChannel> focusedInputChannel = getInputChannelLocked(changes.oldFocus); in onFocusChangedLocked()
6153 enqueueFocusEventLocked(changes.oldFocus, false /*hasFocus*/, changes.reason); in onFocusChangedLocked()
6171 notifyFocusChangedLocked(changes.oldFocus, changes.newFocus); in onFocusChangedLocked()
/frameworks/native/services/inputflinger/tests/
DFocusResolver_test.cpp23 ASSERT_EQ(_oldFocus, _changes->oldFocus); \
71 ASSERT_EQ(focusableWindowToken, changes->oldFocus); in TEST()
/frameworks/base/core/java/android/view/
DViewTreeObserver.java123 public void onGlobalFocusChanged(View oldFocus, View newFocus); in onGlobalFocusChanged() argument
1032 final void dispatchOnGlobalFocusChange(View oldFocus, View newFocus) { in dispatchOnGlobalFocusChange() argument
1040 listener.onGlobalFocusChanged(oldFocus, newFocus); in dispatchOnGlobalFocusChange()
DView.java7768 View oldFocus = (mAttachInfo != null) ? getRootView().findFocus() : null;
7772 updateFocusedInCluster(oldFocus, direction);
7776 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, this);
7955 void notifyGlobalFocusCleared(View oldFocus) {
7956 if (oldFocus != null && mAttachInfo != null) {
7957 mAttachInfo.mTreeObserver.dispatchOnGlobalFocusChange(oldFocus, null);
12908 private void updateFocusedInCluster(View oldFocus, @FocusDirection int direction) { in updateFocusedInCluster() argument
12909 if (oldFocus != null) { in updateFocusedInCluster()
12910 View oldCluster = oldFocus.findKeyboardNavigationCluster(); in updateFocusedInCluster()
12915 oldFocus.setFocusedInCluster(oldCluster); in updateFocusedInCluster()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java3339 void scheduleToastWindowsTimeoutIfNeededLocked(WindowState oldFocus, WindowState newFocus) { in scheduleToastWindowsTimeoutIfNeededLocked() argument
3340 if (oldFocus == null || (newFocus != null && newFocus.mOwnerUid == oldFocus.mOwnerUid)) { in scheduleToastWindowsTimeoutIfNeededLocked()
3345 mTmpWindow = oldFocus; in scheduleToastWindowsTimeoutIfNeededLocked()
3414 final WindowState oldFocus = mCurrentFocus; in updateFocusedWindowLocked() local
3429 onWindowFocusChanged(oldFocus, newFocus); in updateFocusedWindowLocked()
3431 int focusChanged = getDisplayPolicy().focusChangedLw(oldFocus, newFocus); in updateFocusedWindowLocked()
3433 if (imWindowChanged && oldFocus != mInputMethodWindow) { in updateFocusedWindowLocked()
3465 scheduleToastWindowsTimeoutIfNeededLocked(oldFocus, newFocus); in updateFocusedWindowLocked()
3489 private static void onWindowFocusChanged(WindowState oldFocus, WindowState newFocus) { in onWindowFocusChanged() argument
3491 final Task unfocusedTask = oldFocus != null ? oldFocus.getTask() : null; in onWindowFocusChanged()
/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()