Home
last modified time | relevance | path

Searched refs:fDirection (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/effects/
DSkEmbossMaskFilter.cpp29 memcpy(light.fDirection, direction, sizeof(light.fDirection)); in MakeEmboss()
53 normalize(fLight.fDirection); in SkEmbossMaskFilter()
92 matrix.mapVectors((SkVector*)(void*)light.fDirection, in filterMask()
93 (SkVector*)(void*)fLight.fDirection, 1); in filterMask()
97 SkVector* vec = (SkVector*)(void*)light.fDirection; in filterMask()
98 vec->setLength(light.fDirection[0], in filterMask()
99 light.fDirection[1], in filterMask()
100 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[1])); in filterMask()
132 str->appendScalar(fLight.fDirection[0]); in toString()
134 str->appendScalar(fLight.fDirection[1]); in toString()
[all …]
DSkEmbossMask.cpp88 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()
DSkEmbossMaskFilter.h20 SkScalar fDirection[3]; // x,y,z member
DSkLightingImageFilter.cpp803 : INHERITED(color), fDirection(direction) { in SkDistantLight()
807 return fDirection; in surfaceToLight()
811 const SkPoint3& direction() const { return fDirection; } in direction()
828 fDirection == o.fDirection; in isEqual()
832 fDirection = readPoint3(buffer); in SkDistantLight()
837 : INHERITED(color), fDirection(direction) { in SkDistantLight()
843 writePoint3(fDirection, buffer); in onFlattenLight()
847 SkPoint3 fDirection; member in SkDistantLight
/external/skia/src/gpu/effects/
DGr1DKernelEffect.h34 , fDirection(direction) in Gr1DKernelEffect()
44 Direction direction() const { return fDirection; } in direction()
48 str.appendf("Direction: %s, Radius: %d ", kX_Direction == fDirection ? "X" : "Y", fRadius); in dumpInfo()
54 Direction fDirection;
/external/skia/samplecode/
DSampleEmboss.cpp29 fLight.fDirection[0] = SK_Scalar1; in EmbossView()
30 fLight.fDirection[1] = SK_Scalar1; in EmbossView()
31 fLight.fDirection[2] = SK_Scalar1; in EmbossView()
DSampleAll.cpp376 light.fDirection[0] = SK_Scalar1/2; in drawPicture()
377 light.fDirection[1] = SK_Scalar1/2; in drawPicture()
378 light.fDirection[2] = SK_Scalar1/3; in drawPicture()
DSampleFilterFuzz.cpp471 light.fDirection[i] = make_scalar(); in make_mask_filter()
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h335 const UBiDiDirection fDirection; variable
689 return fDirection; in getDirection()
728 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
734 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
741 : fFont(font), fDirection(direction), fGlyphCount(glyphCount), in VisualRun()
/external/skia/src/views/
DSkTouchGesture.cpp52 fDirection.set(sx, sy); in reset()
53 fSpeed0 = SkPoint::Normalize(&fDirection); in reset()
57 unit_axis_align(&fDirection); in reset()
78 float tx = fDirection.fX * dist; in evaluateMatrix()
79 float ty = fDirection.fY * dist; in evaluateMatrix()
/external/skia/src/utils/
DSkShadowTessellator.cpp86 SkScalar fDirection; member in SkBaseShadowTessellator
128 , fDirection(1) in SkBaseShadowTessellator()
419 if (compute_normal(fPrevPoint, fFirstPoint, fDirection, &normal)) { in SkAmbientShadowTessellator()
518 fDirection = (perpDot > 0) ? -1 : 1; in handleLine()
522 if (!compute_normal(fInitPoints[0], fInitPoints[1], fDirection, &normal)) { in handleLine()
559 if (compute_normal(fPositions[fPrevUmbraIndex], p, fDirection, &normal)) { in handleLine()
813 if (compute_normal(fPrevPoint, fFirstPoint, fDirection, &normal)) { in SkSpotShadowTessellator()
1149 fDirection = (perpDot > 0) ? -1 : 1; in handlePolyPoint()
1152 if (!compute_normal(fInitPoints[0], fInitPoints[1], fDirection, &fFirstNormal)) { in handlePolyPoint()
1188 if (compute_normal(fPrevPoint, p, fDirection, &normal)) { in handlePolyPoint()
/external/skia/include/views/
DSkTouchGesture.h24 SkPoint fDirection;
/external/skia/src/gpu/
DGrTessellator.cpp189 Comparator(Direction direction) : fDirection(direction) {} in Comparator()
191 return fDirection == Direction::kHorizontal ? sweep_lt_horiz(a, b) : sweep_lt_vert(a, b); in sweep_lt()
193 Direction fDirection; member
1212 if (c.fDirection == Comparator::Direction::kHorizontal) { in sorted_merge()
1690 if (c.fDirection == Comparator::Direction::kHorizontal) { in sort_mesh()
/external/skia/fuzz/
DFilterFuzz.cpp498 fuzz->nextN(light.fDirection, 3); in make_mask_filter()
/external/skia/tests/
DPathTest.cpp2318 SkPathPriv::FirstDirection fDirection; in test_isNestedFillRects() member
2383 expectedDirs[1] = tests[testIndex].fDirection; in test_isNestedFillRects()