Home
last modified time | relevance | path

Searched refs:scene (Results 1 – 25 of 70) sorted by relevance

123

/cts/tests/tests/transition/src/android/transition/cts/
DSceneTest.java48 Scene scene = new Scene(mSceneRoot); in testDynamicConstructor() local
49 assertEquals(mSceneRoot, scene.getSceneRoot()); in testDynamicConstructor()
53 scene.setEnterAction(enterCheck); in testDynamicConstructor()
55 scene.setExitAction(exitCheck); in testDynamicConstructor()
56 enterScene(scene); in testDynamicConstructor()
64 exitScene(scene); in testDynamicConstructor()
95 Scene scene = loadScene(R.layout.scene1); in testFactory() local
96 constructorTest(scene); in testFactory()
101 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testGetCurrentScene() local
102 enterScene(scene); in testGetCurrentScene()
[all …]
DBaseTransitionTest.java108 final Scene[] scene = new Scene[1]; in loadScene() local
109 mActivityRule.runOnUiThread(() -> scene[0] = new Scene(mSceneRoot, layout)); in loadScene()
111 return scene[0]; in loadScene()
115 final Scene scene[] = new Scene[1]; in loadScene() local
117 () -> scene[0] = Scene.getSceneForLayout(mSceneRoot, layoutId, mActivity)); in loadScene()
118 return scene[0]; in loadScene()
125 protected void startTransition(final Scene scene) throws Throwable { in startTransition() argument
126 mActivityRule.runOnUiThread(() -> TransitionManager.go(scene, mTransition)); in startTransition()
138 protected void enterScene(final Scene scene) throws Throwable { in enterScene() argument
139 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, scene::enter, false); in enterScene()
[all …]
DTransitionManagerTest.java196 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testSetTransition1() local
197 transitionManager.setTransition(scene, mTransition); in testSetTransition1()
198 transitionManager.transitionTo(scene); in testSetTransition1()
215 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene2, mActivity); in testSetTransition1() local
216 transitionManager.transitionTo(scene); in testSetTransition1()
274 Scene scene = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testEndTransitionsBeforeStarted() local
275 TransitionManager.go(scene, mTransition); in testEndTransitionsBeforeStarted()
286 Scene scene = loadScene(R.layout.scene1); in testGo_enterAction() local
288 scene.setEnterAction(enterCheck); in testGo_enterAction()
291 TransitionManager.go(scene); in testGo_enterAction()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java215 for (String scene : scenes) { in onReceive()
217 JSONObject sceneResult = jsonResults.getJSONObject(scene); in onReceive()
221 Log.e(TAG, "Result for " + scene + " is null"); in onReceive()
224 Log.i(TAG, "ITS camera" + cameraId + " " + scene + ": result:" + result); in onReceive()
226 Log.e(TAG, "Unknown result for " + scene + ": " + result); in onReceive()
229 ResultKey key = new ResultKey(cameraId, scene); in onReceive()
236 setTestResult(testId(cameraId, scene), pass ? in onReceive()
238 … Log.e(TAG, "setTestResult for " + testId(cameraId, scene) + ": " + result); in onReceive()
368 protected String testTitle(String cam, String scene) { in testTitle() argument
369 return "Camera: " + cam + ", " + scene; in testTitle()
[all …]
/cts/apps/CameraITS/tests/
Dits_base_test.py88 self.scene = self.user_params['scene']
194 def determine_not_yet_mandated_tests(self, device_id, scene): argument
206 not_yet_mandated[scene] = []
212 tests = NOT_YET_MANDATED[scene]
217 not_yet_mandated[scene].append(test)
227 self.dut.serial, self.scene)
228 if self.current_test_info.name in not_yet_mandated_tests[self.scene]:
/cts/apps/CameraITS/tools/
Drun_all_tests.py168 for scene in results:
169 if RESULT_KEY not in results[scene]:
171 if results[scene][RESULT_KEY] not in RESULT_VALUES:
173 if SUMMARY_KEY in results[scene]:
176 (adb, results[scene][SUMMARY_KEY], device_summary_path))
177 results[scene][SUMMARY_KEY] = device_summary_path
188 def load_scenes_on_tablet(scene, tablet_id): argument
197 os.path.join(os.environ['CAMERA_ITS_TOP'], 'tests', scene))
201 scene, file_name)
208 def check_manual_scenes(device_id, camera_id, scene, out_path): argument
[all …]
/cts/apps/CameraITS/utils/
Dopencv_processing_utils.py245 chart, scene, s_factor = self._calc_scale_factors(cam, props, fmt, s, e,
257 if numpy.amax(scene) <= 1.0:
258 scene = (scene * 255.0).astype(numpy.uint8)
259 scene_gray = gray_scale_img(scene)
295 self.wnorm = ((bottom_right[0]) - top_left[0]) / scene.shape[1]
296 self.hnorm = ((bottom_right[1]) - top_left[1]) / scene.shape[0]
297 self.xnorm = (top_left[0]) / scene.shape[1]
298 self.ynorm = (top_left[1]) / scene.shape[0]
Dits_session_utils.py997 def get_file_name_to_load(self, chart_distance, camera_fov, scene): argument
1016 scene, str(opencv_processing_utils.SCALE_RFOV_IN_WFOV_BOX))
1022 scene, str(opencv_processing_utils.SCALE_TELE_IN_WFOV_BOX))
1028 scene, str(opencv_processing_utils.SCALE_TELE25_IN_RFOV_BOX))
1034 scene, str(opencv_processing_utils.SCALE_TELE40_IN_RFOV_BOX))
1040 scene, str(opencv_processing_utils.SCALE_TELE_IN_RFOV_BOX))
1042 file_name = '%s.png' % scene
1198 def load_scene(cam, props, scene, tablet, chart_distance): argument
1213 file_name = cam.get_file_name_to_load(chart_distance, camera_fov, scene)
1236 validate_lighting(y_plane, scene)
[all …]
/cts/apps/CameraITS/tests/scene2_c/
Dtest_camera_launch_perf_class.py49 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_jpeg_capture_perf_class.py49 cam, props, self.scene, self.tablet, self.chart_distance)
/cts/apps/CameraITS/tests/scene1_1/
Dtest_3a.py51 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_jpeg.py76 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_ae_af.py58 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_locked_burst.py66 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_param_exposure_time.py62 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_ae_precapture_trigger.py66 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_latching.py67 cam, props, self.scene, self.tablet, self.chart_distance)
/cts/apps/CameraITS/tests/scene1_2/
Dtest_yuv_plus_dng.py51 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_yuv_plus_jpeg.py76 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_yuv_plus_raw12.py59 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_yuv_plus_raw.py59 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_yuv_plus_raw10.py59 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_param_sensitivity.py64 cam, props, self.scene, self.tablet, self.chart_distance)
/cts/apps/CameraITS/tests/scene2_e/
Dtest_continuous_picture.py119 cam, props, self.scene, self.tablet, self.chart_distance)
/cts/apps/CameraITS/tests/scene2_d/
Dtest_num_faces.py72 cam, props, self.scene, self.tablet, self.chart_distance)

123