Home | History | Annotate | Download | only in animator

Lines Matching refs:element

31 /** SkElementType is the type of element: a rectangle, a color, an animator, and so on.
55 The XML must contain an <event> element to draw. Usually, it contains
134 @param ch The character to match against <event> element "key"
154 @param code The key to match against <event> element "code"
182 kPartiallyDifferent if the document contains an active <bounds> element that specifies a minimal
195 kPartiallyDifferent if the document contains an active <bounds> element that specifies a minimal
209 /** Get the nested animator associated with this element, if any.
211 @param element the value returned by getElement
214 const SkAnimator* getAnimator(const SkDisplayable* element) const;
216 /** Returns the scalar value of the specified element's attribute[index]
217 @param element the value returned by getElement
222 int32_t getArrayInt(const SkDisplayable* element, const SkMemberInfo* field, int index);
224 /** Returns the scalar value of the specified element's attribute[index]
225 @param elementID is the value of the id attribute in the XML of this element
232 /** Returns the scalar value of the specified element's attribute[index]
233 @param element the value returned by getElement
238 SkScalar getArrayScalar(const SkDisplayable* element, const SkMemberInfo* field, int index);
240 /** Returns the scalar value of the specified element's attribute[index]
241 @param elementID is the value of the id attribute in the XML of this element
248 /** Returns the string value of the specified element's attribute[index]
249 @param element is a value returned by getElement
254 const char* getArrayString(const SkDisplayable* element, const SkMemberInfo* field, int index);
256 /** Returns the string value of the specified element's attribute[index]
257 @param elementID is the value of the id attribute in the XML of this element
264 /** Returns the XML element corresponding to the given ID.
265 @param elementID is the value of the id attribute in the XML of this element
266 @return the element matching the ID, or null if the element can't be found
270 /** Returns the element type corresponding to the XML element.
271 The element type matches the element name; for instance, <line> returns kElement_LineType
272 @param element is a value returned by getElement
273 @return element type, or 0 if the element can't be found
275 SkElementType getElementType(const SkDisplayable* element);
277 /** Returns the element type corresponding to the given ID.
278 @param elementID is the value of the id attribute in the XML of this element
279 @return element type, or 0 if the element can't be found
283 /** Returns the XML field of the named attribute in the XML element.
284 @param element is a value returned by getElement
286 @return the attribute matching the fieldName, or null if the element can't be found
288 const SkMemberInfo* getField(const SkDisplayable* element, const char* fieldName);
290 /** Returns the XML field of the named attribute in the XML element matching the elementID.
291 @param elementID is the value of the id attribute in the XML of this element
293 @return the attribute matching the fieldName, or null if the element can't be found
297 /** Returns the value type coresponding to the element's attribute.
300 @return the attribute type, or 0 if the element can't be found
304 /** Returns the value type coresponding to the element's attribute.
305 @param elementID is the value of the id attribute in the XML of this element
307 @return the attribute type, or 0 if the element can't be found
328 /** Returns the scalar value of the specified element's attribute
329 @param element is a value returned by getElement
333 int32_t getInt(const SkDisplayable* element, const SkMemberInfo* field);
335 /** Returns the scalar value of the specified element's attribute
336 @param elementID is the value of the id attribute in the XML of this element
342 /** Returns the scalar value of the specified element's attribute
343 @param element is a value returned by getElement
347 SkScalar getScalar(const SkDisplayable* element, const SkMemberInfo* field);
349 /** Returns the scalar value of the specified element's attribute
350 @param elementID is the value of the id attribute in the XML of this element
356 /** Returns the string value of the specified element's attribute
357 @param element is a value returned by getElement
361 const char* getString(const SkDisplayable* element, const SkMemberInfo* field);
363 /** Returns the string value of the specified element's attribute
364 @param elementID is the value of the id attribute in the XML of this element
380 /** Sets the scalar value of the specified element's attribute
381 @param elementID is the value of the id attribute in the XML of this element
389 /** Sets the scalar value of the specified element's attribute
390 @param elementID is the value of the id attribute in the XML of this element
398 /** Sets the scalar value of the specified element's attribute
399 @param elementID is the value of the id attribute in the XML of this element
406 /** Sets the scalar value of the specified element's attribute
407 @param elementID is the value of the id attribute in the XML of this element
414 /** Sets the string value of the specified element's attribute
415 @param elementID is the value of the id attribute in the XML of this element
482 bool setArray(SkDisplayable* element, const SkMemberInfo* field, SkTypedArray array);
484 bool setInt(SkDisplayable* element, const SkMemberInfo* field, int32_t data);
485 bool setScalar(SkDisplayable* element, const SkMemberInfo* field, SkScalar data);
486 bool setString(SkDisplayable* element, const SkMemberInfo* field, const char* data);