/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
D | BaseRenderScriptComparer.java | 14 private int mHeight; field in BaseRenderScriptComparer 31 mHeight = height; in verifySameRS() 48 float[] returnValue = new float[mHeight]; in sum1DFloatAllocation() 52 for (int i = 0; i < mHeight; i++) { in sum1DFloatAllocation() 63 int[] inputIndices = new int[mHeight]; in createInputRowIndexAllocation() 64 for (int i = 0; i < mHeight; i++) { in createInputRowIndexAllocation() 75 return Allocation.createSized(renderScript, Element.F32(renderScript), mHeight, in createOutputRowAllocation()
|
/cts/tests/tests/graphics2/src/android/graphics2/cts/ |
D | TextureViewCameraActivity.java | 46 private int mHeight; field in TextureViewCameraActivity 57 mHeight = height; in onSurfaceTextureAvailable() 83 mHeight = height; in onSurfaceTextureSizeChanged() 96 Assert.assertEquals(mHeight, bitmap.getHeight()); in onSurfaceTextureUpdated() 105 transformMatrix.setRotate(mRotation, mWidth/2, mHeight/2); in onSurfaceTextureUpdated()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 53 mHeight = height; in Texture() 69 public int getHeight() { return mHeight; } in getHeight() 90 private int mHeight; field in CompressedTextureLoader.Texture 125 int mHeight; // height of surface to be created field in CompressedTextureLoader.PVRHeader 155 header.mHeight = headerBuffer.getInt(); in readPVRHeader() 253 int dataSize = (header.mWidth * header.mHeight * header.mBitCount) >> 3; in loadTexturePVRTC() 255 Texture tex = new Texture(header.mWidth, header.mHeight, in loadTexturePVRTC() 319 int mHeight; field in CompressedTextureLoader.DDSHeader 364 header.mHeight = headerBuffer.getInt(); in readDDSHeader() 428 int dataSize = (header.mWidth * header.mHeight * bpp) >> 3; in loadTextureDXT() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeDecodeTest.java | 84 private int mHeight = -1; field in EncodeDecodeTest 340 mHeight = height; in setParameters() 352 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in shouldSkip() 384 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromBuffer() 456 MediaFormat format = MediaFormat.createVideoFormat(mMimeType, mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface() 477 outputSurface = new OutputSurface(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface() 498 inputSurface.updateSize(mWidth, mHeight); in encodeDecodeVideoFromSurfaceToSurface() 601 byte[] frameData = new byte[mWidth * mHeight * 3 / 2]; in doEncodeDecodeVideoFromBuffer() 611 String fileName = DEBUG_FILE_NAME_BASE + mWidth + "x" + mHeight + ".mp4"; in doEncodeDecodeVideoFromBuffer() 622 outputSurface = new OutputSurface(mWidth, mHeight); in doEncodeDecodeVideoFromBuffer() [all …]
|
D | PresentationSyncTest.java | 49 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()
|
D | IvfReader.java | 43 private int mHeight; field in IvfReader 88 return mHeight; in getHeight() 155 mHeight = (int) changeEndianness(mIvfFile.readShort()); in readHeaderData()
|
D | IvfWriter.java | 33 private int mHeight; field in IvfWriter 56 mHeight = height; in IvfWriter() 83 mOutputFile.write(makeIvfHeader(mFrameCount, mWidth, mHeight, mScale, mRate)); in close()
|
D | InputSurface.java | 48 private int mHeight; field in InputSurface 108 mHeight = getHeight(); in eglSetup() 112 if (width != mWidth || height != mHeight) { in updateSize() 117 mHeight = getHeight(); in updateSize()
|
D | DecodeEditEncodeTest.java | 83 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 …]
|
D | EncodeVirtualDisplayWithCompositionTest.java | 610 private int mHeight; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor 650 mHeight = h; in startComposition() 782 Log.i(TAG, "initGl w:" + mWidth + " h:" + mHeight); in initGl() 783 GLES20.glViewport(0, 0, mWidth, mHeight); in initGl() 788 float hMid = mHeight / 2f; in initGl() 798 mTopWindow = new GlWindow(this, 0, 0, mWidth, mHeight); in createWindows() 801 mTopWindow.getSurface(), mWidth, mHeight, mNumWindows); in createWindows() 837 GLES20.glReadPixels(mWidth / 2, mHeight / 2, 1, 1, in doGlRendering() 912 private int mHeight; field in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow 932 mHeight = h; in GlWindow() [all …]
|
D | RemoteVirtualDisplayService.java | 114 private int mHeight; field in RemoteVirtualDisplayService.VirtualDisplayPresentation 123 mHeight = h; in VirtualDisplayPresentation() 132 TAG, mWidth, mHeight, 200, mSurface, 0); in createVirtualDisplay()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | FramebufferTest.java | 483 private int mHeight = -1; field in FramebufferTest.EglSurfaceBase 500 mHeight = mEglCore.querySurface(mEGLSurface, EGL14.EGL_HEIGHT); in createWindowSurface() 512 mHeight = height; in createOffscreenSurface() 526 return mHeight; in getHeight() 535 mWidth = mHeight = -1; in releaseEglSurface() 604 ByteBuffer buf = ByteBuffer.allocateDirect(mWidth * mHeight * 4); in saveFrame() 606 GLES20.glReadPixels(0, 0, mWidth, mHeight, in saveFrame() 611 int pixelCount = mWidth * mHeight; in saveFrame() 622 Bitmap bmp = Bitmap.createBitmap(colors, mWidth, mHeight, Bitmap.Config.ARGB_8888); in saveFrame() 628 Log.d(TAG, "Saved " + mWidth + "x" + mHeight + " frame as '" + filename + "'"); in saveFrame()
|
D | RendererOneColorBufferTest.java | 38 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()
|
D | NativeRendererOneColorBufferTest.java | 38 private int mHeight; field in NativeRendererOneColorBufferTest 83 mHeight = height; in onSurfaceChanged()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/ |
D | ProjectionActivity.java | 51 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/ |
D | testingimage.h | 47 inline int getHeight() const { return mHeight; } in getHeight() 64 int mHeight; variable
|
/cts/tests/openglperf2/jni/reference/scene/glowing/ |
D | GlowingScene.cpp | 116 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()
|
D | BlurMeshNode.cpp | 20 mWidth(width), mHeight(height) { in BlurMeshNode() 50 glUniform2f(scaleUniformHandle, 0, 1.0f / mHeight); in before()
|
D | BlurMeshNode.h | 34 const float mHeight; variable
|
/cts/tests/openglperf2/jni/reference/scene/ |
D | Scene.cpp | 22 mWidth(width), mHeight(height) { in Scene() 38 mProjectionMatrix = setUpProjectionMatrix(mWidth, mHeight); in setUpContext()
|
/cts/tests/openglperf2/jni/reference/ |
D | ReferenceRenderer.cpp | 43 mScenes[0] = new FlockingScene(mWidth, mHeight); in setUp() 44 mScenes[1] = new GlowingScene(mWidth, mHeight); in setUp()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyTests.java | 243 private int mWidth, mHeight; field in PixelCopyTests.QuadColorGLRenderer 261 mHeight = height; in onSurfaceChanged() 267 int cy = mHeight / 2; in onDrawFrame() 271 glScissor(0, cy, cx, mHeight - cy); in onDrawFrame() 274 glScissor(cx, cy, mWidth - cx, mHeight - cy); in onDrawFrame()
|
/cts/tests/openglperf2/jni/primitive/fullpipeline/ |
D | FullPipelineRenderer.cpp | 134 float ratio = (float) mWidth / mHeight; in setUp() 145 mTextureId = GLUtils::genTexture(mWidth, mHeight, GLUtils::RANDOM_FILL); in setUp()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Renderer.cpp | 116 EGL_RESULT_CHECK(eglQuerySurface(mEglDisplay, mEglSurface, EGL_HEIGHT, &mHeight)); in eglSetUp() 232 glViewport(0, 0, mWidth, mHeight); in draw() 253 glViewport(0, 0, mWidth, mHeight); in draw()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | TextureTestRenderer.java | 63 private int mHeight; field in TextureTestRenderer 122 gl.glReadPixels(mWidth / 2, mHeight / 2, 1, 1, GL10.GL_RGBA, in onDrawFrame() 134 mHeight = height; in onSurfaceChanged()
|