Home
last modified time | relevance | path

Searched refs:getModeId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/mode/
DVoteSummary.java207 Slog.w(TAG, "Discarding mode " + mode.getModeId() + ", wrong size" in validateModeSize()
226 Slog.w(TAG, "Discarding mode " + mode.getModeId() in validateModeWithinPhysicalRefreshRange()
245 Slog.w(TAG, "Discarding mode " + mode.getModeId() in validateModeWithinRenderRefreshRange()
261 Slog.w(TAG, "Discarding mode " + mode.getModeId() in validateModeRenderRateAchievable()
276 if (supportedModeIds.contains(mode.getModeId())) { in validateModeSupported()
280 Slog.w(TAG, "Discarding mode " + mode.getModeId() in validateModeSupported()
282 + ": mode.modeId=" + mode.getModeId() in validateModeSupported()
299 Slog.w(TAG, "Discarding mode " + mode.getModeId() in validateRefreshRatesSupported()
DSyntheticModeManager.java63 if (mode.getModeId() > nextModeId) { in createAppSupportedModes()
64 nextModeId = mode.getModeId(); in createAppSupportedModes()
DDisplayModeDirector.java389 return new DesiredDisplayModeSpecs(defaultMode.getModeId(), in getDesiredDisplayModeSpecs()
424 return new DesiredDisplayModeSpecs(baseMode.getModeId(), in getDesiredDisplayModeSpecs()
1354 if (mode.getModeId() == modeId) { in findAppModeByIdLocked()
1523 if (mode.getModeId() == info.userPreferredModeId) { in findDisplayPreferredMode()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java91 if (currentMode.getModeId() == mDisplayModes[i].getModeId()) { in onCreate()
179 params.preferredDisplayModeId = mDisplayModes[modeIndex].getModeId(); in changeDisplayMode()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java400 int preferredModeId = preferredRecord.mMode.getModeId(); in updateDisplayModesLocked()
413 && mActiveModeId != activeRecord.mMode.getModeId()) { in updateDisplayModesLocked()
416 mActiveModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked()
455 mSupportedModes.put(record.mMode.getModeId(), record); in updateDisplayModesLocked()
460 mDefaultModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked()
466 mDefaultModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked()
472 mDefaultModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked()
484 mDisplayModeSpecs.baseModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked()
1062 mUserPreferredMode.getModeId(), mDefaultModeGroup); in setUserPreferredDisplayModeLocked()
1315 if (supportedMode.getModeId() == modeId) { in findMode()
[all …]
DOverlayDisplayAdapter.java345 mInfo.modeId = mode.getModeId(); in getDisplayDeviceInfoLocked()
347 mInfo.defaultModeId = mModes[0].getModeId(); in getDisplayDeviceInfoLocked()
385 if (mModes[i].getModeId() == id) { in setDesiredDisplayModeSpecsLocked()
DWifiDisplayAdapter.java657 mInfo.modeId = mMode.getModeId(); in getDisplayDeviceInfoLocked()
659 mInfo.defaultModeId = mMode.getModeId(); in getDisplayDeviceInfoLocked()
DVirtualDisplayAdapter.java468 mInfo.modeId = mMode.getModeId(); in getDisplayDeviceInfoLocked()
470 mInfo.defaultModeId = mMode.getModeId(); in getDisplayDeviceInfoLocked()
DDisplayManagerService.java1216 Slog.d(TAG, "found matching modeId " + mode.getModeId()); in getDisplayInfoForFrameRateOverride()
1221 overriddenInfo.modeId = mode.getModeId(); in getDisplayInfoForFrameRateOverride()
1239 .getModeId(); in getDisplayInfoForFrameRateOverride()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayObserverTest.java159 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_notVotedUserPreferredMode()
192 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_voteUserPreferredMode()
213 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_voteUserPreferredMode()
244 mExternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testExternalDisplay_doNotApplyLimitToUserPreferredMode()
276 mInternalDisplayUserPreferredModeId = preferredMode.getModeId(); in testDefaultDisplayAdded_notAppliedLimitToUserPreferredMode()
DDisplayModeDirectorTest.java140 {/*expectedBaseModeId*/ DEFAULT_MODE_75.getModeId(), in getAppRequestedSizeTestCases()
144 {/*expectedBaseModeId*/ APP_MODE_HIGH_90.getModeId(), in getAppRequestedSizeTestCases()
153 {/*expectedBaseModeId*/ LIMIT_MODE_70.getModeId(), in getAppRequestedSizeTestCases()
165 {/*expectedBaseModeId*/ LIMIT_MODE_70.getModeId(), in getAppRequestedSizeTestCases()
177 {/*expectedBaseModeId*/ LIMIT_MODE_70.getModeId(), in getAppRequestedSizeTestCases()
193 {/*expectedBaseModeId*/ APP_MODE_65.getModeId(), in getAppRequestedSizeTestCases()
209 {/*expectedBaseModeId*/ DEFAULT_MODE_75.getModeId(), in getAppRequestedSizeTestCases()
225 {/*expectedBaseModeId*/ DEFAULT_MODE_60.getModeId(), // Resolution == APP_MODE_65 in getAppRequestedSizeTestCases()
241 {/*expectedBaseModeId*/ APP_MODE_65.getModeId(), in getAppRequestedSizeTestCases()
1134 assertThat(specs.baseModeId).isEqualTo(defaultMode.getModeId());
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayInfoTest.java96 info.modeId = mode.getModeId(); in setSupportedMode()
/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java146 if (preferredDisplayModeId == mode.getModeId()) { in getPreferredModeId()
279 if (preferredModeId == mode.getModeId()) { in updateFrameRateVote()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java832 .getModeId(); in testDisplayChange_withStaleDesiredDisplayModeSpecs()
866 baseModeId = displayDevice.getDisplayDeviceInfoLocked().supportedModes[0].getModeId(); in testDisplayChange_withStaleDesiredDisplayModeSpecs()
1301 .filter(mode -> mode.getModeId() == modeId) in getModeById()
/frameworks/base/core/java/android/view/
DDisplayInfo.java695 if (supportedModes[i].getModeId() == id) { in findMode()
DDisplay.java2289 public int getModeId() { in getModeId() method in Display.Mode
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java5084 modeGroupIds.get(element.getModeId()));
5099 if (modeGroupIds.containsKey(mode.getModeId())) {
5102 modeGroupIds.put(mode.getModeId(), groupId);
5118 return mode.getModeId();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt15977 HSPLandroid/view/Display$Mode;->getModeId()I
/frameworks/base/config/
Dboot-image-profile.txt16041 HSPLandroid/view/Display$Mode;->getModeId()I
/frameworks/base/core/api/
Dcurrent.txt50780 method public int getModeId();