Home
last modified time | relevance | path

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

/external/skia/src/views/animated/
DSkBorderView.cpp73 evt.findScalar("leftMargin", &fLeft); in onEvent()
74 evt.findScalar("rightMargin", &fRight); in onEvent()
75 evt.findScalar("topMargin", &fTop); in onEvent()
76 evt.findScalar("bottomMargin", &fBottom); in onEvent()
DSkProgressBarView.cpp58 if (evt.findScalar("y", &height)) in onEvent()
DSkScrollBarView.cpp112 if (evt.findScalar("x", &width)) in onEvent()
DSkWidgetViews.cpp319 if (evt.findScalar("y", &height)) in onEvent()
/external/skia/samplecode/
DSampleAnimator.cpp114 dom.findScalar(node, "left", &r.fLeft); in decodeStream()
115 dom.findScalar(node, "top", &r.fTop); in decodeStream()
116 dom.findScalar(node, "width", &r.fRight); r.fRight += r.fLeft; in decodeStream()
117 dom.findScalar(node, "height", &r.fBottom); r.fBottom += r.fTop; in decodeStream()
/external/skia/src/views/
DSkParsePaint.cpp71 if (dom.findScalar(node, "stroke-width", &x)) in SkPaint_Inflate()
73 if (dom.findScalar(node, "text-size", &x)) in SkPaint_Inflate()
96 if (dom.findScalar(node, "opacity", &x)) in SkPaint_Inflate()
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.cpp637 (void)dom.findScalar(node, "x", &x); in onInflate()
638 (void)dom.findScalar(node, "y", &y); in onInflate()
643 (void)dom.findScalar(node, "width", &x); in onInflate()
644 (void)dom.findScalar(node, "height", &y); in onInflate()
DSkStackViewLayout.cpp219 if (dom.findScalar(node, "spacer", value)) in onInflate()
/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.h126 …bool findScalar(const char name[], SkScalar* value = NULL) const { return fMeta.findScalar(name, v…
/external/skia/include/xml/
DSkDOM.h67 bool findScalar(const Node* node, const char name[], SkScalar value[]) const in findScalar() function
/external/skia/src/animator/
DSkDisplayPost.cpp129 meta.findScalar(name, &scalar); in dump()
DSkDisplayEvent.cpp213 meta.findScalar(name, &input->fFloat); in populateInput()
/external/skia/src/core/
DSkMetaData.cpp158 bool SkMetaData::findScalar(const char name[], SkScalar* value) const in findScalar() function in SkMetaData