Solution
Solution 1

By the Law of Cosines on △ABD at angle A and on △BCD at angle C (note ∠C=∠A),
1802+AD2−360⋅ADcosA=1802+BC2−360⋅BCcosA
(AD2−BC2)=360(AD−BC)cosA
(AD−BC)(AD+BC)=360(AD−BC)cosA
(AD+BC)=360cosA
We know that AD+BC=640−360=280. cosA=360280=97=0.777…
⌊1000cosA⌋=777.
Solution 2
Notice that AB=CD, and BD=DB, and ∠DAB≅∠BCD, so we have side-side-angle matching on triangles ABD and CDB. Since the problem does not allow △ABD≅△CDB, we know that ∠ADB is not a right angle, and there is a unique other triangle with the matching side-side-angle.

Overlay the triangles △BDA and △BDC on each other as in the diagram above (where the red labels correspond to △BDA and the blue labels correspond to △BDC). Here we assume without loss of generality that BC>AD. Furthermore, let θ be the angle A referenced in the problem; we need to find ⌊1000cosθ⌋.
Since the perimeter of ABCD is 640, we have AD+BC=640−360=280. Thus let BC=a and AD=280−a for some positive real number a. But the sides that correspond to BD above are congruent, so we can drop a perpendicular from the topmost point to a point E, where the base of the isosceles triangle is bisected. Notice that the base of the isosceles triangle has length a−(280−a)=2a−280, so in the diagram above, AE=280−a+21(2a−280)=280−a+a−140=140.
Looking above at the right triangle containing θ, we see that cosθ=180AE=180140=97. Hence ⌊1000⋅97⌋=777 is our answer.
~ eevee9406
Solution 3
Start the same as solution 1. We get
1802+a2−360acosA=1802+b2−360bcosA⇒a2−360acosA=b2−360bcosA,
where a is the length of BC and b is the length of AD. Let the common value of a2−360acosA and b2−360bcosA be c. Then, the quadratic in x
x2−360cosA⋅x−c=0
has solutions a and b. Therefore, by Vieta's, a+b=360cosA. However, we know that the perimeter of ABCD is 640, so a+b+180+180=640, so a+b=280. Therefore,
360cosA=280⇒cosA=360280⇒cosA=97⇒⌊1000cosA⌋=777.