Searched refs:newMode (Results 1 – 4 of 4) sorted by relevance
710 final Optional<Display.Mode> newMode = Arrays.stream(mDefaultDisplay.getSupportedModes())713 assumeTrue("Modes with different sizes are not available", newMode.isPresent());721 testSwitchToModeId(launchActivity(mDisplayTestActivity), newMode.get());752 DisplayModeState newMode = new DisplayModeState(mDefaultDisplay);753 if (mLastMode.equals(newMode)) {759 Log.i(TAG, "Switched mode from=" + mLastMode + " to=" + newMode);762 if (targetMode.getPhysicalHeight() == newMode.mHeight763 && targetMode.getPhysicalWidth() == newMode.mWidth764 && Math.abs(targetMode.getRefreshRate() - newMode.mRefreshRate)772 mLastMode = newMode;[all …]
448 int newMode = (oldMode + 1) % 3; in testVoWiFiModeSetting() local450 (m) -> m.setVoWiFiModeSetting(newMode)); in testVoWiFiModeSetting()455 assertEquals(newMode, newModeResult); in testVoWiFiModeSetting()484 int newMode = (oldMode + 1) % 3; in testVoWiFiRoamingModeSetting() local486 (m) -> m.setVoWiFiRoamingModeSetting(newMode)); in testVoWiFiRoamingModeSetting()492 + "setVoWiFiRoamingModeSetting", newMode, newModeResult); in testVoWiFiRoamingModeSetting()
359 int newMode = mode; in updateDisplayPowerModeSetting() local361 newMode = DISPLAY_POWER_MODE_ALWAYS_ON; in updateDisplayPowerModeSetting()366 value.append(displayPort).append(":").append(newMode); in updateDisplayPowerModeSetting()
443 protected void onModeChange(final int oldMode, final int newMode) { in onModeChange() argument444 super.onModeChange(oldMode, newMode); in onModeChange()446 mNewMode = newMode; in onModeChange()