Home
last modified time | relevance | path

Searched refs:targetMode (Results 1 – 4 of 4) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DCrossAppDragAndDropTests.java135 ComponentName targetComponentName, String targetMode) {
137 sourceComponentName, sourceMode, targetComponentName, targetMode);
155 ComponentName targetComponentName, String targetMode) throws Exception {
157 sourceComponentName, sourceMode, targetComponentName, targetMode);
216 String sourceMode, ComponentName targetComponentName, String targetMode) in launchFreeformActivities() argument
222 launchFreeformActivity(targetComponentName, targetMode, mTargetLogTag, in launchFreeformActivities()
243 String sourceMode, ComponentName targetComponentName, String targetMode) { in launchSplitScreenActivities() argument
259 bundle.putString(EXTRA_MODE, targetMode); in launchSplitScreenActivities()
284 private void assertDropResult(String sourceMode, String targetMode, String expectedDropResult) in assertDropResult() argument
286 assertDragAndDropResults(DRAG_SOURCE, sourceMode, DROP_TARGET, targetMode, in assertDropResult()
[all …]
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java732 private void testSwitchToModeId(DisplayTestActivity activity, Display.Mode targetMode)
735 Log.i(TAG, "Testing switching to mode " + targetMode + ". Current mode = " + initialMode);
762 if (targetMode.getPhysicalHeight() == newMode.mHeight
763 && targetMode.getPhysicalWidth() == newMode.mWidth
764 && Math.abs(targetMode.getRefreshRate() - newMode.mRefreshRate)
784 activity.setPreferredDisplayMode(targetMode);
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);
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityMagnificationTest.java270 final int targetMode = isWindowModeSupported(mInstrumentation.getContext()) in testSetMagnificationConfig_expectedConfig() local
273 .setMode(targetMode) in testSetMagnificationConfig_expectedConfig()
313 final int targetMode = isWindowModeSupported(mInstrumentation.getContext()) in testSetConfigWithDefaultModeAndCenter_expectedConfig() local
316 .setMode(targetMode) in testSetConfigWithDefaultModeAndCenter_expectedConfig()
355 final int targetMode = isWindowModeSupported(mInstrumentation.getContext()) in testSetConfigWithActivatedFalse_expectedConfig() local
358 .setMode(targetMode) in testSetConfigWithActivatedFalse_expectedConfig()
772 final int targetMode = isWindowModeSupported(mInstrumentation.getContext()) in testListener_magnificationConfigChangedWithoutAnimation_notifyConfigChanged() local
779 .setMode(targetMode) in testListener_magnificationConfigChangedWithoutAnimation_notifyConfigChanged()
826 final int targetMode = isWindowModeSupported(mInstrumentation.getContext()) in testListener_magnificationConfigChangedWithAnimation_notifyConfigChanged() local
830 .setMode(targetMode) in testListener_magnificationConfigChangedWithAnimation_notifyConfigChanged()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java299 int targetMode = AudioManager.MODE_IN_COMMUNICATION; in startTest()
301 am.setMode(targetMode); in startTest()
303 if (am.getMode() != targetMode) { in startTest()