In step S323, the system controller 50 determines an AF position in a position where the AF frame is currently displayed and records the AF position in the system memory 52 similarly to step S315. Specifically, the position corresponds to the position where the double-tap is performed and the AF position is determined in the position where the AF frame is displayed in step S322. Furthermore, if the AF position is to be adjusted, a touch position is shifted after the position is roughly determined by double-tap.
In step S324, the system controller 50 determines whether an instruction for preparing imaging has been issued. The imaging preparation instruction may be issued by a half press of the shutter button 61. When it is determined that the imaging preparation instruction has been issued, the process proceeds to step S325, and otherwise, the process proceeds to step S328.
In step S325, the system controller 50 performs the AF process in the AF position set in step S315 or step S323. Note that the timing when the AF process is performed may coincide with the timing when the AF position is set in step S315 or step S323 or the AF process may be executed when an operation of changing the AF position is not performed for a predetermined period of time after the AF position is set.
In step S326, the system controller 50 determines whether an imaging instruction has been issued. The imaging instruction may be issued by fully pressing the shutter button 61. When it is determined that the imaging instruction has been issued, the process proceeds to step S327, and otherwise, the process proceeds to step S328.