When you have a Matter that you know will be contingency based, you can set that up upon creation.
Once the Matter has been created all Time Entries related to this Matter display as No Charge, Don't Show.
When the settlement has been awarded, you can deposit the full amount into your Trust Account as a New Retainer and manually make the percentage calculations.
You can write Trust checks for the amounts that are owed to both you and your client.