/frameworks/base/graphics/java/android/graphics/ |
Shader.java | 80 * @param localM Set to the local matrix of the shader, if the shader's matrix is non-null. 83 public boolean getLocalMatrix(@NonNull Matrix localM) { 85 localM.set(mLocalMatrix); 96 * @param localM The shader's new local matrix, or null to specify identity 98 public void setLocalMatrix(@Nullable Matrix localM) { 99 if (localM == null || localM.isIdentity()) { 106 mLocalMatrix = new Matrix(localM); 108 } else if (!mLocalMatrix.equals(localM)) { 109 mLocalMatrix.set(localM); [all...] |
/external/skia/tests/ |
ShaderTest.cpp | 23 SkMatrix localM; 27 REPORTER_ASSERT(reporter, shader->isABitmap(&bm, &localM, tileModes)); 30 REPORTER_ASSERT(reporter, localM == expectedM); 36 localM.setScale(9999, -9999); 39 SkImage* image = shader->isAImage(&localM, tileModes); 43 REPORTER_ASSERT(reporter, localM == expectedM); 54 const SkMatrix localM = SkMatrix::MakeScale(2, 3); 58 auto shader0 = SkShader::MakeBitmapShader(bm, tmx, tmy, &localM); 59 auto shader1 = SkImage::MakeFromBitmap(bm)->makeShader(tmx, tmy, &localM); 61 check_isabitmap(reporter, shader0.get(), W, H, tmx, tmy, localM); [all...] |
/external/skia/src/core/ |
SkLocalMatrixImageFilter.cpp | 14 sk_sp<SkImageFilter> SkLocalMatrixImageFilter::Make(const SkMatrix& localM, 19 if (localM.getType() & (SkMatrix::kAffine_Mask | SkMatrix::kPerspective_Mask)) { 22 if (localM.isIdentity()) { 25 return sk_sp<SkImageFilter>(new SkLocalMatrixImageFilter(localM, input)); 28 SkLocalMatrixImageFilter::SkLocalMatrixImageFilter(const SkMatrix& localM, 31 , fLocalM(localM) {
|
SkLocalMatrixImageFilter.h | 19 static sk_sp<SkImageFilter> Make(const SkMatrix& localM, sk_sp<SkImageFilter> input); 32 SkLocalMatrixImageFilter(const SkMatrix& localM, sk_sp<SkImageFilter> input);
|
SkDraw_vertices.cpp | 281 SkMatrix localM; 282 texture_to_matrix(state, vertices, textures, &localM); 283 tmpCtm = SkMatrix::Concat(*fMatrix, localM);
|
SkDevice.cpp | 478 SkMatrix localM, currM; 481 localM.setRSXform(*xform++); 482 currM.setConcat(this->ctm(), localM);
|
/external/skia/gm/ |
gm.cpp | 86 SkMatrix localM; 87 localM.setRotate(35.f); 88 localM.postTranslate(10.f, 0.f); 91 &localM));
|
shadertext3.cpp | 99 SkMatrix localM; 100 localM.setTranslate(5.f, 5.f); 101 localM.postRotate(20); 102 localM.postScale(1.15f, .85f); 110 kTileModes[tm1], &localM));
|
image_shader.cpp | 107 const SkMatrix localM = SkMatrix::MakeTrans(-50, -50); 109 paint.setShader(image->makeShader(tile, tile, &localM));
|
/external/skia/src/shaders/ |
SkColorFilterShader.h | 31 const SkMatrix&, const SkPaint&, const SkMatrix* localM) const override;
|
SkLocalMatrixShader.cpp | 70 const SkMatrix* localM) const { 72 if (localM) { 73 tmp.setConcat(*localM, this->getLocalMatrix()); 76 localM ? &tmp : &this->getLocalMatrix());
|
SkShaderBase.h | 62 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, 66 , fLocalMatrix(localM) 211 const SkMatrix& ctm, const SkPaint&, const SkMatrix* localM=nullptr) const; 262 const SkMatrix&, const SkPaint&, const SkMatrix* localM) const;
|
SkComposeShader.cpp | 89 const SkPaint& paint, const SkMatrix* localM) const { 96 if (!as_SB(fSrc)->appendStages(pipeline, dstCS, alloc, ctm, paint, localM)) { 103 if (!as_SB(fDst)->appendStages(pipeline, dstCS, alloc, ctm, paint, localM)) {
|
SkColorFilterShader.cpp | 44 const SkPaint& paint, const SkMatrix* localM) const { 45 if (!as_SB(fShader)->appendStages(pipeline, dstCS, alloc, ctm, paint, localM)) {
|
SkComposeShader.h | 46 const SkMatrix&, const SkPaint&, const SkMatrix* localM) const override;
|
SkShader.cpp | 280 const SkMatrix* localM) const { 281 return this->onAppendStages(p, dstCS, alloc, ctm, paint, localM); 289 const SkMatrix* localM) const { 298 ContextRec rec(*opaquePaint, ctm, localM, ContextRec::kPM4f_DstType, dstCS);
|
SkImageShader.cpp | 247 const SkMatrix* localM) const { 249 if (localM) { 250 matrix.preConcat(*localM);
|
SkPictureShader.cpp | 193 sk_sp<SkShader> SkPictureShader::refBitmapShader(const SkMatrix& viewMatrix, const SkMatrix* localM, 200 if (localM) { 201 m.preConcat(*localM);
|
/external/skia/include/views/ |
SkTouchGesture.h | 44 const SkMatrix& localM();
|
/external/jdiff/src/jdiff/ |
XMLToAPI.java | 145 MethodAPI localM = (MethodAPI)(iter2.next()); 146 if (localM.name_.compareTo(m.name_) == 0 && 147 localM.getSignature().compareTo(m.getSignature()) == 0)
|
/external/skia/src/gpu/ |
SkGr.cpp | 626 const SkMatrix& localM, 639 matrix.setConcat(viewM, localM); 650 matrix.setConcat(viewM, localM);
|
SkGr.h | 161 const SkMatrix& localM,
|
/frameworks/base/libs/hwui/ |
SkiaCanvasProxy.cpp | 406 SkMatrix localM, currM, origM; 410 localM.setRSXform(*xform++); 411 currM.setConcat(origM, localM);
|
/external/skia/src/shaders/gradients/ |
SkGradientShaderPriv.h | 238 const SkMatrix* localM) const override;
|
/external/skia/src/views/ |
SkTouchGesture.cpp | 127 const SkMatrix& SkTouchGesture::localM() {
|