Home
last modified time | relevance | path

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

/cts/tests/tests/gameframerate/src/
DGameFrameRateTest.java160 Display.Mode currentMode = mActivityRule.getActivity().getDisplay().getMode(); in getModesToTest() local
161 final long currentDisplayHeight = currentMode.getPhysicalHeight(); in getModesToTest()
162 final long currentDisplayWidth = currentMode.getPhysicalWidth(); in getModesToTest()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java719 Display.Mode currentMode = display.getMode(); in testExactFrameRateMatch()
724 Floats.asList(currentMode.getAlternativeRefreshRates()); in testExactFrameRateMatch()
740 currentMode = display.getMode(); in testExactFrameRateMatch()
743 List<Float> seamedRefreshRates = getSeamedRefreshRates(currentMode, display); in testExactFrameRateMatch()
754 List<Float> allRefreshRates = getRefreshRates(currentMode, display); in testExactFrameRateMatch()
903 Display.Mode currentMode = display.getMode(); in testMatchContentFramerate_None()
904 List<Float> frameRates = getRefreshRates(currentMode, display); in testMatchContentFramerate_None()
927 Display.Mode currentMode = display.getMode(); in testMatchContentFramerate_Auto()
928 List<Float> frameRatesToTest = Floats.asList(currentMode.getAlternativeRefreshRates()); in testMatchContentFramerate_Auto()
947 currentMode = display.getMode(); in testMatchContentFramerate_Auto()
[all …]
DFrameRateOverrideTest.java157 Display.Mode currentMode = mActivityRule.getActivity().getDisplay().getMode(); in getModesToTest() local
158 final long currentDisplayHeight = currentMode.getPhysicalHeight(); in getModesToTest()
159 final long currentDisplayWidth = currentMode.getPhysicalWidth(); in getModesToTest()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java792 DisplayModeState currentMode = new DisplayModeState(mDefaultDisplay);
793 assertEquals(targetMode.getPhysicalHeight(), currentMode.mHeight);
794 assertEquals(targetMode.getPhysicalWidth(), currentMode.mWidth);
795 assertEquals(targetMode.getRefreshRate(), currentMode.mRefreshRate, REFRESH_RATE_TOLERANCE);
796 assertArrayEquals(targetMode.getSupportedHdrTypes(), currentMode.mSupportedHdrTypes);
798 currentMode.mSupportedHdrTypes);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DManifestTestListAdapter.java565 private boolean matchDisplayMode(String mode, String currentMode) { in matchDisplayMode() argument
571 return currentMode.equals(DisplayMode.UNFOLDED.toString()); in matchDisplayMode()
575 return currentMode.equals(DisplayMode.FOLDED.toString()); in matchDisplayMode()
/cts/tests/app/src/android/app/cts/
DUiModeManagerTest.java936 int currentMode = mUiModeManager.getNightMode(); in doTestLockedNightMode() local
937 if (currentMode == UiModeManager.MODE_NIGHT_YES) { in doTestLockedNightMode()
939 assertEquals(currentMode, mUiModeManager.getNightMode()); in doTestLockedNightMode()
942 assertEquals(currentMode, mUiModeManager.getNightMode()); in doTestLockedNightMode()