That is almost true.
It is in fact based on what it thinks your dive profile is, based on the gas it thinks you are breathing and what GFs you have set.
If you are breathing air and you have EAN32 programmed as the active gas your NDL will be much longer on the computer than it really is.
Decompression is actually based on what gas you are telling it you are breathing and the GF settings.
Maybe that is what you said.
It doesn't think, it goes by what you tell it. The idea that it makes assumptions that you are breathing something else other than what you told it you are breathing is scary. If I thought my DC was calculating my NDL based on an assumption of 36% because that was one of the gasses I have on despite the fact that I am telling it I am on 32%, I'd throw it away before it gets me bent.