Home
last modified time | relevance | path

Searched refs:mHeight (Results 1 – 25 of 43) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyGLProducerCtsActivity.java44 private int mWidth, mHeight; field in PixelCopyGLProducerCtsActivity.QuadColorGLRenderer
60 mHeight = height; in onSurfaceChanged()
66 int cy = mHeight / 2; in onDrawFrame()
70 glScissor(0, cy, cx, mHeight - cy); in onDrawFrame()
73 glScissor(cx, cy, mWidth - cx, mHeight - cy); in onDrawFrame()
DTextureViewCameraActivity.java48 private int mHeight; field in TextureViewCameraActivity
60 mHeight = height; in onSurfaceTextureAvailable()
84 mHeight = height; in onSurfaceTextureSizeChanged()
103 Assert.assertEquals(mHeight, bitmap.getHeight()); in onSurfaceTextureUpdated()
113 transformMatrix.setRotate(mRotation, mWidth / 2, mHeight / 2); in onSurfaceTextureUpdated()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/
DIntrinsics.java37 private int mHeight; field in Intrinsics
49 mHeight = height; in Intrinsics()
59 return mHeight; in getHeight()
/cts/tests/tests/media/src/android/media/cts/
DNdkInputSurface.java31 private int mWidth, mHeight; field in NdkInputSurface
70 mHeight = eglGetHeight(mEGLDisplay, mEGLSurface); in NdkInputSurface()
103 if (width != mWidth || height != mHeight) { in updateSize()
108 mHeight = eglGetHeight(mEGLDisplay, mEGLSurface); in updateSize()
DEncodeDecodeTest.java88 private int mHeight = -1; field in EncodeDecodeTest
365 mHeight = height; 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.java49 private int mHeight; field in PresentationSyncTest
91 mHeight = output.getHeight(); in testThroughput()
92 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); in testThroughput()
225 mHeight = output.getHeight(); in suppressed_testChoreographed()
226 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); in suppressed_testChoreographed()
400 startY = (num / 16) * (mHeight / 4); in drawFrame()
412 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); in drawFrame()
430 mHeight = height; in surfaceChanged()
DIvfReader.java43 private int mHeight; field in IvfReader
88 return mHeight; in getHeight()
155 mHeight = (int) changeEndianness(mIvfFile.readShort()); in readHeaderData()
DIvfWriter.java35 private int mHeight; field in IvfWriter
61 mHeight = height; in IvfWriter()
89 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate, mMimeType)); in close()
DInputSurface.java48 private int mHeight; field in InputSurface
108 mHeight = getHeight(); in eglSetup()
113 if (width != mWidth || height != mHeight) { in updateSize()
118 mHeight = getHeight(); in updateSize()
DDecodeEditEncodeTest.java83 private int mHeight = -1; field in DecodeEditEncodeTest
146 mHeight = height; 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()
361 startY = mHeight / 2; 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()
399 MediaFormat outputFormat = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); in editVideoFile()
[all …]
DRemoteVirtualDisplayService.java114 private int mHeight; field in RemoteVirtualDisplayService.VirtualDisplayPresentation
123 mHeight = h; in VirtualDisplayPresentation()
132 TAG, mWidth, mHeight, 200, mSurface, 0); in createVirtualDisplay()
/cts/tests/tests/view/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator.java47 private final int mHeight; field in SurfacePixelValidator
77 boolean success = mPixelChecker.checkPixels(blackishPixelCount, mWidth, mHeight);
94 Bitmap capture = Bitmap.createBitmap(mWidth, mHeight,
107 mHeight = size.y; in SurfacePixelValidator()
132 /*Element.U32(mRS)*/, mWidth, mHeight), in createBufferQueueAllocation()
/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java41 mHeight = height; in Texture()
57 public int getHeight() { return mHeight; } in getHeight()
78 private int mHeight; field in CompressedTextureLoader.Texture
113 int mHeight; // height of surface to be created field in CompressedTextureLoader.PVRHeader
143 header.mHeight = 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()
307 int mHeight; field in CompressedTextureLoader.DDSHeader
352 header.mHeight = headerBuffer.getInt(); in readDDSHeader()
416 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3; in loadTextureDXT()
[all …]
DFramebufferTest.java480 private int mHeight = -1; field in FramebufferTest.EglSurfaceBase
497 mHeight = mEglCore.querySurface(mEGLSurface, EGL14.EGL_HEIGHT); in createWindowSurface()
509 mHeight = height; in createOffscreenSurface()
523 return mHeight; in getHeight()
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()
DRendererOneColorBufferTest.java38 private int mHeight; 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()
233 mHeight = height; in onSurfaceChanged()
235 GLES20.glViewport(0, 0, mWidth, mHeight); in onSurfaceChanged()
DNativeRendererOneColorBufferTest.java38 private int mHeight; field in NativeRendererOneColorBufferTest
83 mHeight = height; in onSurfaceChanged()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DProjectionActivity.java51 protected int mHeight; field in ProjectionActivity
67 … mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal());
124 mHeight = height; in onSurfaceTextureAvailable()
154 mHeight = height; in onSurfaceTextureSizeChanged()
/cts/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h47 inline int getHeight() const { return mHeight; } in getHeight()
64 int mHeight; variable
/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()
50 glUniform2f(scaleUniformHandle, 0, 1.0f / mHeight); in before()
/cts/tests/openglperf2/jni/reference/scene/
DScene.cpp22 mWidth(width), mHeight(height) { in Scene()
38 mProjectionMatrix = setUpProjectionMatrix(mWidth, mHeight); in setUpContext()
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTransformTest.java49 private int mHeight; field in PdfRendererTransformTest
58 mHeight = height; in PdfRendererTransformTest()
126 renderAndCompare(mWidth, mHeight, mDocRes, mClipping, mTransformation, mRenderMode, in test()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_source.h40 mHeight(h), in Source()
60 int32_t mHeight; variable
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp273 mHeight(height), in ImageReaderTestCase()
294 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
384 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
386 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
398 if (bufferWidth != mWidth || bufferHeight != mHeight) { in HandleImageAvailable()
400 mHeight, bufferWidth, bufferHeight); in HandleImageAvailable()
444 int32_t mHeight; member in __anond2bb31fa0111::ImageReaderTestCase
/cts/tests/openglperf2/jni/reference/
DReferenceRenderer.cpp43 mScenes[0] = new FlockingScene(mWidth, mHeight); in setUp()
44 mScenes[1] = new GlowingScene(mWidth, mHeight); in setUp()

12