/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 | 68 assertEquals(testActivityDisplay1.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 75 assertEquals(testActivityDisplay2.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 80 assertEquals(testActivityDisplay2.mDisplayId, mWpc.getDisplayId()); in testDisplayConfigurationListener() 90 assertEquals(testActivityDisplay1.mDisplayId, mWpc.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) { 48 mDisplayId = displayId; in SystemGestureExclusionListenerCompat() 82 mGestureExclusionListener, mDisplayId); in register() 98 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/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/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 | 295 final KeyguardDisplayState state = getDisplay(display.mDisplayId); in visibilitiesUpdated() 419 updateKeyguardSleepToken(display.mDisplayId); in updateKeyguardSleepToken() 451 private final int mDisplayId; field in KeyguardController.KeyguardDisplayState 460 mDisplayId = displayId; in KeyguardDisplayState() 470 mSleepToken = mService.acquireSleepToken("keyguard", mDisplayId); in acquiredSleepToken() 500 if (mDisplayId != DEFAULT_DISPLAY) { in visibilitiesUpdated() 506 if (mDisplayId == DEFAULT_DISPLAY) { in visibilitiesUpdated() 511 controller.handleOccludedChanged(mDisplayId); in visibilitiesUpdated() 545 .append(mDisplayId); in dumpStatus() 551 proto.write(DISPLAY_ID, mDisplayId); in writeToProto()
|
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 | 247 private final int mDisplayId; field in DisplayContent 905 mDisplayId = display.getDisplayId(); in DisplayContent() 911 isDefaultDisplay = mDisplayId == DEFAULT_DISPLAY; in DisplayContent() 912 mDisplayFrames = new DisplayFrames(mDisplayId, mDisplayInfo, in DisplayContent() 926 "PointerEventDispatcher" + mDisplayId, mDisplayId); in DisplayContent() 966 .setLayerStack(mWindowingLayer, mDisplayId) in DisplayContent() 969 .setLayerStack(mOverlayLayer, mDisplayId) in DisplayContent() 986 mWmService.mAnimator.addDisplayLocked(mDisplayId); in DisplayContent() 987 mInputMonitor = new InputMonitor(service, mDisplayId); in DisplayContent() 997 return mDisplayId; in getDisplayId() [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 | 112 if (displayId == mDisplayId) { 126 private final int mDisplayId; field in EdgeBackGestureHandler 176 mDisplayId = context.getDisplayId(); in EdgeBackGestureHandler() 260 mGestureExclusionListener, mDisplayId); in updateIsEnabled() 274 mGestureExclusionListener, mDisplayId); in updateIsEnabled() 281 "edge-swipe", mDisplayId); in updateIsEnabled() 300 mEdgePanelLp.setTitle(TAG + mDisplayId); in updateIsEnabled() 471 if (displayId == mDisplayId) { in onDisplayChanged() 478 .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() 1980 return mDisplayId; in getDisplayId() 1987 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()
|
D | ColorFade.java | 79 private final int mDisplayId; field in ColorFade 133 mDisplayId = displayId; in ColorFade() 153 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId); in prepare() 608 mDisplayId, mSurfaceControl); 741 private final int mDisplayId; 747 mDisplayId = displayId; 766 DisplayInfo displayInfo = mDisplayManagerInternal.getDisplayInfo(mDisplayId);
|