[bc25] Use the DSL's `translate()` overload with DP instead of factory.

For more context, see the last comments on ag/27595541.

Test: Unit tests build and pass.
Bug: 342463447
Bug: 337849926
Flag: com.android.systemui.dual_shade
Change-Id: I9c58eb75def1b6db2731211ff21cf1fa3d4fd5ba
2 files changed