The values are in pixels (regular, not dp). It's worth a mention that in all functions which accept pixel sizes, the sizes are usually regular pixel sizes. This is true for view widths and heights, positions, drawable sizes, etc.
If you wish to provide dp instead, there are plenty of conversion functions from dp to pixels out there. It's a very straight forward formula.
If you wish to decode bitmaps and change density during the bitmap decode process, take a look at BitmapFactory.decodeXYZ
and look closely at BitmapFactory.Options
at the Density related fields. This could be useful if you want the same source bitmap (a bitmap downloaded from the web for example) to have a different pixel size on different density devices.