Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DRefreshRatePolicy.java127 final int preferredDisplayModeId = w.mAttrs.preferredDisplayModeId; in getPreferredModeId() local
128 if (preferredDisplayModeId <= 0) { in getPreferredModeId()
140 if (preferredDisplayModeId == mode.getModeId()) { in getPreferredModeId()
153 return preferredDisplayModeId; in getPreferredModeId()
159 return preferredDisplayModeId; in getPreferredModeId()
195 final int preferredModeId = w.mAttrs.preferredDisplayModeId; in getPreferredRefreshRate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DFrameRateSelectionPriorityTests.java150 appWindow.mAttrs.preferredDisplayModeId = 1; in testApplicationInFocusWithModeId()
157 appWindow.mAttrs.preferredDisplayModeId = 0; in testApplicationInFocusWithModeId()
189 appWindow.mAttrs.preferredDisplayModeId = 1; in testApplicationNotInFocusWithModeId()
218 appWindow.mAttrs.preferredDisplayModeId = 0; in testApplicationNotInFocusWithoutModeId()
268 appWindow.mAttrs.preferredDisplayModeId = 1; in testSwitchingTypeNone()
274 appWindow.mAttrs.preferredDisplayModeId = 0; in testSwitchingTypeNone()
DRefreshRatePolicyTest.java186 overrideWindow.mAttrs.preferredDisplayModeId = HI_MODE_ID; in testAppOverridePreferredModeId_denylist()
214 overrideWindow.mAttrs.preferredDisplayModeId = HI_MODE_ID; in testAppOverridePreferredModeId_camera()
248 overrideWindow.mAttrs.preferredDisplayModeId = LOW_MODE_ID; in testAnimatingAppOverridePreferredModeId()
/frameworks/base/core/java/android/view/
DWindowManager.java3542 public int preferredDisplayModeId; field in WindowManager.LayoutParams
4376 out.writeInt(preferredDisplayModeId); in writeToParcel()
4446 preferredDisplayModeId = in.readInt(); in LayoutParams()
4654 if (preferredDisplayModeId != o.preferredDisplayModeId) { in copyFrom()
4655 preferredDisplayModeId = o.preferredDisplayModeId; in copyFrom()
4907 if (preferredDisplayModeId != 0) { in toString()
4909 sb.append(preferredDisplayModeId); in toString()
5042 proto.write(WindowLayoutParamsProto.PREFERRED_DISPLAY_MODE_ID, preferredDisplayModeId); in dumpDebug()
/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/
DTouchLatencyActivity.java283 params.preferredDisplayModeId = mDisplayModes[modeIndex].getModeId(); in changeDisplayMode()
/frameworks/base/core/api/
Dcurrent.txt51566 field public int preferredDisplayModeId;