Home
last modified time | relevance | path

Searched refs:modeId (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplayMode.h24 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/
DDisplayDeviceInfo.java223 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()
DLocalDisplayAdapter.java576 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 …]
DLogicalDisplay.java375 mBaseDisplayInfo.modeId = deviceInfo.modeId; in updateLocked()
DDisplayModeDirector.java1375 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()
DOverlayDisplayAdapter.java341 mInfo.modeId = mode.getModeId(); in getDisplayDeviceInfoLocked()
DWifiDisplayAdapter.java647 mInfo.modeId = mMode.getModeId(); in getDisplayDeviceInfoLocked()
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java231 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()
DDisplayInfo.java180 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()
DDisplay.java1906 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/
Dsurfaceflinger_scheduler_fuzzer.cpp336 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/
Dandroid_view_DisplayEventReceiver.cpp82 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/
DDisplayEventDispatcher.h55 virtual void dispatchModeChanged(nsecs_t timestamp, PhysicalDisplayId displayId, int32_t modeId,
DDisplayEventReceiver.h88 int32_t modeId; member
/frameworks/native/libs/gui/tests/
DDisplayEventStructLayout_test.cpp62 CHECK_OFFSET(DisplayEventReceiver::Event::ModeChange, modeId, 0); in TEST()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java545 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/
DRefreshRateConfigs.cpp732 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()
DEventThread.cpp96 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/
DLocalDisplayAdapterTest.java436 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/
DDisplayEventDispatcher.cpp176 ev.modeChange.modeId, ev.modeChange.vsyncPeriod); in processPendingEvents()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayManagerServiceTest.java392 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/
DDisplayDevice.cpp240 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/
DScreenDecorationsTest.java1194 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/
DSFFakeHwc_test.cpp307 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/
DDisplayTransactionTestHelpers.h747 inline DisplayModePtr createDisplayMode(DisplayModeId modeId, Fps refreshRate, int32_t group = 0,
749 return mock::createDisplayMode(modeId, refreshRate, group, resolution,

12