Searched defs:matrix (Results 101 - 114 of 114) sorted by relevance

12345

/frameworks/base/libs/hwui/
H A DRenderProperties.h217 bool setStaticMatrix(const SkMatrix* matrix) { argument
219 if (matrix) {
220 mStaticMatrix = new SkMatrix(*matrix);
232 bool setAnimationMatrix(const SkMatrix* matrix) { argument
234 if (matrix) {
235 mAnimationMatrix = new SkMatrix(*matrix);
261 // Don't dirty matrix/pivot, since they don't respect Z
286 // mMatrixOrPivotDirty not set, since matrix doesn't respect Z
535 LOG_ALWAYS_FATAL_IF(mPrimitiveFields.mMatrixOrPivotDirty, "Cannot get a dirty matrix!");
669 * In the common translation-only case, the matrix is
[all...]
H A DSkiaCanvas.cpp132 // either (or both) the matrix and/or clip state after a SkCanvas::restore
133 // operation. It does this by explicitly saving off the clip & matrix state
255 // functions to emulate legacy SaveFlags (i.e. independent matrix/clip flags)
322 void SkiaCanvas::setMatrix(const SkMatrix& matrix) { argument
323 mCanvas->setMatrix(matrix);
326 void SkiaCanvas::concat(const SkMatrix& matrix) { argument
327 mCanvas->concat(matrix);
547 void SkiaCanvas::drawBitmap(Bitmap& hwuiBitmap, const SkMatrix& matrix, const SkPaint* paint) { argument
551 mCanvas->concat(matrix);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java150 // Projection matrix
422 float[] matrix = mMatrices;
424 Matrix.multiplyMM(temp, MATRIX_SIZE, matrix, index, temp, 0);
425 System.arraycopy(temp, MATRIX_SIZE, matrix, index, MATRIX_SIZE);
429 public void multiplyMatrix(float[] matrix, int offset) { argument
433 Matrix.multiplyMM(temp, 0, currentMatrix, index, matrix, offset);
836 restore(); // restore matrix and alpha
841 save(); // save matrix and alpha and blending
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp422 layer_state_t::matrix22_t matrix; local
423 matrix.dsdx = dsdx;
424 matrix.dtdx = dtdx;
425 matrix.dsdy = dsdy;
426 matrix.dtdy = dtdy;
427 s->matrix = matrix;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.cpp498 Error Composer::setColorTransform(Display display, const float* matrix, argument
502 mWriter.setColorTransform(matrix, hint);
H A DHWC2.cpp650 Error Display::setColorTransform(const android::mat4& matrix, argument
654 matrix.asArray(), static_cast<Hwc2::ColorTransform>(hint));
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1564 private static native void nativeTransform(long nativePtr, long matrix); argument
2963 * Applies a transformation matrix to all of the points in the event.
2965 * @param matrix The transformation matrix to apply.
2967 public final void transform(Matrix matrix) { argument
2968 if (matrix == null) {
2969 throw new IllegalArgumentException("matrix must not be null");
2972 nativeTransform(mNativePtr, matrix.native_instance);
H A DView.java2858 * DisplayList to clear its animation matrix.
3745 * The transform matrix for the View. This transform is calculated internally
3754 * The inverse transform matrix for the View. This transform is calculated
13689 * The transform matrix of this view, which is calculated based on the current
13697 * @return The current transform matrix for the view
13701 final Matrix matrix = mTransformationInfo.mMatrix;
13702 mRenderNode.getMatrix(matrix);
13703 return matrix;
13707 * Returns true if the transform matrix is the identity matrix
14728 setAnimationMatrix(Matrix matrix) argument
25572 public final Matrix matrix; field in class:View.ScrollabilityCache
[all...]
/frameworks/native/opengl/libagl/
H A Dcontext.h422 matrixx_t matrix; member in struct:android::gl::transform_t
479 matrixf_t matrix; member in struct:android::gl::vp_transform_t
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1088 // Query the texture matrix given our current filtering mode.
1118 // and finally apply it to the original texture matrix
1691 // we may use linear filtering, if the matrix scales us
1727 // we want to apply the position portion of the transform matrix immediately,
1833 bool Layer::setMatrix(const layer_state_t::matrix22_t& matrix) { argument
1836 matrix.dsdx, matrix.dtdy, matrix.dtdx, matrix.dsdy);
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp942 const std::array<float, 16>& matrix, android_color_transform_t hint,
950 matrix.data(), hint));
4338 /* TESTCASE: Tests that the HWC2 can set an arbitrary color matrix. */
4347 for (const std::array<float, 16>& matrix : exampleMatrices) {
4349 matrix, hint));
941 setColorTransform(hwc2_display_t display, const std::array<float, 16>& matrix, android_color_transform_t hint, hwc2_error_t* outErr = nullptr) argument
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1473 public void setTransformation(Matrix matrix) { argument
1474 if (matrix == null) {
1477 mNode.mMatrix = new Matrix(matrix);
1973 Matrix matrix = node.getTransformation();
1974 if (matrix != null) {
1975 Log.i(TAG, prefix + " Transformation: " + matrix);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...

Completed in 1371 milliseconds

12345