Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java149 public interface WindowState { interface
290 public boolean getNeedsMenuLw(WindowState bottom); in getNeedsMenuLw()
716 public boolean canBeForceHidden(WindowState win, WindowManager.LayoutParams attrs); in canBeForceHidden()
721 public WindowState getWinShowWhenLockedLw(); in getWinShowWhenLockedLw()
781 public int prepareAddWindowLw(WindowState win, in prepareAddWindowLw()
790 public void removeWindowLw(WindowState win); in removeWindowLw()
804 public int selectAnimationLw(WindowState win, int transit); in selectAnimationLw()
887 public long interceptKeyBeforeDispatching(WindowState win, KeyEvent event, int policyFlags); in interceptKeyBeforeDispatching()
903 public KeyEvent dispatchUnhandledKey(WindowState win, KeyEvent event, int policyFlags); in dispatchUnhandledKey()
941 public void layoutWindowLw(WindowState win, WindowState attached); in layoutWindowLw()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowLayersController.java61 private ArrayDeque<WindowState> mPinnedWindows = new ArrayDeque<>();
62 private ArrayDeque<WindowState> mDockedWindows = new ArrayDeque<>();
63 private ArrayDeque<WindowState> mInputMethodWindows = new ArrayDeque<>();
64 private WindowState mDockDivider = null;
65 private ArrayDeque<WindowState> mReplacingWindows = new ArrayDeque<>();
76 final WindowState w = windows.get(i); in assignLayersLocked()
120 final WindowState imw = mService.mInputMethodWindow; in setInputMethodAnimLayerAdjustment()
126 final WindowState childWindow = imw.mChildWindows.get(i); in setInputMethodAnimLayerAdjustment()
133 final WindowState dialog = mService.mInputMethodDialogs.get(i); in setInputMethodAnimLayerAdjustment()
140 int getSpecialWindowAnimLayerAdjustment(WindowState win) { in getSpecialWindowAnimLayerAdjustment()
[all …]
DWallpaperController.java63 private WindowState mWallpaperTarget = null;
66 private WindowState mLowerWallpaperTarget = null;
69 private WindowState mUpperWallpaperTarget = null;
82 WindowState mWaitingOnWallpaper;
95 private WindowState mDeferredHideWallpaper = null;
110 WindowState getWallpaperTarget() { in getWallpaperTarget()
114 WindowState getLowerWallpaperTarget() { in getLowerWallpaperTarget()
118 WindowState getUpperWallpaperTarget() { in getUpperWallpaperTarget()
122 boolean isWallpaperTarget(WindowState win) { in isWallpaperTarget()
126 boolean isBelowWallpaperTarget(WindowState win) { in isBelowWallpaperTarget()
[all …]
DAppWindowToken.java120 WindowState startingWindow;
160 WindowState win = allAppWindows.get(i); in sendAppVisibilityToClients()
176 final WindowState w = allAppWindows.get(i); in setVisibleBeforeClientHidden()
181 void onFirstWindowDrawn(WindowState win, WindowStateAnimator winAnimator) { in onFirstWindowDrawn()
214 WindowState win = allAppWindows.get(i); in updateReportedVisibilityLocked()
284 WindowState findMainWindow() { in findMainWindow()
285 WindowState candidate = null; in findMainWindow()
289 WindowState win = windows.get(j); in findMainWindow()
312 WindowState win = allAppWindows.get(i); in isVisible()
345 final WindowState win = allAppWindows.get(i); in clearAnimatingFlags()
[all …]
DTask.java180 final ArrayList<WindowState> windows = mAppTokens.get(activityNdx).allAppWindows; in positionTaskInStack()
182 final WindowState win = windows.get(winNdx); in positionTaskInStack()
365 final ArrayList<WindowState> windows = mAppTokens.get(activityNdx).allAppWindows; in applyScrollToAllWindows()
367 final WindowState win = windows.get(winNdx); in applyScrollToAllWindows()
374 void applyScrollToWindowIfNeeded(final WindowState win) { in applyScrollToWindowIfNeeded()
462 final WindowState win = token.findMainWindow(); in getMaxVisibleBounds()
540 final ArrayList<WindowState> windows = mAppTokens.get(activityNdx).allAppWindows; in resetDragResizingChangeReported()
542 final WindowState win = windows.get(winNdx); in resetDragResizingChangeReported()
562 final ArrayList<WindowState> windows = mAppTokens.get(activityNdx).allAppWindows; in addWindowsWaitingForDrawnIfResizingChanged()
564 final WindowState win = windows.get(winNdx); in addWindowsWaitingForDrawnIfResizingChanged()
[all …]
DInputMonitor.java47 private WindowState mInputFocus;
87 WindowState windowState = (WindowState) inputWindowHandle.windowState; in notifyInputChannelBroken()
104 WindowState windowState = null; in notifyANR()
108 windowState = (WindowState) inputWindowHandle.windowState; in notifyANR()
180 final WindowState child, int flags, final int type, final boolean isVisible, in addInputWindowHandleLw()
294 final WindowState child = windows.get(winNdx); in updateInputWindowsLw()
416 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in interceptKeyBeforeDispatching()
425 WindowState windowState = focus != null ? (WindowState) focus.windowState : null; in dispatchUnhandledKey()
440 public void setInputFocusLw(WindowState newWindow, boolean updateInputWindows) { in setInputFocusLw()
DAccessibilityController.java158 public void onAppWindowTransitionLocked(WindowState windowState, int transition) { in onAppWindowTransitionLocked()
165 public void onWindowTransitionLocked(WindowState windowState, int transition) { in onWindowTransitionLocked()
203 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked()
215 private static void populateTransformationMatrixLocked(WindowState windowState, in populateTransformationMatrixLocked()
314 public void onAppWindowTransitionLocked(WindowState windowState, int transition) { in onAppWindowTransitionLocked()
335 public void onWindowTransitionLocked(WindowState windowState, int transition) { in onWindowTransitionLocked()
388 public MagnificationSpec getMagnificationSpecForWindowLocked(WindowState windowState) { in getMagnificationSpecForWindowLocked()
419 private final SparseArray<WindowState> mTempWindowStates =
420 new SparseArray<WindowState>();
499 SparseArray<WindowState> visibleWindows = mTempWindowStates; in recomputeBoundsLocked()
[all …]
DDragState.java101 WindowState mTargetWindow;
102 ArrayList<WindowState> mNotifiedWindows;
117 mNotifiedWindows = new ArrayList<WindowState>(); in DragState()
266 private void sendDragStartedLw(WindowState newWin, float touchX, float touchY, in sendDragStartedLw()
286 private boolean isValidDropTarget(WindowState targetWin) { in isValidDropTarget()
304 private boolean targetWindowSupportsGlobalDrag(WindowState targetWin) { in targetWindowSupportsGlobalDrag()
315 void sendDragStartedIfNeededLw(WindowState newWin) { in sendDragStartedIfNeededLw()
328 private boolean isWindowNotified(WindowState newWin) { in isWindowNotified()
329 for (WindowState ws : mNotifiedWindows) { in isWindowNotified()
343 for (WindowState ws : mNotifiedWindows) { in broadcastDragEndedLw()
[all …]
DWindowManagerService.java411 final HashMap<IBinder, WindowState> mWindowMap = new HashMap<>();
453 final ArrayList<WindowState> mResizingWindows = new ArrayList<>();
458 final ArrayList<WindowState> mPendingRemove = new ArrayList<>();
463 WindowState[] mPendingRemoveTmp = new WindowState[20];
468 final ArrayList<WindowState> mDestroySurface = new ArrayList<>();
475 final ArrayList<WindowState> mDestroyPreservedSurface = new ArrayList<>();
481 ArrayList<WindowState> mLosingFocus = new ArrayList<>();
487 final ArrayList<WindowState> mForceRemoves = new ArrayList<>();
492 ArrayList<WindowState> mWaitingForDrawn = new ArrayList<>();
502 WindowState[] mRebuildTmp = new WindowState[20];
[all …]
DWindowSurfacePlacer.java139 WindowState mHoldScreenWindow = null;
141 WindowState mObsuringWindow = null;
217 WindowState ws = mService.mForceRemoves.remove(0); in performSurfacePlacementLoop()
391 WindowState win = mService.mResizingWindows.get(i); in performSurfacePlacementInner()
421 WindowState win = mService.mDestroySurface.get(i); in performSurfacePlacementInner()
542 mService.mPendingRemoveTmp = new WindowState[N+10]; in performSurfacePlacementInner()
548 WindowState w = mService.mPendingRemoveTmp[i]; in performSurfacePlacementInner()
665 WindowState w = windows.get(i); in applySurfaceChangesTransaction()
686 WindowState w = windows.get(i); in applySurfaceChangesTransaction()
943 final WindowState win = windows.get(i); in performLayoutLockedInner()
[all …]
DDisplayContent.java27 import static com.android.server.wm.WindowState.RESIZE_HANDLE_WIDTH_IN_DP;
117 final ArrayList<WindowState> mTapExcludedWindows = new ArrayList<>();
309 final WindowState win = task.getTopVisibleAppMainWindow(); in taskIdFromPoint()
426 final WindowState inputMethod = mService.mInputMethodWindow; in setTouchExcludeRegion()
435 WindowState win = mTapExcludedWindows.get(i); in setTouchExcludeRegion()
452 final WindowState win = windows.get(i); in switchUserStacks()
646 WindowState getTouchableWinAtPointLocked(float xf, float yf) { in getTouchableWinAtPointLocked()
647 WindowState touchedWin = null; in getTouchableWinAtPointLocked()
652 WindowState window = mWindows.get(i); in getTouchableWinAtPointLocked()
DWindowAnimator.java97 WindowState mWindowDetachedWallpaper = null;
224 private boolean shouldForceHide(WindowState win) { in shouldForceHide()
225 final WindowState imeTarget = mService.mInputMethodTarget; in shouldForceHide()
230 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in shouldForceHide()
277 WindowState win = windows.get(i); in updateWindowsLocked()
311 WindowState wallpaper = null; in updateWindowsLocked()
314 WindowState win = windows.get(i); in updateWindowsLocked()
435 final WindowState currentFocus = mService.mCurrentFocus; in updateWindowsLocked()
564 WindowState detachedWallpaper = null; in updateWallpaperLocked()
567 final WindowState win = windows.get(i); in updateWallpaperLocked()
[all …]
DWindowState.java111 class WindowList extends ArrayList<WindowState> {
121 final class WindowState implements WindowManagerPolicy.WindowState { class
154 final WindowState mAttachedWindow;
470 WindowState mReplacingWindow = null;
515 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, in WindowState() method in WindowState
516 WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState()
527 WindowState.this.registerFocusObserver(observer); in WindowState()
531 WindowState.this.unregisterFocusObserver(observer); in WindowState()
535 return WindowState.this.isFocused(); in WindowState()
621 WindowState appWin = this; in WindowState()
[all …]
DWindowStateAnimator.java105 final WindowState mWin;
246 WindowStateAnimator(final WindowState win) { in WindowStateAnimator()
677 final WindowState w = mWin; in createSurfaceLocked()
797 private void calculateSurfaceBounds(WindowState w, LayoutParams attrs) { in calculateSurfaceBounds()
863 WindowState c = mWin.mChildWindows.get(i); in destroySurfaceLocked()
955 final WindowState wallpaperTarget = mWallpaperControllerLocked.getWallpaperTarget(); in computeShownFrameLocked()
1163 final WindowState w = mWin; in calculateSystemDecorRect()
1218 final WindowState w = mWin; in calculateSurfaceWindowCrop()
1330 private void adjustCropToStackBounds(WindowState w, Rect clipRect, Rect finalClipRect, in adjustCropToStackBounds()
1355 final WindowState winShowWhenLocked = (WindowState) mPolicy.getWinShowWhenLockedLw(); in adjustCropToStackBounds()
[all …]
DDockedStackDividerController.java105 private WindowState mWindow;
129 private WindowState mDelayedImeWin;
274 void setWindow(WindowState window) { in setWindow()
303 boolean animate, WindowState imeWin, int imeHeight) { in setAdjustedForIme()
592 boolean adjustedForIme, boolean adjustedForDivider, WindowState imeWin) { in startImeAdjustAnimation()
838 WindowState getWindow() { in getWindow()
DTaskPositioner.java33 import static com.android.server.wm.WindowState.MINIMUM_VISIBLE_HEIGHT_IN_DP;
34 import static com.android.server.wm.WindowState.MINIMUM_VISIBLE_WIDTH_IN_DP;
337 void startDragLocked(WindowState win, boolean resize, float startX, float startY) { in startDragLocked()
DWindowToken.java82 WindowState win = windows.get(winNdx); in removeAllWindows()
DTaskStack.java121 private WindowState mImeWin;
500 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in isAnimating()
860 void setAdjustedForIme(WindowState imeWin, boolean forceUpdate) { in setAdjustedForIme()
967 private boolean adjustForIME(final WindowState imeWin) { in adjustForIME()
1321 final ArrayList<WindowState> windows = activities.get(activityNdx).allAppWindows; in forceWindowsScaleable()
DSession.java303 WindowState callingWin = mService.windowForClientLocked(null, window, false); in performDrag()
406 WindowState callingWin = mService.windowForClientLocked(null, window, false); in reportDropResult()
DAppWindowAnimator.java242 final WindowState w = mAppToken.allAppWindows.get(i); in updateLayers()
/frameworks/base/services/core/java/com/android/server/policy/
DBarController.java26 import android.view.WindowManagerPolicy.WindowState;
57 protected WindowState mWin;
78 public void setWindow(WindowState win) { in setWindow()
120 public int applyTranslucentFlagLw(WindowState win, int vis, int oldVis) { in applyTranslucentFlagLw()
163 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.java274 private WindowState mKeyguardScrim;
359 WindowState mStatusBar = null;
361 WindowState mNavigationBar = null;
395 WindowState mLastInputMethodWindow = null;
396 WindowState mLastInputMethodTargetWindow = null;
484 WindowState mFocusedWindow;
567 WindowState mTopFullscreenOpaqueWindowState;
568 WindowState mTopFullscreenOpaqueOrDimmingWindowState;
569 WindowState mTopDockedOpaqueWindowState;
570 WindowState mTopDockedOpaqueOrDimmingWindowState;
[all …]
/frameworks/base/
Dcompiled-classes-phone4533 android.view.WindowManagerPolicy$WindowState