Lines Matching defs:context
80 * @param context Application context used to access resources
85 public static Animator loadAnimator(Context context, int id)
87 return loadAnimator(context.getResources(), context.getTheme(), id);
153 public static StateListAnimator loadStateListAnimator(Context context, int id)
155 final Resources resources = context.getResources();
158 final Theme theme = context.getTheme();
166 animator = createStateListAnimatorFromXml(context, parser, Xml.asAttributeSet(parser));
201 private static StateListAnimator createStateListAnimatorFromXml(Context context,
225 animator = loadAnimator(context, animId);
233 animator = createAnimatorFromXml(context.getResources(),
234 context.getTheme(), parser, 1f);
628 * Creates a new animation whose parameters come from the specified context