/frameworks/base/core/java/android/window/ |
D | TaskFragmentParentInfo.java | 34 private final int mDisplayId; field in TaskFragmentParentInfo 41 mDisplayId = displayId; in TaskFragmentParentInfo() 47 mDisplayId = info.mDisplayId; in TaskFragmentParentInfo() 62 return mDisplayId; in getDisplayId() 82 return getWindowingMode() == that.getWindowingMode() && mDisplayId == that.mDisplayId in equalsForTaskFragmentOrganizer() 95 + ", displayId=" + mDisplayId in toString() 116 && mDisplayId == that.mDisplayId in equals() 123 result = 31 * result + mDisplayId; in hashCode() 131 dest.writeInt(mDisplayId); in writeToParcel() 137 mDisplayId = in.readInt(); in TaskFragmentParentInfo()
|
D | WindowInfosListener.java | 76 public final int mDisplayId; field in WindowInfosListener.DisplayInfo 89 mDisplayId = displayId; in DisplayInfo() 96 return "displayId=" + mDisplayId in toString()
|
/frameworks/base/core/java/android/service/games/ |
D | GameSessionViewHostConfiguration.java | 52 final int mDisplayId; field in GameSessionViewHostConfiguration 57 this.mDisplayId = displayId; in GameSessionViewHostConfiguration() 69 dest.writeInt(mDisplayId); in writeToParcel() 79 return mDisplayId == that.mDisplayId && mWidthPx == that.mWidthPx in equals() 85 return Objects.hash(mDisplayId, mWidthPx, mHeightPx); in hashCode() 91 + "mDisplayId=" + mDisplayId in toString()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 42 private final int mDisplayId; field in DisplayFoldController 62 mDisplayId = displayId; in DisplayFoldController() 98 mDisplayId, mNonOverrideDisplayInfo); in setDeviceFolded() 105 mDisplayManagerInternal.setDisplayScalingDisabled(mDisplayId, true); in setDeviceFolded() 106 mWindowManagerInternal.setForcedDisplaySize(mDisplayId, in setDeviceFolded() 108 mDisplayManagerInternal.setDisplayOffsets(mDisplayId, -dx, -dy); in setDeviceFolded() 110 mDisplayManagerInternal.setDisplayScalingDisabled(mDisplayId, false); in setDeviceFolded() 111 mWindowManagerInternal.clearForcedDisplaySize(mDisplayId); in setDeviceFolded() 112 mDisplayManagerInternal.setDisplayOffsets(mDisplayId, 0, 0); in setDeviceFolded() 123 mListeners.getBroadcastItem(i).onDisplayFoldChanged(mDisplayId, folded); in setDeviceFolded() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayInsetsController.java | 113 private final int mDisplayId; field in DisplayInsetsController.PerDisplay 118 mDisplayId = displayId; in PerDisplay() 123 mWmService.setDisplayWindowInsetsController(mDisplayId, mInsetsControllerImpl); in register() 125 Slog.w(TAG, "Unable to set insets controller on display " + mDisplayId); in register() 131 mWmService.setDisplayWindowInsetsController(mDisplayId, null); in unregister() 133 Slog.w(TAG, "Unable to remove insets controller on display " + mDisplayId); in unregister() 138 CopyOnWriteArrayList<OnInsetsChangedListener> listeners = mListeners.get(mDisplayId); in insetsChanged() 142 mDisplayController.updateDisplayInsets(mDisplayId, insetsState); in insetsChanged() 150 CopyOnWriteArrayList<OnInsetsChangedListener> listeners = mListeners.get(mDisplayId); in insetsControlChanged() 160 CopyOnWriteArrayList<OnInsetsChangedListener> listeners = mListeners.get(mDisplayId); in showInsets() [all …]
|
D | SystemWindows.java | 208 final int mDisplayId; field in SystemWindows.PerDisplay 212 mDisplayId = displayId; in PerDisplay() 222 final Display display = mDisplayController.getDisplay(mDisplayId); in addView() 239 rootSurface = mWmService.addShellRoot(mDisplayId, win, shellRootLayer); in addRoot() 246 Context displayContext = mDisplayController.getDisplayContext(mDisplayId); in addRoot() 247 wwm = new SysUiWindowManager(mDisplayId, displayContext, rootSurface, win); in addRoot() 267 mWmService.setShellRootAccessibilityWindow(mDisplayId, shellRootLayer, in setShellRootAccessibilityWindow() 270 Slog.e(TAG, "Error setting accessibility window for " + mDisplayId + ":" in setShellRootAccessibilityWindow() 286 final int mDisplayId; field in SystemWindows.SysUiWindowManager 294 mDisplayId = displayId; in SysUiWindowManager()
|
D | DisplayImeController.java | 210 final int mDisplayId; field in DisplayImeController.PerDisplay 222 mDisplayId = displayId; in PerDisplay() 227 mDisplayInsetsController.addInsetsChangedListener(mDisplayId, this); in register() 231 mDisplayInsetsController.removeInsetsChangedListener(mDisplayId, this); in unregister() 273 dispatchImeControlTargetChanged(mDisplayId, hasImeSourceControl); in insetsControlChanged() 348 mWmService.updateDisplayWindowRequestedVisibilities(mDisplayId, in setVisibleDirectly() 368 return frame.height() <= mDisplayController.getDisplayLayout(mDisplayId) in calcIsFloating() 383 final int floatingInset = (int) (mDisplayController.getDisplayLayout(mDisplayId) in startAnimation() 435 dispatchPositionChanged(mDisplayId, imeTop(value), t); in startAnimation() 448 Slog.d(TAG, "onAnimationStart d:" + mDisplayId + " top:" in startAnimation() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ContentRecordingSession.java | 60 private int mDisplayId = INVALID_DISPLAY; field in ContentRecordingSession 160 this.mDisplayId = displayId; in ContentRecordingSession() 184 return mDisplayId; in getDisplayId() 213 mDisplayId = value; in setDisplayId() 257 "displayId = " + mDisplayId + ", " + in toString() 276 && mDisplayId == that.mDisplayId in equals() 288 _hash = 31 * _hash + mDisplayId; in hashCode() 303 dest.writeInt(mDisplayId); in writeToParcel() 324 this.mDisplayId = displayId; in ContentRecordingSession() 363 private int mDisplayId; field in ContentRecordingSession.Builder [all …]
|
D | VerifiedInputEvent.java | 59 private int mDisplayId; field in VerifiedInputEvent 68 mDisplayId = displayId; in VerifiedInputEvent() 79 mDisplayId = in.readInt(); in VerifiedInputEvent() 117 return mDisplayId; in getDisplayId() 127 dest.writeInt(mDisplayId); in writeToParcel()
|
/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/accessibilityservice/ |
D | TouchInteractionController.java | 103 private final int mDisplayId; field in TouchInteractionController 118 mDisplayId = displayId; in TouchInteractionController() 250 connection.setServiceDetectsGesturesEnabled(mDisplayId, mode); in setServiceDetectsGestures() 271 connection.requestTouchExploration(mDisplayId); in requestTouchExploration() 300 connection.requestDragging(mDisplayId, pointerId); in requestDragging() 322 connection.requestDelegating(mDisplayId); in requestDelegating() 345 connection.onDoubleTap(mDisplayId); in performClick() 367 connection.onDoubleTapAndHold(mDisplayId); in performLongClickAndStartDrag() 392 return mDisplayId; in getDisplayId()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskContainer.java | 63 private int mDisplayId; field in TaskContainer 92 mDisplayId = taskProperties.getDisplayId(); in TaskContainer() 103 return mDisplayId; in getDisplayId() 118 return new TaskProperties(mDisplayId, mConfiguration); in getTaskProperties() 123 mDisplayId = info.getDisplayId(); in updateTaskFragmentParentInfo() 228 private final int mDisplayId; field in TaskContainer.TaskProperties 233 mDisplayId = displayId; in TaskProperties() 238 return mDisplayId; in getDisplayId()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowListenerController.java | 47 displayIds.add(displayContent.mDisplayId); in registerListener() 61 mDisplayListeners.getBroadcastItem(i).onDisplayAdded(display.mDisplayId); in dispatchDisplayAdded() 94 mDisplayListeners.getBroadcastItem(i).onDisplayRemoved(display.mDisplayId); in dispatchDisplayRemoved() 106 display.mDisplayId, newRotation); in dispatchFixedRotationStarted() 117 mDisplayListeners.getBroadcastItem(i).onFixedRotationFinished(display.mDisplayId); in dispatchFixedRotationFinished() 129 mDisplayListeners.getBroadcastItem(i).onKeepClearAreasChanged(display.mDisplayId, in dispatchKeepClearAreasChanged()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationController.java | 791 private final int mDisplayId; field in MagnificationController.DisableMagnificationCallback 803 mDisplayId = displayId; in DisableMagnificationCallback() 821 setTransitionState(mDisplayId, null); in onResult() 835 && !screenMagnificationController.isMagnifying(mDisplayId)) { in onResult() 840 .setScale(screenMagnificationController.getScale(mDisplayId)) in onResult() 841 .setCenterX(screenMagnificationController.getCenterX(mDisplayId)) in onResult() 842 .setCenterY(screenMagnificationController.getCenterY(mDisplayId)); in onResult() 843 screenMagnificationController.getMagnificationRegion(mDisplayId, in onResult() 845 mAms.notifyMagnificationChanged(mDisplayId, region, configBuilder.build()); in onResult() 848 updateMagnificationButton(mDisplayId, mTargetMode); in onResult() [all …]
|
D | FullScreenMagnificationGestureHandler.java | 217 mDisplayId, AccessibilityManagerService.MAGNIFICATION_GESTURE_HANDLER_ID); in onDestroy() 223 boolean wasMagnifying = mFullScreenMagnificationController.resetIfNeeded(mDisplayId, in handleShortcutTriggered() 350 mFullScreenMagnificationController.persistScale(mDisplayId); in persistScaleAndTransitionTo() 365 mFullScreenMagnificationController.offsetMagnifiedRegion(mDisplayId, distanceX, in onScroll() 381 final float initialScale = mFullScreenMagnificationController.getScale(mDisplayId); in onScale() 403 mFullScreenMagnificationController.setScale(mDisplayId, scale, pivotX, pivotY, false, in onScale() 464 mDisplayId, eventX, eventY)) { in onMotionEvent() 465 mFullScreenMagnificationController.setCenter(mDisplayId, eventX, eventY, in onMotionEvent() 614 mDisplayId, event.getX(), event.getY())) { in onMotionEvent() 631 || mFullScreenMagnificationController.isMagnifying(mDisplayId)) { in onMotionEvent() [all …]
|
D | PanningScalingHandler.java | 58 private final int mDisplayId; field in PanningScalingHandler 69 mDisplayId = context.getDisplayId(); in PanningScalingHandler() 100 return mMagnificationDelegate.processScroll(mDisplayId, distanceX, distanceY); in onScroll() 121 final float initialScale = mMagnificationDelegate.getScale(mDisplayId); in onScale() 138 mMagnificationDelegate.setScale(mDisplayId, scale); in onScale()
|
D | FullScreenMagnificationController.java | 131 private final int mDisplayId; field in FullScreenMagnificationController.DisplayMagnification 137 mDisplayId = displayId; in DisplayMagnification() 138 mSpecAnimationBridge = new SpecAnimationBridge(mControllerCtx, mLock, mDisplayId); in DisplayMagnification() 151 "displayID=" + mDisplayId + ";callback=" + this); in register() 154 mDisplayId, this); in register() 156 Slog.w(LOG_TAG, "set magnification callbacks fail, displayId:" + mDisplayId); in register() 162 "displayID=" + mDisplayId + ";region=" + mMagnificationRegion); in register() 166 mDisplayId, mMagnificationRegion); in register() 186 "displayID=" + mDisplayId + ";callback=null"); in unregister() 189 mDisplayId, null); in unregister() [all …]
|
D | WindowMagnificationGestureHandler.java | 161 mWindowMagnificationMgr.disableWindowMagnification(mDisplayId, true); in onDestroy() 191 mWindowMagnificationMgr.getPersistedScale(mDisplayId), MIN_SCALE, MAX_SCALE); in enableWindowMagnifier() 192 mWindowMagnificationMgr.enableWindowMagnification(mDisplayId, scale, centerX, centerY, in enableWindowMagnifier() 200 mWindowMagnificationMgr.disableWindowMagnification(mDisplayId, false); in disableWindowMagnifier() 205 if (mWindowMagnificationMgr.isWindowMagnifierEnabled(mDisplayId)) { in toggleMagnification() 233 mWindowMagnificationMgr.disableWindowMagnification(mDisplayId, true); in releaseTripleTapAndHold() 321 mWindowMagnificationMgr.persistScale(mDisplayId); in onExit() 391 mWindowMagnificationMgr.moveWindowMagnification(mDisplayId, offsetX, in onMotionEvent() 483 return !mWindowMagnificationMgr.isWindowMagnifierEnabled(mDisplayId) in shouldStopDetection() 499 && mWindowMagnificationMgr.pointersInWindow(mDisplayId, motionEvent) > 0) { in onGestureCompleted() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | GenericWindowPolicyController.java | 108 private int mDisplayId = Display.INVALID_DISPLAY; field in GenericWindowPolicyController 176 mDisplayId = displayId; in setDisplayId() 200 mActivityBlockedCallback.onActivityBlocked(mDisplayId, aInfo); in canContainActivities() 222 mActivityBlockedCallback.onActivityBlocked(mDisplayId, activityInfo); in canActivityBeLaunched() 232 mActivityBlockedCallback.onActivityBlocked(mDisplayId, activityInfo); in canActivityBeLaunched() 239 mActivityBlockedCallback.onActivityBlocked(mDisplayId, activityInfo); in canActivityBeLaunched() 254 mHandler.post(() -> mSecureWindowCallback.onSecureWindowShown(mDisplayId, in keepActivityOnWindowFlagsChanged() 259 mActivityBlockedCallback.onActivityBlocked(mDisplayId, activityInfo); in keepActivityOnWindowFlagsChanged() 273 mActivityListener.onTopActivityChanged(mDisplayId, topActivity)); in onTopActivityChanged() 284 mHandler.post(() -> mActivityListener.onDisplayEmpty(mDisplayId)); in onRunningAppsChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | LightsOutNotifControllerTest.java | 71 private int mDisplayId; field in LightsOutNotifControllerTest 78 mDisplayId = mContext.getDisplayId(); in setUp() 81 when(mDisplay.getDisplayId()).thenReturn(mDisplayId); in setUp() 105 mDisplayId /* display id */, in testAreLightsOut_lightsOut() 119 mDisplayId /* display id */, in testAreLightsOut_lightsOn() 151 mDisplayId /* display id */, in testLightsOut_withNotifs_onSystemBarAttributesChanged() 172 mDisplayId /* display id */, in testLightsOut_withoutNotifs_onSystemBarAttributesChanged() 193 mDisplayId /* display id */, in testLightsOn_afterLightsOut_onSystemBarAttributesChanged()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 118 dump += StringPrintf(INDENT3 "DisplayId: %s\n", toString(mDisplayId).c_str()); in dump() 209 mDisplayId = ADISPLAY_ID_NONE; in configure() 215 mDisplayId = mismatchedPointerDisplay ? std::nullopt in configure() 219 mDisplayId = mPointerController->getDisplayId(); in configure() 231 if (!isOrientedDevice && mDisplayId && in configure() 233 if (auto viewport = config->getDisplayViewportById(*mDisplayId); viewport) { in configure() 298 if (!mDisplayId) { in sync() 392 mSource, *mDisplayId, policyFlags, lastButtonState, currentButtonState); in sync() 413 getDeviceId(), mSource, *mDisplayId, policyFlags, in sync() 425 *mDisplayId, policyFlags, motionEventAction, 0, 0, metaState, in sync() [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureContext.java | 115 private final int mDisplayId; field in ContentCaptureContext 137 mDisplayId = displayId; in ContentCaptureContext() 149 mDisplayId = Display.INVALID_DISPLAY; in ContentCaptureContext() 161 mDisplayId = original.mDisplayId; in ContentCaptureContext() 242 return mDisplayId; in getDisplayId() 358 pw.print(", displayId="); pw.print(mDisplayId); in dump() 383 .append(", displayId=").append(mDisplayId) in toString() 413 parcel.writeInt(mDisplayId); in writeToParcel()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContextListenerControllerTests.java | 129 assertEquals(mDisplayContent.mDisplayId, clientToken.mDisplayId); in testRegisterWindowContextListenerClientConfigPropagation() 145 assertEquals(DEFAULT_DISPLAY, clientToken.mDisplayId); in testRegisterWindowContextListenerClientConfigPropagation() 156 assertEquals(mDisplayContent.mDisplayId, clientToken.mDisplayId); in testRegisterWindowContextListenerClientConfigPropagation() 279 assertThat(mockToken.mDisplayId).isEqualTo(mContainer.getDisplayContent().getDisplayId()); in testConfigUpdateForSuspendedWindowContext() 300 assertThat(clientToken.mDisplayId).isEqualTo(mDisplayContent.mDisplayId); in testReportConfigUpdateForSuspendedWindowProviderService() 305 private int mDisplayId; field in WindowContextListenerControllerTests.TestWindowTokenClient 311 mDisplayId = displayId; in onConfigurationChanged()
|
/frameworks/base/core/java/android/content/res/ |
D | ResourcesKey.java | 52 public int mDisplayId; field in ResourcesKey 81 mDisplayId = overrideDisplayId; in ResourcesKey() 91 hash = 31 * hash + Objects.hashCode(mDisplayId); in ResourcesKey() 163 if (mDisplayId != peer.mDisplayId) { in equals() 198 builder.append(" mDisplayId=").append(mDisplayId); in toString()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 56 mDisplayId(displayId), in VirtualDisplaySurface() 113 if (GpuVirtualDisplayId::tryCast(mDisplayId)) { in beginFrame() 127 if (GpuVirtualDisplayId::tryCast(mDisplayId)) { in prepareFrame() 175 if (GpuVirtualDisplayId::tryCast(mDisplayId)) { in advanceFrame() 206 const auto halDisplayId = HalVirtualDisplayId::tryCast(mDisplayId); in advanceFrame() 227 const auto halDisplayId = HalVirtualDisplayId::tryCast(mDisplayId); in onFrameCommitted() 291 if (GpuVirtualDisplayId::tryCast(mDisplayId)) { in requestBuffer() 313 LOG_ALWAYS_FATAL_IF(GpuVirtualDisplayId::tryCast(mDisplayId).has_value()); in dequeueBuffer() 365 if (GpuVirtualDisplayId::tryCast(mDisplayId)) { in dequeueBuffer() 451 if (GpuVirtualDisplayId::tryCast(mDisplayId)) { in queueBuffer() [all …]
|