/frameworks/base/graphics/java/android/graphics/ |
H A D | LinearGradient.java | 129 private native long nativeCreate1(long matrix, float x0, float y0, float x1, float y1, argument 131 private native long nativeCreate2(long matrix, float x0, float y0, float x1, float y1, argument
|
H A D | PathMeasure.java | 99 * corresponding matrix. Returns false if there is no path, or a zero-length 100 * path was specified, in which case matrix is unchanged. 103 * @param matrix Allocated by the caller, this is set to the transformation 105 * @param flags Specified what aspects should be returned in the matrix. 107 public boolean getMatrix(float distance, Matrix matrix, int flags) { argument 108 return native_getMatrix(native_instance, distance, matrix.native_instance, flags);
|
H A D | RadialGradient.java | 129 private static native long nativeCreate1(long matrix, float x, float y, float radius, argument 131 private static native long nativeCreate2(long matrix, float x, float y, float radius, argument
|
/frameworks/base/libs/hwui/ |
H A D | DeferredLayerUpdater.h | 85 ANDROID_API void setTransform(const SkMatrix* matrix) { argument 87 mTransform = matrix ? new SkMatrix(*matrix) : nullptr;
|
H A D | RenderProperties.cpp | 95 // Force recalculation of the matrix, since other's dirty bit may be clear 103 const char* label, SkMatrix* matrix) { 104 if (matrix) { 105 output << indent << "(" << label << " " << matrix << ": "; local 107 output << "[" << matrix->get(0) << " "<< matrix->get(1) << " " << matrix->get(2) << "]"; 108 output << " [" << matrix->get(3) << " "<< matrix->get(4) << " " << matrix 102 dumpMatrix(std::ostream& output, std::string& indent, const char* label, SkMatrix* matrix) argument [all...] |
H A D | CanvasState.cpp | 164 void CanvasState::getMatrix(SkMatrix* matrix) const { 165 mSnapshot->transform->copyTo(*matrix); 184 void CanvasState::setMatrix(const SkMatrix& matrix) { argument 185 mSnapshot->transform->load(matrix); 188 void CanvasState::setMatrix(const Matrix4& matrix) { argument 189 *(mSnapshot->transform) = matrix; 192 void CanvasState::concatMatrix(const SkMatrix& matrix) { argument 193 mat4 transform(matrix); 197 void CanvasState::concatMatrix(const Matrix4& matrix) { argument 198 mSnapshot->transform->multiply(matrix); [all...] |
H A D | DamageAccumulator.cpp | 121 static inline void mapRect(const Matrix4* matrix, const SkRect& in, SkRect* out) { argument 124 if (CC_LIKELY(!matrix->isPerspective())) { 125 matrix->mapRect(temp);
|
H A D | Glop.h | 64 // offset the eventual drawing matrix by a tiny amount to 132 float matrix[16]; member in struct:android::uirenderer::Glop::Fill::Filter::Matrix 134 } matrix; member in union:android::uirenderer::Glop::Fill::Filter
|
H A D | SkiaShader.cpp | 65 * Compute the matrix to transform to screen space. 66 * @param screenSpace Output param for the computed matrix. 67 * @param unitMatrix The unit matrix for gradient shaders, as returned by SkShader::asAGradient, 69 * @param localMatrix Local matrix, as returned by SkShader::getLocalMatrix(). 70 * @param modelViewMatrix Model view matrix, as supplied by the OpenGLRenderer. 83 // Gradient shader matrix helpers 86 static void toLinearUnitMatrix(const SkPoint pts[2], SkMatrix* matrix) { argument 92 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 93 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 94 matrix 97 toCircularUnitMatrix(const float x, const float y, const float radius, SkMatrix* matrix) argument 104 toSweepUnitMatrix(const float x, const float y, SkMatrix* matrix) argument [all...] |
H A D | Snapshot.h | 60 Matrix4 matrix; member in class:android::uirenderer::RoundRectClipState 132 * transformed by the inverse transform matrix. 216 * This is a reference to a matrix owned by this snapshot or another 264 * Contains the current orthographic, projection matrix.
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 75 void setMatrix(Matrix matrix) { argument 77 mTmpMatrix.postConcat(matrix); 87 + mTmpFloats[Matrix.MTRANS_Y] + ") matrix=[" 185 public void setMatrix(Matrix matrix) { argument 188 mBlackSurfaces[i].setMatrix(matrix);
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 38 final Matrix matrix; field in class:AssistVisualizer.TextEntry 47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { argument 53 this.matrix = new Matrix(matrix); 97 Matrix matrix = new Matrix(); 98 matrix.setTranslate(windowNode.getLeft(), windowNode.getTop()); 99 mMatrixStack.add(matrix); 120 + " matrix=" + te.matrix.toShortString() 147 Matrix matrix; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | RadialGradient_Delegate.java | 59 /*package*/ static long nativeCreate1(long matrix, float x, float y, float radius, argument 61 RadialGradient_Delegate newDelegate = new RadialGradient_Delegate(matrix, x, y, radius, 67 /*package*/ static long nativeCreate2(long matrix, float x, float y, float radius, argument 69 return nativeCreate1(matrix, x, y, radius, new int[] { color0, color1 }, 78 * @param nativeMatrix reference to the shader's native transformation matrix 124 "Unable to inverse matrix in RadialGradient", e, null /*data*/); 133 "Unable to inverse matrix in RadialGradient", e, null /*data*/); 184 // handle the local matrix
|
H A D | SweepGradient_Delegate.java | 55 /*package*/ static long nativeCreate1(long matrix, float x, float y, int colors[], float argument 57 SweepGradient_Delegate newDelegate = new SweepGradient_Delegate(matrix, x, y, colors, 63 /*package*/ static long nativeCreate2(long matrix, float x, float y, int color0, int color1) { argument 64 return nativeCreate1(matrix, x, y, new int[] { color0, color1 }, 73 * @param nativeMatrix reference to the shader's native transformation matrix 117 "Unable to inverse matrix in SweepGradient", e, null /*data*/); 126 "Unable to inverse matrix in SweepGradient", e, null /*data*/); 177 // handle the local matrix
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
H A D | trace_creator.py | 127 change.matrix.dsdx,\ 128 change.matrix.dtdx,\ 129 change.matrix.dsdy,\ 130 change.matrix.dtdy = layer() 222 def matrix(): function
|
/frameworks/native/libs/input/tests/ |
H A D | InputEvent_test.cpp | 521 static void setRotationMatrix(float matrix[9], float angle) { argument 524 matrix[0] = cos; 525 matrix[1] = -sin; 526 matrix[2] = 0; 527 matrix[3] = sin; 528 matrix[4] = cos; 529 matrix[5] = 0; 530 matrix[6] = 0; 531 matrix[7] = 0; 532 matrix[ 577 float matrix[9]; local [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Matrix.java | 24 * Generic matrix code
78 public Matrix(Matrix matrix) {
argument 79 this(Arrays.copyOf(matrix.m, matrix.m.length));
|
H A D | Quaternion.java | 133 void matrix() {
method in class:Quaternion
|
/frameworks/support/transition/api14/android/support/transition/ |
H A D | GhostViewApi14.java | 38 * draw the target view. We apply the same transformation matrix applied to the target view. For 49 public GhostViewImpl addGhost(View view, ViewGroup viewGroup, Matrix matrix) { argument 114 /** The current transformation matrix of the target view */ 117 /** The matrix applied to the ghost view canvas */ 173 // Apply the matrix while adjusting the coordinates
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | ViewUtils.java | 155 * Modifies the input matrix such that it maps view-local coordinates to 158 * <p>On API Level 21 and above, this includes transformation matrix applied to {@code 164 * @param matrix input matrix to modify 166 static void transformMatrixToGlobal(@NonNull View view, @NonNull Matrix matrix) { argument 167 IMPL.transformMatrixToGlobal(view, matrix); 171 * Modifies the input matrix such that it maps on-screen coordinates to 174 * <p>On API Level 21 and above, this includes transformation matrix applied to {@code 180 * @param matrix input matrix t 182 transformMatrixToLocal(@onNull View view, @NonNull Matrix matrix) argument [all...] |
/frameworks/support/transition/tests/src/android/support/transition/ |
H A D | ChangeImageTransformTest.java | 99 Matrix matrix = new Matrix(); 100 matrix.postTranslate(tx, ty); 101 return matrix; 113 Matrix matrix = new Matrix(); 114 matrix.postScale(scaleX, scaleY); 115 return matrix; 134 Matrix matrix = new Matrix(); 135 matrix.postScale(maxScale, maxScale); 136 matrix.postTranslate(tx, ty); 137 return matrix; 200 verifyMatrixMatches(Matrix expected, Matrix matrix) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 115 SkMatrix* matrix = reinterpret_cast<SkMatrix*>(matrixHandle); local 116 bool result = pair->fMeasure.getMatrix(dist, matrix, (SkPathMeasure::MatrixFlags)flags);
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfRenderer.cpp | 112 SkMatrix matrix; local 114 matrix = coordinateChange; 116 matrix = SkMatrix::Concat(*reinterpret_cast<SkMatrix*>(transformPtr), coordinateChange); 120 if (!matrix.asAffine(transformValues)) { 122 "transform matrix has perspective. Only affine matrices are allowed.");
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfEditor.java | 116 * Sets a transformation and clip for a given page. The transformation matrix if 303 private void throwIfNotNullAndNotAfine(Matrix matrix) { argument 304 if (matrix != null && !matrix.isAffine()) {
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaRecordingCanvas.cpp | 182 void SkiaRecordingCanvas::drawBitmap(Bitmap& hwuiBitmap, const SkMatrix& matrix, argument 187 concat(matrix);
|