Track View > Dope Sheet > Time: Dope Sheet toolbar > Scale Time button
Scale Time scales a block of time. You can scale down to fit into less time, or expand it to fill more time. Scale Time doesn't use the Track View time slider as the scale origin reference; it always scales from the first frame of the key selection.
To scale time:
In the Dope Sheet Editor, on the Time: Dope Sheet toolbar, click Scale Time.
In the controller window, click item labels to highlight tracks for time editing.
Drag out a time block in the Key window, or use an existing block.
Move your cursor over the active time block in the Key window. The cursor changes to show you when you can scale.
Drag to the right within the selection to expand time from the left edge of the selection. All keys to the right of the selection slide right as the selection expands.
Drag to the left within the selection to reduce time towards the left edge of the selection. All keys to the right of the selection slide left as the selection shrinks.
Drag past the left edge of the selection to reverse time and expand it with a negative scale factor. Keys inside the selection, and keys to the right of the selection, can overlap keys to the left of the selection.