Patent ID: 8717286

Claim:
An information processing apparatus which executes a variety of processing operations in accordance with a user's operation detected by an operation detection device, comprising: a generation unit configured to generate a data set from a data group in accordance with a predetermined condition; a direction acquisition unit configured to acquire information representing which surface of the operation detection device is an upper surface, when a predetermined motion is detected by the operation detection device; a determination unit configured to determine whether a content of processing corresponding to the predetermined motion is a processing which adds data to the data set or a processing which deletes data from the data set, based on the information acquired by the direction acquisition unit; an evaluation unit configured to evaluate a magnitude of the predetermined motion; and an adjustment unit configured to perform adjustment of the data set by increasing or decreasing the data included in the data set generated by the generation unit, based on the content of processing determined by the determination unit, wherein the determination unit determines that the processing corresponding to the predetermined motion is the processing which deletes data from the data set in a case where the upper surface represented by the information acquired by the direction acquisition unit is a predetermined surface and determines that the processing corresponding to the predetermined motion is the processing which adds data to the data set in a case where the upper surface represented by the information acquired by the direction acquisition unit is a surface opposite to the predetermined surface, wherein the adjustment unit performs adjustment so as to add an amount of data determined based on the magnitude evaluated by the evaluation unit to the data set in the case where the result of the determination represents the processing which adds data to the data set, and so as to delete an amount of data from the data set determined based on the magnitude evaluated by the evaluation unit in the case where the result of the determination represents the processing which deletes data from the data set, and wherein, if the result of the determination represents the processing which deletes data from the data set, data displayed closer to the surface opposite to the predetermined surface is deleted prior to data displayed closer to the predetermined surface.