Lines Matching defs:matrix
30 import android.graphics.Matrix;
81 private final Matrix mActiveMatrix = new Matrix();
82 private final Matrix mInactiveMatrix = new Matrix();
414 // TODO: We should change the matrix/shader only when needed
415 final Matrix matrix = mSelected ? mActiveMatrix : mInactiveMatrix;
416 matrix.setTranslate(-left, 0.0f);
417 (mSelected ? mActiveShader : mInactiveShader).setLocalMatrix(matrix);