/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | MagnificationProcessor.java | 75 public @NonNull MagnificationConfig getMagnificationConfig(int displayId) { in getMagnificationConfig() argument 76 final int mode = getControllingMode(displayId); in getMagnificationConfig() 82 .setActivated(mController.isActivated(displayId, MAGNIFICATION_MODE_FULLSCREEN)) in getMagnificationConfig() 83 .setScale(fullScreenMagnificationController.getScale(displayId)) in getMagnificationConfig() 84 .setCenterX(fullScreenMagnificationController.getCenterX(displayId)) in getMagnificationConfig() 85 .setCenterY(fullScreenMagnificationController.getCenterY(displayId)); in getMagnificationConfig() 90 .setActivated(mController.isActivated(displayId, MAGNIFICATION_MODE_WINDOW)) in getMagnificationConfig() 91 .setScale(windowMagnificationManager.getScale(displayId)) in getMagnificationConfig() 92 .setCenterX(windowMagnificationManager.getCenterX(displayId)) in getMagnificationConfig() 93 .setCenterY(windowMagnificationManager.getCenterY(displayId)); in getMagnificationConfig() [all …]
|
D | MagnificationController.java | 143 void onResult(int displayId, boolean success); in onResult() argument 175 public void onPerformScaleAction(int displayId, float scale, boolean updatePersistence) { in onPerformScaleAction() argument 176 if (getFullScreenMagnificationController().isActivated(displayId)) { in onPerformScaleAction() 177 getFullScreenMagnificationController().setScaleAndCenter(displayId, scale, in onPerformScaleAction() 180 getFullScreenMagnificationController().persistScale(displayId); in onPerformScaleAction() 182 } else if (getWindowMagnificationMgr().isWindowMagnifierEnabled(displayId)) { in onPerformScaleAction() 183 getWindowMagnificationMgr().setScale(displayId, scale); in onPerformScaleAction() 185 getWindowMagnificationMgr().persistScale(displayId); in onPerformScaleAction() 191 public void onAccessibilityActionPerformed(int displayId) { in onAccessibilityActionPerformed() argument 192 updateMagnificationUIControls(displayId, ACCESSIBILITY_MAGNIFICATION_MODE_WINDOW); in onAccessibilityActionPerformed() [all …]
|
D | WindowMagnificationManager.java | 153 final int displayId = context.getDisplayId(); 154 removeMagnificationButton(displayId); 155 disableWindowMagnification(displayId, false, null); 172 void onPerformScaleAction(int displayId, float scale, boolean updatePersistence); in onPerformScaleAction() argument 179 void onAccessibilityActionPerformed(int displayId); in onAccessibilityActionPerformed() argument 187 void onWindowMagnificationActivationState(int displayId, boolean activated); in onWindowMagnificationActivationState() argument 195 void onSourceBoundsChanged(int displayId, Rect bounds); in onSourceBoundsChanged() argument 204 void onChangeMagnificationMode(int displayId, int magnificationMode); in onChangeMagnificationMode() argument 398 public void onRectangleOnScreenRequested(int displayId, int left, int top, int right, in onRectangleOnScreenRequested() argument 408 if (mIsImeVisibleArray.get(displayId, false) in onRectangleOnScreenRequested() [all …]
|
D | WindowMagnificationConnectionWrapper.java | 61 boolean enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() argument 67 "displayId=" + displayId + ";scale=" + scale + ";centerX=" + centerX in enableWindowMagnification() 73 mConnection.enableWindowMagnification(displayId, scale, centerX, centerY, in enableWindowMagnification() 85 boolean setScale(int displayId, float scale) { in setScale() argument 88 "displayId=" + displayId + ";scale=" + scale); in setScale() 91 mConnection.setScale(displayId, scale); in setScale() 101 boolean disableWindowMagnification(int displayId, in disableWindowMagnification() argument 106 "displayId=" + displayId + ";callback=" + callback); in disableWindowMagnification() 109 mConnection.disableWindowMagnification(displayId, in disableWindowMagnification() 120 boolean moveWindowMagnifier(int displayId, float offsetX, float offsetY) { in moveWindowMagnifier() argument [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.cpp | 48 #define LOG_DISPLAY_ERROR(displayId, msg) \ argument 49 ALOGE("%s failed for display %s: %s", __FUNCTION__, to_string(displayId).c_str(), msg) 51 #define LOG_HWC_ERROR(what, error, displayId) \ argument 53 to_string(displayId).c_str(), to_string(error).c_str(), static_cast<int32_t>(error)) 55 #define RETURN_IF_INVALID_DISPLAY(displayId, ...) \ argument 57 if (mDisplayData.count(displayId) == 0) { \ 58 LOG_DISPLAY_ERROR(displayId, "Invalid display"); \ 63 #define RETURN_IF_HWC_ERROR_FOR(what, error, displayId, ...) \ argument 66 LOG_HWC_ERROR(what, error, displayId); \ 71 #define RETURN_IF_HWC_ERROR(error, displayId, ...) \ argument [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayController.java | 92 public Display getDisplay(int displayId) { in getDisplay() argument 94 return displayManager.getDisplay(displayId); in getDisplay() 100 public @Nullable DisplayLayout getDisplayLayout(int displayId) { in getDisplayLayout() argument 101 final DisplayRecord r = mDisplays.get(displayId); in getDisplayLayout() 108 public @Nullable Context getDisplayContext(int displayId) { in getDisplayContext() argument 109 final DisplayRecord r = mDisplays.get(displayId); in getDisplayContext() 116 public InsetsState getInsetsState(int displayId) { in getInsetsState() argument 117 final DisplayRecord r = mDisplays.get(displayId); in getInsetsState() 124 public void updateDisplayInsets(int displayId, InsetsState state) { in updateDisplayInsets() argument 125 final DisplayRecord r = mDisplays.get(displayId); in updateDisplayInsets() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | FullScreenMagnificationControllerTest.java | 219 int displayId) { in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() argument 220 register(displayId); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 225 assertEquals(expectedInitialSpec, getCurrentMagnificationSpec(displayId)); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 226 mFullScreenMagnificationController.getMagnificationRegion(displayId, initialMagRegion); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 227 mFullScreenMagnificationController.getMagnificationBounds(displayId, initialBounds); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 231 mFullScreenMagnificationController.getCenterX(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 233 mFullScreenMagnificationController.getCenterY(displayId), 0.0f); in initialState_noMagnificationAndMagnificationRegionReadFromWindowManager() 244 private void notRegistered_publicMethodsShouldBeBenign(int displayId) { in notRegistered_publicMethodsShouldBeBenign() argument 245 checkActivatedAndMagnifying(/* activated= */ false, /* magnifying= */ false, displayId); in notRegistered_publicMethodsShouldBeBenign() 248 mFullScreenMagnificationController.magnificationRegionContains(displayId, 100, in notRegistered_publicMethodsShouldBeBenign() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | RootDisplayAreaOrganizer.java | 55 public void attachToDisplayArea(int displayId, SurfaceControl.Builder b) { in attachToDisplayArea() argument 56 final SurfaceControl sc = mLeashes.get(displayId); in attachToDisplayArea() 71 final int displayId = displayAreaInfo.displayId; in onDisplayAreaAppeared() local 72 if (mDisplayAreasInfo.get(displayId) != null) { in onDisplayAreaAppeared() 74 "Duplicate DA for displayId: " + displayId in onDisplayAreaAppeared() 76 + " mDisplayAreasInfo.get():" + mDisplayAreasInfo.get(displayId)); in onDisplayAreaAppeared() 80 mDisplayAreasInfo.put(displayId, displayAreaInfo); in onDisplayAreaAppeared() 81 mLeashes.put(displayId, leash); in onDisplayAreaAppeared() 86 final int displayId = displayAreaInfo.displayId; in onDisplayAreaVanished() local 87 if (mDisplayAreasInfo.get(displayId) == null) { in onDisplayAreaVanished() [all …]
|
D | RootTaskDisplayAreaOrganizer.java | 72 public void registerListener(int displayId, RootTaskDisplayAreaListener listener) { in registerListener() argument 73 ArrayList<RootTaskDisplayAreaListener> listeners = mListeners.get(displayId); in registerListener() 76 mListeners.put(displayId, listeners); in registerListener() 81 final DisplayAreaInfo info = mDisplayAreasInfo.get(displayId); in registerListener() 95 public void attachToDisplayArea(int displayId, SurfaceControl.Builder b) { in attachToDisplayArea() argument 96 final SurfaceControl sc = mLeashes.get(displayId); in attachToDisplayArea() 100 public void setPosition(@NonNull SurfaceControl.Transaction tx, int displayId, int x, int y) { in setPosition() argument 101 final SurfaceControl sc = mLeashes.get(displayId); in setPosition() 103 throw new IllegalArgumentException("can't find display" + displayId); in setPosition() 117 final int displayId = displayAreaInfo.displayId; in onDisplayAreaAppeared() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationConnectionImpl.java | 50 public void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() argument 54 () -> mWindowMagnification.enableWindowMagnification(displayId, scale, centerX, in enableWindowMagnification() 60 public void setScale(int displayId, float scale) { in setScale() argument 61 mHandler.post(() -> mWindowMagnification.setScale(displayId, scale)); in setScale() 65 public void disableWindowMagnification(int displayId, in disableWindowMagnification() argument 67 mHandler.post(() -> mWindowMagnification.disableWindowMagnification(displayId, in disableWindowMagnification() 72 public void moveWindowMagnifier(int displayId, float offsetX, float offsetY) { in moveWindowMagnifier() argument 74 () -> mWindowMagnification.moveWindowMagnifier(displayId, offsetX, offsetY)); in moveWindowMagnifier() 78 public void moveWindowMagnifierToPosition(int displayId, float positionX, float positionY, in moveWindowMagnifierToPosition() argument 81 displayId, positionX, positionY, callback)); in moveWindowMagnifierToPosition() [all …]
|
D | WindowMagnification.java | 177 displayId -> mHandler.post(() -> { in WindowMagnification() 178 toggleSettingsPanelVisibility(displayId); in WindowMagnification() 210 void enableWindowMagnification(int displayId, float scale, float centerX, float centerY, in enableWindowMagnification() argument 214 mMagnificationControllerSupplier.get(displayId); in enableWindowMagnification() 222 void setScale(int displayId, float scale) { in setScale() argument 224 mMagnificationControllerSupplier.get(displayId); in setScale() 231 void moveWindowMagnifier(int displayId, float offsetX, float offsetY) { in moveWindowMagnifier() argument 233 mMagnificationControllerSupplier.get(displayId); in moveWindowMagnifier() 240 void moveWindowMagnifierToPositionInternal(int displayId, float positionX, float positionY, in moveWindowMagnifierToPositionInternal() argument 243 mMagnificationControllerSupplier.get(displayId); in moveWindowMagnifierToPositionInternal() [all …]
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 112 void getInitialDisplaySize(int displayId, out Point size); in getInitialDisplaySize() argument 114 void getBaseDisplaySize(int displayId, out Point size); in getBaseDisplaySize() argument 115 void setForcedDisplaySize(int displayId, int width, int height); in setForcedDisplaySize() argument 116 void clearForcedDisplaySize(int displayId); in clearForcedDisplaySize() argument 118 int getInitialDisplayDensity(int displayId); in getInitialDisplayDensity() argument 119 int getBaseDisplayDensity(int displayId); in getBaseDisplayDensity() argument 121 void setForcedDisplayDensityForUser(int displayId, int density, int userId); in setForcedDisplayDensityForUser() argument 122 void clearForcedDisplayDensityForUser(int displayId, int userId); in clearForcedDisplayDensityForUser() argument 123 void setForcedDisplayScalingMode(int displayId, int mode); // 0 = auto, 1 = disable in setForcedDisplayScalingMode() argument 138 void addWindowToken(IBinder token, int type, int displayId, in Bundle options); in addWindowToken() argument [all …]
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityInputFilter.java | 236 void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 237 disableFeaturesForDisplayIfInstalled(displayId); in onDisplayRemoved() 265 final int displayId = event.getDisplayId(); in onInputEvent() local 268 clearEventStreamHandler(displayId, eventSource); in onInputEvent() 274 clearEventStreamHandler(displayId, eventSource); in onInputEvent() 303 final int displayId = event.getDisplayId(); in getEventStreamState() local 312 EventStreamState touchScreenStreamState = mTouchScreenStreamStates.get(displayId); in getEventStreamState() 315 mTouchScreenStreamStates.put(displayId, touchScreenStreamState); in getEventStreamState() 320 EventStreamState mouseStreamState = mMouseStreamStates.get(displayId); in getEventStreamState() 323 mMouseStreamStates.put(displayId, mouseStreamState); in getEventStreamState() [all …]
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperDisplayHelper.java | 44 DisplayData(int displayId) { in DisplayData() argument 45 mDisplayId = displayId; in DisplayData() 61 DisplayData getDisplayDataOrCreate(int displayId) { in getDisplayDataOrCreate() argument 62 DisplayData wpdData = mDisplayDatas.get(displayId); in getDisplayDataOrCreate() 64 wpdData = new DisplayData(displayId); in getDisplayDataOrCreate() 65 ensureSaneWallpaperDisplaySize(wpdData, displayId); in getDisplayDataOrCreate() 66 mDisplayDatas.append(displayId, wpdData); in getDisplayDataOrCreate() 71 void removeDisplayData(int displayId) { in removeDisplayData() argument 72 mDisplayDatas.remove(displayId); in removeDisplayData() 75 void ensureSaneWallpaperDisplaySize(DisplayData wpdData, int displayId) { in ensureSaneWallpaperDisplaySize() argument [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopModeTaskRepository.kt | 67 fun getOrCreate(displayId: Int): DisplayData { in <lambda>() 68 if (!contains(displayId)) { in <lambda>() 69 put(displayId, DisplayData()) in <lambda>() 71 return get(displayId) in <lambda>() 88 displayData.keyIterator().forEach { displayId -> in <lambda>() method 89 val visibleTasks = getVisibleTaskCount(displayId) in <lambda>() 90 val stashed = isStashed(displayId) in <lambda>() 92 visibleTasksListener.onVisibilityChanged(displayId, visibleTasks > 0) in <lambda>() 93 visibleTasksListener.onStashedChanged(displayId, stashed) in <lambda>() 139 fun addActiveTask(displayId: Int, taskId: Int): Boolean { in <lambda>() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | FocusResolver.cpp | 44 sp<IBinder> FocusResolver::getFocusedWindowToken(int32_t displayId) const { in getFocusedWindowToken() 45 auto it = mFocusedWindowTokenByDisplay.find(displayId); in getFocusedWindowToken() 49 std::optional<FocusRequest> FocusResolver::getFocusRequest(int32_t displayId) { in getFocusRequest() argument 50 auto it = mFocusRequestByDisplay.find(displayId); in getFocusRequest() 61 int32_t displayId, const std::vector<sp<WindowInfoHandle>>& windows) { in setInputWindows() argument 64 const std::optional<FocusRequest> request = getFocusRequest(displayId); in setInputWindows() 65 const sp<IBinder> currentFocus = getFocusedWindowToken(displayId); in setInputWindows() 76 const Focusability previousResult = mLastFocusResultByDisplay[displayId]; in setInputWindows() 77 mLastFocusResultByDisplay[displayId] = result; in setInputWindows() 81 return updateFocusedWindow(displayId, in setInputWindows() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserVisibilityMediator.java | 224 int displayId) { in assignUserToDisplayOnStart() argument 247 displayId, profileGroupId); in assignUserToDisplayOnStart() 254 displayId); in assignUserToDisplayOnStart() 265 displayId); in assignUserToDisplayOnStart() 304 Slogf.d(TAG, "adding user / display mapping (%d -> %d)", userId, displayId); in assignUserToDisplayOnStart() 306 mUsersAssignedToDisplayOnStart.put(userId, displayId); in assignUserToDisplayOnStart() 336 @UserStartMode int userStartMode, int displayId) { in getUserVisibilityOnStartLocked() argument 339 if (userStartMode == USER_START_MODE_BACKGROUND && displayId != DEFAULT_DISPLAY) { in getUserVisibilityOnStartLocked() 341 + "(it should be BACKGROUND_USER_VISIBLE", userId, displayId); in getUserVisibilityOnStartLocked() 346 if (displayId == DEFAULT_DISPLAY && visibleBackground) { in getUserVisibilityOnStartLocked() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityServiceConnectionImpl.java | 106 public MagnificationConfig getMagnificationConfig(int displayId) { in getMagnificationConfig() argument 110 public float getMagnificationScale(int displayId) { in getMagnificationScale() argument 114 public float getMagnificationCenterX(int displayId) { in getMagnificationCenterX() argument 118 public float getMagnificationCenterY(int displayId) { in getMagnificationCenterY() argument 122 public Region getMagnificationRegion(int displayId) { in getMagnificationRegion() argument 126 public Region getCurrentMagnificationRegion(int displayId) { in getCurrentMagnificationRegion() argument 130 public boolean resetMagnification(int displayId, boolean animate) { in resetMagnification() argument 134 public boolean resetCurrentMagnification(int displayId, boolean animate) { in resetCurrentMagnification() argument 138 public boolean setMagnificationConfig(int displayId, in setMagnificationConfig() argument 143 public void setMagnificationCallbackEnabled(int displayId, boolean enabled) {} in setMagnificationCallbackEnabled() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PossibleDisplayInfoMapper.java | 62 public List<DisplayInfo> getPossibleDisplayInfos(int displayId) { in getPossibleDisplayInfos() argument 67 updatePossibleDisplayInfos(displayId); in getPossibleDisplayInfos() 68 if (!mDisplayInfos.contains(displayId)) { in getPossibleDisplayInfos() 71 return List.copyOf(mDisplayInfos.get(displayId)); in getPossibleDisplayInfos() 78 public void updatePossibleDisplayInfos(int displayId) { in updatePossibleDisplayInfos() argument 79 Set<DisplayInfo> displayInfos = mDisplayManagerInternal.getPossibleDisplayInfo(displayId); in updatePossibleDisplayInfos() 82 + displayInfos.size() + " on display " + displayId); in updatePossibleDisplayInfos() 90 public void removePossibleDisplayInfos(int displayId) { in removePossibleDisplayInfos() argument 91 if (DEBUG && mDisplayInfos.get(displayId) != null) { in removePossibleDisplayInfos() 93 displayId).size() + ") with id " + displayId); in removePossibleDisplayInfos() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | SkinThermalStatusObserver.java | 118 public void onDisplayAdded(int displayId) { in onDisplayAdded() argument 119 updateThermalRefreshRateThrottling(displayId); in onDisplayAdded() 121 Slog.d(TAG, "Display added:" + displayId); in onDisplayAdded() 126 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 128 mThermalThrottlingByDisplay.remove(displayId); in onDisplayRemoved() 129 mHandler.post(() -> mVotesStorage.updateVote(displayId, in onDisplayRemoved() 133 Slog.d(TAG, "Display removed and voted: displayId=" + displayId); in onDisplayRemoved() 138 public void onDisplayChanged(int displayId) { in onDisplayChanged() argument 139 updateThermalRefreshRateThrottling(displayId); in onDisplayChanged() 141 Slog.d(TAG, "Display changed:" + displayId); in onDisplayChanged() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | IAccessibilityServiceConnection.aidl | 84 MagnificationConfig getMagnificationConfig(int displayId); in getMagnificationConfig() argument 86 float getMagnificationScale(int displayId); in getMagnificationScale() argument 88 float getMagnificationCenterX(int displayId); in getMagnificationCenterX() argument 90 float getMagnificationCenterY(int displayId); in getMagnificationCenterY() argument 92 Region getMagnificationRegion(int displayId); in getMagnificationRegion() argument 94 Region getCurrentMagnificationRegion(int displayId); in getCurrentMagnificationRegion() argument 96 boolean resetMagnification(int displayId, boolean animate); in resetMagnification() argument 98 boolean resetCurrentMagnification(int displayId, boolean animate); in resetCurrentMagnification() argument 100 boolean setMagnificationConfig(int displayId, in MagnificationConfig config, boolean animate); in setMagnificationConfig() argument 102 void setMagnificationCallbackEnabled(int displayId, boolean enabled); in setMagnificationCallbackEnabled() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeDisplayTracker.kt | 46 override fun getDisplay(displayId: Int): Display { in <lambda>() 47 return allDisplays.filter { display -> display.displayId == displayId }[0] in <lambda>() 50 fun setDefaultDisplay(displayId: Int) { in <lambda>() 51 defaultDisplayId = displayId in <lambda>() 54 fun triggerOnDisplayAdded(displayId: Int) { in <lambda>() 55 notifyCallbacks({ onDisplayAdded(displayId) }, displayCallbacks) in <lambda>() 58 fun triggerOnDisplayRemoved(displayId: Int) { in <lambda>() 59 notifyCallbacks({ onDisplayRemoved(displayId) }, displayCallbacks) in <lambda>() 62 fun triggerOnDisplayChanged(displayId: Int) { in <lambda>() 63 notifyCallbacks({ onDisplayChanged(displayId) }, displayCallbacks) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarController.java | 229 private boolean shouldCreateNavBarAndTaskBar(int displayId) { in shouldCreateNavBarAndTaskBar() argument 233 return wms.hasNavigationBar(displayId); in shouldCreateNavBarAndTaskBar() 258 final int displayId = mContext.getDisplayId(); in initializeTaskbarIfNecessary() local 260 mNavBarHelper.setTogglingNavbarTaskbar(mNavigationBars.contains(displayId)); in initializeTaskbarIfNecessary() 262 removeNavigationBar(displayId); in initializeTaskbarIfNecessary() 263 mTaskbarDelegate.init(displayId); in initializeTaskbarIfNecessary() 274 public void onDisplayRemoved(int displayId) { in onDisplayRemoved() argument 275 removeNavigationBar(displayId); in onDisplayRemoved() 279 public void onDisplayReady(int displayId) { in onDisplayReady() argument 280 Display display = mDisplayManager.getDisplay(displayId); in onDisplayReady() [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputShellCommand.java | 136 final int displayId = Integer.parseInt(displayArg); in getDisplayId() local 137 if (displayId == INVALID_DISPLAY) { in getDisplayId() 140 return Math.max(displayId, 0); in getDisplayId() 159 float x, float y, float pressure, int displayId) { in injectMotionEvent() argument 174 if (displayId == INVALID_DISPLAY in injectMotionEvent() 176 displayId = DEFAULT_DISPLAY; in injectMotionEvent() 181 DEFAULT_EDGE_FLAGS, inputSource, displayId, DEFAULT_FLAGS); in injectMotionEvent() 224 int displayId = INVALID_DISPLAY; in onCommand() local 226 displayId = getDisplayId(); in onCommand() 232 runText(inputSource, displayId); in onCommand() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | DisplayTrackerImpl.kt | 48 override fun onDisplayAdded(displayId: Int) { in onDisplayAdded() 50 onDisplayAdded(displayId, list) in onDisplayAdded() 53 override fun onDisplayRemoved(displayId: Int) { in onDisplayRemoved() 55 onDisplayRemoved(displayId, list) in onDisplayRemoved() 58 override fun onDisplayChanged(displayId: Int) { in onDisplayChanged() 60 onDisplayChanged(displayId, list) in onDisplayChanged() 67 override fun onDisplayAdded(displayId: Int) {} in onDisplayAdded() 69 override fun onDisplayRemoved(displayId: Int) {} in onDisplayRemoved() 71 override fun onDisplayChanged(displayId: Int) { in onDisplayChanged() 73 onDisplayChanged(displayId, list) in onDisplayChanged() [all …]
|