Abstract:
An apparatus and method for adjusting a size of a window in an electronic device by sensing a multi-touch for the window and selectively adjusting a size of the window according to user&#39;s manipulation of multi-touched points.

Description:
CLAIM OF PRIORITY 
       [0001]    This application claims the benefit under 35 U.S.C. §119(a) of a Korean patent application filed in the Korean Intellectual Property Office on Apr. 23, 2012 and assigned Serial No. 10-2012-0042055, the entire disclosure of which is hereby incorporated by reference. 
       BACKGROUND OF THE INVENTION 
       [0002]    1. Field of the Invention 
         [0003]    The present invention relates to an electronic device. More particularly, the present invention relates to an apparatus and method for adjusting a size of a window in an electronic device. 
         [0004]    2. Description of the Related Art 
         [0005]    Portable electronic devices have been developed to provide various multimedia services such as a voice and video communication service, an information input and output service, and a data storage service. 
         [0006]    As an amount of information that must be processed and displayed at each of the portable electronic devices is increased, there is a growing need for a larger display unit. 
         [0007]    To this end, there is a need for an improved ways to manage multiple windows shown on a touch screen during when multiple programs are operating. 
       SUMMARY OF THE INVENTION 
       [0008]    Accordingly, an aspect of the present invention is to provide an apparatus and method for adjusting a size of a window in an electronic device. 
         [0009]    Another aspect of the present invention is to provide an apparatus and method for adjusting a size of a window in an electronic device which supports a multi-window mode. 
         [0010]    Another aspect of the present invention is to provide an apparatus and method for adjusting a size of a window according to various touch inputs in an electronic device having a touch screen. 
         [0011]    Another aspect of the present invention is to provide an apparatus and method for adjusting a size of a window according to touch inputs in a particular region in an electronic device having a touch screen. 
         [0012]    Another aspect of the present invention is to provide an apparatus and method for adjusting a size of a window according to multi-touch input in predetermined criteria in an electronic device having a touch screen. 
         [0013]    In accordance with an aspect of the present invention, a method of adjusting a size of a window in an electronic device having a touch includes sensing a multi-touch points/contacts in a particular window and adjusting a size of the window according to a change in the multi-touched points, wherein one of the multi-touched point is stationary and the other multi-touched point moves in relation to the stationary point. 
         [0014]    In accordance with another aspect of the present invention, an electronic device comprising a touch screen; a memory; and a processor coupled to the memory, the processor configured to: sense multi-touch points in a particular window; and adjust a size of the window according to a change in the multi-touched points, wherein one of the multi-touched point is stationary and the other multi-touched point moves in relation to the stationary point. 
         [0015]    In accordance with an aspect of the present invention, a method of adjusting a size of a window in an electronic device having a touch includes sensing multi-touch in a first window; and adjusting a size of the first window according to a change of the multi-touched points. 
         [0016]    In accordance with an aspect of the present invention, a method of adjusting a size of a window in an electronic device having a touch includes sensing a touch in a first window; and adjusting a size of the first window according to change of the touched point. 
         [0017]    In accordance with another aspect of the present invention, an electronic device comprising a touch screen; a memory; and a processor coupled to the memory, the processor configured to: sense multi-touch in a first window; and adjust a size of the first window according to a change of the multi-touched points. 
         [0018]    In accordance with another aspect of the present invention, an electronic device comprising a touch screen; a memory; and a processor coupled to the memory, the processor configured to: sense touch in a first window; and adjust a size of the first window according to a change of the touched points. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
         [0019]    The above and other aspects, features and advantages of certain exemplary embodiments of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: 
           [0020]      FIG. 1  is a block diagram illustrating configuration of an electronic device according to one embodiment of the present invention; 
           [0021]      FIG. 2  is a block diagram illustrating configuration of a processor unit according to another embodiment of the present invention; 
           [0022]      FIG. 3  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch and drag information according to an embodiment of the present invention; 
           [0023]      FIG. 4  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch and drag information according to another embodiment of the present invention; 
           [0024]      FIGS. 5A ,  5 B,  5 C,  5 D,  5 E,  5 F,  5 G and  5 H are screens illustrating a process of adjusting a size of a window in consideration of multi-touch and drag information according to an embodiment of the present invention; 
           [0025]      FIG. 6  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch according to an embodiment of the present invention; 
           [0026]      FIG. 7  is a flowchart illustrating a process of adjusting a window size in consideration of a multi-touch according to another embodiment of the present invention; 
           [0027]      FIGS. 8A ,  8 B,  8 C and  8 D are screens illustrating a process of adjusting a size of a window in consideration of a multi-touch according to an embodiment of the present invention; 
           [0028]      FIG. 9  is a flowchart illustrating a process of adjusting a size of a window in consideration of a reference point and touch information according to another embodiment of the present invention; 
           [0029]      FIGS. 10A ,  10 B and  10 C are screens illustrating a process of adjusting a size of a window in consideration of a reference point and touch information according to an embodiment of the present invention; 
           [0030]      FIG. 11  is a flowchart illustrating a process of adjusting a size of a window in consideration of drag information according to another embodiment of the present invention; 
           [0031]      FIG. 12  is a flowchart illustrating a process of adjusting a size of a window in consideration of drag information according to another embodiment of the present invention; 
           [0032]      FIGS. 13A ,  13 B,  13 C,  13 D,  13 E,  13 F and  13 G are screens illustrating a process of adjusting a size of a window in consideration of drag information according to one embodiment of the present invention; 
           [0033]      FIG. 14  is a flowchart illustrating a process of enlarging a size of a window in consideration of touch information according to another embodiment of the present invention; 
           [0034]      FIGS. 15A and 15B  are screens illustrating a process of enlarging a size of a window in consideration of touch information according to one embodiment of the present invention; 
           [0035]      FIG. 16  is a flowchart illustrating a process of reducing a size of a window in consideration of touch information according to another embodiment of the present invention; and 
           [0036]      FIGS. 17A and 17B  are screens illustrating a process of adjusting a size of a window in consideration of touch information according to one embodiment of the present invention. 
       
    
    
     DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS 
       [0037]    Exemplary embodiments of the present invention will be described herein below with reference to the accompanying drawings. For the purposes of clarity and simplicity, well-known functions or constructions are not described in detail as they would obscure the invention in unnecessary detail. 
         [0038]    Hereinafter, a description will be given for a method and apparatus of adjusting a size of a window in an electronic device having a touch screen. Herein the window means a user interface screen for providing a service according to an application program. 
         [0039]    Hereinafter, the electronic device may be any one of a mobile communication terminal having a touch screen, a Personal Digital Assistant (PDA), a laptop, a smart phone, a netbook, a television, a Mobile Internet Device (MID), a Ultra Mobile Personal Computer (PC), a tablet PC, a navigation device, a Moving Picture Experts Group (MPEG) layer 3 (MP3) player, etc. 
         [0040]    Hereinafter, it is assumed that the electronic device supports a multi-window. That is, it is assumed that the electronic device may display user interface screens for a plurality of application programs simultaneously on a display unit. However, the electronic device may adjust a size of a window equally when displaying only one window. 
         [0041]      FIG. 1  is a block diagram illustrating configuration of an electronic device according to one embodiment of the present invention. 
         [0042]    As shown in  FIG. 1 , the electronic device denoted by  100  includes a memory  110 , a processor unit  120 , an audio processing unit  130 , an external port  140 , an Input/Output (I/O) controller  150 , a display unit  160 , an input device  170 , and a camera system  180 . Herein, the memory  110  and the external port  150  may be a plurality of memories and external ports, respectively. 
         [0043]    A description will be given for respective components are as follows. 
         [0044]    The memory  110  includes a program storing unit  111  for storing a program for controlling an operation of the electronic device  100  and a data storing unit  112  for storing data items generated while the program is executed. 
         [0045]    The program storing unit  111  includes an Operating System (OS) program  113 , a graphic program  114 , a user interface program  115 , a camera program  116 , and at least one application program  117 . Herein, the programs included in the program storing unit  111  may be expressed in an instruction set as a set of instructions. 
         [0046]    The OS program  113  includes at least one software component for controlling a general system operation. Also, the OS program  113  performs a function for smoothly communicating between a plurality of hardware components and software components. 
         [0047]    The graphic program  114  includes at least one software component for providing and displaying graphics on the display unit  160 . For example, the graphic program  114  may include an instruction for displaying at least one window on the display unit  160  such that a user recognizes user interface screens of an application program which is being executed, according to the user interface program  115 . Herein, the graphic program  114  may include an instruction for changing a size of at least one window displayed on the display unit  160  according to control of the user interface program  115 . For one example, the graphic program  114  may include, as shown in  FIGS. 5A to 5H , an instruction for changing a size of a window in consideration of multi-touch and drag information. For another example, the graphic program  114  may include, as shown in  FIGS. 8A to 8D , an instruction for changing a size of a window in consideration of multi-touch information. For another example, the graphic program  114  may include, as shown in  FIGS. 10A to 10C , an instruction for changing a size of a window in consideration of touch information according to a reference point. For another example, the graphic program  114  may include, as shown in  FIGS. 13A to 13G , an instruction for changing a size of a window in consideration of drag information. For another example, the graphic program may include, as shown in  FIGS. 15A and 15B  and  FIGS. 17A and 17B , an instruction for changing a size of a window in consideration of touch information. 
         [0048]    The user interface program  115  includes at least one software component related to a user interface. For example, the user interface program  115  includes an instruction for performing a control operation such that the user uses user interface screens of a plurality of application programs. 
         [0049]    The user interface program  115  includes an instruction for performing a control operation to change a size of a window which is a user interface screen of an application program. For one example, the user interface program  115  includes, as shown in  FIGS. 3 and 4 , an instruction for performing a control operation to change a size of a window in consideration of change information about any one of touch points by multi-touch. For another example, the user interface program  115  may include, as shown in  FIGS. 6 and 7 , an instruction for performing a control operation to change a size of a window in consideration of multi-touch information about a size change region included on a window. For another example, the user interface program  115  may include, as shown in  FIG. 9 , an instruction for performing a control operation to change a size of a window in consideration of successive touch information. For another example, the user interface program  115  may include, as shown in  FIGS. 11 and 12 , an instruction for performing a control operation to change a size of a window in consideration of change information about a touch point. For another example, the user interface program  115  may include, as shown in  FIGS. 14 and 16 , an instruction for performing a control operation to change a size of a window by a reference size in consideration of touch information. 
         [0050]    The camera program  116  includes cameral-related software components capable of performing camera-related processes and functions. 
         [0051]    The application program  117  includes a software component for at least one application program installed in the electronic device  100 . 
         [0052]    The processor unit  120  includes a memory interface  121 , at least one processor  122 , and a peripheral interface  123 . Herein, the memory interface  121 , at least the one processor  122 , and the peripheral interface  123  which are included in the processor unit  120  may be integrated in at least one Integrated Circuit (IC) or be separately implemented. 
         [0053]    The memory interface  121  controls that a component like the processor or the peripheral interface  123  accesses the memory  110 . 
         [0054]    The peripheral interface  123  controls connection among an I/O peripheral of the electronic device  100 , the processor  122 , and the memory interface  121 . 
         [0055]    The processor  122  provides a variety of services like voice communication and data communication using at least one software program. 
         [0056]    Also, the processor  122  executes at least one software program stored in the memory  110  and provides a service corresponding to the corresponding software program. 
         [0057]    The audio processing unit  130  provides an audio interface between the user and the electronic device  100  through a speaker  131  and a microphone  132 . 
         [0058]    The external port  140  includes a connection interface to connect the electronic device  100  to an external electronic device directly or connect it to another electronic device through a network. For example, the external port includes a Universal Serial Bus (USB) port, a High Definition Multimedia Interface (HDMI) port, etc. 
         [0059]    The I/O controller  150  provides an interface between I/O devices, such as the display device  160  and the input device  170 , and the peripheral interface  123 . 
         [0060]    The display unit  160  displays state information of the electronic device  100 , characters input by the user, moving pictures, still pictures, etc. according to control of the graphic program  114 . For example, the display unit  160  displays at least one window according to control of the graphic program  114 . 
         [0061]    The input device  170  provides an input data generated by selection of the user to the processor unit  120  through the I/O controller  160 . Herein, the input device  170  includes a keypad including at least one hardware button, a touch pad for sensing touch information, etc. For example, the input device  170  may provide touch information, such as touch, touch movement, and touch release which is sensed through the touch pad, to the processor  122  through the I/O controller  150 . 
         [0062]    The camera system  180  may perform a function for photographing a moving picture data and a still picture data. 
         [0063]    Although it is not shown in  FIG. 1 , the electronic device  100  may further include a communication system for performing a communication function for voice communication and data communication. Herein, the communication system may be classified into a plurality of communication sub-modules which support different communication networks. For example, the communication network may be, but is not limited to, any one of a Global System for Mobile communication (GSM) network, an Enhanced Data GSM Environment (EDGE) network, a Code Division Multiple Access (CDMA) network, a W-CDMA network, a Long Term Evolution (LTE) network, an Orthogonal Frequency Division Multiple Access (OFDMA) network, a wireless LAN, a Bluetooth network, a Near Field Communication (NFC) network, etc. 
         [0064]    In one embodiment of the present invention described above, the processor  122  of the electronic device  100  may execute the user interface program  115  stored in the program storing unit  111  and may adjust a size of a window displayed on the display unit  160 . 
         [0065]    In another embodiment of the present invention, the processor unit  120  of the electronic device  100  may include, as shown in  FIG. 2 , a separate size adjusting processor  200  for adjusting a size of a window. 
         [0066]      FIG. 2  is a block diagram illustrating configuration of a processor unit according to another embodiment of the present invention. 
         [0067]    Hereinafter,  FIG. 2  illustrates only configuration of a processor unit. 
         [0068]    As shown in  FIGS. 1 and 2 , the processor unit denoted by  120  includes the memory interface  121 , at least the one processor  122 , the peripheral interface  123 , and a size adjusting processor  200 . Herein, the memory interface  121 , at least the one processor  122 , the peripheral interface  123 , and the size adjusting processor  200  which are included in the processor unit  120  may be integrated in at least one IC or may be separately implemented. 
         [0069]    The memory interface  121  controls that a component such as the processor  12  or the peripheral interface  123  accesses the memory  110 . 
         [0070]    The peripheral interface  123  controls connection among an I/O peripheral of the electronic device  100 , the processor  122 , and the memory interface  121 . 
         [0071]    The processor  122  provides various services such as voice communication and data communication using at least one software program in the electronic device  100 . Also, the processor  122  executes at least one software program stored in the memory  110  and provides a service corresponding to the corresponding software program. 
         [0072]    The size adjusting processor  200  performs a control operation to change a size of a window which is a user interface screen of an application program. For example, the size adjusting processor  200  performs, as shown in  FIGS. 3 and 4 , a control operation to change a size of a window in consideration of change information about any one of touch points by a multi-touch. For another example, the size adjusting processor  200  performs, as shown in  FIGS. 6 and 7 , a control operation to change a size of a window in consideration of multi-touch information about a size change region included on a window. For another example, the size adjusting processor  200  performs, as shown in  FIG. 9 , a control operation to change a size of a window in consideration of successive touch information. For another example, the size adjusting processor  200  performs, as shown in  FIGS. 11 and 12 , a control operation to change a size of a window in consideration of change information about a touch point. For another example, the size adjusting processor  200  performs, as shown in  FIGS. 14 and 16 , a control operation to change a size of a window by a reference size in consideration of touch information. 
         [0073]    Hereinafter, a description will be given for a method of adjusting a size of a window in an electronic device having a touch screen in accordance with the exemplary embodiments of the present invention. In the specification, a touch contact may include a touch point near the surface but not actually contacting the touch screen and/or an actual touch contact sensed on the touch screen. 
         [0074]      FIG. 3  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch and drag information according to one embodiment of the present invention.  FIGS. 5A to 5H  are screens illustrating the operation steps of flow chart shown in  FIG. 3 . 
         [0075]    Referring to  FIG. 3  and  FIGS. 5A to 5H , the electronic device determines whether a first touch for a first window among a plurality of windows displayed on a display unit is sensed in step  301 . For example, the electronic device displays, as shown in  FIG. 5A , a first window  500 - 1  which is a user interface screen for a first application program, a second window  500 - 2  which is a user interface screen for a second application program, and a third window  500 - 3  which is a user interface screen for a third application program on the display unit. Herein, the electronic device determines, as shown in  FIG. 5A , whether a first touch  501  for the first window  500 - 1  is sensed. Note that the first touch point may be anywhere within the window  500 - 1 . 
         [0076]    When the first touch for the first window is not sensed, the electronic device ends the algorithm of  FIG. 3 . 
         [0077]    On the other hand, when the first touch for the first window is sensed, the electronic device proceeds to step  303  and determines whether a second touch for the first window is sensed in a state where the first touch is held. For example, the electronic device determines, as shown in  FIG. 5A , whether a second touch  503  for the first window  500 - 1  is sensed after the first touch  501  or in a state where the first touch  501  is held. 
         [0078]    When the second touch for the first window is not sensed until a reference time elapses from a time point when the first touch is sensed, the electronic device recognizes that a user does not adjust a size of the first window. Accordingly, the electronic device ends the algorithm of  FIG. 3 . 
         [0079]    On the other hand, when the second touch for the first window is sensed, the electronic device proceeds to step  305  and determines whether any action after the second touch point occurs in a state where the first touch is held. For one example, the electronic device determines whether a drag by the second touch is generated in a state where the first touch is held. For another example, the electronic device determines whether the second touch is released in the state where the first touch is held and whether a third touch is sensed. Herein, the electronic device may recognize a third touch point as a changed point of the second touch. 
         [0080]    When the second touch point is changed in the state where the first touch is held, the electronic device proceeds to step  307  and adjusts a size of the first window according to the change in the second touch point. Herein, the change in the second touch point includes a distance dragged after the second touch on the screen and a direction change after the second touch on the screen. For example, as shown in  FIG. 5B , when a first touch point detected is distant from the second touch point via two sequential touch points, the electronic device enlarges the entire size of the first window  500 - 1  at a certain rate according to a distance change  505  of the second touch point. For another example, as shown in  FIG. 5C , when the second touch point is dragged to the right, the electronic device may enlarge a right side of the first window  500 - 1 . Herein, the electronic device may determine an enlargement rate in response to a distance change  507  of the second touch point. For another example, as shown in  FIG. 5D , when the second touch point is dragged down, the electronic device may enlarge a lower size of the first window  500 - 1 . Herein, the electronic device may determine an enlargement rate in response to a distance change  509  of the second touch point. 
         [0081]    The electronic device ends the algorithm of  FIG. 3 . 
         [0082]    As explained above, in one embodiment of the present invention, the electronic device may enlarge a size of the first window  500 - 1  in response to a change of the second touch point. 
         [0083]    In another embodiment of the present invention, the electronic device may reduce a size of the first window  500 - 1  in consideration of change information of the second touch point. For one example, as shown in  FIG. 5E , when the first touch point is close to the second touch point when contacted sequentially, the electronic device reduces the entire size of the first window  500 - 1  at a certain rate in response to a distance change  511  of the second touch point. As another example, as shown in  FIG. 5F , when the second touch point is dragged to the left, the electronic device may reduce a right size of the first window  500 - 1 . Herein, the electronic device may determine a reduction rate in response to a distance change  513  of the second touch point. For another example, as shown in  FIG. 5G , when the second touch point is dragged upwardly, the electronic device may reduce a lower size of the first window  500 - 1 . Herein, the electronic device may determine a reduction rate in response to a distance change  515  of the second touch point. 
         [0084]    As described above, the electronic device adjusts a size of the first window  500 - 1  according to change in the second touch point sensed in the state where the first touch for the first window  500 - 1  is held. 
         [0085]      FIG. 4  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch and drag information detected on a screen according to another embodiment of the present invention. 
         [0086]    Referring to  FIG. 4  and  FIGS. 5A to 5H , an electronic device determines whether a first touch for a first window among a plurality of windows displayed on a display unit is sensed in step  401  as explained previously connection with  FIG. 5A . 
         [0087]    When the first touch for the first window is not sensed, the electronic device ends the algorithm of  FIG. 4 . 
         [0088]    On the other hand, when the first touch for the first window is sensed, the electronic device proceeds to step  403  and determines whether a second touch for the first window is sensed in a state where the first touch is held as explained previously connection with  FIG. 5A . 
         [0089]    When the second touch for the first window is not sensed until a reference time elapses from a time point when the first touch is sensed, the electronic device recognizes that a user does not adjust a size of the first window. Accordingly, the electronic device ends the algorithm of  FIG. 4 . Herein, the reference time is determined in consideration of an elapsed time from the time point when the first touch is sensed. 
         [0090]    On the other hand, when the second touch for the first window is sensed, the electronic device proceeds to step  405  and determines whether a second touch point is changed in the state where the first touch is held. For one example, the electronic device determines whether a drag by the second touch is generated in a state where the first touch is held. For another example, the electronic device determines whether the second touch is released in the state where the first touch is held and whether a third touch is sensed. Herein, the electronic device may recognize a third touch point as a changed point of the second touch. 
         [0091]    When the second touch point is changed in the state where the first touch is held, the electronic device proceeds to step  407  and adjusts a size of the first window according to the change information by the second touch point. For example, the electronic device adjusts, as shown in  FIGS. 5B to 5G , a size of the first window according to the change (movement) by the second touch. 
         [0092]    Thereafter, if the second touch point is continuously changed, the electronic device proceeds to step  409  and determines whether the change of the second touch point is less than or equal to a reference distance. 
         [0093]    When the change of the second touch point is greater than the reference distance, the electronic device proceeds to step  413  and changes a size of the first window to the entire screen size. For example, as shown in  FIG. 5H , when a change distance  517  of the second touch point  503  is greater than the reference distance, the electronic device enlarges a size of the first window  500 - 1  to the entire screen size. Accordingly, when a size adjustment event according to touch information is generated on the first window  500 - 1  of the entire screen size, the electronic device enlarges/reduces contents displayed on the first window  500 - 1  accordingly. 
         [0094]    On the other hand, when the change of the second touch point is less than or equal to the reference distance, the electronic device proceeds to step  411  and determines whether at least one of the first touch and the second touch is released. 
         [0095]    When the first touch and the second touch are not released, the electronic device proceeds to step  407  and adjusts the size of the first window according to the change by the second touch. 
         [0096]    On the other hand, when at least one of the first touch and the second touch is released, the electronic device ends the algorithm of  FIG. 4 . 
         [0097]    In one embodiment of the present invention described above, the electronic device senses the first touch and the second touch and adjusts the size of the first window according to the change of the second touch point. Herein, only when the first touch for a size adjustment region which is set on the first window is sensed, the electronic device may also adjust the size of the first window in consideration of the change information of the second touch point. Herein, the size adjustment region is a partial region which is set on the first window to sense a size adjustment event of the first window, and may include a title bar, a menu bar, etc. 
         [0098]    If the electronic device adjusts the size of the first window only when sensing the first touch for the size adjustment region, it may enlarge/reduce contents displayed on the first window in consideration of touch information about a region except for the size adjustment region. 
         [0099]      FIG. 6  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch according to another embodiment of the present invention.  FIGS. 8A to 8D  are screens illustrating the operation process of  FIG. 6 . 
         [0100]    Referring to  FIG. 6  and  FIGS. 8A to 8D , an electronic device determines whether a multi-touch for a size adjustment region of a first window is sensed in step  601 . For example, as shown in  FIG. 8A , the electronic device displays a first window which is a user interface screen for a first application program, a second window which is a user interface screen for a second application program, and a third window which is a user interface screen for a third application program on a display unit. Herein, the electronic device determines, as shown in  FIG. 8A , whether a multi-touch  801  for the size adjustment region of the first window is sensed. Herein, the size adjustment region is a partial region which is set on the first window to sense a size adjustment event, and may include a title bar, a menu bar, etc. 
         [0101]    When the multi-touch for the size adjustment region of the first window is not sensed, the electronic device ends the algorithm of  FIG. 6 . 
         [0102]    On the other hand, when the multi-touch for the size adjustment region of the first window is sensed, the electronic device proceeds to step  603  and determines whether an interval change between multi-touched points is sensed. 
         [0103]    When the interval change of the multi-touched points is sensed, the electronic device proceeds to step  605  and adjusts a size of the first window in consideration of the interval change of the multi-touched points. For an example, as shown in  FIG. 8B , when an interval of the multi-touched points  801  is broadened, the electronic device enlarges the entire size of the first window at a certain rate in response to an interval change  803  of the multi-touched points  801 . For another example, as shown in  FIG. 8C , when an interval of the multi-touched points  801  is narrowed, the electronic device may reduce the entire size of the first window at a certain rate in response to an interval change  805  of the multi-touched points  801 . 
         [0104]    The electronic device ends the algorithm of  FIG. 6 . 
         [0105]      FIG. 7  is a flowchart illustrating a process of adjusting a size of a window in consideration of multi-touch according to another embodiment of the present invention. 
         [0106]    Referring to  FIG. 7  and  FIGS. 8A to 8D , an electronic device determines whether a multi-touch for a size adjustment region of a first window is sensed in step  701 , as explained previously connection with  FIG. 8A . 
         [0107]    When the multi-touch for the size adjustment region of the first window is not sensed, the electronic device ends the algorithm of  FIG. 7 . 
         [0108]    On the other hand, when the multi-touch for the size adjustment region of the first window is sensed, the electronic device proceeds to step  703  and determines whether an interval change between multi-touched points is sensed. 
         [0109]    When the interval change of the multi-touched points is sensed, the electronic device proceeds to step  705  and adjusts a size of the first window in consideration of the interval change of the multi-touched points. For an example, as shown in  FIG. 8B , when an interval of the multi-touched points  801  is broadened, the electronic device enlarges the entire size of the first window at a certain rate in response to an interval change  803  of the multi-touched points  801 . For another example, as shown in  FIG. 8C , when an interval of the multi-touched points  801  is narrowed, the electronic device may reduce the entire size of the first window at a certain rate in response to an interval change  805  of the multi-touched points  801 . 
         [0110]    Thereafter, if the interval of the multi-touched points is continuously changed, the electronic device proceeds to step  707  and determines whether the interval of the multi-touched points is less than or equal to a reference interval. Herein, the electronic device may adjust the size of the first window continuously in consideration of the interval change of the multi-touched points. 
         [0111]    When the interval of the multi-touched points is greater than the reference interval, the electronic device proceeds to step  711  and changes the size of the first window to the entire screen size. For example, when the interval  807  of the multi-touched points  801  is greater than the reference interval, the electronic device enlarges, as shown in  FIG. 8D , the size of the first window spreads or enlarged over the entire screen. Accordingly, when a size adjustment event according to touch information is generated on the first window of the entire screen size, the electronic device may enlarge/reduce contents displayed on the first window accordingly. 
         [0112]    On the other hand, when the interval of the multi-touched points is less than or equal to the reference interval, the electronic device proceeds to step  709  and determines whether at least one touch on the multi-touch is released. 
         [0113]    When the multi-touch is not released, the electronic device proceeds to step  705  and adjusts the size of the first window in consideration of the interval change of the multi-touched points. 
         [0114]    On the other hand, when at least the one touch on the multi-touch is released, the electronic device ends the algorithm of  FIG. 7 . 
         [0115]      FIG. 9  is a flowchart illustrating a process of adjusting a size of a window in response to a reference point and a touch points according to another embodiment of the present invention.  FIGS. 10A to 10C  are screens illustrating the operation process of  FIG. 9 . 
         [0116]    Referring to  FIG. 9  and  FIGS. 10A to 10C , an electronic device determines whether a size adjustment event for a first window is generated in step  901 . For an example, the electronic device determines, as shown in  FIG. 10A , whether a touch in the first window is held longer than a reference time. For another example, the electronic device may determine whether a touch for a size adjustment region of the first window is held longer than a reference time. Herein, the size adjustment region is a partial region which is set on the first window to sense a size adjustment event, and may include a title bar, a menu bar, etc. Alternatively, the electronic device may determine whether selection of a size adjustment change icon displayed on a display unit is sensed. 
         [0117]    When the size adjustment event for the first window is not generated, the electronic device ends the algorithm of  FIG. 9 . 
         [0118]    On the other hand, when the size adjustment event for the first window is sensed, the electronic device proceeds to step  903  and determines a reference point for adjusting a size of the first window. For example, the electronic device identifies a predetermined reference point, or the electronic device determines the reference point according a touch on the first window. At this time, the electronic device may display the size adjustment event generation information on the display unit. 
         [0119]    The electronic device proceeds to step  905  and determines whether a touch for the display unit is sensed. 
         [0120]    When a touch is not sensed, the electronic device recognizes that a user does not wish to adjust a size of the first window. Accordingly, the electronic device ends the algorithm of  FIG. 9 . 
         [0121]    On the other hand, when the touch for the display unit is sensed, the electronic device proceeds to step  907  and adjusts a size of the first window in response to the reference point and a touch point. For example, as shown in  FIG. 10B , when a reference point  1001  is a title bar, the electronic device enlarges a size of the first window to a touch point  1003 . For another example, as shown in  FIG. 10C , when the reference point  1001  is the title bar, the electronic device may reduce a size of the first window to a touch point  1005 . 
         [0122]    The electronic device ends the algorithm of  FIG. 9 . 
         [0123]      FIG. 11  is a flowchart illustrating a process of adjusting a size of a window in consideration of drag information according to one embodiment of the present invention.  FIGS. 13A to 13G  are screens illustrating the operation process of  FIG. 11 . 
         [0124]    Referring to  FIG. 11  and  FIGS. 13A to 13G , an electronic device determines whether a first touch for a first window is sensed in step  1101 . For example, the electronic device displays, as shown in  FIG. 13A , a first window which is a user interface screen for a first application program, a second window which is a user interface screen for a second application program, and a third window which is a user interface screen for a third application program on a display unit. Herein, the electronic device determines, as shown in  FIG. 13A , whether a first touch  1301  for the first window is sensed. 
         [0125]    When the first touch for the first window is not sensed, the electronic device ends the algorithm of  FIG. 11 . 
         [0126]    On the other hand, when the first touch for the first window is sensed, the electronic device proceeds to step  1103  and determines whether a duration time of the first touch exceeds a reference time to determine whether a size change event is generated. 
         [0127]    When the duration time of the first touch is less than or equal to the reference time, the electronic device proceeds to step  1105  and determines whether the first touch is released. When the first touch is released, the electronic device recognizes that the size change event is not generated. Accordingly, the electronic device ends the algorithm of  FIG. 11 . 
         [0128]    On the other hand, when the first touch is not released, the electronic device proceeds to step  1103  and determines whether the duration time of the first touch exceeds the reference time. If so, the electronic device proceeds to step  1107  and generates a size adjustment event for the first window. Herein, the electronic device may display the size adjustment event generation information on the display unit. 
         [0129]    The electronic device proceeds to step  1109  and determines whether a first touch point is changed. For example, the electronic device determines whether a drag by the first touch is generated. If so, the electronic device proceeds to step  1111  and adjusts a size of the first window according to the change by the first touch. Herein, the change by the first touch point includes a distance dragged after the first touch and a direction change of the first touch. For an example, the electronic device may enlarge, as shown in  FIG. 13B , the entire size of the first window at a certain rate in response to a distance change  1303  of a first touch point  1301 . For another example, as shown in  FIG. 13C , when the first touch point  1301  is dragged to the right, the electronic device may enlarge a right side of the first window. Herein, the electronic device may determine an enlargement rate in consideration of the distance change  1305  of the first touch point  1301 . For another example, as shown in  FIG. 13D , when the first touch point  1301  is dragged down, the electronic device may enlarge a lower side of the first window. Herein, the electronic device may determine an enlargement rate in consideration of a distance change  1307  of the first touch point  1301 . 
         [0130]    The electronic device ends the algorithm of  FIG. 11 . 
         [0131]    In alternate embodiment of the present invention, the electronic device may reduce a size of the first window in consideration of the change information of the first touch point sensed after a size adjustment event is generated. For example, the electronic device may reduce, as shown in  FIG. 13E , the entire size of the first window according to a distance change  1309  of the first touch point  1301 . For another example, as shown in  FIG. 13F , when the first touch point  1301  is dragged to the left, the electronic device may reduce a right side of the first window. Also, as shown in  FIG. 13G , when the first touch point  1301  is dragged up, the electronic device may reduce a lower size of the first window. 
         [0132]    As described above, the electronic device adjusts the size of the first window according to the change of the first touch point sensed after a size adjustment event is generated. 
         [0133]      FIG. 12  is a flowchart illustrating a process of adjusting a size of a window in consideration of drag information according to another embodiment of the present invention. 
         [0134]    Referring to  FIG. 12  and  FIGS. 13A to 13G , an electronic device determines whether a first touch for a first window is sensed in step  1201 . For example, the electronic device displays, as shown in  FIG. 13A , as explained previously. 
         [0135]    When the first touch for the first window is not sensed, the electronic device ends the algorithm of  FIG. 12 . 
         [0136]    On the other hand, when the first touch for the first window is sensed, the electronic device proceeds to step  1203  and determines whether a duration time of the first touch exceeds a reference time to determine whether a size change event is generated. 
         [0137]    When the duration time of the first touch is less than or equal to the reference time, the electronic device proceeds to step  1205  and determines whether the first touch is released. 
         [0138]    When the first touch is released, the electronic device recognizes that the size change event is not generated. Accordingly, the electronic device ends the algorithm of  FIG. 12 . 
         [0139]    On the other hand, when the first touch is not released, the electronic device proceeds to step  1203  and compares the duration time of the first touch with the reference time. 
         [0140]    If the duration time of the first touch exceeds the reference time, the electronic device proceeds to step  1207  and generates a size adjustment event for the first window. Herein, the electronic device may display size adjustment event generation information on the display unit. 
         [0141]    The electronic device proceeds to step  1209  and determines whether a first touch point is changed. For example, the electronic device determines whether a drag by the first touch is generated. 
         [0142]    When the first touch point is changed, the electronic device proceeds to step  1211  and adjusts a size of the first window in consideration of change information of the first touch point. Herein, the change information of the first touch point includes a distance change of the first touch point and a change direction of the first touch point. For example, the electronic device may enlarge or reduce, as shown in  FIGS. 13B to 13G , a size of the first window in consideration of change information of a first touch point  1301 . 
         [0143]    Thereafter, if the first touch point is continuously moved, the electronic device proceeds to step  1213  and determines whether a change distance of the first touch point is less than or equal to a reference distance. Herein, the electronic device may adjust a size of the first window continuously in consideration of the change information of the first touch point. 
         [0144]    When the change distance of the first touch point is greater than the reference distance, the electronic device proceeds to step  1217  and changes the size of the first window to the entire screen size. Herein, a size of the first window may not be adjusted according to touch information before an entire screen size release event is generated. Accordingly, when a size adjustment event according to touch information is generated on the first window of the entire screen size, the electronic device may enlarge/reduce contents displayed on the first window. 
         [0145]    On the other hand, when the change distance of the first touch point is less than or equal to the reference distance, the electronic device proceeds to step  1215  and determines whether the first touch is released. 
         [0146]    When the first touch is not released, the electronic device proceeds to step  1211  and adjusts a size of the first window in consideration of the change information of the first touch point. 
         [0147]    On the other hand, when the first touch is released, the electronic device ends the algorithm of  FIG. 12 . 
         [0148]    As described above, the electronic device may adjust the size of the first window according to the change information of the first touch point. Herein, only when the first touch for a size adjustment region of the first window continues over a reference time, the electronic device may generate a size change event. Herein, the size adjustment region is a partial region which is set on the first window to sense a size adjustment event, and may include a title bar, a menu bar, etc. 
         [0149]    If the electronic device generates a size change event only when sensing the first touch for a size adjustment region, it may enlarge/reduce contents displayed on the first window in consideration of touch information about a region except for the size adjustment region. 
         [0150]      FIG. 14  is a flowchart illustrating a process of enlarging a size of a window in consideration of touch information according to another embodiment of the present invention.  FIGS. 15A and 15D  are screens illustrating the operation process of  FIG. 14 . 
         [0151]    Referring to  FIG. 14  and  FIGS. 15A and 15B , an electronic device determines whether a size adjustment event for a first window is generated in step  1401 . For example, the electronic device displays, as shown in  FIG. 15A , a first window which is a user interface screen for a first application program, a second window which is a user interface screen for a second application program, and a third window which is a user interface screen for a third application program on a display unit. Herein, the electronic device determines whether a continuous double tap  1501  for a size adjustment region of the first window is sensed. Herein, the size adjustment region is a partial region which is set on the first window to sense a size adjustment event, and may include a title bar, a menu bar, etc. 
         [0152]    When the size adjustment event for the first window is not generated, the electronic device ends the algorithm of  FIG. 14 . 
         [0153]    On the other hand, when the size adjustment event for the first window is generated, the electronic device proceeds to step  1403  and determines a size of the first window displayed on the display unit. 
         [0154]    The electronic device proceeds to step  1405  and determines whether the size of the first window displayed on the display unit is less than the entire screen size. 
         [0155]    When the size of the first window displayed on the display unit is less than the entire screen size, the electronic device recognizes that the size of the first window may be enlarged. Accordingly, the electronic device proceeds to step  1407  and may enlarge the size of the first window by a predetermined amount. For example, as shown in  FIG. 15A , when a continuous tap for a title bar which is a size adjustment region of the first window is sensed, the electronic device may enlarge a size of the first window to a certain size  1503  by a predetermined amount. 
         [0156]    On the other hand, when the size of the first window displayed on the display unit is greater than or equal to the entire screen size, the electronic device recognize that the size of the first window may not be enlarged. Accordingly, the electronic device proceeds to step  1409  and may reduce the size of the first window to a minimum screen size. For example, the electronic device may reduce, as shown in  FIG. 15B , a size of the first window to a minimum screen size  1505 . The electronic device ends the algorithm of  FIG. 14 . 
         [0157]      FIG. 16  is a flowchart illustrating a process of reducing a size of a window in consideration of touch information according to another embodiment of the present invention.  FIGS. 17A and 17B  are screens illustrating the operation steps of  FIG. 16 . 
         [0158]    Referring to  FIG. 16  and  FIGS. 17A and 17B , an electronic device determines whether a size adjustment event for a first window is generated in step  1601 . For example, the electronic device displays, as shown in  FIG. 17A , a first window which is a user interface screen for a first application program, a second window which is a user interface screen for a second application program, and a third window which is a user interface screen for a third application program on a display unit. Herein, the electronic device determines whether a continuous double tap  1701  for a size adjustment region of the first window is sensed. Herein, the size adjustment region is a partial region which is set on the first window to sense a size adjustment event, and may include a title bar, a menu bar, etc. 
         [0159]    When the size adjustment event for the first window is not generated, the electronic device ends the algorithm of  FIG. 16 . 
         [0160]    On the other hand, when the size adjustment event for the first window is generated, the electronic device proceeds to step  1603  and determines a size of the first window displayed on the display unit. 
         [0161]    The electronic device proceeds to step  1605  and determines whether the size of the first window displayed on the display unit is greater than a minimum screen size. 
         [0162]    When the size of the first window displayed on the display unit is greater than the minimum screen size, the electronic device recognizes that the size of the first window may be reduced. Accordingly, the electronic device proceeds to step  1607  and may reduce the size of the first window by a reference size. For example, as shown in  FIG. 17A , when a continuous tap for a title bar which is a size adjustment region of the first window is sensed, the electronic device may reduce a size of the first window to a certain size  1703  by a reference size. 
         [0163]    On the other hand, when the size of the first window displayed on the display unit is less than or equal to the minimum screen size, the electronic device recognizes that the size of the first window may not be reduced. Accordingly, the electronic device proceeds to step  1609  and may enlarge the size of the first window to the entire screen size. For example, the electronic device may enlarge, as shown in  FIG. 17B , a size of the first window  1705  will be enlarged in response to the continuous taps until overs the entire screen size  1705 . Herein, the size of the first window may not be adjusted according to touch information before an entire screen size release event is generated. Accordingly, when a size adjusts event according to touch information is generated on the first window of the entire screen size, the electronic device may enlarge/reduce contents displayed on the first window. 
         [0164]    The electronic device ends the algorithm of  FIG. 16 . 
         [0165]    In one embodiment of the present invention described above, the electronic device adjusts at least one of a right size and a lower size of a window according to touch information 
         [0166]    In another embodiment of the present invention, the electronic device may adjust at least one of a left size and an upper size of a window according to touch information. 
         [0167]    In another embodiment of the present invention, the electronic device may adjust the entire size of a window according to touch information. 
         [0168]    In another embodiment of the present invention, the electronic device may adjust a size of a window in all directions (up/down/left/right directions) set by a user according to touch information. 
         [0169]    Methods according to claims of the present invention and/or embodiments described in the specification of the present invention may be implemented as hardware, software, or combinational type of the hardware and the software. 
         [0170]    When the method is implemented by the software, a computer-readable storage medium for storing one or more programs (software modules) may be provided. The one or more programs stored in the computer-readable storage medium are configured for being executed by one or more processors in an electronic device. The one or more programs include instructions for allowing an electronic device to execute the methods according to the claims of the present invention and/or the embodiments described in the specification of the present invention. 
         [0171]    These programs (software module, software) may be stored in a Random Access Memory (RAM), a non-volatile memory including a flash memory, a Read Only Memory (ROM), an Electrically Erasable Programmable ROM (EEPROM), a magnetic disc storage device, a Compact Disc-ROM (CD-ROM), a Digital Versatile Disc (DVD) or an optical storage device of a different type, and a magnetic cassette. Or, the programs may be stored in a memory configured by combination of some or all of them. Also, the configured memory may include a plurality of memories. 
         [0172]    Also, the programs may be stored in an attachable storage device capable of accessing an electronic device through each of communication networks such as the Internet, an intranet, a Local Area Network (LAN), a Wide LAN (WLAN), and a Storage Area Network (SAN) or a communication network configured by combination of them. This storage device may connect to the electronic device through an external port. 
         [0173]    Also, a separate storage device on a communication network may connect to a portable electronic device. 
         [0174]    As described above, the electronic device having a touch screen may adjust a size of a window easily according to preferences of a user by adjusting a size of any one of at least one or more windows displayed on the display unit. 
         [0175]    While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the appended claims.