/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 125 mCurrent.mPreferredDisplayId = display.mDisplayId; in testUsesPreviousDisplayIdIfSet() 130 assertEquals(display.mDisplayId, mResult.mPreferredDisplayId); in testUsesPreviousDisplayIdIfSet() 140 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesSourcesDisplayIdIfSet() 147 assertEquals(fullscreenDisplay.mDisplayId, mResult.mPreferredDisplayId); in testUsesSourcesDisplayIdIfSet() 157 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesOptionsDisplayIdIfSet() 161 options.setLaunchDisplayId(fullscreenDisplay.mDisplayId); in testUsesOptionsDisplayIdIfSet() 166 assertEquals(fullscreenDisplay.mDisplayId, mResult.mPreferredDisplayId); in testUsesOptionsDisplayIdIfSet() 176 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesTasksDisplayIdPriorToSourceIfSet() 183 assertEquals(fullscreenDisplay.mDisplayId, mResult.mPreferredDisplayId); in testUsesTasksDisplayIdPriorToSourceIfSet() 195 assertEquals(freeformDisplay.mDisplayId, mResult.mPreferredDisplayId); in testUsesTaskDisplayIdIfSet() [all …]
|
D | WindowProcessControllerTests.java | 53 assertEquals(testActivityDisplay1.mDisplayId, wpc.getDisplayId()); in testDisplayConfigurationListener() 60 assertEquals(testActivityDisplay2.mDisplayId, wpc.getDisplayId()); in testDisplayConfigurationListener() 65 assertEquals(testActivityDisplay2.mDisplayId, wpc.getDisplayId()); in testDisplayConfigurationListener() 75 assertEquals(testActivityDisplay1.mDisplayId, wpc.getDisplayId()); in testDisplayConfigurationListener()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 46 private final int mDisplayId; field in DisplayFoldController 65 mDisplayId = displayId; in DisplayFoldController() 96 mDisplayManagerInternal.getNonOverrideDisplayInfo(mDisplayId, mNonOverrideDisplayInfo); in setDeviceFolded() 103 mDisplayManagerInternal.setDisplayScalingDisabled(mDisplayId, true); in setDeviceFolded() 104 mWindowManagerInternal.setForcedDisplaySize(mDisplayId, in setDeviceFolded() 106 mDisplayManagerInternal.setDisplayOffsets(mDisplayId, -dx, -dy); in setDeviceFolded() 108 mDisplayManagerInternal.setDisplayScalingDisabled(mDisplayId, false); in setDeviceFolded() 109 mWindowManagerInternal.clearForcedDisplaySize(mDisplayId); in setDeviceFolded() 110 mDisplayManagerInternal.setDisplayOffsets(mDisplayId, 0, 0); in setDeviceFolded() 119 mListeners.getBroadcastItem(i).onDisplayFoldChanged(mDisplayId, folded); in setDeviceFolded() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | SystemGestureExclusionListenerCompat.java | 31 private final int mDisplayId; field in SystemGestureExclusionListenerCompat 38 if (displayId == mDisplayId) { 46 mDisplayId = displayId; in SystemGestureExclusionListenerCompat() 62 mGestureExclusionListener, mDisplayId); in register() 78 mGestureExclusionListener, mDisplayId); in unregister()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureContext.java | 108 private final int mDisplayId; field in ContentCaptureContext 127 mDisplayId = displayId; in ContentCaptureContext() 138 mDisplayId = Display.INVALID_DISPLAY; in ContentCaptureContext() 149 mDisplayId = original.mDisplayId; in ContentCaptureContext() 220 return mDisplayId; in getDisplayId() 322 pw.print(", displayId="); pw.print(mDisplayId); in dump() 346 .append(", displayId=").append(mDisplayId) in toString() 376 parcel.writeInt(mDisplayId); in writeToParcel()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 43 public final int mDisplayId; field in ResourcesKey 65 mDisplayId = displayId; in ResourcesKey() 75 hash = 31 * hash + mDisplayId; in ResourcesKey() 134 if (mDisplayId != peer.mDisplayId) { in equals() 166 builder.append(" mDisplayId=").append(mDisplayId); in toString()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | StatusBarController.java | 40 statusBar.appTransitionPending(mDisplayId); 47 statusBar.appTransitionCancelled(mDisplayId); 54 statusBar.appTransitionFinished(mDisplayId); 69 statusBar.appTransitionStarting(mDisplayId,
|
D | InputMonitor.java | 75 private final int mDisplayId; field in InputMonitor 140 mDisplayId); 143 mDisplayId); 155 mDisplayId = displayId; in InputMonitor() 163 mService.mInputManager.onDisplayRemoved(mDisplayId); in onDisplayRemoved() 218 + ", display: " + mDisplayId); in createInputConsumer() 222 UserHandle.SYSTEM, mDisplayId); in createInputConsumer() 231 + ", display: " + mDisplayId); in createInputConsumer() 235 inputChannel, clientPid, clientUser, mDisplayId); in createInputConsumer() 359 mService.mInputManager.setFocusedApplication(mDisplayId, null); in setFocusedAppLw() [all …]
|
D | KeyguardController.java | 290 final KeyguardDisplayState state = getDisplay(display.mDisplayId); in visibilitiesUpdated() 414 updateKeyguardSleepToken(display.mDisplayId); in updateKeyguardSleepToken() 446 private final int mDisplayId; field in KeyguardController.KeyguardDisplayState 455 mDisplayId = displayId; in KeyguardDisplayState() 465 mSleepToken = mService.acquireSleepToken("keyguard", mDisplayId); in acquiredSleepToken() 495 if (mDisplayId != DEFAULT_DISPLAY) { in visibilitiesUpdated() 501 if (mDisplayId == DEFAULT_DISPLAY) { in visibilitiesUpdated() 506 controller.handleOccludedChanged(mDisplayId); in visibilitiesUpdated() 540 .append(mDisplayId); in dumpStatus() 546 proto.write(DISPLAY_ID, mDisplayId); in writeToProto()
|
D | RecentsAnimationController.java | 95 private final int mDisplayId; field in RecentsAnimationController 141 mService.mRoot.getDisplayContent(mDisplayId).mAppTransition 204 final DisplayContent dc = mService.mRoot.getDisplayContent(mDisplayId); 243 mService.mRoot.getDisplayContent(mDisplayId).getInputMonitor(); 312 mDisplayId = displayId; in RecentsAnimationController() 317 initialize(mService.mRoot.getDisplayContent(mDisplayId), targetActivityType, recentTaskIds); in initialize() 443 final DisplayContent displayContent = mService.mRoot.getDisplayContent(mDisplayId); in startAnimation() 455 mService.getStableInsets(mDisplayId, mTmpRect); in startAnimation() 592 mService.mRoot.getDisplayContent(mDisplayId).getInputMonitor(); in cleanupAnimation() 599 mService.mRoot.getDisplayContent(mDisplayId) in cleanupAnimation() [all …]
|
D | ActivityDisplay.java | 98 int mDisplayId; field in ActivityDisplay 164 mDisplayId = display.getDisplayId(); in ActivityDisplay() 211 + " to displayId=" + mDisplayId + " position=" + position); in addChild() 219 + " from displayId=" + mDisplayId); in removeChild() 281 EventLogTags.writeAmFocusedStack(mRootActivityContainer.mCurrentUser, mDisplayId, in positionChildAt() 1051 .notifySizeCompatModeActivityChanged(mDisplayId, null /* activityToken */); in handleActivitySizeCompatModeIfNeeded() 1061 .notifySizeCompatModeActivityChanged(mDisplayId, r.appToken); in handleActivitySizeCompatModeIfNeeded() 1082 return "ActivityDisplay={" + mDisplayId + " numStacks=" + mStacks.size() + "}"; in toString() 1191 .getKeyguardController().onDisplayRemoved(mDisplayId); in releaseSelfIfNeeded() 1231 + mDisplayId); in setFocusedApp() [all …]
|
D | DisplayContent.java | 244 private final int mDisplayId; field in DisplayContent 900 mDisplayId = display.getDisplayId(); in DisplayContent() 906 isDefaultDisplay = mDisplayId == DEFAULT_DISPLAY; in DisplayContent() 907 mDisplayFrames = new DisplayFrames(mDisplayId, mDisplayInfo, in DisplayContent() 921 "PointerEventDispatcher" + mDisplayId, mDisplayId); in DisplayContent() 961 .setLayerStack(mWindowingLayer, mDisplayId) in DisplayContent() 964 .setLayerStack(mOverlayLayer, mDisplayId) in DisplayContent() 981 mWmService.mAnimator.addDisplayLocked(mDisplayId); in DisplayContent() 982 mInputMonitor = new InputMonitor(service, mDisplayId); in DisplayContent() 992 return mDisplayId; in getDisplayId() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 63 mDisplayId(displayId), in VirtualDisplaySurface() 123 if (!mDisplayId) { in beginFrame() 137 if (!mDisplayId) { in prepareFrame() 186 if (!mDisplayId) { in advanceFrame() 221 mHwc.setOutputBuffer(*mDisplayId, mOutputFence, outBuffer); in advanceFrame() 230 result = mHwc.setClientTarget(*mDisplayId, hwcSlot, mFbFence, hwcBuffer, in advanceFrame() 238 if (!mDisplayId) { in onFrameCommitted() 246 sp<Fence> retireFence = mHwc.getPresentFence(*mDisplayId); in onFrameCommitted() 301 if (!mDisplayId) { in requestBuffer() 324 LOG_FATAL_IF(!mDisplayId); in dequeueBuffer() [all …]
|
D | HWC2.cpp | 805 mDisplayId(displayId), in Layer() 814 auto intError = mComposer.destroyLayer(mDisplayId, mId); in ~Layer() 817 " failed: %s (%d)", mDisplayId, mId, to_string(error).c_str(), in ~Layer() 823 auto intError = mComposer.setCursorPosition(mDisplayId, mId, x, y); in setCursorPosition() 836 auto intError = mComposer.setLayerBuffer(mDisplayId, mId, slot, buffer, in setBuffer() 853 intError = mComposer.setLayerSurfaceDamage(mDisplayId, in setSurfaceDamage() 865 intError = mComposer.setLayerSurfaceDamage(mDisplayId, mId, hwcRects); in setSurfaceDamage() 874 auto intError = mComposer.setLayerBlendMode(mDisplayId, mId, intMode); in setBlendMode() 881 auto intError = mComposer.setLayerColor(mDisplayId, mId, hwcColor); in setColor() 889 mDisplayId, mId, intType); in setCompositionType() [all …]
|
D | FramebufferSurface.cpp | 58 mDisplayId(displayId), in FramebufferSurface() 142 status_t result = mHwc.setClientTarget(mDisplayId, outSlot, outFence, outBuffer, outDataspace); in nextBuffer() 160 sp<Fence> fence = mHwc.getPresentFence(mDisplayId); in onFrameCommitted()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MagnificationGestureHandler.java | 151 private final int mDisplayId; field in MagnificationGestureHandler 180 mDisplayId = displayId; in MagnificationGestureHandler() 266 boolean wasMagnifying = mMagnificationController.resetIfNeeded(mDisplayId, in notifyShortcutTriggered() 428 mMagnificationController.offsetMagnifiedRegion(mDisplayId, distanceX, in onScroll() 445 final float initialScale = mMagnificationController.getScale(mDisplayId); in onScale() 467 mMagnificationController.setScale(mDisplayId, scale, pivotX, pivotY, false, in onScale() 528 mDisplayId, eventX, eventY)) { in onMotionEvent() 529 mMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent() 668 mDisplayId, event.getX(), event.getY())) { in onMotionEvent() 685 || mMagnificationController.isMagnifying(mDisplayId)) { in onMotionEvent() [all …]
|
D | MagnificationController.java | 109 private final int mDisplayId; field in MagnificationController.DisplayMagnification 115 mDisplayId = displayId; in DisplayMagnification() 116 mSpecAnimationBridge = new SpecAnimationBridge(mControllerCtx, mLock, mDisplayId); in DisplayMagnification() 128 mDisplayId, this); in register() 130 Slog.w(LOG_TAG, "set magnification callbacks fail, displayId:" + mDisplayId); in register() 136 mDisplayId, mMagnificationRegion); in register() 154 mDisplayId, null); in unregister() 157 unregisterCallbackLocked(mDisplayId, delete); in unregister() 261 MagnificationController.this, mDisplayId, true); in onRotationChanged() 268 MagnificationController.this, mDisplayId, true); in onUserContextChanged() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoHideController.java | 53 int mDisplayId; field in AutoHideController 78 mDisplayId = context.getDisplayId(); in AutoHideController() 83 if (displayId == mDisplayId) { in onDisplayRemoved() 100 if (displayId != mDisplayId) { in setSystemUiVisibility() 121 mCommandQueue.setSystemUiVisibility(mDisplayId, mSystemUiVisibility, in setSystemUiVisibility() 134 mWindowManagerService.statusBarVisibilityChanged(mDisplayId, vis); in notifySystemUiVisibilityChanged()
|
D | LightBarTransitionsController.java | 63 private int mDisplayId; field in LightBarTransitionsController 83 mDisplayId = mContext.getDisplayId(); in LightBarTransitionsController() 104 if (mDisplayId != displayId || mKeyguardMonitor.isKeyguardGoingAway() && !forced) { in appTransitionPending() 112 if (mDisplayId != displayId) { in appTransitionCancelled() 126 if (mDisplayId != displayId || mKeyguardMonitor.isKeyguardGoingAway() && !forced) { in appTransitionStarting()
|
D | EdgeBackGestureHandler.java | 107 if (displayId == mDisplayId) { 117 private final int mDisplayId; field in EdgeBackGestureHandler 163 mDisplayId = context.getDisplayId(); in EdgeBackGestureHandler() 241 mGestureExclusionListener, mDisplayId); in updateIsEnabled() 255 mGestureExclusionListener, mDisplayId); in updateIsEnabled() 262 "edge-swipe", mDisplayId); in updateIsEnabled() 281 mEdgePanelLp.setTitle(TAG + mDisplayId); in updateIsEnabled() 428 if (displayId == mDisplayId) { in onDisplayChanged() 435 .getDisplay(mDisplayId) in updateDisplaySize()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 1271 private int mDisplayId; field in KeyEvent 1508 mDisplayId = INVALID_DISPLAY; in KeyEvent() 1533 mDisplayId = INVALID_DISPLAY; in KeyEvent() 1548 mDisplayId = origEvent.mDisplayId; in KeyEvent() 1575 mDisplayId = origEvent.mDisplayId; in KeyEvent() 1615 ev.mDisplayId = displayId; in obtain() 1652 ev.mDisplayId = other.mDisplayId; in obtain() 1740 mDisplayId = origEvent.mDisplayId; in KeyEvent() 1979 return mDisplayId; in getDisplayId() 1986 mDisplayId = displayId; in setDisplayId() [all …]
|
D | Display.java | 76 private final int mDisplayId; field in Display 431 mDisplayId = displayId; in Display() 456 return mDisplayId; in getDisplayId() 879 mGlobal.requestColorMode(mDisplayId, colorMode); in requestColorMode() 1102 return hasAccess(uid, mFlags, mOwnerUid, mDisplayId); in hasAccess() 1126 DisplayInfo newInfo = mGlobal.getDisplayInfo(mDisplayId); in updateDisplayInfoLocked() 1132 Log.d(TAG, "Logical display " + mDisplayId + " was removed."); in updateDisplayInfoLocked() 1141 Log.d(TAG, "Logical display " + mDisplayId + " was recreated."); in updateDisplayInfoLocked() 1164 return "Display id " + mDisplayId + ": " + mDisplayInfo in toString()
|
/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 42 jfieldID mDisplayId; member 84 jint displayId = env->GetIntField(eventObj, gKeyEventClassInfo.mDisplayId); in android_view_KeyEvent_toNative() 144 gKeyEventClassInfo.mDisplayId = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mDisplayId", in register_android_view_KeyEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeadZone.java | 61 private final int mDisplayId; field in DeadZone 73 mDisplayId = view.getContext().getDisplayId(); in DeadZone() 137 mNavBarController.touchAutoDim(mDisplayId); in onTouchEvent()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplay.java | 66 private final int mDisplayId; field in LogicalDisplay 110 mDisplayId = displayId; in LogicalDisplay() 121 return mDisplayId; in getDisplayIdLocked() 304 mBaseDisplayInfo.displayId = mDisplayId; in updateLocked() 534 pw.println("mDisplayId=" + mDisplayId); in dumpLocked()
|