Abstract:
A method and apparatus of a device that changes the importance of a daemon process is described. In an exemplary embodiment, the device receives a message from a user process destined for daemon process, wherein the daemon process executes independently of the user process and the first daemon process communicates messages with other executing processes. The device further determines if the first message indicates that the importance of the first daemon process can be changed. If the first message indicates the importance of the first daemon process can be changed, the device changes the importance of the first daemon process. The device additionally forwards the first message to the first daemon process.
Abstract:
An electronic device: pairs a first edge of a first window to a second edge of a second window when a user input corresponds to movement of the first edge toward the second edge that deviates from a predefined axis by less than an angular threshold value. Alternatively depending on a type of a user input the device either resizes a dimension of a window or moves one or more edges of the window to corresponding edges of a display area while maintaining respective one or more opposite edges of the first window. Alternatively the device: adds a second window as a new tab within a tab bar associated with a first window when the first window is displayed in full screen mode, and the device adds the second window separate from the first window within a display area when the first window is displayed in windowed mode.
Abstract:
A method and apparatus that schedules and manages a background task for device is described. In an exemplary embodiment, the device registers the background task, where the registering includes storing execution criteria for the background task. The execution criteria indicates a criterion for launching the background task and the execution criteria based on a component status of the device. The device further monitors the running state of the device for an occurrence of the execution criteria. If the execution criteria occurs, the device determines an available headroom with the device in order to perform the background task and launches the background task if the background task importance is greater than the available device headroom, where the background task importance is a measure of how important it is for the device to run the background task.
Abstract:
An electronic device: displays a first window and a second window within a display area, the first window having a first edge parallel to a second edge of the second window; and detects an input moving the first edge toward the second edge. In response to detecting the input, the device: pairs the first edge to the second edge such that the first window stops moving before it overlaps the second window when the user input satisfies pairing criteria, the pairing criteria include a first pairing criterion that is met when the input corresponds to movement of the first edge toward the second edge that deviates from a predefined axis by less than an angular threshold value; and continues the movement of the first window based on the input so that the first window overlaps the second window when the user input does not satisfy the pairing criteria.