He surveyed his homework with a complacent smile, knowing he would get an A.
Complacent= pleased, especially with oneself, advantages or situationsThe girl was complacent with her performance knowing she will win the competition for sure.
The student was complacent in changing his behavior.
The man was complacent with the police officers when he put his hands on his head after they told him to.