Home
last modified time | relevance | path

Searched refs:newDisplayId (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/window/
DWindowTokenClient.java111 public void onConfigurationChanged(Configuration newConfig, int newDisplayId) { in onConfigurationChanged() argument
112 onConfigurationChanged(newConfig, newDisplayId, true /* shouldReportConfigChange */); in onConfigurationChanged()
119 public void postOnConfigurationChanged(@NonNull Configuration newConfig, int newDisplayId) { in postOnConfigurationChanged() argument
121 newDisplayId, true /* shouldReportConfigChange */).recycleOnUse()); in postOnConfigurationChanged()
143 public void onConfigurationChanged(@NonNull Configuration newConfig, int newDisplayId, in onConfigurationChanged() argument
155 onConfigurationChangedInner(context, newConfig, newDisplayId, in onConfigurationChanged()
161 onConfigurationChangedInner(context, newConfig, newDisplayId, shouldReportConfigChange); in onConfigurationChanged()
168 @NonNull Configuration newConfig, int newDisplayId, boolean shouldReportConfigChange) { in onConfigurationChangedInner() argument
176 displayChanged = isDifferentDisplay(context.getDisplayId(), newDisplayId); in onConfigurationChangedInner()
192 + ", updated display ID=" + newDisplayId); in onConfigurationChangedInner()
[all …]
DConfigurationHelper.java96 public static boolean isDifferentDisplay(int displayId, int newDisplayId) { in isDifferentDisplay() argument
97 return newDisplayId != INVALID_DISPLAY && displayId != newDisplayId; in isDifferentDisplay()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListener.java99 default void onTaskDisplayChanged(int taskId, int newDisplayId) { } in onTaskDisplayChanged() argument
DTaskStackChangeListeners.java308 public void onTaskDisplayChanged(int taskId, int newDisplayId) { in onTaskDisplayChanged() argument
309 mHandler.obtainMessage(ON_TASK_DISPLAY_CHANGED, taskId, newDisplayId).sendToTarget(); in onTaskDisplayChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTaskStackListenerCallback.java43 default void onTaskDisplayChanged(int taskId, int newDisplayId) { } in onTaskDisplayChanged() argument
DTaskStackListenerImpl.java158 public void onTaskDisplayChanged(int taskId, int newDisplayId) { in onTaskDisplayChanged() argument
160 newDisplayId).sendToTarget(); in onTaskDisplayChanged()
/frameworks/base/core/java/android/app/
DITaskStackListener.aidl166 void onTaskDisplayChanged(int taskId, int newDisplayId); in onTaskDisplayChanged() argument
DTaskStackListener.java189 public void onTaskDisplayChanged(int taskId, int newDisplayId) throws RemoteException { in onTaskDisplayChanged() argument
DActivityThread.java723 int newDisplayId, @Nullable ActivityWindowInfo activityWindowInfo) { in init()
733 ActivityClientRecord.this, overrideConfig, newDisplayId, in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayWindow.java101 public void onConfigurationChanged(Configuration overrideConfig, int newDisplayId) { in onConfigurationChanged() argument
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java388 int newDisplayId = 1; in testVerifyNoAutoBrightnessAdjustmentsArePopulatedForNonDefaultDisplay() local
389 mAutomaticBrightnessStrategy = new AutomaticBrightnessStrategy2(mContext, newDisplayId); in testVerifyNoAutoBrightnessAdjustmentsArePopulatedForNonDefaultDisplay()
DAutomaticBrightnessStrategyTest.java437 int newDisplayId = 1; in testVerifyNoAutoBrightnessAdjustmentsArePopulatedForNonDefaultDisplay() local
438 mAutomaticBrightnessStrategy = new AutomaticBrightnessStrategy(mContext, newDisplayId, in testVerifyNoAutoBrightnessAdjustmentsArePopulatedForNonDefaultDisplay()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopTasksController.kt588 var newDisplayId = displayIds.firstOrNull { displayId -> displayId > task.displayId } in <lambda>() variable
589 if (newDisplayId == null) { in <lambda>()
591 newDisplayId = displayIds.firstOrNull { displayId -> displayId < task.displayId } in <lambda>()
593 if (newDisplayId == null) { in <lambda>()
597 moveToDisplay(task, newDisplayId) in <lambda>()
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp249 constexpr ui::LogicalDisplayId newDisplayId = ui::LogicalDisplayId{2}; in TEST_F()
250 event.setDisplayId(newDisplayId); in TEST_F()
251 ASSERT_EQ(newDisplayId, event.getDisplayId()); in TEST_F()
553 constexpr ui::LogicalDisplayId newDisplayId = ui::LogicalDisplayId{2}; in TEST_F()
554 event.setDisplayId(newDisplayId); in TEST_F()
555 ASSERT_EQ(newDisplayId, event.getDisplayId()); in TEST_F()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskChangeNotificationController.java520 void notifyTaskDisplayChanged(int taskId, int newDisplayId) { in notifyTaskDisplayChanged() argument
522 taskId, newDisplayId); in notifyTaskDisplayChanged()
DActivityRecord.java9938 final int newDisplayId = getDisplayId();
9939 final boolean displayChanged = mLastReportedDisplayId != newDisplayId;
9941 mLastReportedDisplayId = newDisplayId;
9999 scheduleActivityMovedToDisplay(newDisplayId, newMergedOverrideConfig,
10066 scheduleActivityMovedToDisplay(newDisplayId, newMergedOverrideConfig,
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotController.java602 int newDisplayId) { in enqueueScrollCaptureRequest()
/frameworks/base/core/java/android/view/
DViewRootImpl.java490 int newDisplayId) { in onConfigurationChanged() argument
502 int newDisplayId, @Nullable ActivityWindowInfo activityWindowInfo) { in onConfigurationChanged() argument
503 onConfigurationChanged(overrideConfig, newDisplayId); in onConfigurationChanged()
6421 boolean force, int newDisplayId, @Nullable ActivityWindowInfo activityWindowInfo) { in performConfigurationChange() argument
6471 mActivityConfigCallback.onConfigurationChanged(overrideConfig, newDisplayId, in performConfigurationChange()
6475 updateConfiguration(newDisplayId); in performConfigurationChange()
6484 public void updateConfiguration(int newDisplayId) { in updateConfiguration() argument
6496 if (newDisplayId != INVALID_DISPLAY) { in updateConfiguration()
6497 onMovedToDisplay(newDisplayId, config); in updateConfiguration()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3690 constexpr ui::LogicalDisplayId newDisplayId = ui::LogicalDisplayId{2}; in TEST_F()
3692 setDisplayInfoAndReconfigure(newDisplayId, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
3698 ASSERT_EQ(newDisplayId, args.displayId); in TEST_F()
3897 constexpr ui::LogicalDisplayId newDisplayId = ui::LogicalDisplayId{2}; in TEST_F()
3900 setDisplayInfoAndReconfigure(newDisplayId, DISPLAY_WIDTH, DISPLAY_HEIGHT, ui::ROTATION_0, in TEST_F()
3921 testDPadKeyRotation(mapper2, KEY_UP, AKEYCODE_DPAD_UP, AKEYCODE_DPAD_UP, newDisplayId)); in TEST_F()
3923 AKEYCODE_DPAD_RIGHT, newDisplayId)); in TEST_F()
3925 AKEYCODE_DPAD_DOWN, newDisplayId)); in TEST_F()
3927 AKEYCODE_DPAD_LEFT, newDisplayId)); in TEST_F()