Home
last modified time | relevance | path

Searched refs:frame (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimationDrawableTest.java183 Drawable frame = mResources.getDrawable(R.drawable.failed); in testGetNumberOfFrames() local
184 mAnimationDrawable.addFrame(frame, 2000); in testGetNumberOfFrames()
188 mAnimationDrawable.addFrame(frame, 2000); in testGetNumberOfFrames()
200 Drawable frame = mAnimationDrawable.getFrame(FIRST_FRAME_INDEX); in testGetFrame() local
202 assertEquals(drawable.getIntrinsicWidth(), frame.getIntrinsicWidth()); in testGetFrame()
203 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight()); in testGetFrame()
205 frame = mAnimationDrawable.getFrame(SECOND_FRAME_INDEX); in testGetFrame()
207 assertEquals(drawable.getIntrinsicWidth(), frame.getIntrinsicWidth()); in testGetFrame()
208 assertEquals(drawable.getIntrinsicHeight(), frame.getIntrinsicHeight()); in testGetFrame()
210 frame = mAnimationDrawable.getFrame(THIRD_FRAME_INDEX); in testGetFrame()
[all …]
/cts/suite/cts/deviceTests/opengl/jni/reference/
DReferenceRenderer.cpp78 bool ReferenceRenderer::update(int frame) { in update() argument
80 int sceneId = frame / ReferenceRenderer::FRAMES_PER_SCENE; in update()
81 int localFrame = frame % ReferenceRenderer::FRAMES_PER_SCENE; in update()
DReferenceRenderer.h28 bool update(int frame);
/cts/tests/tests/textureview/src/android/textureview/cts/
DGLProducerThread.java55 public void drawFrame(int frame); in drawFrame() argument
147 int frame = 0; in run() local
148 while (frame < mFrames || (mShouldRender != null && mShouldRender.get())) { in run()
150 mRenderer.drawFrame(frame); in run()
158 frame++; in run()
DTextureViewTestActivity.java119 public void drawFrame(int frame) { in drawFrame() argument
120 int index = frame % numColors; in drawFrame()
DTextureViewSnapshotTestActivity.java92 public void drawFrame(int frame) { in drawFrame() argument
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/
DScene.h32 virtual bool update(int frame);
40 virtual bool updateSceneGraphs(int frame) = 0;
DScene.cpp65 bool Scene::update(int frame) { in update() argument
72 return updateSceneGraphs(frame); in update()
/cts/tests/tests/media/src/android/media/cts/
DIvfWriter.java93 public void writeFrame(byte[] frame, long timeStamp) throws IOException { in writeFrame() argument
94 mOutputFile.write(makeIvfFrameHeader(frame.length, timeStamp)); in writeFrame()
95 mOutputFile.write(frame); in writeFrame()
DIvfReader.java111 byte[] frame = new byte[frameSize]; in readFrame()
113 mIvfFile.read(frame); in readFrame()
115 return frame; in readFrame()
DVp8CodecTestBase.java574 byte[] frame = ivf.readFrame(inputFrameIndex); in decode()
582 inputBuffers[inputBufIndex].put(frame); in decode()
589 frame.length, in decode()
645 byte[] frame = new byte[bufferInfo.size]; in decode()
647 outputBuffers[outputBufIndex].get(frame, 0, bufferInfo.size); in decode()
650 frame = NV12ToYUV420(frameWidth, frameHeight, in decode()
651 frameStride, frameSliceHeight, frame); in decode()
653 int writeLength = Math.min(frameWidth * frameHeight * 3 / 2, frame.length); in decode()
655 if (writeLength < frame.length && in decode()
657 frame = PackYUV420(frameWidth, frameHeight, in decode()
[all …]
DAdaptivePlaybackTest.java1024 Media.Frame frame = media.getFrame(frameIx);
1029 if (frame != null) {
1030 buf.put((ByteBuffer)frame.buf.clear());
1031 presentationTimeUs += frame.presentationTimeUs;
1032 flags = frame.flags;
1275 Frame frame = getFrame(frameIx);
1276 if (frame != null) {
1277 if (min > frame.presentationTimeUs) {
1278 min = frame.presentationTimeUs;
1280 if (max < frame.presentationTimeUs) {
[all …]
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py260 for frame in frames:
261 frame = (frame * 255.0).astype(numpy.uint8)
262 gframes.append(cv2.cvtColor(frame, cv2.COLOR_RGB2GRAY))
277 frame = frames[i]
279 cv2.circle(frame, (x,y), 3, (100,100,255), -1)
280 its.image.write_image(frame, "%s_features.jpg"%(NAME))
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/flocking/
DFlockingScene.h37 bool updateSceneGraphs(int frame);
DFlockingScene.cpp138 bool FlockingScene::updateSceneGraphs(int frame) { in updateSceneGraphs() argument
179 meshNode = new WaterMeshNode(mMeshes[1], frame, mTextureIds[2], mTextureIds[3]); in updateSceneGraphs()
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
DGlowingScene.h35 bool updateSceneGraphs(int frame);
DGlowingScene.cpp153 bool GlowingScene::updateSceneGraphs(int frame) { in updateSceneGraphs() argument
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCaptureResultTest.java190 for (Integer frame = 0; frame < NUM_FRAMES_TESTED; frame++) { in testPartialResult()
193 requestBuilder.setTag(frame); in testPartialResult()
200 for (int frame = 0; frame < NUM_FRAMES_TESTED; frame++) { in testPartialResult()
647 Integer frame = (Integer) request.getTag(); in onCaptureCompleted() local
648 Log.e(TAG, "Frame " + frame + "ERROR_DUPLICATED_REQUEST"); in onCaptureCompleted()
674 Integer frame = (Integer) request.getTag(); in checkCallbackOrder() local
675 Log.e(TAG, "Frame " + frame + "ERROR_WRONG_CALLBACK_ORDER"); in checkCallbackOrder()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsActivityTest.java64 assertTrue("FrameLayout not inflated", result.findViewById(R.id.frame) != null); in testGood()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java792 Mat frame; in analyzeVideo() local
827 while ((frame = videoDecoder.getFrame(ts)) !=null) { in analyzeVideo()
841 Imgproc.cvtColor(frame, gray, Imgproc.COLOR_RGB2GRAY); in analyzeVideo()
852 Calib3d.drawChessboardCorners(frame, patternSize, centers, true); in analyzeVideo()
896 Calib3d.drawChessboardCorners(frame, patternSize, reprojCenters, true); in analyzeVideo()
898 + "/RVCVRecData/DebugCV/img" + i + ".png", frame); in analyzeVideo() local
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py183 def handle_signal( self, signum, frame): argument
/cts/tools/vm-tests-tf/lib/
Djunit.jar ... public void <init> (java.awt.Frame) java.awt.Frame parent java.awt ...
/cts/tests/expectations/
Dknownfailures.txt196 …description: "This test failed on hw decoder that doesn't output frame with the configured format.…
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...