Home
last modified time | relevance | path

Searched full:scene (Results 1 – 25 of 129) sorted by relevance

123456

/cts/tests/tests/transition/src/android/transition/cts/
DSceneTest.java29 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 …]
DBaseTransitionTest.java30 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 …]
DTransitionManagerTest.java31 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/
Dconfig_sample_parallel_testing.yml31 scene: <scene-name> # if <scene-name> runs all scenes
48 scene: <scene-name> # if <scene-name> runs all scenes
65 scene: <scene-name> # if <scene-name> runs all scenes
89 scene: "sensor_fusion"
Dconfig.yml34 scene: <scene-name> # if <scene-name> runs all scenes
57 scene: "checkerboard" # "checkerboard" for both SF and scene_flash
/cts/tests/openglperf2/jni/reference/scene/
DScene.cpp14 #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()
DScene.h24 class Scene {
26 Scene(int width, int height);
27 virtual ~Scene() {}; in ~Scene()
/cts/apps/CameraITS/tools/
Drun_all_tests.py63 # recover replaced '_' in scene def
71 # Notes on scene names:
72 # scene*_1/2/... are same scene split to load balance run times for scenes
73 # scene*_a/b/... are similar scenes that share one or more tests
95 # Scene extensions
110 # Scene requirements for manual testing.
113 'scene1_1': 'A grey card covering at least the middle 30% of the scene',
114 'scene1_2': 'A grey card covering at least the middle 30% of the scene',
123 'the scene. See tests/scene4/scene4.png',
133 'scene9': 'A scene with high entropy consisting of random size and colored '
[all …]
Drun_all_unit_tests.py44 """Ensures _ALL_SCENES list matches scene folders in test directory."""
48 """Ensures _TABLET_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
Dcheck_alignment.py30 _SCENE = 'scene4' # Using scene with circle
74 """Create a single capture that checks for scene center vs. circle center.
86 # Load chart for scene
/cts/tests/openglperf2/jni/reference/
DReferenceRenderer.h17 #include "scene/Scene.h"
35 Scene* mScenes[NUM_SCENES];
36 Scene* mCurrentScene;
DReferenceRenderer.cpp16 #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/
Dtest_landscape_to_portrait.py84 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/scene9/
Dtest_jpeg_high_entropy.py14 """Verifies JPEG still capture images are correct in the complex scene."""
73 """Tests JPEG still capture with a complex scene.
75 Steps zoom ratio to ensure the complex scene fills the camera FoV.
88 # Load chart for scene
90 cam, props, self.scene, self.tablet,
138 'Scene is not busy enough! Measured RGB variances: '
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java86 * Test for Camera features that require that the camera be aimed at a specific test scene.
258 // (camera, scene) -> (pass, fail)
404 for (String scene : scenes) { in onReceive()
405 JSONObject sceneResult = jsonResults.getJSONObject(scene); in onReceive()
409 Log.e(TAG, "Result for " + scene + " is null"); in onReceive()
412 Log.i(TAG, "ITS camera" + cameraId + " " + scene + ": result:" + result); in onReceive()
414 Log.e(TAG, "Unknown result for " + scene + ": " + result); in onReceive()
417 ResultKey key = new ResultKey(cameraId, scene); in onReceive()
421 // Get start/end time per camera/scene for result history collection. in onReceive()
424 setTestResult(testId(cameraId, scene), pass ? in onReceive()
[all …]
/cts/apps/CameraITS/tests/scene1_1/
Dtest_dng_noise_model.py49 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.
/cts/apps/CameraITS/tests/scene2_a/
Dtest_display_p3.py47 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)
Dtest_reprocess_uv_swap.py107 # 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_low_light/
Dtest_night_extension.py89 self.scene = 'scene_low_light'
136 # Turn OFF lights to darken scene
152 y_plane, self.scene, state='OFF', log_path=self.log_path,
157 cam, props, self.scene, self.tablet, self.chart_distance,
189 # Set tablet brightness to darken scene
Dtest_low_light_boost_extension.py114 self.scene = 'scene_low_light'
159 # Turn OFF lights to darken scene
175 y_plane, self.scene, state='OFF', log_path=self.log_path,
180 cam, props, self.scene, self.tablet, self.chart_distance,
188 # Set tablet brightness to darken scene
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.h19 #include "../Scene.h"
21 class GlowingScene: public Scene {
/cts/apps/CameraITS/tests/scene2_d/
Dtest_autoframing.py79 # Load chart for scene
81 cam, props, self.scene, self.tablet, self.chart_distance,
91 # zooms into the scene so that none of the faces are in the view
119 # Also check the faces with open cv to make sure the scene is not
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.h19 #include "../Scene.h"
22 class FlockingScene : public Scene {
/cts/apps/CameraITS/tests/
Dits_base_test.py75 if self.user_params.get('scene'):
76 self.scene = self.user_params['scene']
116 if arduino_serial_port and self.scene != 'scene0':
121 # Check if current foldable state matches scene, if applicable
132 f'Testing folded scene {scene_with_suffix} with unfolded device!')
136 f'Testing unfolded scene {scene_with_suffix} with a '
/cts/apps/CameraITS/tests/scene_extensions/scene_hdr/
Dtest_hdr_extension.py77 # Rotate tile to reduce scene variation
174 self.scene = 'scene_hdr'
197 # Turn OFF lights to darken scene
210 y_plane, self.scene, state='OFF', log_path=self.log_path,
217 cam, props, self.scene, self.tablet, self.chart_distance,
228 logging.error('Could not converge 3A in HDR scene')

123456