Home
last modified time | relevance | path

Searched refs:mWidth (Results 1 – 25 of 48) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/
DIntrinsics.java36 private int mWidth; field in Intrinsics
48 mWidth = width; in Intrinsics()
55 return mWidth; in getWidth()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserActivityEmulator.java26 private final int mWidth; field in UserActivityEmulator
35 mWidth = Integer.valueOf(sizes[0].trim()); in UserActivityEmulator()
40 mDevice.executeShellCommand(String.format("input tap %d %d", mWidth / 2, mHeight / 2)); in tapScreenCenter()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyGLProducerCtsActivity.java44 private int mWidth, mHeight; field in PixelCopyGLProducerCtsActivity.QuadColorGLRenderer
59 mWidth = width; in onSurfaceChanged()
65 int cx = mWidth / 2; in onDrawFrame()
73 glScissor(cx, cy, mWidth - cx, mHeight - cy); in onDrawFrame()
79 glScissor(cx, 0, mWidth - cx, cy); in onDrawFrame()
DTextureViewCameraActivity.java47 private int mWidth; field in TextureViewCameraActivity
59 mWidth = width; in onSurfaceTextureAvailable()
83 mWidth = width; in onSurfaceTextureSizeChanged()
104 Assert.assertEquals(mWidth, bitmap.getWidth()); in onSurfaceTextureUpdated()
113 transformMatrix.setRotate(mRotation, mWidth / 2, mHeight / 2); in onSurfaceTextureUpdated()
/cts/tests/tests/media/src/android/media/cts/
DNdkInputSurface.java31 private int mWidth, mHeight; field in NdkInputSurface
69 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface); in NdkInputSurface()
103 if (width != mWidth || height != mHeight) { in updateSize()
107 mWidth = eglGetWidth(mEGLDisplay, mEGLSurface); in updateSize()
DEncodeDecodeTest.java87 private int mWidth = -1; field in EncodeDecodeTest
364 mWidth = width; in setParameters()
377 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in shouldSkip()
409 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromBuffer()
481 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
502 outputSurface = new OutputSurface(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
527 inputSurface.updateSize(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
630 byte[] frameData = new byte[mWidth * mHeight * 3 / 2]; in doEncodeDecodeVideoFromBuffer()
640 String fileName = DEBUG_FILE_NAME_BASE + mWidth + "x" + mHeight + ".mp4"; in doEncodeDecodeVideoFromBuffer()
651 outputSurface = new OutputSurface(mWidth, mHeight); in doEncodeDecodeVideoFromBuffer()
[all …]
DPresentationSyncTest.java50 private int mWidth; field in PresentationSyncTest
92 mWidth = output.getWidth(); in testThroughput()
94 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); in testThroughput()
226 mWidth = output.getWidth(); in suppressed_testChoreographed()
228 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); in suppressed_testChoreographed()
401 startX = (num % 16) * (mWidth / 16); in drawFrame()
405 startX = (mWidth - mWidth/16) - startX; in drawFrame()
414 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); in drawFrame()
431 mWidth = width; in surfaceChanged()
DIvfReader.java42 private int mWidth; field in IvfReader
81 return mWidth; in getWidth()
151 mWidth = (int) changeEndianness(mIvfFile.readShort()); in readHeaderData()
DIvfWriter.java34 private int mWidth; field in IvfWriter
60 mWidth = width; in IvfWriter()
89 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType)); in close()
DDecodeEditEncodeTest.java82 private int mWidth = -1; field in DecodeEditEncodeTest
145 mWidth = width; in setParameters()
166 String fileName = "vedit1_" + mWidth + "x" + mHeight + ".mp4"; in videoEditTest()
174 String fileName = "vedit2_" + mWidth + "x" + mHeight + ".mp4"; in videoEditTest()
189 if (VERBOSE) Log.d(TAG, "generateVideoFile " + mWidth + "x" + mHeight); in generateVideoFile()
196 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); in generateVideoFile()
360 startX = frameIndex * (mWidth / 4); in generateSurfaceFrame()
363 startX = (7 - frameIndex) * (mWidth / 4); in generateSurfaceFrame()
371 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); in generateSurfaceFrame()
387 if (VERBOSE) Log.d(TAG, "editVideoFile " + mWidth + "x" + mHeight); in editVideoFile()
[all …]
DInputSurface.java47 private int mWidth; field in InputSurface
107 mWidth = getWidth(); in eglSetup()
113 if (width != mWidth || height != mHeight) { in updateSize()
117 mWidth = getWidth(); in updateSize()
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator.java46 private final int mWidth; field in SurfacePixelValidator
77 boolean success = mPixelChecker.checkPixels(blackishPixelCount, mWidth, mHeight);
94 Bitmap capture = Bitmap.createBitmap(mWidth, mHeight,
106 mWidth = size.x; in SurfacePixelValidator()
132 /*Element.U32(mRS)*/, mWidth, mHeight), in createBufferQueueAllocation()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java40 mWidth = width; in Texture()
51 public int getWidth() { return mWidth; } in getWidth()
77 private int mWidth; field in CompressedTextureLoader.Texture
114 int mWidth; // width of input surface field in CompressedTextureLoader.PVRHeader
144 header.mWidth = headerBuffer.getInt(); in readPVRHeader()
241 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3; in loadTexturePVRTC()
243 Texture tex = new Texture(header.mWidth, header.mHeight, in loadTexturePVRTC()
308 int mWidth; field in CompressedTextureLoader.DDSHeader
353 header.mWidth = headerBuffer.getInt(); in readDDSHeader()
416 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3; in loadTextureDXT()
[all …]
DRendererOneColorBufferTest.java37 private int mWidth; field in RendererOneColorBufferTest
211 GLES20.glReadPixels(mWidth/2, mHeight/2, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, in doOnDrawFrame()
219 Log.i(TAG, "w " + mWidth + " h " + mHeight + " rgba" + r + " " + g + " " + b + " " + a); in doOnDrawFrame()
232 mWidth = width; in onSurfaceChanged()
235 GLES20.glViewport(0, 0, mWidth, mHeight); in onSurfaceChanged()
DFramebufferTest.java479 private int mWidth = -1; field in FramebufferTest.EglSurfaceBase
496 mWidth = mEglCore.querySurface(mEGLSurface, EGL14.EGL_WIDTH); in createWindowSurface()
508 mWidth = width; in createOffscreenSurface()
516 return mWidth; in getWidth()
532 mWidth = mHeight = -1; in releaseEglSurface()
601 ByteBuffer buf = ByteBuffer.allocateDirect(mWidth * mHeight * 4); in saveFrame()
603 GLES20.glReadPixels(0, 0, mWidth, mHeight, in saveFrame()
608 int pixelCount = mWidth * mHeight; in saveFrame()
619 Bitmap bmp = Bitmap.createBitmap(colors, mWidth, mHeight, Bitmap.Config.ARGB_8888); in saveFrame()
625 Log.d(TAG, "Saved " + mWidth + "x" + mHeight + " frame as '" + filename + "'"); in saveFrame()
DNativeRendererOneColorBufferTest.java37 private int mWidth; field in NativeRendererOneColorBufferTest
82 mWidth = width; in onSurfaceChanged()
/cts/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h46 inline int getWidth() const { return mWidth; } in getWidth()
63 int mWidth; variable
/cts/tests/openglperf2/jni/reference/scene/
DScene.cpp22 mWidth(width), mHeight(height) { in Scene()
38 mProjectionMatrix = setUpProjectionMatrix(mWidth, mHeight); in setUpContext()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java50 protected int mWidth; field in ProjectionActivity
67 … mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal());
123 mWidth = width; in onSurfaceTextureAvailable()
153 mWidth = width; in onSurfaceTextureSizeChanged()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_source.h39 : mWidth(w), in Source()
59 int32_t mWidth;
/cts/tests/openglperf2/jni/reference/scene/glowing/
DGlowingScene.cpp116 mTextureIds.push_back(GLUtils::genTexture(mWidth, mHeight, 0)); // fbo in setUpTextures()
117 mTextureIds.push_back(GLUtils::genTexture(mWidth, mHeight, 0)); // tmp1 in setUpTextures()
118 mTextureIds.push_back(GLUtils::genTexture(mWidth, mHeight, 0)); // tmp2 in setUpTextures()
194 glViewport(0, 0, mWidth, mHeight); in draw()
DBlurMeshNode.cpp20 mWidth(width), mHeight(height) { in BlurMeshNode()
40 glUniform2f(scaleUniformHandle, 1.0f / mWidth, 0); in before()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTransformTest.java48 private int mWidth; field in PdfRendererTransformTest
57 mWidth = width; in PdfRendererTransformTest()
126 renderAndCompare(mWidth, mHeight, mDocRes, mClipping, mTransformation, mRenderMode, in test()
/cts/tests/openglperf2/jni/reference/
DReferenceRenderer.cpp43 mScenes[0] = new FlockingScene(mWidth, mHeight); in setUp()
44 mScenes[1] = new GlowingScene(mWidth, mHeight); in setUp()
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp272 : mWidth(width), in ImageReaderTestCase()
294 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
384 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
385 ALOGE("Mismatched output image dimension: expected=%dx%d, actual=%dx%d", mWidth, in HandleImageAvailable()
398 if (bufferWidth != mWidth || bufferHeight != mHeight) { in HandleImageAvailable()
399 ALOGE("Mismatched output buffer dimension: expected=%dx%d, actual=%dx%d", mWidth, in HandleImageAvailable()
443 int32_t mWidth; member in __anond2bb31fa0111::ImageReaderTestCase

12