Home
last modified time | relevance | path

Searched refs:WindowState (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java118 public interface WindowState { interface
257 public boolean getNeedsMenuLw(WindowState bottom); in getNeedsMenuLw()
638 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); in canBeForceHidden()
643 public WindowState getWinShowWhenLockedLw(); in getWinShowWhenLockedLw()
701 public int prepareAddWindowLw(WindowState win, in prepareAddWindowLw()
710 public void removeWindowLw(WindowState win); in removeWindowLw()
724 public int selectAnimationLw(WindowState win, int transit); in selectAnimationLw()
807 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); in interceptKeyBeforeDispatching()
823 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); in dispatchUnhandledKey()
861 public void layoutWindowLw(WindowState win, WindowState attached); in layoutWindowLw()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java39 private WindowState mInputFocus;
78 WindowState windowState = (WindowState) inputWindowHandle.windowState; in notifyInputChannelBroken()
95 WindowState windowState = null; in notifyANR()
99 windowState = (WindowState) inputWindowHandle.windowState; in notifyANR()
171 final WindowState child, int flags, final int type, final boolean isVisible, in addInputWindowHandleLw()
272 final WindowState child = windows.get(winNdx); in updateInputWindowsLw()
304 final WindowState u = universeBackground.mWin; in updateInputWindowsLw()
387 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in interceptKeyBeforeDispatching()
396 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in dispatchUnhandledKey()
411 public void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw()
DDragState.java60 WindowState mTargetWindow;
61 ArrayList<WindowState> mNotifiedWindows;
74 mNotifiedWindows = new ArrayList<WindowState>(); in DragState()
209 private void sendDragStartedLw(WindowState newWin, float touchX, float touchY, in sendDragStartedLw()
245 void sendDragStartedIfNeededLw(WindowState newWin) { in sendDragStartedIfNeededLw()
248 for (WindowState ws : mNotifiedWindows) { in sendDragStartedIfNeededLw()
266 for (WindowState ws: mNotifiedWindows) { in broadcastDragEndedLw()
309 WindowState touchedWin = getTouchedWinAtPointLw(x, y); in notifyMoveLw()
357 WindowState touchedWin = getTouchedWinAtPointLw(x, y); in notifyDropLw()
392 private WindowState getTouchedWinAtPointLw(float xf, float yf) { in getTouchedWinAtPointLw()
[all …]
DWindowManagerService.java366 final HashMap<IBinder, WindowState> mWindowMap = new HashMap<IBinder, WindowState>();
390 final ArrayList<WindowState> mResizingWindows = new ArrayList<WindowState>();
395 final ArrayList<WindowState> mPendingRemove = new ArrayList<WindowState>();
405 WindowState[] mPendingRemoveTmp = new WindowState[20];
410 final ArrayList<WindowState> mDestroySurface = new ArrayList<WindowState>();
416 ArrayList<WindowState> mLosingFocus = new ArrayList<WindowState>();
422 ArrayList<WindowState> mForceRemoves;
427 ArrayList<WindowState> mWaitingForDrawn = new ArrayList<WindowState>();
437 final ArrayList<WindowState> mRelayoutWhileAnimating = new ArrayList<WindowState>();
443 WindowState[] mRebuildTmp = new WindowState[20];
[all …]
DAccessibilityController.java146 public void onAppWindowTransitionLocked(WindowState windowState, int transition) { in onAppWindowTransitionLocked()
153 public void onWindowTransitionLocked(WindowState windowState, int transition) { in onWindowTransitionLocked()
191 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked()
203 private static void populateTransformationMatrixLocked(WindowState windowState, in populateTransformationMatrixLocked()
302 public void onAppWindowTransitionLocked(WindowState windowState, int transition) { in onAppWindowTransitionLocked()
323 public void onWindowTransitionLocked(WindowState windowState, int transition) { in onWindowTransitionLocked()
373 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked()
402 private final SparseArray<WindowState> mTempWindowStates =
403 new SparseArray<WindowState>();
465 SparseArray<WindowState> visibleWindows = mTempWindowStates; in recomputeBoundsLocked()
[all …]
DAppWindowToken.java101 WindowState startingWindow;
130 WindowState win = allAppWindows.get(i); in sendAppVisibilityToClients()
158 WindowState win = allAppWindows.get(i); in updateReportedVisibilityLocked()
227 WindowState findMainWindow() { in findMainWindow()
231 WindowState win = windows.get(j); in findMainWindow()
243 WindowState win = allAppWindows.get(i); in isVisible()
264 WindowState win = allAppWindows.get(winNdx); in removeAllWindows()
DWindowAnimator.java79 WindowState mWindowDetachedWallpaper = null;
152 void hideWallpapersLocked(final WindowState w) { in hideWallpapersLocked()
153 final WindowState wallpaperTarget = mService.mWallpaperTarget; in hideWallpapersLocked()
154 final WindowState lowerWallpaperTarget = mService.mLowerWallpaperTarget; in hideWallpapersLocked()
163 final WindowState wallpaper = token.windows.get(j); in hideWallpapersLocked()
224 private boolean shouldForceHide(WindowState win) { in shouldForceHide()
225 final WindowState imeTarget = mService.mInputMethodTarget; in shouldForceHide()
229 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in shouldForceHide()
249 WindowState win = windows.get(i); in updateWindowsLocked()
280 WindowState wallpaper = null; in updateWindowsLocked()
[all …]
DWindowState.java69 class WindowList extends ArrayList<WindowState> {
75 final class WindowState implements WindowManagerPolicy.WindowState { class
96 final WindowState mAttachedWindow;
348 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, in WindowState() method in WindowState
349 WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState()
360 WindowState.this.registerFocusObserver(observer); in WindowState()
364 WindowState.this.unregisterFocusObserver(observer); in WindowState()
368 return WindowState.this.isFocused(); in WindowState()
415 WindowState child = (WindowState)mAttachedWindow.mChildWindows.get(i); in WindowState()
456 WindowState appWin = this; in WindowState()
[all …]
DTaskStack.java100 final ArrayList<WindowState> resizingWindows = mService.mResizingWindows; in resizeWindows()
104 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in resizeWindows()
106 final WindowState win = windows.get(winNdx); in resizeWindows()
155 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in isAnimating()
DWindowToken.java83 WindowState win = windows.get(winNdx); in removeAllWindows()
DWindowStateAnimator.java79 final WindowState mWin;
192 public WindowStateAnimator(final WindowState win) { in WindowStateAnimator()
763 final WindowState w = mWin; in createSurfaceLocked()
947 WindowState c = mWin.mChildWindows.get(i); in destroySurfaceLocked()
1034 final WindowState wallpaperTarget = mService.mWallpaperTarget; in computeShownFrameLocked()
1252 final WindowState w = mWin; in applyDecorRect()
1283 final WindowState w = mWin; in updateSurfaceWindowCrop()
1378 final WindowState w = mWin; in setSurfaceBoundariesLocked()
1463 final WindowState w = mWin; in prepareSurfaceLocked()
1707 WindowState c = mWin.mChildWindows.get(i); in performShowLocked()
DDisplayContent.java236 final WindowState win = windows.get(i); in setTouchExcludeRegion()
249 final WindowState win = windows.get(i); in switchUserStacks()
DSession.java285 WindowState callingWin = mService.windowForClientLocked(null, window, false); in performDrag()
376 WindowState callingWin = mService.windowForClientLocked(null, window, false); in reportDropResult()
DAppWindowAnimator.java158 final WindowState w = mAppToken.allAppWindows.get(i); in updateLayers()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DBarController.java27 import android.view.WindowManagerPolicy.WindowState;
56 private WindowState mWin;
73 public void setWindow(WindowState win) { in setWindow()
107 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw()
144 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { in computeStateLw()
DPolicyControl.java28 import android.view.WindowManagerPolicy.WindowState;
65 public static int getSystemUiVisibility(WindowState win, LayoutParams attrs) { in getSystemUiVisibility()
85 public static int getWindowFlags(WindowState win, LayoutParams attrs) { in getWindowFlags()
99 public static int adjustClearableFlags(WindowState win, int clearableFlags) { in adjustClearableFlags()
DPhoneWindowManager.java205 private WindowState mKeyguardScrim;
280 WindowState mStatusBar = null;
282 WindowState mNavigationBar = null;
309 WindowState mLastInputMethodWindow = null;
310 WindowState mLastInputMethodTargetWindow = null;
383 WindowState mFocusedWindow;
455 WindowState mTopFullscreenOpaqueWindowState;
473 private WindowState mWinDismissingKeyguard;
479 private WindowState mWinShowWhenLocked;
1994 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs) { in canBeForceHidden()
[all …]