Home
last modified time | relevance | path

Searched refs:preferredDisplayModeId (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java133 final int preferredDisplayModeId = w.mAttrs.preferredDisplayModeId; in getPreferredModeId() local
134 if (preferredDisplayModeId <= 0) { in getPreferredModeId()
146 if (preferredDisplayModeId == mode.getModeId()) { in getPreferredModeId()
159 return preferredDisplayModeId; in getPreferredModeId()
165 return preferredDisplayModeId; in getPreferredModeId()
276 final int preferredModeId = w.mAttrs.preferredDisplayModeId; in updateFrameRateVote()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DFrameRateSelectionPriorityTests.java167 appWindow.mAttrs.preferredDisplayModeId = 1; in testApplicationInFocusWithModeId()
174 appWindow.mAttrs.preferredDisplayModeId = 0; in testApplicationInFocusWithModeId()
213 appWindow.mAttrs.preferredDisplayModeId = 1; in testApplicationNotInFocusWithModeId()
249 appWindow.mAttrs.preferredDisplayModeId = 0; in testApplicationNotInFocusWithoutModeId()
308 appWindow.mAttrs.preferredDisplayModeId = 1; in testSwitchingTypeNone()
314 appWindow.mAttrs.preferredDisplayModeId = 0; in testSwitchingTypeNone()
DRefreshRatePolicyTest.java223 overrideWindow.mAttrs.preferredDisplayModeId = HI_MODE_ID; in testAppOverridePreferredModeId_denylist()
251 overrideWindow.mAttrs.preferredDisplayModeId = HI_MODE_ID; in testAppOverridePreferredModeId_camera()
285 overrideWindow.mAttrs.preferredDisplayModeId = LOW_MODE_ID; in testAnimatingAppOverridePreferredModeId()
455 window.mAttrs.preferredDisplayModeId = HI_MODE_ID; in testSwitchingTypeForExactVote()
/frameworks/base/core/java/android/view/
DWindowManager.java4078 public int preferredDisplayModeId; field in WindowManager.LayoutParams
5134 out.writeInt(preferredDisplayModeId); in writeToParcel()
5211 preferredDisplayModeId = in.readInt(); in LayoutParams()
5428 if (preferredDisplayModeId != o.preferredDisplayModeId) { in copyFrom()
5429 preferredDisplayModeId = o.preferredDisplayModeId; in copyFrom()
5708 if (preferredDisplayModeId != 0) { in toString()
5710 sb.append(preferredDisplayModeId); in toString()
5863 proto.write(WindowLayoutParamsProto.PREFERRED_DISPLAY_MODE_ID, preferredDisplayModeId); in dumpDebug()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java179 params.preferredDisplayModeId = mDisplayModes[modeIndex].getModeId(); in changeDisplayMode()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt54670 field public int preferredDisplayModeId;