Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java126 public interface WindowState { interface
267 public boolean getNeedsMenuLw(WindowState bottom); in getNeedsMenuLw()
658 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); in canBeForceHidden()
663 public WindowState getWinShowWhenLockedLw(); in getWinShowWhenLockedLw()
721 public int prepareAddWindowLw(WindowState win, in prepareAddWindowLw()
730 public void removeWindowLw(WindowState win); in removeWindowLw()
744 public int selectAnimationLw(WindowState win, int transit); in selectAnimationLw()
827 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); in interceptKeyBeforeDispatching()
843 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); in dispatchUnhandledKey()
881 public void layoutWindowLw(WindowState win, WindowState attached); in layoutWindowLw()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java61 WindowState mTargetWindow;
62 ArrayList<WindowState> mNotifiedWindows;
76 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 …]
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()
266 final WindowState child = windows.get(winNdx); in updateInputWindowsLw()
374 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in interceptKeyBeforeDispatching()
383 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in dispatchUnhandledKey()
398 public void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw()
DWindowManagerService.java364 final HashMap<IBinder, WindowState> mWindowMap = new HashMap<>();
388 final ArrayList<WindowState> mResizingWindows = new ArrayList<>();
393 final ArrayList<WindowState> mPendingRemove = new ArrayList<>();
398 WindowState[] mPendingRemoveTmp = new WindowState[20];
403 final ArrayList<WindowState> mDestroySurface = new ArrayList<>();
409 ArrayList<WindowState> mLosingFocus = new ArrayList<>();
415 final ArrayList<WindowState> mForceRemoves = new ArrayList<>();
420 ArrayList<WindowState> mWaitingForDrawn = new ArrayList<>();
430 WindowState[] mRebuildTmp = new WindowState[20];
541 WindowState mCurrentFocus = null;
[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()
374 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked()
401 private final SparseArray<WindowState> mTempWindowStates =
402 new SparseArray<WindowState>();
479 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()
279 WindowState win = allAppWindows.get(winNdx); in removeAllWindows()
DWindowAnimator.java82 WindowState mWindowDetachedWallpaper = null;
191 private boolean shouldForceHide(WindowState win) { in shouldForceHide()
192 final WindowState imeTarget = mService.mInputMethodTarget; in shouldForceHide()
197 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in shouldForceHide()
228 WindowState win = windows.get(i); in updateWindowsLocked()
260 WindowState wallpaper = null; in updateWindowsLocked()
262 WindowState win = windows.get(i); in updateWindowsLocked()
395 final WindowState currentFocus = mService.mCurrentFocus; in updateWindowsLocked()
521 WindowState detachedWallpaper = null; in updateWallpaperLocked()
524 final WindowState win = windows.get(i); in updateWallpaperLocked()
DWindowState.java72 class WindowList extends ArrayList<WindowState> {
78 final class WindowState implements WindowManagerPolicy.WindowState { class
99 final WindowState mAttachedWindow;
370 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, in WindowState() method in WindowState
371 WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState()
382 WindowState.this.registerFocusObserver(observer); in WindowState()
386 WindowState.this.unregisterFocusObserver(observer); in WindowState()
390 return WindowState.this.isFocused(); in WindowState()
476 WindowState appWin = this; in WindowState()
542 final WindowState imeWin = mService.mInputMethodWindow; in computeFrameLw()
[all …]
DTaskStack.java119 final ArrayList<WindowState> resizingWindows = mService.mResizingWindows; in resizeWindows()
123 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in resizeWindows()
125 final WindowState win = windows.get(winNdx); in resizeWindows()
270 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in isAnimating()
DWindowToken.java79 WindowState win = windows.get(winNdx); in removeAllWindows()
DWindowStateAnimator.java72 final WindowState mWin;
191 WindowStateAnimator(final WindowState win) { in WindowStateAnimator()
769 final WindowState w = mWin; in createSurfaceLocked()
952 WindowState c = mWin.mChildWindows.get(i); in destroySurfaceLocked()
1039 final WindowState wallpaperTarget = mService.mWallpaperTarget; in computeShownFrameLocked()
1241 final WindowState w = mWin; in applyDecorRect()
1272 final WindowState w = mWin; in updateSurfaceWindowCrop()
1349 final WindowState w = mWin; in setSurfaceBoundariesLocked()
1448 final WindowState w = mWin; in prepareSurfaceLocked()
1728 WindowState c = mWin.mChildWindows.get(i); in performShowLocked()
DDisplayContent.java239 final WindowState win = windows.get(i); in setTouchExcludeRegion()
256 final WindowState win = windows.get(i); in switchUserStacks()
DSession.java286 WindowState callingWin = mService.windowForClientLocked(null, window, false); in performDrag()
377 WindowState callingWin = mService.windowForClientLocked(null, window, false); in reportDropResult()
DAppWindowAnimator.java197 final WindowState w = mAppToken.allAppWindows.get(i); in updateLayers()
/frameworks/base/services/core/java/com/android/server/policy/
DBarController.java27 import android.view.WindowManagerPolicy.WindowState;
56 private WindowState mWin;
76 public void setWindow(WindowState win) { in setWindow()
118 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw()
157 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.java226 private WindowState mKeyguardScrim;
307 WindowState mStatusBar = null;
309 WindowState mNavigationBar = null;
336 WindowState mLastInputMethodWindow = null;
337 WindowState mLastInputMethodTargetWindow = null;
414 WindowState mFocusedWindow;
489 WindowState mTopFullscreenOpaqueWindowState;
490 WindowState mTopFullscreenOpaqueOrDimmingWindowState;
509 private WindowState mWinDismissingKeyguard;
521 private WindowState mWinShowWhenLocked;
[all …]