Input capacitor (C21) must be placed close to the IC input pin. It is recommended to place the BAT capacitor close to the pin. Therefore, in this design the input trace coming from the output of the wireless receiver is connected through a via in an inner layer in order to reduce the size of the solution.
Figure 8. bq25120 Capacitors Placement
The inductor should be placed close to the SW pin to reduce the size of the switching node.
The output capacitors for the power rails (SYS, PMID, LS/LDO) need to be placed close to the pins.