Lines Matching refs:displayId

104     void addDisplayLocked(final int displayId) {
106 getDisplayContentsAnimatorLocked(displayId);
107 if (displayId == Display.DEFAULT_DISPLAY) {
112 void removeDisplayLocked(final int displayId) {
113 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId);
121 mDisplayContentsAnimators.delete(displayId);
153 private void updateAppWindowsLocked(int displayId) {
154 final DisplayContent displayContent = mService.getDisplayContentLocked(displayId);
194 private void updateWindowsLocked(final int displayId) {
197 final WindowList windows = mService.getWindowListLocked(displayId);
232 setPendingLayoutChanges(displayId,
236 getPendingLayoutChanges(displayId));
312 setPendingLayoutChanges(displayId,
316 getPendingLayoutChanges(displayId));
347 private void updateWallpaperLocked(int displayId) {
348 mService.getDisplayContentLocked(displayId).resetAnimationBackgroundAnimator();
350 final WindowList windows = mService.getWindowListLocked(displayId);
408 private void testTokenMayBeDrawnLocked(int displayId) {
411 final ArrayList<Task> tasks = mService.getDisplayContentLocked(displayId).getTasks();
452 private void performAnimationsLocked(final int displayId) {
453 updateWindowsLocked(displayId);
454 updateWallpaperLocked(displayId);
479 final int displayId = mDisplayContentsAnimators.keyAt(i);
480 updateAppWindowsLocked(displayId);
497 performAnimationsLocked(displayId);
499 final WindowList windows = mService.getWindowListLocked(displayId);
507 final int displayId = mDisplayContentsAnimators.keyAt(i);
509 testTokenMayBeDrawnLocked(displayId);
517 mAnimating |= mService.getDisplayContentLocked(displayId).animateDimLayers();
520 if (mService.mDisplayMagnifier != null && displayId == Display.DEFAULT_DISPLAY) {
644 int getPendingLayoutChanges(final int displayId) {
645 return mService.getDisplayContentLocked(displayId).pendingLayoutChanges;
648 void setPendingLayoutChanges(final int displayId, final int changes) {
649 mService.getDisplayContentLocked(displayId).pendingLayoutChanges |= changes;
657 final int displayId = windows.get(i).getDisplayId();
658 if (displays.indexOfKey(displayId) < 0) {
659 setPendingLayoutChanges(displayId, changes);
661 mService.debugLayoutRepeats(s, getPendingLayoutChanges(displayId));
664 displays.put(displayId, changes);
669 private DisplayContentsAnimator getDisplayContentsAnimatorLocked(int displayId) {
670 DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId);
673 mDisplayContentsAnimators.put(displayId, displayAnimator);
678 void setScreenRotationAnimationLocked(int displayId, ScreenRotationAnimation animation) {
679 getDisplayContentsAnimatorLocked(displayId).mScreenRotationAnimation = animation;
682 ScreenRotationAnimation getScreenRotationAnimationLocked(int displayId) {
683 return getDisplayContentsAnimatorLocked(displayId).mScreenRotationAnimation;