the A350 has split ailerons ... hence inbd and outbd (or "flight" and "ground").
but yes, the flaps are inbd of this panel and the ailerons outbd.
flap canoes further inbd.
Yes, in the first photo, this panel is deployed above the wing ... I know, I saw it.
I never noticed it rotate or deflect in any way. My memory is that during landing, it initially popped up (like on take-off) then maybe retracted (to the normal T/E position) as flaps deployed more.
It might have been an A350-9
"Hoffen wir mal, dass alles gut geht !"
General Paulus, Nov 1942, outside Stalingrad after the launch of Operation Uranus.