Home
last modified time | relevance | path

Searched refs:mDisplayId (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/
DUserPickerController.java100 private int mDisplayId; field in UserPickerController
189 + " displayId=" + mDisplayId); in onUserUpdate()
192 if (mUserPickerSharedState.getUserLoginStarted(mDisplayId) == userId) { in onUserUpdate()
195 + " displayId=" + mDisplayId); in onUserUpdate()
198 mUserPickerSharedState.resetUserLoginStarted(mDisplayId); in onUserUpdate()
208 int desiredState = mCarServiceMediator.getUserForDisplay(mDisplayId) != INVALID_USER_ID in updateHeaderState()
213 "Change HeaderState to " + desiredState + " for displayId=" + mDisplayId); in updateHeaderState()
237 mDisplayId = displayId; in init()
238 boolean isLoggedOutState = mCarServiceMediator.getUserForDisplay(mDisplayId) in init()
242 mUserEventManager.registerOnUpdateUsersListener(mUsersUpdateListener, mDisplayId); in init()
[all …]
DSnackbarManager.java39 private int mDisplayId; field in SnackbarManager
55 mDisplayId = context.getDisplayId(); in setRootView()
63 Slog.d(TAG, "showSnackBar: displayId=" + mDisplayId); in showSnackbar()
/packages/services/Car/car-lib/src/android/car/app/
DRemoteCarRootTaskViewConfig.java33 private final int mDisplayId; field in RemoteCarRootTaskViewConfig
38 mDisplayId = displayId; in RemoteCarRootTaskViewConfig()
44 return mDisplayId; in getDisplayId()
55 + " displayId=" + mDisplayId in toString()
66 private int mDisplayId; field in RemoteCarRootTaskViewConfig.Builder
76 mDisplayId = displayId; in setDisplayId()
94 return new RemoteCarRootTaskViewConfig(mDisplayId, mAllowListedActivities); in build()
DRemoteCarDefaultRootTaskViewConfig.java30 private final int mDisplayId; field in RemoteCarDefaultRootTaskViewConfig
37 mDisplayId = displayId; in RemoteCarDefaultRootTaskViewConfig()
45 return mDisplayId; in getDisplayId()
66 + " displayId=" + mDisplayId in toString()
79 private int mDisplayId; field in RemoteCarDefaultRootTaskViewConfig.Builder
90 mDisplayId = displayId; in setDisplayId()
97 return new RemoteCarDefaultRootTaskViewConfig(mDisplayId, mEmbedHomeTask, in build()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsManager.java63 private int mDisplayId = Display.INVALID_DISPLAY; field in CarUxRestrictionsManager
408 if (mDisplayId != Display.INVALID_DISPLAY) { in getDisplayId()
409 return mDisplayId; in getDisplayId()
415 mDisplayId = ContextHelper.getAssociatedDisplayId(getContext()); in getDisplayId()
416 Slog.d(TAG, "Context returns associated display ID " + mDisplayId); in getDisplayId()
418 if (mDisplayId == Display.INVALID_DISPLAY) { in getDisplayId()
421 mDisplayId = UserManagerHelper.getMainDisplayIdAssignedToUser(mUserManager); in getDisplayId()
422 Slog.d(TAG, "Display ID assigned to user is display " + mDisplayId); in getDisplayId()
425 if (mDisplayId == Display.INVALID_DISPLAY) { in getDisplayId()
426 mDisplayId = Display.DEFAULT_DISPLAY; in getDisplayId()
[all …]
/packages/services/Car/car-lib/src/android/car/user/
DUserStartRequest.java41 private final int mDisplayId; field in UserStartRequest
46 private int mDisplayId = Display.INVALID_DISPLAY; field in UserStartRequest.Builder
59 mDisplayId = displayId; in setDisplayId()
71 mDisplayId = builder.mDisplayId; in UserStartRequest()
96 return mDisplayId; in getDisplayId()
106 dest.writeInt(mDisplayId); in writeToParcel()
126 this.mDisplayId = displayId; in UserStartRequest()
/packages/apps/Car/systemlibs/car-scalable-ui-lib/src/com/android/car/scalableui/model/
DPanelState.java43 private int mDisplayId; field in PanelState
62 mDisplayId = DEFAULT_DISPLAY; in PanelState()
71 mDisplayId = other.mDisplayId; in PanelState()
217 return mDisplayId; in getDisplayId()
225 mDisplayId = displayId; in setDisplayId()
245 + ", mDisplayId=" + mDisplayId in toString()
263 private Integer mDisplayId; field in PanelState.Builder
280 mDisplayId = displayId; in setDisplayId()
313 if (mDisplayId != null) { in build()
314 panelState.setDisplayId(mDisplayId); in build()
/packages/services/Car/service/src/com/android/car/pm/
DWindowDumpParser.java79 private final int mDisplayId; field in WindowDumpParser.Window
84 mDisplayId = displayId; in Window()
93 return mDisplayId; in getDisplayId()
105 return mDisplayId == window.mDisplayId in equals()
112 return Objects.hash(mPackageName, mDisplayId, mActivityRecord); in hashCode()
119 + ", mDisplayId=" + mDisplayId in toString()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DSelfManagedVirtualDisplayView.java57 private int mDisplayId = Display.INVALID_DISPLAY; field in SelfManagedVirtualDisplayView
108 Log.d(TAG, "Starting user " + user.toFullString() + " on display " + mDisplayId); in switchUser()
111 .startUserInBackgroundVisibleOnDisplay(user.id, mDisplayId); in switchUser()
113 (started ? "Started" : "Failed to start"), user.id, mDisplayId); in switchUser()
116 "Error starting user %d on display %d", user.id, mDisplayId); in switchUser()
147 "Created virtual display with id %d", mDisplayId); in createDisplayAndToastMessage() local
157 mDisplayId = mVirtualDisplayView.createVirtualDisplay(); in createDisplay()
158 mDisplayIdEditText.setText(String.valueOf(mDisplayId)); in createDisplay()
161 return mDisplayId; in createDisplay()
179 mDisplayId = Display.INVALID_DISPLAY; in deleteDisplay()
DVirtualDisplayView.java97 private int mDisplayId = NO_DISPLAY_ID; field in VirtualDisplayView
133 if (mDisplayId == NO_DISPLAY_ID) { in onTouchEvent()
141 event.setDisplayId(mDisplayId); in onTouchEvent()
144 Log.v(TAG, "re-dispatching event after changing display id to " + mDisplayId); in onTouchEvent()
242 mDisplayId = displayId; in createVirtualDisplay()
284 writer.printf("%sDisplayId: %d%s\n", prefix, mDisplayId, in dump()
285 (mDisplayId == NO_DISPLAY_ID ? " (not set)" : "")); in dump()
293 Log.i(TAG, "Releasing display id " + mDisplayId); in releaseDisplay()
296 mDisplayId = NO_DISPLAY_ID; in releaseDisplay()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRotationTouchHelper.java68 private final int mDisplayId; field in RotationTouchHelper
88 if (displayId != mDisplayId) {
147 mDisplayId = DEFAULT_DISPLAY; in RotationTouchHelper()
154 mDisplayController.addChangeListenerForDisplay(this, mDisplayId); in RotationTouchHelper()
155 DisplayController.Info info = mDisplayController.getInfoForDisplay(mDisplayId); in RotationTouchHelper()
179 mDisplayController.removeChangeListenerForDisplay(this, mDisplayId); in RotationTouchHelper()
207 mDisplayController.getInfoForDisplay(mDisplayId), in updateGestureTouchRegions()
265 mDisplayController.getInfoForDisplay(mDisplayId), in onDisplayInfoChanged()
287 newGesturalHeight, mDisplayController.getInfoForDisplay(mDisplayId), in setGesturalHeight()
305 mDisplayController.getInfoForDisplay(mDisplayId)); in enableMultipleRegions()
[all …]
DSimpleOrientationTouchTransformer.java47 private final int mDisplayId; field in SimpleOrientationTouchTransformer
55 mDisplayId = DEFAULT_DISPLAY; in SimpleOrientationTouchTransformer()
56 displayController.addChangeListenerForDisplay(this, mDisplayId); in SimpleOrientationTouchTransformer()
58 () -> displayController.removeChangeListenerForDisplay(this, mDisplayId)); in SimpleOrientationTouchTransformer()
60 onDisplayInfoChanged(context, displayController.getInfoForDisplay(mDisplayId), CHANGE_ALL); in SimpleOrientationTouchTransformer()
DGestureState.java162 private final int mDisplayId; field in GestureState
196 mDisplayId = displayId; in GestureState()
206 mDisplayId = other.mDisplayId; in GestureState()
221 mDisplayId = Display.DEFAULT_DISPLAY; in GestureState()
296 return mDisplayId; in getDisplayId()
559 pw.println(prefix + "\tdisplayID=" + mDisplayId); in dump()
/packages/services/Car/libs/car-wm-shell-lib/tests/unittest/src/com/android/wm/shell/automotive/
DAutoDecorManagerTest.java56 private final int mDisplayId = 0; // Define display ID field in AutoDecorManagerTest
89 mAutoDecorManager.attachAutoDecorToDisplay(autoDecor, mDisplayId); in testAttachAutoDecorToDisplay()
99 mAutoDecorManager.attachAutoDecorToDisplay(autoDecor, mDisplayId); in testAttachAutoDecorToDisplay_alreadyAttached()
101 mAutoDecorManager.attachAutoDecorToDisplay(autoDecor, mDisplayId); in testAttachAutoDecorToDisplay_alreadyAttached()
108 mAutoDecorManager.attachAutoDecorToDisplay(autoDecor, mDisplayId); in testAttachAutoDecorToDisplay_deletedDecor()
111 mAutoDecorManager.attachAutoDecorToDisplay(autoDecor, mDisplayId); in testAttachAutoDecorToDisplay_deletedDecor()
118 mAutoDecorManager.attachAutoDecorToDisplay(autoDecor, mDisplayId); in testRemoveAutoDecor()
/packages/services/Car/cpp/evs/v4l2_hal/hidl/
DEvsGlDisplay.cpp38 mDisplayProxy(pDisplayProxy), mDisplayId(displayId) { in EvsGlDisplay()
73 mGlWrapper.hideWindow(mDisplayProxy, mDisplayId); in forceShutdown()
119 mGlWrapper.hideWindow(mDisplayProxy, mDisplayId); in setDisplayState()
122 mGlWrapper.showWindow(mDisplayProxy, mDisplayId); in setDisplayState()
170 if (!mGlWrapper.initialize(mDisplayProxy, mDisplayId)) { in getTargetBuffer()
264 mGlWrapper.showWindow(mDisplayProxy, mDisplayId); in returnTargetBufferForDisplay()
294 return mDisplayProxy->getDisplayInfo(mDisplayId, _info_cb); in getDisplayInfo_1_1()
/packages/apps/Settings/src/com/android/settings/connecteddevice/display/
DExternalDisplaySizePreference.java39 private int mDisplayId; field in ExternalDisplaySizePreference
45 mDisplayId = -1; in ExternalDisplaySizePreference()
58 && displayId == mDisplayId) return; in setStateForPreference()
61 mDisplayId = displayId; in setStateForPreference()
68 new DisplayDensityUtils(mContext, (info) -> info.displayId == mDisplayId)); in setStateForPreferenceInternal()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/input/
DDisplayInputSink.java50 private final int mDisplayId; field in DisplayInputSink
68 mDisplayId = display.getDisplayId(); in DisplayInputSink()
79 sb.setName("DisplayInputSink-" + mDisplayId) in createSurface()
113 mDisplayId, in createDisplayInputListener()
159 sb.append(mDisplayId) in toString()
/packages/services/Car/cpp/evs/v4l2_hal/aidl/src/
DEvsGlDisplay.cpp59 mDisplayId(displayId), mDisplayProxy(pDisplayProxy) { in EvsGlDisplay()
119 if (!mGlWrapper.initialize(mDisplayProxy, mDisplayId)) { in initializeGlContextLocked()
232 mGlWrapper.hideWindow(mDisplayProxy, mDisplayId); in renderFrames()
250 auto status = mDisplayProxy->getDisplayInfo(mDisplayId, &proxyDisplay); in getDisplayInfo()
291 mGlWrapper.hideWindow(mDisplayProxy, mDisplayId); in setDisplayState()
294 mGlWrapper.showWindow(mDisplayProxy, mDisplayId); in setDisplayState()
402 mGlWrapper.showWindow(mDisplayProxy, mDisplayId); in returnTargetBufferForDisplay()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMainClusterActivity.java131 public final int mDisplayId; field in MainClusterActivity.VirtualDisplay
136 mDisplayId = displayId; in VirtualDisplay()
175 if (displayId != mNavigationDisplay.mDisplayId) {
384 mService.setActivityLaunchOptions(virtualDisplay.mDisplayId, ClusterActivityState in reportNavDisplay()
385 .create(virtualDisplay.mDisplayId != Display.INVALID_DISPLAY, in reportNavDisplay()
439 mActivityMonitor.removeListener(mNavigationDisplay.mDisplayId, mNavigationActivityMonitor); in startNavigationActivity()
440 mActivityMonitor.addListener(virtualDisplay.mDisplayId, mNavigationActivityMonitor); in startNavigationActivity()
452 if (mNavigationDisplay.mDisplayId == NO_DISPLAY) { in tryLaunchNavigationActivity()
477 Log.d(TAG, "Launching: " + intent + " on display" + mNavigationDisplay.mDisplayId in tryLaunchNavigationActivity()
480 .setLaunchDisplayId(mNavigationDisplay.mDisplayId); in tryLaunchNavigationActivity()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/
DDistantDisplayForegroundTaskMap.java45 if (value.mDisplayId == displayId) last = value; in getTopTaskOnDisplay()
64 public int mDisplayId; field in DistantDisplayForegroundTaskMap.TaskData
70 mDisplayId = displayId; in TaskData()
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/
DDisplaySystemBarsController.java156 int mDisplayId; field in DisplaySystemBarsController.PerDisplay
165 mDisplayId = displayId; in PerDisplay()
179 mDisplayInsetsController.addInsetsChangedListener(mDisplayId, this); in register()
184 mDisplayInsetsController.removeInsetsChangedListener(mDisplayId, this); in unregister()
233 + ", display id = " + mDisplayId in topFocusedWindowChanged()
298 + " on display = " + mDisplayId); in registerOverlayChangeBroadcastReceiver()
338 mWmService.updateDisplayWindowRequestedVisibleTypes(mDisplayId, in updateDisplayWindowRequestedVisibleTypes()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DScreenPinnedInputConsumer.java39 private final int mDisplayId; field in ScreenPinnedInputConsumer
44 mDisplayId = gestureState.getDisplayId(); in ScreenPinnedInputConsumer()
68 return mDisplayId; in getDisplayId()
DDelegateInputConsumer.java20 private final int mDisplayId; field in DelegateInputConsumer
26 mDisplayId = displayId; in DelegateInputConsumer()
34 return mDisplayId; in getDisplayId()
DSysUiOverlayInputConsumer.java50 private final int mDisplayId; field in SysUiOverlayInputConsumer
58 mDisplayId = displayId; in SysUiOverlayInputConsumer()
71 return mDisplayId; in getDisplayId()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/
DCarSystemBarElementStatusBarDisableController.java122 int displayId = item.mDisplayId; in notifyDataItem()
136 int mDisplayId; field in CarSystemBarElementStatusBarDisableController.DataItem
146 mDisplayId = displayId; in DataItem()
155 if (mDisplayId != displayId) return false; in isAffectedByChange()

123