Lines Matching refs:typedValue
829 TypedValue typedValue = new TypedValue();
830 if (context.getTheme().resolveAttribute(attrId, typedValue, true)) {
831 drawable = ContextCompat.getDrawable(context, typedValue.resourceId);
1218 private float getFloat(Context ctx, TypedValue typedValue, int attrId) {
1219 ctx.getTheme().resolveAttribute(attrId, typedValue, true);
1221 return Float.valueOf(ctx.getResources().getString(typedValue.resourceId));
1224 private int getInteger(Context ctx, TypedValue typedValue, int attrId) {
1225 ctx.getTheme().resolveAttribute(attrId, typedValue, true);
1226 return ctx.getResources().getInteger(typedValue.resourceId);
1229 private int getDimension(Context ctx, TypedValue typedValue, int attrId) {
1230 ctx.getTheme().resolveAttribute(attrId, typedValue, true);
1231 return ctx.getResources().getDimensionPixelSize(typedValue.resourceId);
1236 TypedValue typedValue = new TypedValue();
1237 ctx.getTheme().resolveAttribute(attrId, typedValue, true);
1238 Animator animator = AnimatorInflater.loadAnimator(ctx, typedValue.resourceId);