Home
last modified time | relevance | path

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

12345

/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/tools/
Drun_all_tests.py57 _INT_STR_DICT = {'11': '1_1', '12': '1_2'} # recover replaced '_' in scene def
61 # Notes on scene names:
62 # scene*_1/2/... are same scene split to load balance run times for scenes
63 # scene*_a/b/... are similar scenes that share one or more tests
85 # Scene requirements for manual testing.
88 'scene1_1': 'A grey card covering at least the middle 30% of the scene',
89 'scene1_2': 'A grey card covering at least the middle 30% of the scene',
97 'the scene. See tests/scene4/scene4.png',
173 for scene in results:
174 if RESULT_KEY not in results[scene]:
[all …]
/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/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/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java71 * Test for Camera features that require that the camera be aimed at a specific test scene.
150 // (camera, scene) -> (pass, fail)
287 for (String scene : scenes) { in onReceive()
288 JSONObject sceneResult = jsonResults.getJSONObject(scene); in onReceive()
292 Log.e(TAG, "Result for " + scene + " is null"); in onReceive()
295 Log.i(TAG, "ITS camera" + cameraId + " " + scene + ": result:" + result); in onReceive()
297 Log.e(TAG, "Unknown result for " + scene + ": " + result); in onReceive()
300 ResultKey key = new ResultKey(cameraId, scene); in onReceive()
304 // Get start/end time per camera/scene for result history collection. in onReceive()
307 setTestResult(testId(cameraId, scene), pass ? in onReceive()
[all …]
/cts/apps/CameraITS/
Dconfig.yml34 scene: <scene-name> # if <scene-name> left as-is runs all scenes
56 scene: "sensor_fusion"
/cts/apps/CameraITS/tests/
Dits_base_test.py93 if self.user_params.get('scene'):
94 self.scene = self.user_params['scene']
220 def determine_not_yet_mandated_tests(self, device_id, scene): argument
225 scene: scene to which tests belong to.
232 not_yet_mandated[scene] = []
238 tests = NOT_YET_MANDATED[scene]
243 not_yet_mandated[scene].append(test)
251 if self.user_params.get('scene'):
253 self.dut.serial, self.scene)
254 if self.current_test_info.name in not_yet_mandated_tests[self.scene]:
/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, self.chart_distance)
75 # Expose for the scene with min sensitivity
82 # Focus at zero to intentionally blur the scene as much as possible.
Dtest_3a.py14 """Verifies 3A converges with gray chart scene."""
54 # Load chart for scene
56 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_burst_sameness_manual.py49 Assumes a static scene. Can be used to idenfity if there are sporadic
69 # Load chart for scene
71 cam, props, self.scene, self.tablet, self.chart_distance)
/cts/apps/CameraITS/utils/
Dopencv_processing_utils.py222 xnorm: float; [0, 1] left loc of chart in scene
223 ynorm: float; [0, 1] top loc of chart in scene
224 wnorm: float; [0, 1] width of chart in scene
225 hnorm: float; [0, 1] height of chart in scene
230 chart, scene, s_factor = self._calc_scale_factors(cam, props, fmt, log_path)
241 if numpy.amax(scene) <= 1.0:
242 scene = (scene * 255.0).astype(numpy.uint8)
243 scene_gray = gray_scale_img(scene)
244 logging.debug('Finding chart in scene...')
261 estring = ('Warning: unable to find chart in scene!\n'
[all …]
Dtarget_exposure_utils.py145 the scene, cache it, then return it.
207 """Use device 3A and captured shots to determine scene exposure.
212 Assumes that the camera is pointed at a scene that is reasonably uniform
216 Measures the scene using device 3A and then by taking a shot to hone in on
218 the scene having a intensity level of 0.5 (in the pixel range of [0,1])
Dits_session_utils.py59 _VALIDATE_LIGHTING_THRESH = 0.05 # Determined empirically from scene[1:6] tests
1390 def get_file_name_to_load(self, chart_distance, camera_fov, scene): argument
1396 scene: String; Scene to be used in the test.
1409 scene, str(opencv_processing_utils.SCALE_RFOV_IN_WFOV_BOX))
1415 scene, str(opencv_processing_utils.SCALE_TELE_IN_WFOV_BOX))
1421 scene, str(opencv_processing_utils.SCALE_TELE25_IN_RFOV_BOX))
1427 scene, str(opencv_processing_utils.SCALE_TELE40_IN_RFOV_BOX))
1433 scene, str(opencv_processing_utils.SCALE_TELE_IN_RFOV_BOX))
1435 file_name = '%s.png' % scene
1436 logging.debug('Scene to load: %s', file_name)
[all …]
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.h19 #include "../Scene.h"
21 class GlowingScene: public Scene {
DGlowingScene.cpp28 Scene(width, height), mFboId(0), mMainProgram(NULL), mBlurProgram(NULL) { in GlowingScene()
38 if (!Scene::setUpContext()) { in setUpContext()
150 return Scene::tearDown(); in tearDown()
195 Scene::drawSceneGraph(2); // Blur to Screen in draw()
/cts/tests/openglperf2/jni/reference/scene/flocking/
DFlockingScene.h19 #include "../Scene.h"
22 class FlockingScene : public Scene {
/cts/apps/CameraITS/tests/scene2_c/
Dtest_jpeg_capture_perf_class.py45 # Load chart for scene.
48 cam, props, self.scene, self.tablet, self.chart_distance)
Dtest_camera_launch_perf_class.py45 # Load chart for scene.
48 cam, props, self.scene, self.tablet, self.chart_distance)
/cts/apps/CameraITS/tests/scene2_e/
Dtest_continuous_picture.py117 # Load chart for scene.
119 cam, props, self.scene, self.tablet, self.chart_distance)
124 # Ensure 3A settles in CONTINUOUS_PICTURE mode with no scene change.
/cts/apps/CameraITS/tests/scene1_2/
Dtest_raw_sensitivity.py67 # Load chart for scene (chart_distance=0 for no chart scaling)
69 cam, props, self.scene, self.tablet, chart_distance=0)
71 # Expose for the scene with min sensitivity
Dtest_yuv_plus_dng.py49 # Load chart for scene
51 cam, props, self.scene, self.tablet, self.chart_distance)

12345