/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockDisplayMode.h | 24 DisplayModeId modeId, Fps refreshRate, int32_t group = 0, 27 return DisplayMode::Builder(hal::HWConfigId(modeId.value())) 28 .setId(modeId)
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 223 public int modeId; field in DisplayDeviceInfo 414 || modeId != other.modeId in diff() 457 modeId = other.modeId; in copyFrom() 496 sb.append(", modeId ").append(modeId); in toString()
|
D | LocalDisplayAdapter.java | 576 int modeId) { in getModeById() argument 578 if (mode.id == modeId) { in getModeById() 582 Slog.e(TAG, "Can't find display mode with id " + modeId); in getModeById() 625 mInfo.modeId = mActiveModeId; in getDisplayDeviceInfoLocked() 1167 private Display.Mode findMode(int modeId) { in findMode() argument 1170 if (supportedMode.getModeId() == modeId) { in findMode() 1305 void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId); 1326 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId) { 1327 mListener.onModeChanged(timestampNanos, physicalDisplayId, modeId); 1350 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId) { [all …]
|
D | LogicalDisplay.java | 375 mBaseDisplayInfo.modeId = deviceInfo.modeId; in updateLocked()
|
D | DisplayModeDirector.java | 1375 public void setAppRequest(int displayId, int modeId, float requestedMinRefreshRateRange, in setAppRequest() argument 1378 setAppRequestedModeLocked(displayId, modeId); in setAppRequest() 1384 private void setAppRequestedModeLocked(int displayId, int modeId) { in setAppRequestedModeLocked() argument 1385 final Display.Mode requestedMode = findModeByIdLocked(displayId, modeId); in setAppRequestedModeLocked() 1442 private Display.Mode findModeByIdLocked(int displayId, int modeId) { in findModeByIdLocked() argument 1448 if (mode.getModeId() == modeId) { in findModeByIdLocked()
|
D | OverlayDisplayAdapter.java | 341 mInfo.modeId = mode.getModeId(); in getDisplayDeviceInfoLocked()
|
D | WifiDisplayAdapter.java | 647 mInfo.modeId = mMode.getModeId(); in getDisplayDeviceInfoLocked()
|
/frameworks/base/core/java/android/view/ |
D | DisplayEventReceiver.java | 231 public void onModeChanged(long timestampNanos, long physicalDisplayId, int modeId) { in onModeChanged() argument 306 private void dispatchModeChanged(long timestampNanos, long physicalDisplayId, int modeId) { in dispatchModeChanged() argument 307 onModeChanged(timestampNanos, physicalDisplayId, modeId); in dispatchModeChanged()
|
D | DisplayInfo.java | 180 public int modeId; field in DisplayInfo 375 && modeId == other.modeId in equals() 426 modeId = other.modeId; in copyFrom() 472 modeId = source.readInt(); in readFromParcel() 531 dest.writeInt(modeId); in writeToParcel() 584 return findMode(modeId); in getMode() 759 sb.append(modeId); in toString()
|
D | Display.java | 1906 public Mode(int modeId, int width, int height, float refreshRate) { in Mode() argument 1907 this(modeId, width, height, refreshRate, new float[0]); in Mode() 1913 public Mode(int modeId, int width, int height, float refreshRate, in Mode() argument 1915 mModeId = modeId; in Mode()
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_scheduler_fuzzer.cpp | 336 const DisplayModeId modeId{mFdp.ConsumeIntegralInRange<uint8_t>(0, 10)}; in fuzzRefreshRateConfigs() local 340 displayModes.try_emplace(modeId, in fuzzRefreshRateConfigs() 341 mock::createDisplayMode(modeId, in fuzzRefreshRateConfigs() 345 RefreshRateConfigs refreshRateConfigs(displayModes, modeId); in fuzzRefreshRateConfigs() 363 {modeId, in fuzzRefreshRateConfigs() 366 refreshRateConfigs.setActiveModeId(modeId); in fuzzRefreshRateConfigs() 379 const auto fpsOpt = displayModes.get(modeId, [](const auto& mode) { return mode->getFps(); }); in fuzzRefreshRateConfigs()
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 82 void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId, 170 int32_t modeId, nsecs_t) { in dispatchModeChanged() argument 177 timestamp, displayId.value, modeId); in dispatchModeChanged()
|
/frameworks/native/libs/gui/include/gui/ |
D | DisplayEventDispatcher.h | 55 virtual void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId,
|
D | DisplayEventReceiver.h | 88 int32_t modeId; member
|
/frameworks/native/libs/gui/tests/ |
D | DisplayEventStructLayout_test.cpp | 62 CHECK_OFFSET(DisplayEventReceiver::Event::ModeChange, modeId, 0); in TEST()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 545 public Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId, int width, in Keyboard() argument 556 mKeyboardMode = modeId; in Keyboard() 567 public Keyboard(Context context, @XmlRes int xmlLayoutResId, int modeId) { in Keyboard() argument 579 mKeyboardMode = modeId; in Keyboard()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.cpp | 732 void RefreshRateConfigs::setActiveModeId(DisplayModeId modeId) { in setActiveModeId() argument 739 mActiveModeIt = mDisplayModes.find(modeId); in setActiveModeId() 857 bool RefreshRateConfigs::isModeAllowed(DisplayModeId modeId) const { in isModeAllowed() 860 [modeId](DisplayModeIterator modeIt) { in isModeAllowed() 861 return modeIt->second->getId() == modeId; in isModeAllowed()
|
D | EventThread.cpp | 96 to_string(event.header.displayId).c_str(), event.modeChange.modeId); in toString() 131 event.modeChange.modeId = mode->getId().value(); in makeModeChanged()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | LocalDisplayAdapterTest.java | 436 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() 460 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_DisplayModesAreUpdated() 485 Display.Mode activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() 502 activeMode = getModeById(displayDeviceInfo, displayDeviceInfo.modeId); in testAfterDisplayChange_ActiveModeIsUpdated() 894 private Display.Mode getModeById(DisplayDeviceInfo displayDeviceInfo, int modeId) { in getModeById() argument 896 .filter(mode -> mode.getModeId() == modeId) in getModeById()
|
/frameworks/native/libs/gui/ |
D | DisplayEventDispatcher.cpp | 176 ev.modeChange.modeId, ev.modeChange.vsyncPeriod); in processPendingEvents()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | DisplayManagerServiceTest.java | 392 displayDeviceInfo.modeId = 1; in testShouldNotifyChangeWhenNonOverrideDisplayInfoChanged() 1244 int modeId) { in updateModeId() argument 1247 displayDeviceInfo.modeId = modeId; in updateModeId() 1280 displayDeviceInfo.modeId = 1; in createFakeDisplayDevice()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 240 DisplayModePtr DisplayDevice::getMode(DisplayModeId modeId) const { in getMode() 242 return mSupportedModes.get(modeId).value_or(std::cref(nullMode)); in getMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 1194 int modeId = 1; in faceSensorLocationChangesReloadsFaceScanningOverlay() 1195 displayInfo.modeId = modeId; in faceSensorLocationChangesReloadsFaceScanningOverlay() 1196 displayInfo.supportedModes = new Display.Mode[]{new Display.Mode(modeId, 1024, 1024, in faceSensorLocationChangesReloadsFaceScanningOverlay()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | SFFakeHwc_test.cpp | 307 bool waitForModeChangedEvent(Display display, int32_t modeId) { in waitForModeChangedEvent() argument 317 to_string(event.header.displayId).c_str(), event.modeChange.modeId); in waitForModeChangedEvent() 320 event.header.displayId == displayId && event.modeChange.modeId == modeId) { in waitForModeChangedEvent()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayTransactionTestHelpers.h | 747 inline DisplayModePtr createDisplayMode(DisplayModeId modeId, Fps refreshRate, int32_t group = 0, 749 return mock::createDisplayMode(modeId, refreshRate, group, resolution,
|