Pentax W90 has a
12.0MP 1/2.3-inch (6.17 x 4.55 mm ) sized CCD sensor and features Prime processor. On the other hand, Samsung Galaxy Camera has a
16.0MP 1/2.3-inch (6.17 x 4.55 mm ) sized BSI-CMOS sensor and features 1.4GHz Quad-Core processor.
Below you can see the W90 and Galaxy Camera sensor size comparison.
Sensor Size and Resolution Comparison image of Pentax W90 and Samsung Galaxy Camera Cameras
Pentax W90 and Samsung Galaxy Camera have the same sensor sizes so they will provide same level of control over the depth of field when used with same focal length and aperture.
Sensor size sets the circle of confusion, so it drives how much depth of field each
of these bodies gives you at a given aperture. You can calculate it exactly for the
Pentax W90
or the
Samsung Galaxy Camera ,
including hyperfocal distance.