/frameworks/base/services/core/java/com/android/server/wm/ |
AccessibilityController.java | 25 import android.graphics.Matrix; 200 Matrix outMatrix) { 201 sTempFloats[Matrix.MSCALE_X] = windowState.mWinAnimator.mDsDx; 202 sTempFloats[Matrix.MSKEW_Y] = windowState.mWinAnimator.mDtDx; 203 sTempFloats[Matrix.MSKEW_X] = windowState.mWinAnimator.mDsDy; 204 sTempFloats[Matrix.MSCALE_Y] = windowState.mWinAnimator.mDtDy; 205 sTempFloats[Matrix.MTRANS_X] = windowState.mShownFrame.left; 206 sTempFloats[Matrix.MTRANS_Y] = windowState.mShownFrame.top; 207 sTempFloats[Matrix.MPERSP_0] = 0; 208 sTempFloats[Matrix.MPERSP_1] = 0 475 Matrix matrix = mTempMatrix; local 1128 Matrix matrix = mTempMatrix; local [all...] |
ScreenRotationAnimation.java | 24 import android.graphics.Matrix; 117 final Matrix mFrameInitialMatrix = new Matrix(); 118 final Matrix mSnapshotInitialMatrix = new Matrix(); 119 final Matrix mSnapshotFinalMatrix = new Matrix(); 120 final Matrix mExitFrameFinalMatrix = new Matrix(); 121 final Matrix mTmpMatrix = new Matrix() [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | 24 import android.opengl.Matrix; 146 float matrix[] = mMatrixValues; local 147 Matrix.setIdentityM(matrix, 0); 150 Matrix.translateM(matrix, 0, 0, height, 0); 151 Matrix.scaleM(matrix, 0, 1, -1, 1); 230 Matrix.translateM(mMatrixValues, 0, x, y, z); 234 // (1) we knows z = 0, (2) we inline the Matrix.translateM call [all...] |
/external/eigen/doc/ |
InsideEigenExample.dox | 74 typedef Matrix<float, Dynamic, 1> VectorXf; 77 The class template Matrix is declared in src/Core/util/ForwardDeclarations.h with 6 template parameters, but the last 3 are automatically determined by the first 3. So you don't need to worry about them for now. Here, Matrix\<float, Dynamic, 1\> means a matrix of floats, with a dynamic number of rows and 1 column. 79 The Matrix class inherits a base class, MatrixBase. Don't worry about it, for now it suffices to say that MatrixBase is what unifies matrices/vectors and all the expressions types -- more on that below. 85 the constructor that is called is Matrix::Matrix(int), in src/Core/Matrix.h. Besides some assertions, all it does is to construct the \a m_storage member, which is of type DenseStorage\<float, Dynamic, Dynamic, 1\>. 87 You may wonder, isn't it overengineering to have the storage in a separate class? The reason is that the Matrix class template covers all kinds of matrices and vector: both fixed-size and dynamic-size. The storage method is not the same in these two cases. For fixed-size, the matrix coefficients are stored as a plain member array. For dynamic-size, the coefficients will be stored (…) [all...] |
/external/eigen/unsupported/Eigen/src/Skyline/ |
SkylineMatrix.h | 22 * \brief The main skyline matrix class 24 * This class implements a skyline matrix using the very uncommon storage 157 if (inner > outer) //upper matrix 165 if (inner < outer) //lower matrix 175 if (outer > inner) //upper matrix 183 if (outer < inner) //lower matrix 206 if (col > row) //upper matrix 212 if (col < row) //lower matrix 219 if (outer > inner) //upper matrix 225 if (outer < inner) //lower matrix [all...] |
/frameworks/base/core/java/android/view/ |
GLES20Canvas.java | 23 import android.graphics.Matrix; 407 public void setMatrix(Matrix matrix) { 408 nSetMatrix(mRenderer, matrix == null ? 0 : matrix.native_instance); 411 private static native void nSetMatrix(long renderer, long matrix); 415 public void getMatrix(Matrix matrix) { 416 nGetMatrix(mRenderer, matrix.native_instance); 419 private static native void nGetMatrix(long renderer, long matrix); [all...] |
/external/ceres-solver/internal/ceres/ |
normal_prior_test.cc | 47 void RandomMatrix(Matrix* m) { 63 Matrix A(num_rows, num_cols); 100 Matrix A(num_rows, num_cols);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/ |
RatingView.java | 12 import android.graphics.Matrix; 52 Matrix m = new Matrix();
|
/external/chromium_org/chrome/renderer/pepper/ |
pepper_flash_renderer_host.cc | 243 // Convert & set the matrix. 244 SkMatrix matrix; local 245 matrix.set(SkMatrix::kMScaleX, SkFloatToScalar(params.transformation[0][0])); 246 matrix.set(SkMatrix::kMSkewX, SkFloatToScalar(params.transformation[0][1])); 247 matrix.set(SkMatrix::kMTransX, SkFloatToScalar(params.transformation[0][2])); 248 matrix.set(SkMatrix::kMSkewY, SkFloatToScalar(params.transformation[1][0])); 249 matrix.set(SkMatrix::kMScaleY, SkFloatToScalar(params.transformation[1][1])); 250 matrix.set(SkMatrix::kMTransY, SkFloatToScalar(params.transformation[1][2])); 251 matrix.set(SkMatrix::kMPersp0, SkFloatToScalar(params.transformation[2][0])); 252 matrix.set(SkMatrix::kMPersp1, SkFloatToScalar(params.transformation[2][1])) [all...] |
/external/chromium_org/content/renderer/media/android/ |
stream_texture_factory_impl.cc | 32 virtual void OnMatrixChanged(const float matrix[16]) OVERRIDE; 99 void StreamTextureProxyImpl::OnMatrixChanged(const float matrix[16]) { 102 client_->DidUpdateMatrix(matrix);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGTransformTearOff.cpp | 49 SVGMatrixTearOff* SVGTransformTearOff::matrix() function in class:WebCore::SVGTransformTearOff 58 void SVGTransformTearOff::setMatrix(PassRefPtr<SVGMatrixTearOff> matrix, ExceptionState& exceptionState) 65 target()->setMatrix(matrix->value());
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
path.h | 34 struct matrix; 95 struct matrix *m); 107 void path_render(struct path *p, VGbitfield paintModes, struct matrix *mat);
|
renderer.h | 44 struct matrix; 58 const struct matrix *modelview, 65 const struct matrix *modelview);
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
ir_uniform.h | 63 * Number of bytes from one vector in a matrix to the next. 140 * a matrix. Set to 0 for non-matrices in UBOs, or -1 for uniforms 152 /** GL_UNIFORM_ROW_MAJOR: true iff it's a row-major matrix in a UBO */
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
clip.c | 44 /* Clip-Space Plane = Eye-Space Plane * Projection Matrix */ 72 * current modelview matrix and stored in the resulting eye coordinates. 76 * whenever the projection matrix changes.
|
/external/chromium_org/third_party/opus/src/silk/float/ |
corrMatrix_FLP.c | 33 * Correlation matrix computations for LS estimate. 58 /* Calculates correlation matrix X'*X */ 63 silk_float *XX /* O X'*X correlation matrix [order x order] */
|
/external/chromium_org/third_party/skia/bench/ |
tile_analyze.py | 131 """For the given tile layout and per-tile bench values, returns a matrix of 141 Returns [sum, matrix] where sum is the total bench tile time that covers the 142 viewport, and matrix is used for visualizing the tiles. 152 matrix = [[0 for y in range(tile_cols)] for x in range(truncated_tile_rows)] 155 matrix[x][y] = values[x * tile_cols + y] 158 return [viewport_tile_sum, matrix] 160 def GetTileVisCodes(suffix, matrix): 162 visualizing the benches from the given tile config and matrix data. 167 for i in range(len(matrix[0])): 169 this_js += 'data_%s.addRows(%s);' % (suffix, str(matrix)) [all...] |
/external/chromium_org/third_party/skia/debugger/QT/ |
SkInspectorWidget.cpp | 58 void SkInspectorWidget::setMatrix(const SkMatrix& matrix) { 60 fMatrixEntry[i].setText(QString::number(matrix.get(i))); 72 fMatrixLabel.setText("Current Matrix");
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/ |
SkPdfType2PatternDictionary_autogen.cpp | 67 SkPdfArray* SkPdfType2PatternDictionary::Matrix(SkPdfNativeDoc* doc) { 68 SkPdfNativeObject* ret = get("Matrix", ""); 76 return get("Matrix", "") != NULL;
|
/external/chromium_org/third_party/skia/gm/ |
resizeimagefilter.cpp | 45 SkMatrix matrix; local 46 matrix.setScale(SkScalarInvert(deviceScaleX), 49 SkMatrixImageFilter::Create(matrix, filterLevel, input));
|
/external/chromium_org/third_party/skia/include/core/ |
SkPathMeasure.h | 52 the corresponding matrix (by calling getPosTan). 54 matrix is unchanged. 56 bool SK_WARN_UNUSED_RESULT getMatrix(SkScalar distance, SkMatrix* matrix,
|
/external/chromium_org/third_party/skia/include/gpu/ |
GrCoordTransform.h | 30 * The actual vertex position. Note that GrContext may not draw using the original view matrix 55 * Create a transformation from a matrix. The optional texture parameter is used to infer if the 86 * Access the matrix for editing. Note, this must be done before adding the transform to an
|
/external/chromium_org/third_party/skia/src/core/ |
SkDrawProcs.h | 67 * the matrix is <= 1.0, then this returns true, and sets coverage (simulating 71 inline bool SkDrawTreatAsHairline(const SkPaint& paint, const SkMatrix& matrix, 87 return SkDrawTreatAAStrokeAsHairline(strokeWidth, matrix, coverage);
|
/external/chromium_org/third_party/skia/src/svg/ |
SkSVGPaintState.cpp | 205 SkASSERT(strncmp(str, "matrix(", 7) == 0); 213 SkMatrix matrix; 214 matrix.reset(); 215 matrix.setScaleX(values[0]); 216 matrix.setSkewY(values[1]); 217 matrix.setSkewX(values[2]); 218 matrix.setScaleY(values[3]); 219 matrix.setTranslateX(values[4]); 220 matrix.setTranslateY(values[5]); 221 sum.setConcat(matrix, sum) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkDumpCanvas.cpp | 225 void SkDumpCanvas::didConcat(const SkMatrix& matrix) { 228 switch (matrix.getType()) { 231 SkScalarToFloat(matrix.getTranslateX()), 232 SkScalarToFloat(matrix.getTranslateY())); 236 SkScalarToFloat(matrix.getScaleX()), 237 SkScalarToFloat(matrix.getScaleY())); 240 matrix.toString(&str); 245 this->INHERITED::didConcat(matrix); 248 void SkDumpCanvas::didSetMatrix(const SkMatrix& matrix) { 250 matrix.toString(&str) [all...] |