Home
last modified time | relevance | path

Searched refs:findScalar (Results 1 – 8 of 8) sorted by relevance

/external/skia/samplecode/
DSampleAnimator.cpp115 dom.findScalar(node, "left", &r.fLeft); in decodeStream()
116 dom.findScalar(node, "top", &r.fTop); in decodeStream()
117 dom.findScalar(node, "width", &r.fRight); r.fRight += r.fLeft; in decodeStream()
118 dom.findScalar(node, "height", &r.fBottom); r.fBottom += r.fTop; in decodeStream()
/external/skia/tests/
DMetaDataTest.cpp42 REPORTER_ASSERT(reporter, !m1.findScalar("scalar")); in DEF_TEST()
63 REPORTER_ASSERT(reporter, m1.findScalar("scalar", &s) && s == SK_Scalar1/2); in DEF_TEST()
111 REPORTER_ASSERT(reporter, !m1.findScalar("scalar")); in DEF_TEST()
/external/skia/include/core/
DSkMetaData.h52 bool findScalar(const char name[], SkScalar* value = NULL) const;
66 return this->findScalar(name, &v) && v == value; in hasScalar()
/external/skia/include/views/
DSkEvent.h130 …bool findScalar(const char name[], SkScalar* value = NULL) const { return fMeta.findScalar(name, v…
/external/skia/src/views/
DSkOSMenu.cpp225 return evt.isType(gMenuEventType) && evt.findScalar(gSlider_Min_Scalar, min); in FindSliderMin()
229 return evt.isType(gMenuEventType) && evt.findScalar(gSlider_Max_Scalar, max); in FindSliderMax()
241 return evt.isType(gMenuEventType) && evt.findScalar(slotName, value); in FindSliderValue()
DSkView.cpp636 (void)dom.findScalar(node, "x", &x); in onInflate()
637 (void)dom.findScalar(node, "y", &y); in onInflate()
642 (void)dom.findScalar(node, "width", &x); in onInflate()
643 (void)dom.findScalar(node, "height", &y); in onInflate()
/external/skia/src/xml/
DSkDOM.h67 bool findScalar(const Node* node, const char name[], SkScalar value[]) const { in findScalar() function
/external/skia/src/core/
DSkMetaData.cpp159 bool SkMetaData::findScalar(const char name[], SkScalar* value) const in findScalar() function in SkMetaData