Searched refs:currentMode (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/gameframerate/src/ |
D | GameFrameRateTest.java | 160 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/ |
D | FrameRateCtsActivity.java | 719 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 …]
|
D | FrameRateOverrideTest.java | 157 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/ |
D | DisplayTest.java | 792 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/ |
D | ManifestTestListAdapter.java | 565 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/ |
D | UiModeManagerTest.java | 936 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()
|