I would honestly guess (and I stress 'guess') that it is time alone which is used in the calculations. If, as you say, the intruder is creeping up on you with a decreasing relative speed, it won't make any real difference. It is solely down to the fact that there is a closing relative speed, and therefore it uses that closure rate in its' calculation of when to issue a TA or RA.
(I think!)