Patent ID: 8866853

Claim:
An information processing apparatus comprising: a memory that stores a first value and a second value smaller than the first value; and a processor coupled to the memory and configured to: detect a position of an object with respect to a screen of a display, determine whether a first distance from the object to the screen is between the first value and the second value on a basis of the position of the object, display a first image on the screen when the first distance is determined to be between the first value and the second value, the first image being an enlarged image of an area corresponding to the position of the object, determine whether the first distance is equal to or less than the second value on a basis of the position of the object, display a second image when the first distance is determined to be equal to or less than the second value, the second image being displayed on the screen when the first distance decreases to be the second value, detect that the first distance becomes more than the second value while displaying the second image, determine whether the first distance is more than the second value successively for a first time period after detecting that the first distance becomes more than the second value, and when the first distance is determined not to be more than the second value successively for the first time period, display the second image, and when the first distance is determined to be more than the second value successively for the first time period, stop displaying the second image.