Searched refs:getPreferredModeId (Results 1 – 3 of 3) sorted by relevance
68 assertEquals(0, mPolicy.getPreferredModeId(cameraUsingWindow)); in testCamera()70 assertEquals(LOW_MODE_ID, mPolicy.getPreferredModeId(cameraUsingWindow)); in testCamera()72 assertEquals(0, mPolicy.getPreferredModeId(cameraUsingWindow)); in testCamera()81 assertEquals(LOW_MODE_ID, mPolicy.getPreferredModeId(blacklistedWindow)); in testBlacklist()90 assertEquals(LOW_MODE_ID, mPolicy.getPreferredModeId(overrideWindow)); in testAppOverride_blacklist()100 assertEquals(LOW_MODE_ID, mPolicy.getPreferredModeId(overrideWindow)); in testAppOverride_camera()113 assertEquals(0, mPolicy.getPreferredModeId(overrideWindow)); in testAnimatingAppOverride()123 assertEquals(LOW_MODE_ID, mPolicy.getPreferredModeId(cameraUsingWindow)); in testAnimatingCamera()128 assertEquals(0, mPolicy.getPreferredModeId(cameraUsingWindow)); in testAnimatingCamera()
66 int getPreferredModeId(WindowState w) { in getPreferredModeId() method in RefreshRatePolicy
820 .getPreferredModeId(w);