In time series forecasting, we predict the value at the next time step using the values at previous time steps. The use of prior time steps to predict the next time step is called the sliding window method.
The sliding window method is also called rolling or moving window.
The number of previous time steps is called the window width or lag.