/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/ |
D | TaskViewFocusFrame.java | 95 public void moveGridTaskViewFocus(View newFocus) { in moveGridTaskViewFocus() argument 99 if (newFocus instanceof GridTaskView) { in moveGridTaskViewFocus() 102 newFocus.getLocationInWindow(location); in moveGridTaskViewFocus() 115 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument 119 if (newFocus == null) { in onGlobalFocusChanged()
|
/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 | DisplayContent.java | 3014 void scheduleToastWindowsTimeoutIfNeededLocked(WindowState oldFocus, WindowState newFocus) { in scheduleToastWindowsTimeoutIfNeededLocked() argument 3015 if (oldFocus == null || (newFocus != null && newFocus.mOwnerUid == oldFocus.mOwnerUid)) { in scheduleToastWindowsTimeoutIfNeededLocked() 3063 WindowState newFocus = findFocusedWindowIfNeeded(topFocusedDisplayId); in updateFocusedWindowLocked() local 3064 if (mCurrentFocus == newFocus) { in updateFocusedWindowLocked() 3083 newFocus = findFocusedWindowIfNeeded(topFocusedDisplayId); in updateFocusedWindowLocked() 3085 if (mCurrentFocus != newFocus) { in updateFocusedWindowLocked() 3090 + mCurrentFocus + " to " + newFocus + " displayId=" + getDisplayId() in updateFocusedWindowLocked() 3093 mCurrentFocus = newFocus; in updateFocusedWindowLocked() 3094 mLosingFocus.remove(newFocus); in updateFocusedWindowLocked() 3096 if (newFocus != null) { in updateFocusedWindowLocked() [all …]
|
D | ActivityDisplay.java | 1227 final AppWindowToken newFocus; in setFocusedApp() local 1232 newFocus = null; in setFocusedApp() 1234 newFocus = mService.mWindowManager.mRoot.getAppWindowToken(token); in setFocusedApp() 1235 if (newFocus == null) { in setFocusedApp() 1239 if (DEBUG_FOCUS_LIGHT) Slog.v(TAG_WM, "Set focused app to: " + newFocus in setFocusedApp() 1243 final boolean changed = mDisplayContent.setFocusedApp(newFocus); in setFocusedApp()
|
D | RootWindowContainer.java | 174 final WindowState newFocus = dc.mCurrentFocus; in updateFocusedWindowLocked() local 175 if (newFocus != null) { in updateFocusedWindowLocked() 176 final int pidOfNewFocus = newFocus.mSession.mPid; in updateFocusedWindowLocked() 178 mTopFocusedAppByProcess.put(pidOfNewFocus, newFocus.mAppToken); in updateFocusedWindowLocked()
|
D | WindowManagerService.java | 4596 WindowState newFocus; in handleMessage() local 4610 newFocus = displayContent.mCurrentFocus; in handleMessage() 4612 if (lastFocus == newFocus) { in handleMessage() 4617 displayContent.mLastFocus = newFocus; in handleMessage() 4619 " to " + newFocus + " displayId=" + displayContent.getDisplayId()); in handleMessage() 4620 if (newFocus != null && lastFocus != null && !newFocus.isDisplayedLw()) { in handleMessage() 4633 if (newFocus != null) { in handleMessage() 4634 if (DEBUG_FOCUS_LIGHT) Slog.i(TAG_WM, "Gaining focus: " + newFocus); in handleMessage() 4635 newFocus.reportFocusChangedSerialized(true, mInTouchMode); in handleMessage()
|
D | DisplayPolicy.java | 3041 public int focusChangedLw(WindowState lastFocus, WindowState newFocus) { in focusChangedLw() argument 3042 mFocusedWindow = newFocus; in focusChangedLw() 3045 mService.mPolicy.onDefaultDisplayFocusChangedLw(newFocus); in focusChangedLw()
|
/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 | 123 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()
|
D | ViewGroup.java | 1380 final View newFocus = focusSearch(FOCUS_FORWARD); in setTouchscreenBlocksFocus() local 1381 if (newFocus != null) { in setTouchscreenBlocksFocus() 1382 newFocus.requestFocus(); in setTouchscreenBlocksFocus()
|
D | View.java | 15666 final int newFocus; in setFlags() local 15668 newFocus = FOCUSABLE; in setFlags() 15670 newFocus = NOT_FOCUSABLE; in setFlags() 15672 mViewFlags = (mViewFlags & ~FOCUSABLE) | newFocus; in setFlags() 15673 focusableChangedByAuto = (old & FOCUSABLE) ^ (newFocus & FOCUSABLE); in setFlags()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 1496 default void onDefaultDisplayFocusChangedLw(WindowState newFocus) {} in onDefaultDisplayFocusChangedLw() argument
|
D | PhoneWindowManager.java | 3250 public void onDefaultDisplayFocusChangedLw(WindowState newFocus) { in onDefaultDisplayFocusChangedLw() argument 3253 newFocus != null ? newFocus.getOwningPackage() : null); in onDefaultDisplayFocusChangedLw()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 428 const sp<InputWindowHandle>& newFocus) REQUIRES(mLock);
|
D | InputDispatcher.cpp | 4052 const sp<InputWindowHandle>& newFocus) { in onFocusChangedLocked() argument 4054 sp<IBinder> newToken = newFocus != nullptr ? newFocus->getToken() : nullptr; in onFocusChangedLocked()
|
/frameworks/base/core/java/android/webkit/ |
D | WebView.java | 2104 public void onGlobalFocusChanged(View oldFocus, View newFocus) { in onGlobalFocusChanged() argument
|