Hadn’t the time for it, yet.
I updated my post, cause your resolutions don’t match your drawings. You are saying that your design resolution is 640x480, but your screen size is 704x480, but in the drawing your red square is smaller than the black one.
Regarding the red square being the screen size.
Screen size is smaller than the design size:
For the first image it will be P, because your screen resolution width is smaller than your asset width and the bottom left corner is always 0,0 screen resolution wise. The complete screen is your maximum drawable, so the origin is always at the left bottom edge of your screen resolution.
Screen size is bigger than the design size:
In the second image it will be Q, because your screen resolution width is bigger than your asset width, and so is able to show your complete asset. You will get black borders on the side and this will be treated as displayable area. Never the less, the origin will stay at the left bottom edge of your screen resolution.
If you have the policy show all
, the black borders will be treated as non displayable area. like your device screen ends at the inner side of the borders. This will move your origin to the inside and the origin will be at P in the second picture.
The origin for the show all
policy would be still at P in the first picture, as it can never extend further as your device screen resolution.
The origin can only move inwards and never extend the device screen resolution, if you have the show all policy. With policies like fixed width/fixed height, the origin will stay at the left bottom edge of the screen resolution.