Same deferential standard of review applies whether evidence presented to trial court is live testimony or written affidavits and exhibits.