Searched refs:mHeight (Results 1 - 25 of 33) sorted by relevance

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
H A DBaseRenderScriptComparer.java14 private int mHeight; field in class:BaseRenderScriptComparer
31 mHeight = height;
48 float[] returnValue = new float[mHeight];
52 for (int i = 0; i < mHeight; i++) {
63 int[] inputIndices = new int[mHeight];
64 for (int i = 0; i < mHeight; i++) {
75 return Allocation.createSized(renderScript, Element.F32(renderScript), mHeight,
/cts/apps/CtsVerifier/include/colorchecker/
H A Dtestingimage.h47 inline int getHeight() const { return mHeight; }
64 int mHeight; member in class:TestingImage
/cts/tests/tests/graphics2/src/android/graphics2/cts/
H A DTextureViewCameraActivity.java46 private int mHeight; field in class:TextureViewCameraActivity
57 mHeight = height;
83 mHeight = height;
96 Assert.assertEquals(mHeight, bitmap.getHeight());
105 transformMatrix.setRotate(mRotation, mWidth/2, mHeight/2);
/cts/tests/tests/media/src/android/media/cts/
H A DIvfReader.java43 private int mHeight; field in class:IvfReader
88 return mHeight;
155 mHeight = (int) changeEndianness(mIvfFile.readShort());
H A DIvfWriter.java33 private int mHeight; field in class:IvfWriter
56 mHeight = height;
83 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate));
H A DEncodeDecodeTest.java81 private int mHeight = -1; field in class:EncodeDecodeTest
279 mHeight = height;
303 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight);
369 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight);
390 outputSurface = new OutputSurface(mWidth, mHeight);
502 byte[] frameData = new byte[mWidth * mHeight * 3 / 2];
512 String fileName = DEBUG_FILE_NAME_BASE + mWidth + "x" + mHeight + ".mp4";
523 outputSurface = new OutputSurface(mWidth, mHeight);
623 MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight);
733 + mWidth + "x" + mHeight
[all...]
H A DPresentationSyncTest.java49 private int mHeight; field in class:PresentationSyncTest
91 mHeight = output.getHeight();
92 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight);
225 mHeight = output.getHeight();
226 Log.d(TAG, "Surface w=" + mWidth + " h=" + mHeight);
400 startY = (num / 16) * (mHeight / 4);
412 GLES20.glScissor(startX, startY, mWidth / 16, mHeight / 4);
430 mHeight = height;
H A DEncodeVirtualDisplayWithCompositionTest.java603 private int mHeight; field in class:EncodeVirtualDisplayWithCompositionTest.GlCompositor
643 mHeight = h;
775 Log.i(TAG, "initGl w:" + mWidth + " h:" + mHeight);
776 GLES20.glViewport(0, 0, mWidth, mHeight);
779 // max window is from (0,0) to (mWidth - 1, mHeight - 1)
781 float hMid = mHeight / 2f;
791 mTopWindow = new GlWindow(this, 0, 0, mWidth, mHeight);
794 mTopWindow.getSurface(), mWidth, mHeight, mNumWindows);
827 GLES20.glReadPixels(mWidth / 2, mHeight / 2, 1, 1,
902 private int mHeight; field in class:EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
1065 protected final int mHeight; field in class:EncodeVirtualDisplayWithCompositionTest.VirtualDisplayPresentation
1266 private final int mHeight; field in class:EncodeVirtualDisplayWithCompositionTest.RemoteVirtualDisplayPresentation
[all...]
H A DDecodeEditEncodeTest.java83 private int mHeight = -1; field in class:DecodeEditEncodeTest
146 mHeight = height;
166 String fileName = "vedit1_" + mWidth + "x" + mHeight + ".mp4";
174 String fileName = "vedit2_" + mWidth + "x" + mHeight + ".mp4";
189 if (VERBOSE) Log.d(TAG, "generateVideoFile " + mWidth + "x" + mHeight);
196 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight);
361 startY = mHeight / 2;
371 GLES20.glScissor(startX, startY, mWidth / 4, mHeight / 2);
387 if (VERBOSE) Log.d(TAG, "editVideoFile " + mWidth + "x" + mHeight);
399 MediaFormat outputFormat = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight);
[all...]
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/
H A DScene.cpp22 mWidth(width), mHeight(height) {
38 mProjectionMatrix = setUpProjectionMatrix(mWidth, mHeight);
H A DScene.h42 int mHeight; member in class:Scene
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/
H A DBlurMeshNode.cpp20 mWidth(width), mHeight(height) {
50 glUniform2f(scaleUniformHandle, 0, 1.0f / mHeight);
H A DBlurMeshNode.h34 const float mHeight; member in class:BlurMeshNode
H A DGlowingScene.cpp116 mTextureIds.add(GLUtils::genTexture(mWidth, mHeight, 0)); // fbo
117 mTextureIds.add(GLUtils::genTexture(mWidth, mHeight, 0)); // tmp1
118 mTextureIds.add(GLUtils::genTexture(mWidth, mHeight, 0)); // tmp2
194 glViewport(0, 0, mWidth, mHeight);
/cts/tests/tests/opengl/src/android/opengl/cts/
H A DNativeRendererOneColorBufferTest.java38 private int mHeight; field in class:NativeRendererOneColorBufferTest
83 mHeight = height;
H A DFramebufferTest.java483 private int mHeight = -1; field in class:FramebufferTest.EglSurfaceBase
500 mHeight = mEglCore.querySurface(mEGLSurface, EGL14.EGL_HEIGHT);
512 mHeight = height;
526 return mHeight;
535 mWidth = mHeight = -1;
604 ByteBuffer buf = ByteBuffer.allocateDirect(mWidth * mHeight * 4);
606 GLES20.glReadPixels(0, 0, mWidth, mHeight,
611 int pixelCount = mWidth * mHeight;
622 Bitmap bmp = Bitmap.createBitmap(colors, mWidth, mHeight, Bitmap.Config.ARGB_8888);
628 Log.d(TAG, "Saved " + mWidth + "x" + mHeight
[all...]
H A DRendererOneColorBufferTest.java38 private int mHeight; field in class:RendererOneColorBufferTest
211 GLES20.glReadPixels(mWidth/2, mHeight/2, 1, 1, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE,
219 Log.i(TAG, "w " + mWidth + " h " + mHeight + " rgba" + r + " " + g + " " + b + " " + a);
233 mHeight = height;
235 GLES20.glViewport(0, 0, mWidth, mHeight);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
H A DProjectionActivity.java51 protected int mHeight; field in class:ProjectionActivity
67 mService.startRendering(mSurface, mWidth, mHeight, metrics.densityDpi, mType.ordinal());
124 mHeight = height;
154 mHeight = height;
/cts/suite/cts/deviceTests/opengl/jni/graphics/
H A DRenderer.h42 EGLint mHeight; member in class:Renderer
H A DRenderer.cpp124 if (!eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight)
230 glViewport(0, 0, mWidth, mHeight);
251 glViewport(0, 0, mWidth, mHeight);
/cts/tests/tests/graphics/src/android/opengl/cts/
H A DCompressedTextureLoader.java53 mHeight = height;
69 public int getHeight() { return mHeight; }
90 private int mHeight; field in class:CompressedTextureLoader.Texture
125 int mHeight; // height of surface to be created field in class:CompressedTextureLoader.PVRHeader
155 header.mHeight = headerBuffer.getInt();
253 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3;
255 Texture tex = new Texture(header.mWidth, header.mHeight,
319 int mHeight; field in class:CompressedTextureLoader.DDSHeader
364 header.mHeight = headerBuffer.getInt();
428 int dataSize = (header.mWidth * header.mHeight * bp
[all...]
/cts/suite/cts/deviceTests/opengl/jni/reference/
H A DReferenceRenderer.cpp42 mScenes[0] = new FlockingScene(mWidth, mHeight);
43 mScenes[1] = new GlowingScene(mWidth, mHeight);
/cts/apps/CtsVerifier/lib/colorchecker/
H A Dtestingimage.cpp40 mHeight = inputHeight;
44 for (int i = 0; i < mHeight; ++i) {
64 mHeight = newHeight;
76 for (int i = 0; i < mHeight; ++i) {
103 assert ((row >= 0) && (row < mHeight));
168 for (int j = 0; j < mHeight; j++) {
/cts/suite/cts/deviceTests/opengl/jni/primitive/fullpipeline/
H A DFullPipelineRenderer.cpp134 float ratio = (float) mWidth / mHeight;
145 mTextureId = GLUtils::genTexture(mWidth, mHeight, GLUtils::RANDOM_FILL);
/cts/suite/cts/deviceTests/opengl/jni/primitive/pixeloutput/
H A DPixelOutputRenderer.cpp74 mTextureId = GLUtils::genTexture(mWidth, mHeight, GLUtils::RANDOM_FILL);

Completed in 531 milliseconds

12