Home
last modified time | relevance | path

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

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DGoldenImageVerifier.java28 private final int mHeight; field in GoldenImageVerifier
32 mHeight = goldenBitmap.getHeight(); in GoldenImageVerifier()
33 mGoldenBitmapArray = new int[mWidth * mHeight]; in GoldenImageVerifier()
34 goldenBitmap.getPixels(mGoldenBitmapArray, 0, mWidth, 0, 0, mWidth, mHeight); in GoldenImageVerifier()
45 if (bitmap.getWidth() > mWidth || bitmap.getHeight() > mHeight) { in verify()
46 bitmap = Bitmap.createBitmap(bitmap, 0, 0, mWidth, mHeight); in verify()
/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/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserActivityEmulator.java27 private final int mHeight; field in UserActivityEmulator
44 mHeight = Integer.valueOf(sizes[1].trim()); in UserActivityEmulator()
48 mDevice.executeShellCommand(String.format("input tap %d %d", mWidth / 2, mHeight / 2)); in tapScreenCenter()
/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()
/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.java90 private int mHeight = -1; field in EncodeDecodeTest
367 mHeight = height; in setParameters()
379 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in shouldSkip()
411 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromBuffer()
483 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
504 outputSurface = new OutputSurface(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
529 inputSurface.updateSize(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface()
632 byte[] frameData = new byte[mWidth * mHeight * 3 / 2]; in doEncodeDecodeVideoFromBuffer()
642 String fileName = DEBUG_FILE_NAME_BASE + mWidth + "x" + mHeight + ".mp4"; in doEncodeDecodeVideoFromBuffer()
653 outputSurface = new OutputSurface(mWidth, mHeight); in doEncodeDecodeVideoFromBuffer()
[all …]
DPresentationSyncTest.java51 private int mHeight; field in PresentationSyncTest
93 mHeight = output.getHeight(); in testThroughput()
94 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); in testThroughput()
227 mHeight = output.getHeight(); in suppressed_testChoreographed()
228 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight); in suppressed_testChoreographed()
402 startY = (num / 16) * (mHeight / 4); in drawFrame()
414 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4); in drawFrame()
432 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()
DDecodeEditEncodeTest.java84 private int mHeight = -1; field in DecodeEditEncodeTest
147 mHeight = height; in setParameters()
167 String fileName = "vedit1_" + mWidth + "x" + mHeight + ".mp4"; in videoEditTest()
175 String fileName = "vedit2_" + mWidth + "x" + mHeight + ".mp4"; in videoEditTest()
190 if (VERBOSE) Log.d(TAG, "generateVideoFile " + mWidth + "x" + mHeight); in generateVideoFile()
197 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); in generateVideoFile()
362 startY = mHeight / 2; in generateSurfaceFrame()
372 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2); in generateSurfaceFrame()
388 if (VERBOSE) Log.d(TAG, "editVideoFile " + mWidth + "x" + mHeight); in editVideoFile()
400 MediaFormat outputFormat = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); in editVideoFile()
[all …]
DInputSurface.java50 private int mHeight; field in InputSurface
118 mHeight = getHeight(); in eglSetup()
123 if (width != mWidth || height != mHeight) { in updateSize()
128 mHeight = getHeight(); in updateSize()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator.java45 private final int mHeight; field in SurfacePixelValidator
75 boolean success = mPixelChecker.checkPixels(blackishPixelCount, mWidth, mHeight);
92 Bitmap capture = Bitmap.createBitmap(mWidth, mHeight,
106 mHeight = size.y; in SurfacePixelValidator()
133 /*Element.U32(mRS)*/, mWidth, mHeight), in createBufferQueueAllocation()
DSurfacePixelValidator2.java40 private final int mHeight; field in SurfacePixelValidator2
68 boolean success = mPixelChecker.validatePlane(plane, mBoundsToCheck, mWidth, mHeight);
105 mHeight = size.y; in SurfacePixelValidator2()
113 mImageReader = ImageReader.newInstance(mWidth, mHeight, HardwareBuffer.RGBA_8888, 1, in SurfacePixelValidator2()
/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/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()
/cts/tests/camera/src/android/hardware/camera2/cts/
DHeifWriterTest.java236 final int mHeight; field in HeifWriterTest.TestConfig
248 mHeight = height; in TestConfig()
259 int mHeight; field in HeifWriterTest.TestConfig.Builder
268 mHeight = 1080; in Builder()
287 mHeight = sz.getHeight(); in setSize()
306 mWidth, mHeight, mRotation, mQuality, mOutputPath); in build()
317 + ", mHeight " + mHeight in toString()
/cts/apps/CtsVerifier/include/colorchecker/
Dtestingimage.h47 inline int getHeight() const { return mHeight; } in getHeight()
64 int mHeight; variable
/cts/tests/pdf/src/android/graphics/pdf/cts/
DPdfRendererTransformTest.java50 private int mHeight; field in PdfRendererTransformTest
59 mHeight = height; in PdfRendererTransformTest()
127 renderAndCompare(mWidth, mHeight, mDocRes, mClipping, mTransformation, mRenderMode, in test()
/cts/tests/openglperf2/jni/reference/scene/
DScene.cpp22 mWidth(width), mHeight(height) { in Scene()
38 mProjectionMatrix = setUpProjectionMatrix(mWidth, mHeight); in setUpContext()
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp274 mHeight(height), in ImageReaderTestCase()
295 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
385 if (imageWidth != mWidth || imageHeight != mHeight) { in HandleImageAvailable()
387 mHeight, imageWidth, imageHeight); in HandleImageAvailable()
400 if (bufferWidth != mWidth || bufferHeight != mHeight) { in HandleImageAvailable()
402 mHeight, bufferWidth, bufferHeight); in HandleImageAvailable()
446 int32_t mHeight; member in __anonbe2c1fa30111::ImageReaderTestCase
/cts/tests/tests/media/libmediandkjni/
Dnative_media_source.h40 mHeight(h), in Source()
60 int32_t mHeight; variable

12