Dip to pixel conversion results in the exact same value
<p>I am trying to convert dips to pixels using the following function.  I’ve tried low, medium, and high density emulators and regardless of the emulator I use, the pixel value remains the same value as the dip value I pass into the function.</p>

<pre><code>private int ConvertDips(float dips) {
 int pixels = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, (float) dips, getResources().getDisplayMetrics());
 return pixels;
}
</code></pre>

<p>What the heck am I doing wrong here?</p>
