I have seen so many questions on StackOverFlow how to support multiple screens. But most of the answers provide this link and this. And in the first one link I have
StackOverFlow
In android-
px = dp * (dpi / 160)
So in your first question 960dp x 720dp at 320dpi means 1920px x 1440px for xlarge screen in landscape mode using above formula.
960dp x 720dp
320dpi
1920px x 1440px
640dp x 480dp at 240dpi means 960px x 720px for large screen in landscape mode.
640dp x 480dp
240dpi
960px x 720px
To learn more about check this.