Does "hearting" farm animals do anything? [duplicate]
Solution 1:
Yes, petting (or as you say 'hearting') helps increase the heart progress bar with farm animals.
Friendship can be raised by daily petting (right-clicking the animal) and feeding.
http://stardewvalleywiki.com/Animals