/external/skia/src/effects/ |
D | SkEmbossMaskFilter.cpp | 50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); in CreateEmboss() 70 normalize(fLight.fDirection); in SkEmbossMaskFilter() 109 matrix.mapVectors((SkVector*)(void*)light.fDirection, in filterMask() 110 (SkVector*)(void*)fLight.fDirection, 1); in filterMask() 114 SkVector* vec = (SkVector*)(void*)light.fDirection; in filterMask() 115 vec->setLength(light.fDirection[0], in filterMask() 116 light.fDirection[1], in filterMask() 117 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[1])); in filterMask() 149 str->appendScalar(fLight.fDirection[0]); in toString() 151 str->appendScalar(fLight.fDirection[1]); in toString() [all …]
|
D | SkEmbossMask.cpp | 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss() 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss() 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
|
D | SkMorphologyImageFilter.cpp | 362 Gr1DKernelEffect::Direction fDirection; member in GrGLMorphologyEffect 374 fDirection = m.direction(); in GrGLMorphologyEffect() 413 switch (fDirection) { in emitCode() 468 SkASSERT(m.direction() == fDirection); in setData() 472 switch (fDirection) { in setData() 486 if (fDirection && texture.origin() == kBottomLeft_GrSurfaceOrigin) { in setData()
|
D | SkLightingImageFilter.cpp | 720 : INHERITED(color), fDirection(direction) { in SkDistantLight() 724 return fDirection; in surfaceToLight() 728 const SkPoint3& direction() const { return fDirection; } in direction() 746 fDirection == o.fDirection; in isEqual() 750 fDirection = readPoint3(buffer); in SkDistantLight() 755 : INHERITED(color), fDirection(direction) { in SkDistantLight() 761 writePoint3(fDirection, buffer); in onFlattenLight() 766 SkPoint3 fDirection; member in SkDistantLight
|
/external/skia/src/animator/ |
D | SkDrawEmboss.cpp | 16 SK_MEMBER_ARRAY(fDirection, Float), 26 fDirection.setCount(3); in SkDrawEmboss() 30 if (fSigma < 0 || fDirection.count() !=3) in getMaskFilter() 32 return SkBlurMaskFilter::CreateEmboss(fSigma, fDirection.begin(), in getMaskFilter()
|
D | SkDrawEmboss.h | 20 SkTDScalarArray fDirection;
|
/external/skia/src/gpu/effects/ |
D | Gr1DKernelEffect.h | 35 , fDirection(direction) in Gr1DKernelEffect() 44 Direction direction() const { return fDirection; } in direction() 48 Direction fDirection;
|
D | GrConvolutionEffect.cpp | 35 Gr1DKernelEffect::Direction direction() const { return fDirection; } in direction() 39 Gr1DKernelEffect::Direction fDirection; member in GrGLConvolutionEffect 51 fDirection = c.direction(); in GrGLConvolutionEffect()
|
/external/skia/samplecode/ |
D | SampleEmboss.cpp | 32 fLight.fDirection[0] = SK_Scalar1; in EmbossView() 33 fLight.fDirection[1] = SK_Scalar1; in EmbossView() 34 fLight.fDirection[2] = SK_Scalar1; in EmbossView()
|
D | SampleAll.cpp | 381 light.fDirection[0] = SK_Scalar1/2; in drawPicture() 382 light.fDirection[1] = SK_Scalar1/2; in drawPicture() 383 light.fDirection[2] = SK_Scalar1/3; in drawPicture()
|
/external/skia/src/views/ |
D | SkWidgets.cpp | 245 light.fDirection[0] = SK_Scalar1/2; 246 light.fDirection[1] = SK_Scalar1/2; 247 light.fDirection[2] = SK_Scalar1/3; 253 light.fDirection[0] = -light.fDirection[0]; 254 light.fDirection[1] = -light.fDirection[1]; 257 light.fDirection[2] += SK_Scalar1/4;
|
D | SkTouchGesture.cpp | 53 fDirection.set(sx, sy); in reset() 54 fSpeed0 = SkPoint::Normalize(&fDirection); in reset() 58 unit_axis_align(&fDirection); in reset() 79 float tx = fDirection.fX * dist; in evaluateMatrix() 80 float ty = fDirection.fY * dist; in evaluateMatrix()
|
/external/skia/src/core/ |
D | SkPath.cpp | 40 fSaved = static_cast<SkPath::Direction>(fPath->fDirection); in SkAutoDisableDirectionCheck() 44 fPath->fDirection = fSaved; in ~SkAutoDisableDirectionCheck() 138 fDirection = kUnknown_Direction; in resetFields() 170 fDirection = that.fDirection; in copyFields() 187 SkTSwap<uint8_t>(fDirection, that.fDirection); in swap() 668 fDirection = kUnknown_Direction; \ 851 fDirection = this->hasOnlyMoveTos() ? dir : kUnknown_Direction; in addRect() 991 fDirection = this->hasOnlyMoveTos() ? dir : kUnknown_Direction; in addRRect() 1080 fDirection = dir; in addOval() 1082 fDirection = kUnknown_Direction; in addOval() [all …]
|
/external/icu/icu4c/source/layoutex/layout/ |
D | ParagraphLayout.h | 333 const UBiDiDirection fDirection; variable 687 return fDirection; in getDirection() 726 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun() 732 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun() 739 : fFont(font), fDirection(direction), fGlyphCount(glyphCount), in VisualRun()
|
/external/skia/include/effects/ |
D | SkEmbossMaskFilter.h | 20 SkScalar fDirection[3]; // x,y,z member
|
/external/skia/include/views/ |
D | SkTouchGesture.h | 24 SkPoint fDirection;
|
/external/skia/include/core/ |
D | SkPath.h | 980 mutable uint8_t fDirection; variable
|
/external/skia/tests/ |
D | PathTest.cpp | 1894 SkPath::Direction fDirection; in test_isNestedFillRects() member 1958 expectedDirs[1] = tests[testIndex].fDirection; in test_isNestedFillRects()
|