| /cts/tests/tests/transition/src/android/transition/cts/ |
| D | SceneTest.java | 29 import android.transition.Scene; 44 * Test Scene(ViewGroup) with enterAction and exitAction 48 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() 73 * Test Scene(ViewGroup, View) 78 constructorTest(new Scene(mSceneRoot, view)); in testViewConstructor() [all …]
|
| D | BaseTransitionTest.java | 30 import android.transition.Scene; 107 protected Scene loadScene(final View layout) throws Throwable { in loadScene() 108 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() 114 protected Scene loadScene(final int layoutId) throws Throwable { 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 [all …]
|
| D | TransitionManagerTest.java | 31 import android.transition.Scene; 79 final Scene scene6 = loadScene(R.layout.scene6); in testDefaultBeginDelayedTransition() 172 final Scene scene6 = loadScene(R.layout.scene6); in testDefaultGo() 196 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() 226 final Scene[] scenes = new Scene[3]; in testSetTransition2() 229 scenes[0] = Scene.getSceneForLayout(mSceneRoot, R.layout.scene1, mActivity); in testSetTransition2() [all …]
|
| /cts/apps/CameraITS/ |
| D | config_parallel.yml | 30 scene: <scene-name> # if <scene-name> left as-is runs all scenes 47 scene: <scene-name> # if <scene-name> left as-is runs all scenes 64 scene: <scene-name> # if <scene-name> left as-is runs all scenes 88 scene: "sensor_fusion"
|
| D | config.yml | 34 scene: <scene-name> # if <scene-name> left as-is runs all scenes 56 scene: "sensor_fusion"
|
| /cts/tests/openglperf2/jni/reference/scene/ |
| D | Scene.cpp | 14 #include "Scene.h" 21 Scene::Scene(int width, int height) : in Scene() function in Scene 25 bool Scene::setUpContext() { in setUpContext() 45 bool Scene::tearDown() { in tearDown() 65 bool Scene::update(int frame) { in update() 67 // Delete the old scene graphs. in update() 75 void Scene::drawSceneGraph(int index) { in drawSceneGraph()
|
| D | Scene.h | 24 class Scene { 26 Scene(int width, int height); 27 virtual ~Scene() {}; in ~Scene()
|
| /cts/apps/CameraITS/tools/ |
| D | run_all_tests.py | 59 _INT_STR_DICT = {'11': '1_1', '12': '1_2'} # recover replaced '_' in scene def 67 # Notes on scene names: 68 # scene*_1/2/... are same scene split to load balance run times for scenes 69 # scene*_a/b/... are similar scenes that share one or more tests 95 # Scene requirements for manual testing. 98 'scene1_1': 'A grey card covering at least the middle 30% of the scene', 99 'scene1_2': 'A grey card covering at least the middle 30% of the scene', 108 'the scene. See tests/scene4/scene4.png', 116 'A tablet displayed scene with a face on the left ' 121 'A tablet displayed scene with a white circle ' [all …]
|
| D | run_all_unit_tests.py | 44 """Ensures _ALL_SCENES list matches scene folders in test directory.""" 48 """Ensures _AUTO_SCENES list matches scene folders in test directory.""" 52 """Ensures _SCENE_REQ scenes match scene folders in test directory.""" 56 """Ensures _GROUPED_SCENES scenes match scene folders in test directory.""" 57 # flatten list of scene folder lists stored as values of a dictionary
|
| /cts/tests/openglperf2/jni/reference/ |
| D | ReferenceRenderer.h | 17 #include "scene/Scene.h" 35 Scene* mScenes[NUM_SCENES]; 36 Scene* mCurrentScene;
|
| D | ReferenceRenderer.cpp | 16 #include "scene/flocking/FlockingScene.h" 17 #include "scene/glowing/GlowingScene.h" 99 __android_log_print(ANDROID_LOG_ERROR, "ReferenceRenderer", "Error when rendering scene"); in drawWorkload()
|
| /cts/apps/CameraITS/tests/scene3/ |
| D | test_landscape_to_portrait.py | 84 both automatic and manual captures so it requires a fixed scene 106 # Load chart for scene 108 cam, props, self.scene, self.tablet, self.chart_distance) 110 # Initialize chart class and locate chart in scene 135 # Load chart for scene 137 cam, props, self.scene, self.tablet, self.chart_distance) 139 # Initialize chart class and locate chart in scene
|
| /cts/apps/CameraITS/tests/ |
| D | its_base_test.py | 97 if self.user_params.get('scene'): 98 self.scene = self.user_params['scene'] 137 if arduino_serial_port and self.scene != 'scene0': 142 # Check if current foldable state matches scene, if applicable 153 f'Testing folded scene {scene_with_suffix} with unfolded device!') 157 f'Testing unfolded scene {scene_with_suffix} with a ' 269 def determine_not_yet_mandated_tests(self, device_id, scene): argument 274 scene: scene to which tests belong to. 281 not_yet_mandated[scene] = [] 287 tests = NOT_YET_MANDATED[scene] [all …]
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
| D | ItsTestActivity.java | 71 * Test for Camera features that require that the camera be aimed at a specific test scene. 152 // (camera, scene) -> (pass, fail) 289 for (String scene : scenes) { in onReceive() 290 JSONObject sceneResult = jsonResults.getJSONObject(scene); in onReceive() 294 Log.e(TAG, "Result for " + scene + " is null"); in onReceive() 297 Log.i(TAG, "ITS camera" + cameraId + " " + scene + ": result:" + result); in onReceive() 299 Log.e(TAG, "Unknown result for " + scene + ": " + result); in onReceive() 302 ResultKey key = new ResultKey(cameraId, scene); in onReceive() 306 // Get start/end time per camera/scene for result history collection. in onReceive() 309 setTestResult(testId(cameraId, scene), pass ? in onReceive() [all …]
|
| /cts/apps/CameraITS/tests/scene2_a/ |
| D | test_autoframing.py | 55 # Load chart for scene 57 cam, props, self.scene, self.tablet, self.chart_distance, 67 # zooms into the scene so that none of the faces are in the view 88 # Also check the faces with open cv to make sure the scene is not
|
| D | test_display_p3.py | 47 both automatic and manual captures so it requires a fixed scene 64 # Load chart for scene 66 cam, props, self.scene, self.tablet, self.chart_distance)
|
| D | test_reprocess_uv_swap.py | 107 # Load chart for scene 109 cam, props, self.scene, self.tablet, self.chart_distance) 182 # Load chart for scene 184 cam, props, self.scene, self.tablet, self.chart_distance) 255 # Load chart for scene 257 cam, props, self.scene, self.tablet, self.chart_distance)
|
| /cts/apps/CameraITS/tests/scene_extensions/scene_night/ |
| D | test_night_extension.py | 63 offset = int(circle[_R_STRING] // 2) # Dot location from scene definition 169 * is brighter OR improves appearance of scene artifacts 174 """Find maximum brightness at which orientation circle in scene is visible. 207 self.scene = 'scene_night' 250 # Turn OFF lights to darken scene 266 y_plane, self.scene, state='OFF', log_path=self.log_path) 270 cam, props, self.scene, self.tablet, self.chart_distance, 295 # Set tablet brightness to darken scene 328 'expected values from the scene')
|
| /cts/apps/CameraITS/tests/scene1_1/ |
| D | test_dng_noise_model.py | 49 measuring noise of a small patch) and some imperfect scene conditions 50 (since ITS doesn't require a perfectly uniformly lit scene). 71 # Load chart for scene 73 cam, props, self.scene, self.tablet, 76 # Expose for the scene with min sensitivity 83 # Focus at zero to intentionally blur the scene as much as possible.
|
| D | test_3a.py | 14 """Verifies 3A converges with gray chart scene.""" 54 # Load chart for scene 56 cam, props, self.scene, self.tablet, self.chart_distance)
|
| /cts/tests/openglperf2/jni/reference/scene/glowing/ |
| D | GlowingScene.h | 19 #include "../Scene.h" 21 class GlowingScene: public Scene {
|
| /cts/tests/openglperf2/jni/reference/scene/flocking/ |
| D | FlockingScene.h | 19 #include "../Scene.h" 22 class FlockingScene : public Scene {
|
| /cts/apps/CameraITS/utils/ |
| D | opencv_processing_utils.py | 322 # the chart will take up more of the scene. Assume w > h, since this is 342 xnorm: float; [0, 1] left loc of chart in scene 343 ynorm: float; [0, 1] top loc of chart in scene 344 wnorm: float; [0, 1] width of chart in scene 345 hnorm: float; [0, 1] height of chart in scene 351 chart, scene, s_factor = self._calc_scale_factors(cam, props, fmt, log_path, 363 if numpy.amax(scene) <= 1.0: 364 scene = (scene * 255.0).astype(numpy.uint8) 365 scene_gray = gray_scale_img(scene) 366 logging.debug('Finding chart in scene...') [all …]
|
| /cts/apps/CameraITS/tests/scene2_c/ |
| D | test_camera_launch_perf_class.py | 45 # Load chart for scene. 48 cam, props, self.scene, self.tablet, self.chart_distance)
|
| D | test_jpeg_capture_perf_class.py | 45 # Load chart for scene. 48 cam, props, self.scene, self.tablet, self.chart_distance)
|