Home
last modified time | relevance | path

Searched refs:mController (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DLayoutAnimationControllerTest.java66 private LayoutAnimationController mController; field in LayoutAnimationControllerTest
78 mController = new LayoutAnimationController(mDefaultAnimation, DEFAULT_DELAY); in setup()
83 mController.setOrder(LayoutAnimationController.ORDER_NORMAL); in testAccessOrder()
84 assertEquals(LayoutAnimationController.ORDER_NORMAL, mController.getOrder()); in testAccessOrder()
86 AnimationTestUtils.assertRunController(mActivityRule, mListView, mController, in testAccessOrder()
128 mController.setOrder(LayoutAnimationController.ORDER_REVERSE); in testAccessOrder()
129 assertEquals(LayoutAnimationController.ORDER_REVERSE, mController.getOrder()); in testAccessOrder()
130 AnimationTestUtils.assertRunController(mActivityRule, mListView, mController, in testAccessOrder()
171 mController.setOrder(LayoutAnimationController.ORDER_NORMAL); in testAccessDelay()
173 mController.setDelay(delay); in testAccessDelay()
[all …]
DGridLayoutAnimationControllerTest.java65 private GridLayoutAnimationController mController; field in GridLayoutAnimationControllerTest
78 mController = new GridLayoutAnimationController(mDefaultAnimation, DEFAULT_DELAY, in setup()
101 mController.setRowDelay(delay); in testAccessDelay()
102 assertEquals(delay, mController.getRowDelay(), 0.0f); in testAccessDelay()
103 AnimationTestUtils.assertRunController(mActivityRule, mGridView, mController, in testAccessDelay()
111 mController.setColumnDelay(delay); in testAccessDelay()
112 assertEquals(delay, mController.getColumnDelay(), 0.0f); in testAccessDelay()
113 AnimationTestUtils.assertRunController(mActivityRule, mGridView, mController, in testAccessDelay()
189 mController.setDirection(GridLayoutAnimationController.DIRECTION_BOTTOM_TO_TOP);
191 mController.getDirection());
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaController2Test.java86 MediaController2 mController; field in MediaController2Test
122 mController = createController(mSession.getToken()); in setUp()
155 mController.play(); in testPlay()
166 mController.pause(); in testPause()
178 mController.stop(); in testStop()
189 mController.prepare(); in testPrepare()
211 mController.seekTo(seekPosition); in testSeekTo()
242 PendingIntent sessionActivity = mController.getSessionActivity(); in testGetSessionActivity()
250 mController.setPlaylist(list, null /* Metadata */); in testSetPlaylist()
309 mController.updatePlaylistMetadata(testMetadata); in testUpdatePlaylistMetadata()
[all …]
DMediaControllerTest.java51 private MediaController mController; field in MediaControllerTest
59 mController = mSession.getController(); in setUp()
65 assertEquals(getContext().getPackageName(), mController.getPackageName()); in testGetPackageName()
70 Rating.RATING_NONE, mController.getRatingType()); in testGetRatingType()
73 assertEquals(Rating.RATING_5_STARS, mController.getRatingType()); in testGetRatingType()
77 assertEquals(mSession.getSessionToken(), mController.getSessionToken()); in testGetSessionToken()
86 mController.sendCommand(command, extras, new ResultReceiver(null)); in testSendCommand()
98 mController.adjustVolume(37, 0); in testAdjustVolumeWithIllegalDirection()
130 mController.setVolumeTo(7, 0); in testVolumeControl()
135 mController.adjustVolume(AudioManager.ADJUST_LOWER, 0); in testVolumeControl()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DVideoView2Test.java89 private MediaController mController; field in VideoView2Test
120 mController = mVideoView.getMediaController(); in setup()
162 mController.registerCallback(mockControllerCallback); in testPlayVideo()
164 mController.getTransportControls().play(); in testPlayVideo()
189 mController.registerCallback(mockControllerCallback); in testPlayVideoOnTextureView()
196 mController.getTransportControls().play(); in testPlayVideoOnTextureView()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java68 private RecordProcedureController mController; field in RVCVRecordActivity
94 if (mController != null) { in startRecordcontroller()
96 mController.quit(); in startRecordcontroller()
99 mController = new RecordProcedureController(this); in startRecordcontroller()
103 if (mController != null) { in stopRecordcontroller()
105 mController.quit(); in stopRecordcontroller()
129 if (mController != null) { in onPause()
130 mController.quit(); in onPause()
/cts/tools/utils/
DDescriptionGenerator.java439 if ((caze.mController != null) && (caze.mController.length() != 0)) { in appendTestCases()
440 setAttribute(caseNode, ATTRIBUTE_HOST_CONTROLLER, caze.mController); in appendTestCases()
639 String mController; field in DescriptionGenerator.TestMethod
660 mController = controller; in TestMethod()