Home
last modified time | relevance | path

Searched refs:currentFocus (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DFocusResolver.cpp65 const sp<IBinder> currentFocus = getFocusedWindowToken(displayId); in setInputWindows() local
73 if (result == Focusability::OK && resolvedFocusWindow->getToken() == currentFocus) { in setInputWindows()
98 const sp<IBinder> currentFocus = getFocusedWindowToken(displayId); in setFocusedWindow() local
99 if (currentFocus == request.token) { in setFocusedWindow()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java1160 Task getNextFocusableRootTask(Task currentFocus, boolean ignoreCurrent) {
1161 final int currentWindowingMode = currentFocus != null
1162 ? currentFocus.getWindowingMode() : WINDOWING_MODE_UNDEFINED;
1169 .getNextFocusableRootTask(currentFocus, ignoreCurrent);
1177 if (ignoreCurrent && rootTask == currentFocus) {
DRootWindowContainer.java3210 Task getNextFocusableRootTask(@NonNull Task currentFocus, boolean ignoreCurrent) { in getNextFocusableRootTask() argument
3212 TaskDisplayArea preferredDisplayArea = currentFocus.getDisplayArea(); in getNextFocusableRootTask()
3216 preferredDisplayArea = getDisplayContent(currentFocus.mPrevDisplayId) in getNextFocusableRootTask()
3220 currentFocus, ignoreCurrent); in getNextFocusableRootTask()
3240 .getNextFocusableRootTask(currentFocus, ignoreCurrent); in getNextFocusableRootTask()
DWindowManagerService.java7164 final WindowState currentFocus = dc.mCurrentFocus; in saveANRStateLocked() local
7166 pw.println(" Display #" + displayId + " currentFocus=" + currentFocus in saveANRStateLocked()
7183 if ((currentFocus != null && Objects.equals(w.mAttrs.packageName, in saveANRStateLocked()
7184 currentFocus.mAttrs.packageName)) || (focusedApp != null in saveANRStateLocked()
8298 final WindowState currentFocus = displayContent.mCurrentFocus; in hasInputMethodClientFocus() local
8299 if (currentFocus != null && currentFocus.mSession.mUid == uid in hasInputMethodClientFocus()
8300 && currentFocus.mSession.mPid == pid) { in hasInputMethodClientFocus()
8301 return currentFocus.canBeImeTarget() ? ImeClientFocusResult.HAS_IME_FOCUS in hasInputMethodClientFocus()
/frameworks/base/core/java/android/widget/
DListView.java2616 final View currentFocus = selectedView.findFocus(); in handleHorizontalFocusWithinListItem() local
2618 (ViewGroup) selectedView, currentFocus, direction); in handleHorizontalFocusWithinListItem()
2622 if (currentFocus != null) { in handleHorizontalFocusWithinListItem()
2623 currentFocus.getFocusedRect(focusedRect); in handleHorizontalFocusWithinListItem()
2624 offsetDescendantRectToMyCoords(currentFocus, focusedRect); in handleHorizontalFocusWithinListItem()
2638 (ViewGroup) getRootView(), currentFocus, direction); in handleHorizontalFocusWithinListItem()