Searched refs:mTargetCoords (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java485 private float[] mTargetCoords = new float[] { 0f, 0f, 1f, 0f, 0f, 1f, 1f, 1f }; field in class:CameraStreamer.CamFrameHandlerGB
620 transferShader.setTargetCoords(mTargetCoords);
638 mTargetCoords = new float[] { 1f, 0f, 0f, 0f, 1f, 1f, 0f, 1f };
641 mTargetCoords = new float[] { 0f, 0f, 0f, 1f, 1f, 0f, 1f, 1f };
644 mTargetCoords = new float[] { 0f, 1f, 1f, 1f, 0f, 0f, 1f, 0f };
647 mTargetCoords = new float[] { 1f, 1f, 1f, 0f, 0f, 1f, 0f, 0f };
653 mTargetCoords = new float[] { 0f, 0f, 1f, 0f, 0f, 1f, 1f, 1f };
656 mTargetCoords = new float[] { 1f, 0f, 1f, 1f, 0f, 0f, 0f, 1f };
659 mTargetCoords = new float[] { 1f, 1f, 0f, 1f, 1f, 0f, 0f, 0f };
662 mTargetCoords
[all...]
H A DImageShader.java53 private float[] mTargetCoords = new float[] { -1f, -1f, 1f, -1f, -1f, 1f, 1f, 1f }; field in class:ImageShader
479 mTargetCoords = new float[8];
481 mTargetCoords[i] = coords[i] * 2f - 1f;
655 // A non-null value of mTargetCoords indicates new values to be set.
656 if (mTargetCoords != null && attr != null) {
658 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mTargetCoords);
661 mTargetCoords = null;

Completed in 11 milliseconds