/external/skia/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 32 normalize3(newLight.fDirection, light.fDirection); 33 if (!SkScalarsAreFinite(newLight.fDirection, 3)) { 49 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 66 SkASSERT(SkScalarsAreFinite(fLight.fDirection, 3)); 105 matrix.mapVectors((SkVector*)(void*)light.fDirection, 106 (SkVector*)(void*)fLight.fDirection, 1); 110 SkVector* vec = (SkVector*)(void*)light.fDirection; 111 vec->setLength(light.fDirection[ [all...] |
H A D | SkEmbossMaskFilter.h | 20 SkScalar fDirection[3]; // x,y,z member in struct:SkEmbossMaskFilter::Light
|
H A D | SkEmbossMask.cpp | 51 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 52 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 53 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
|
H A D | SkMorphologyImageFilter.cpp | 161 Direction direction() const { return fDirection; } 174 Direction fDirection; member in class:GrMorphologyEffect 331 , fDirection(direction) 347 , fDirection(that.fDirection)
|
H A D | SkLightingImageFilter.cpp | 835 : INHERITED(color), fDirection(direction) { 839 return fDirection; 843 const SkPoint3& direction() const { return fDirection; } 854 return sk_make_sp<SkDistantLight>(fDirection, xform_color(this->color(), xformer)); 864 fDirection == o.fDirection; 868 fDirection = read_point3(buffer); 873 : INHERITED(color), fDirection(direction) { 879 write_point3(fDirection, buffer); 883 SkPoint3 fDirection; member in class:SkDistantLight [all...] |
/external/skqp/src/effects/ |
H A D | SkEmbossMaskFilter.cpp | 29 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 53 normalize(fLight.fDirection); 92 matrix.mapVectors((SkVector*)(void*)light.fDirection, 93 (SkVector*)(void*)fLight.fDirection, 1); 97 SkVector* vec = (SkVector*)(void*)light.fDirection; 98 vec->setLength(light.fDirection[0], 99 light.fDirection[1], 100 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[ [all...] |
H A D | SkEmbossMaskFilter.h | 20 SkScalar fDirection[3]; // x,y,z member in struct:SkEmbossMaskFilter::Light
|
H A D | SkEmbossMask.cpp | 51 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 52 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 53 SkFixed lz = SkScalarToFixed(light.fDirection[2]);
|
H A D | SkMorphologyImageFilter.cpp | 161 Direction direction() const { return fDirection; } 174 Direction fDirection; member in class:GrMorphologyEffect 331 , fDirection(direction) 347 , fDirection(that.fDirection)
|
H A D | SkLightingImageFilter.cpp | 835 : INHERITED(color), fDirection(direction) { 839 return fDirection; 843 const SkPoint3& direction() const { return fDirection; } 854 return sk_make_sp<SkDistantLight>(fDirection, xform_color(this->color(), xformer)); 864 fDirection == o.fDirection; 868 fDirection = read_point3(buffer); 873 : INHERITED(color), fDirection(direction) { 879 write_point3(fDirection, buffer); 883 SkPoint3 fDirection; member in class:SkDistantLight [all...] |
/external/skia/samplecode/ |
H A D | SampleEmboss.cpp | 29 fLight.fDirection[0] = SK_Scalar1; 30 fLight.fDirection[1] = SK_Scalar1; 31 fLight.fDirection[2] = SK_Scalar1;
|
H A D | SampleAll.cpp | 178 light.fDirection[0] = SK_Scalar1/2; 179 light.fDirection[1] = SK_Scalar1/2; 180 light.fDirection[2] = SK_Scalar1/3;
|
/external/skqp/samplecode/ |
H A D | SampleEmboss.cpp | 29 fLight.fDirection[0] = SK_Scalar1; 30 fLight.fDirection[1] = SK_Scalar1; 31 fLight.fDirection[2] = SK_Scalar1;
|
H A D | SampleAll.cpp | 178 light.fDirection[0] = SK_Scalar1/2; 179 light.fDirection[1] = SK_Scalar1/2; 180 light.fDirection[2] = SK_Scalar1/3;
|
/external/skia/src/gpu/effects/ |
H A D | GrGaussianConvolutionFragmentProcessor.h | 41 Direction direction() const { return fDirection; } 84 Direction fDirection; member in class:GrGaussianConvolutionFragmentProcessor
|
H A D | GrGaussianConvolutionFragmentProcessor.cpp | 209 , fDirection(direction) 226 , fDirection(that.fDirection)
|
/external/skqp/src/gpu/effects/ |
H A D | GrGaussianConvolutionFragmentProcessor.h | 41 Direction direction() const { return fDirection; } 84 Direction fDirection; member in class:GrGaussianConvolutionFragmentProcessor
|
H A D | GrGaussianConvolutionFragmentProcessor.cpp | 209 , fDirection(direction) 226 , fDirection(that.fDirection)
|
/external/icu/icu4c/source/layoutex/layout/ |
H A D | ParagraphLayout.h | 335 const UBiDiDirection fDirection; member in class:ParagraphLayout::VisualRun 689 return fDirection; 728 : UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), fGlyphToCharMap(NULL) 734 : UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), fGlyphToCharMap(NULL) 741 : fFont(font), fDirection(direction), fGlyphCount(glyphCount),
|
/external/skia/include/views/ |
H A D | SkTouchGesture.h | 24 SkPoint fDirection; member in struct:SkFlingState
|
/external/skqp/include/views/ |
H A D | SkTouchGesture.h | 24 SkPoint fDirection; member in struct:SkFlingState
|
/external/skia/src/views/ |
H A D | SkTouchGesture.cpp | 52 fDirection.set(sx, sy); 53 fSpeed0 = SkPoint::Normalize(&fDirection); 57 unit_axis_align(&fDirection); 58 // printf("---- speed %g dir %g %g\n", fSpeed0, fDirection.fX, fDirection.fY); 78 float tx = fDirection.fX * dist; 79 float ty = fDirection.fY * dist;
|
/external/skqp/src/views/ |
H A D | SkTouchGesture.cpp | 52 fDirection.set(sx, sy); 53 fSpeed0 = SkPoint::Normalize(&fDirection); 57 unit_axis_align(&fDirection); 58 // printf("---- speed %g dir %g %g\n", fSpeed0, fDirection.fX, fDirection.fY); 78 float tx = fDirection.fX * dist; 79 float ty = fDirection.fY * dist;
|
/external/skia/src/utils/ |
H A D | SkShadowTessellator.cpp | 93 SkScalar fDirection; member in class:SkBaseShadowTessellator 134 , fDirection(1) 447 if (compute_normal(fPrevPoint, fFirstPoint, fDirection, &normal)) { 586 fDirection = (perpDot > 0) ? -1 : 1; 590 if (!compute_normal(fInitPoints[0], fInitPoints[1], fDirection, &normal)) { 626 if (compute_normal(fPrevPoint, p, fDirection, &normal)) { 927 if (compute_normal(fPrevPoint, fFirstPoint, fDirection, &normal)) { 1272 fDirection = (perpDot > 0) ? -1 : 1; 1275 if (!compute_normal(fInitPoints[0], fInitPoints[1], fDirection, &fFirstOutset)) { 1314 if (fDirection*perpDo [all...] |
/external/skqp/src/utils/ |
H A D | SkShadowTessellator.cpp | 93 SkScalar fDirection; member in class:SkBaseShadowTessellator 134 , fDirection(1) 434 if (compute_normal(fPrevPoint, fFirstPoint, fDirection, &normal)) { 573 fDirection = (perpDot > 0) ? -1 : 1; 577 if (!compute_normal(fInitPoints[0], fInitPoints[1], fDirection, &normal)) { 613 if (compute_normal(fPrevPoint, p, fDirection, &normal)) { 907 if (compute_normal(fPrevPoint, fFirstPoint, fDirection, &normal)) { 1252 fDirection = (perpDot > 0) ? -1 : 1; 1255 if (!compute_normal(fInitPoints[0], fInitPoints[1], fDirection, &fFirstOutset)) { 1294 if (fDirection*perpDo [all...] |