Lines Matching refs:info
204 const SkMemberInfo* info = SkDisplayType::GetMembers(fMaker, element->getType(), NULL);
205 return (SkElementType) SkDisplayType::Find(fMaker, info);
215 const SkMemberInfo* info = element->getMember(field);
216 return (const SkMemberInfo*) info;
225 const SkMemberInfo* info = (const SkMemberInfo*) ai;
226 return (SkFieldType) info->getType();
237 const SkMemberInfo* info = (const SkMemberInfo*) ai;
238 SkASSERT(info->fType == SkType_Array);
239 return info->getArrayValue(element, index, operand);
319 int32_t SkAnimator::getInt(const SkDisplayable* element, const SkMemberInfo* info) {
320 if (info->fType != SkType_MemberProperty) {
322 if (info->getType() == SkType_Int) {
323 info->getValue(element, &operand, 1);
329 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
345 SkScalar SkAnimator::getScalar(const SkDisplayable* element, const SkMemberInfo* info) {
346 if (info->fType != SkType_MemberProperty) {
348 if (info->getType() == SkType_Float) {
349 info->getValue(element, &operand, 1);
355 bool success = element->getProperty(info->propertyIndex(), &scriptValue);
374 const SkMemberInfo* info = (const SkMemberInfo*) ai;
376 info->getString(element, &temp);
548 bool SkAnimator::setArray(SkDisplayable* element, const SkMemberInfo* info, SkTypedArray array) {
549 if (info->fType != SkType_Array)
575 bool SkAnimator::setInt(SkDisplayable* element, const SkMemberInfo* info, int32_t s32) {
576 if (info->fType != SkType_MemberProperty) {
579 SkASSERT(info->getType() == SkType_Int);
580 info->setValue(element, &operand, 1);
585 element->setProperty(info->propertyIndex(), scriptValue);
600 bool SkAnimator::setScalar(SkDisplayable* element, const SkMemberInfo* info, SkScalar scalar) {
601 if (info->fType != SkType_MemberProperty) {
604 SkASSERT(info->getType() == SkType_Float);
605 info->setValue(element, &operand, 1);
610 element->setProperty(info->propertyIndex(), scriptValue);
626 const SkMemberInfo* info, const char* str) {
628 info->setValue(*fMaker, NULL, 0, info->fCount, element, info->getType(), str, strlen(str));