/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
H A D | BaseRenderScriptComparer.java | 14 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 D | testingimage.h | 47 inline int getHeight() const { return mHeight; } 64 int mHeight; member in class:TestingImage
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
H A D | TextureViewCameraActivity.java | 46 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 D | IvfReader.java | 43 private int mHeight; field in class:IvfReader 88 return mHeight; 155 mHeight = (int) changeEndianness(mIvfFile.readShort());
|
H A D | IvfWriter.java | 33 private int mHeight; field in class:IvfWriter 56 mHeight = height; 83 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate));
|
H A D | EncodeDecodeTest.java | 81 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 D | PresentationSyncTest.java | 49 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 D | EncodeVirtualDisplayWithCompositionTest.java | 603 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 D | DecodeEditEncodeTest.java | 83 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 D | Scene.cpp | 22 mWidth(width), mHeight(height) { 38 mProjectionMatrix = setUpProjectionMatrix(mWidth, mHeight);
|
H A D | Scene.h | 42 int mHeight; member in class:Scene
|
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/ |
H A D | BlurMeshNode.cpp | 20 mWidth(width), mHeight(height) { 50 glUniform2f(scaleUniformHandle, 0, 1.0f / mHeight);
|
H A D | BlurMeshNode.h | 34 const float mHeight; member in class:BlurMeshNode
|
H A D | GlowingScene.cpp | 116 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 D | NativeRendererOneColorBufferTest.java | 38 private int mHeight; field in class:NativeRendererOneColorBufferTest 83 mHeight = height;
|
H A D | FramebufferTest.java | 483 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 D | RendererOneColorBufferTest.java | 38 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 D | ProjectionActivity.java | 51 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 D | Renderer.h | 42 EGLint mHeight; member in class:Renderer
|
H A D | Renderer.cpp | 124 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 D | CompressedTextureLoader.java | 53 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 D | ReferenceRenderer.cpp | 42 mScenes[0] = new FlockingScene(mWidth, mHeight); 43 mScenes[1] = new GlowingScene(mWidth, mHeight);
|
/cts/apps/CtsVerifier/lib/colorchecker/ |
H A D | testingimage.cpp | 40 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 D | FullPipelineRenderer.cpp | 134 float ratio = (float) mWidth / mHeight; 145 mTextureId = GLUtils::genTexture(mWidth, mHeight, GLUtils::RANDOM_FILL);
|
/cts/suite/cts/deviceTests/opengl/jni/primitive/pixeloutput/ |
H A D | PixelOutputRenderer.cpp | 74 mTextureId = GLUtils::genTexture(mWidth, mHeight, GLUtils::RANDOM_FILL);
|