/frameworks/native/services/inputflinger/dispatcher/ |
D | FocusResolver.cpp | 176 int32_t displayId, const std::string& reason, const sp<IBinder>& newFocus, in updateFocusedWindow() argument 179 if (newFocus == oldFocus) { in updateFocusedWindow() 182 if (newFocus) { in updateFocusedWindow() 183 mFocusedWindowTokenByDisplay[displayId] = {tokenName, newFocus}; in updateFocusedWindow() 188 return {{oldFocus, newFocus, displayId, reason}}; in updateFocusedWindow()
|
D | FocusResolver.h | 56 sp<IBinder> newFocus; member
|
D | InputDispatcher.cpp | 6255 if (changes.newFocus) { in onFocusChangedLocked() 6256 enqueueFocusEventLocked(changes.newFocus, true /*hasFocus*/, changes.reason); in onFocusChangedLocked() 6270 sendFocusChangedCommandLocked(changes.oldFocus, changes.newFocus); in onFocusChangedLocked()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GlobalFocusChange.java | 40 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument 42 mNewFocus = newFocus; in onGlobalFocusChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AnrController.java | 196 void onFocusChanged(WindowState newFocus) { in onFocusChanged() argument 199 unresponsiveApp = mUnresponsiveAppByDisplay.get(newFocus.getDisplayId()); in onFocusChanged() 200 if (unresponsiveApp == null || unresponsiveApp != newFocus.mActivityRecord) { in onFocusChanged()
|
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() 3740 WindowState newFocus = findFocusedWindowIfNeeded(topFocusedDisplayId); in updateFocusedWindowLocked() local 3741 if (mCurrentFocus == newFocus) { in updateFocusedWindowLocked() 3759 newFocus = findFocusedWindowIfNeeded(topFocusedDisplayId); in updateFocusedWindowLocked() 3764 mCurrentFocus, newFocus, getDisplayId(), Debug.getCallers(4)); in updateFocusedWindowLocked() 3766 mCurrentFocus = newFocus; in updateFocusedWindowLocked() 3768 if (newFocus != null) { in updateFocusedWindowLocked() 3772 if (newFocus.canReceiveKeys()) { in updateFocusedWindowLocked() 3776 newFocus.mToken.paused = false; in updateFocusedWindowLocked() [all …]
|
D | RootWindowContainer.java | 466 final WindowState newFocus = dc.mCurrentFocus; in updateFocusedWindowLocked() local 467 if (newFocus != null) { in updateFocusedWindowLocked() 468 final int pidOfNewFocus = newFocus.mSession.mPid; in updateFocusedWindowLocked() 470 mTopFocusedAppByProcess.put(pidOfNewFocus, newFocus.mActivityRecord); in updateFocusedWindowLocked()
|
D | DisplayPolicy.java | 2146 public void focusChangedLw(WindowState lastFocus, WindowState newFocus) { in focusChangedLw() argument 2147 mFocusedWindow = newFocus; in focusChangedLw() 2150 mService.mPolicy.onDefaultDisplayFocusChangedLw(newFocus); in focusChangedLw()
|
/frameworks/native/services/inputflinger/tests/ |
D | FocusResolver_test.cpp | 24 ASSERT_EQ(_newFocus, _changes->newFocus); \ 78 ASSERT_EQ(nullptr, changes->newFocus); in TEST() 107 ASSERT_EQ(nullptr, changes->newFocus); in TEST() 165 ASSERT_EQ(focusableWindowToken, changes->newFocus); in TEST()
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 3106 View newFocus; in arrowScrollFocused() local 3109 newFocus = FocusFinder.getInstance().findNextFocus(this, oldFocus, direction); in arrowScrollFocused() 3131 newFocus = FocusFinder.getInstance().findNextFocusFromRect(this, mTempRect, direction); in arrowScrollFocused() 3134 if (newFocus != null) { in arrowScrollFocused() 3135 final int positionOfNewFocus = positionOfNewFocus(newFocus); in arrowScrollFocused() 3148 int focusScroll = amountToScrollToNewFocus(direction, newFocus, positionOfNewFocus); in arrowScrollFocused() 3153 newFocus.requestFocus(direction); in arrowScrollFocused() 3156 } else if (distanceToView(newFocus) < maxScrollAmount){ in arrowScrollFocused() 3161 newFocus.requestFocus(direction); in arrowScrollFocused() 3173 private int positionOfNewFocus(View newFocus) { [all …]
|
/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 | ViewGroup.java | 1408 final View newFocus = focusSearch(FOCUS_FORWARD); in setTouchscreenBlocksFocus() local 1409 if (newFocus != null) { in setTouchscreenBlocksFocus() 1410 newFocus.requestFocus(); in setTouchscreenBlocksFocus()
|
D | View.java | 16818 final int newFocus; in setFlags() local 16820 newFocus = FOCUSABLE; in setFlags() 16822 newFocus = NOT_FOCUSABLE; in setFlags() 16824 mViewFlags = (mViewFlags & ~FOCUSABLE) | newFocus; in setFlags() 16825 focusableChangedByAuto = (old & FOCUSABLE) ^ (newFocus & FOCUSABLE); in setFlags()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 1192 default void onDefaultDisplayFocusChangedLw(WindowState newFocus) {} in onDefaultDisplayFocusChangedLw() argument
|
D | PhoneWindowManager.java | 3340 public void onDefaultDisplayFocusChangedLw(WindowState newFocus) { 3343 newFocus != null ? newFocus.getOwningPackage() : null);
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2131 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
|