Acceleration is equal to gravity only if the object is in free-fall. If the object is rolling or sliding down an inclined plane, the acceleration is dependent on friction and the angle of the incline. Remember that acceleration down an inclined plane is independent of the mass. Hope this helps!