Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java136 public interface WindowState { interface
273 public boolean getNeedsMenuLw(WindowState bottom); in getNeedsMenuLw()
621 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs); in doesForceHide()
630 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); in canBeForceHidden()
688 public int prepareAddWindowLw(WindowState win, in prepareAddWindowLw()
697 public void removeWindowLw(WindowState win); in removeWindowLw()
711 public int selectAnimationLw(WindowState win, int transit); in selectAnimationLw()
789 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); in interceptKeyBeforeDispatching()
805 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); in dispatchUnhandledKey()
844 public void layoutWindowLw(WindowState win, in layoutWindowLw()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DInputMonitor.java39 private WindowState mInputFocus;
76 WindowState windowState = (WindowState) inputWindowHandle.windowState; in notifyInputChannelBroken()
93 WindowState windowState = null; in notifyANR()
97 windowState = (WindowState) inputWindowHandle.windowState; in notifyANR()
169 final WindowState child, int flags, int privateFlags, final int type, in addInputWindowHandleLw()
269 final WindowState child = windows.get(winNdx); in updateInputWindowsLw()
295 final WindowState u = universeBackground.mWin; in updateInputWindowsLw()
373 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in interceptKeyBeforeDispatching()
382 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in dispatchUnhandledKey()
397 public void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw()
DDragState.java61 WindowState mTargetWindow;
62 ArrayList<WindowState> mNotifiedWindows;
75 mNotifiedWindows = new ArrayList<WindowState>(); in DragState()
211 private void sendDragStartedLw(WindowState newWin, float touchX, float touchY, in sendDragStartedLw()
247 void sendDragStartedIfNeededLw(WindowState newWin) { in sendDragStartedIfNeededLw()
250 for (WindowState ws : mNotifiedWindows) { in sendDragStartedIfNeededLw()
268 for (WindowState ws: mNotifiedWindows) { in broadcastDragEndedLw()
311 WindowState touchedWin = getTouchedWinAtPointLw(x, y); in notifyMoveLw()
359 WindowState touchedWin = getTouchedWinAtPointLw(x, y); in notifyDropLw()
394 private WindowState getTouchedWinAtPointLw(float xf, float yf) { in getTouchedWinAtPointLw()
[all …]
DWindowManagerService.java340 final HashMap<IBinder, WindowState> mWindowMap = new HashMap<IBinder, WindowState>();
364 final ArrayList<WindowState> mResizingWindows = new ArrayList<WindowState>();
369 final ArrayList<WindowState> mPendingRemove = new ArrayList<WindowState>();
374 WindowState[] mPendingRemoveTmp = new WindowState[20];
379 final ArrayList<WindowState> mDestroySurface = new ArrayList<WindowState>();
385 ArrayList<WindowState> mLosingFocus = new ArrayList<WindowState>();
391 ArrayList<WindowState> mForceRemoves;
396 ArrayList<Pair<WindowState, IRemoteCallback>> mWaitingForDrawn
397 = new ArrayList<Pair<WindowState, IRemoteCallback>>();
403 final ArrayList<WindowState> mRelayoutWhileAnimating = new ArrayList<WindowState>();
[all …]
DAppWindowToken.java99 WindowState startingWindow;
121 WindowState win = allAppWindows.get(i); in sendAppVisibilityToClients()
149 WindowState win = allAppWindows.get(i); in updateReportedVisibilityLocked()
218 WindowState findMainWindow() { in findMainWindow()
222 WindowState win = windows.get(j); in findMainWindow()
234 WindowState win = allAppWindows.get(i); in isVisible()
DWindowState.java62 class WindowList extends ArrayList<WindowState> {
68 final class WindowState implements WindowManagerPolicy.WindowState { class
89 final WindowState mAttachedWindow;
306 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, in WindowState() method in WindowState
307 WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState()
318 WindowState.this.registerFocusObserver(observer); in WindowState()
322 WindowState.this.unregisterFocusObserver(observer); in WindowState()
326 return WindowState.this.isFocused(); in WindowState()
373 WindowState child = (WindowState)mAttachedWindow.mChildWindows.get(i); in WindowState()
414 WindowState appWin = this; in WindowState()
[all …]
DWindowAnimator.java58 WindowState mWindowDetachedWallpaper = null;
124 void hideWallpapersLocked(final WindowState w) { in hideWallpapersLocked()
125 final WindowState wallpaperTarget = mService.mWallpaperTarget; in hideWallpapersLocked()
126 final WindowState lowerWallpaperTarget = mService.mLowerWallpaperTarget; in hideWallpapersLocked()
135 final WindowState wallpaper = token.windows.get(j); in hideWallpapersLocked()
203 WindowState win = windows.get(i); in updateWindowsLocked()
285 final WindowState currentFocus = mService.mCurrentFocus; in updateWindowsLocked()
351 WindowState detachedWallpaper = null; in updateWallpaperLocked()
354 final WindowState win = windows.get(i); in updateWallpaperLocked()
DDisplayMagnifier.java140 public void onAppWindowTransitionLocked(WindowState windowState, int transition) { in onAppWindowTransitionLocked()
161 public void onWindowTransitionLocked(WindowState windowState, int transition) { in onWindowTransitionLocked()
216 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked()
395 private void populateTransformationMatrix(WindowState windowState, Matrix outMatrix) { in populateTransformationMatrix()
413 WindowState windowState = windowList.get(i); in getWindowsOnScreenLocked()
671 public WindowState mWindowState;
674 public static WindowStateInfo obtain(WindowState windowState) { in obtain()
DTaskStack.java266 final ArrayList<WindowState> resizingWindows = mService.mResizingWindows; in setBounds()
270 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in setBounds()
272 final WindowState win = windows.get(winNdx); in setBounds()
DWindowStateAnimator.java58 final WindowState mWin;
155 public WindowStateAnimator(final WindowState win) { in WindowStateAnimator()
765 WindowState c = mWin.mChildWindows.get(i); in destroySurfaceLocked()
852 final WindowState wallpaperTarget = mService.mWallpaperTarget; in computeShownFrameLocked()
1057 final WindowState w = mWin; in applyDecorRect()
1082 final WindowState w = mWin; in updateSurfaceWindowCrop()
1135 final WindowState w = mWin; in setSurfaceBoundariesLocked()
1206 final WindowState w = mWin; in prepareSurfaceLocked()
1437 WindowState c = mWin.mChildWindows.get(i); in performShowLocked()
DSession.java278 WindowState callingWin = mService.windowForClientLocked(null, window, false); in performDrag()
365 WindowState callingWin = mService.windowForClientLocked(null, window, false); in reportDropResult()
DDisplayContent.java389 final WindowState win = windows.get(i); in setTouchExcludeRegion()
402 final WindowState win = windows.get(i); in switchUserStacks()
DAppWindowAnimator.java128 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()
137 private int computeStateLw(boolean wasVis, boolean wasAnim, WindowState win, boolean change) { in computeStateLw()
DPhoneWindowManager.java175 private WindowState mKeyguardScrim;
237 WindowState mStatusBar = null;
239 WindowState mNavigationBar = null;
247 WindowState mKeyguard = null;
253 WindowState mLastInputMethodWindow = null;
254 WindowState mLastInputMethodTargetWindow = null;
306 WindowState mFocusedWindow;
384 WindowState mTopFullscreenOpaqueWindowState;
401 private WindowState mWinDismissingKeyguard;
1556 public boolean doesForceHide(WindowState win, WindowManager.LayoutParams attrs) { in doesForceHide()
[all …]