I'm creating an Android custom view and overriding the view's
void onSizeChanged(int w, int h, int oldw, int oldh)
The value for w and h are 300 when I create the layout with values:
android:layout_width="100dp" android:layout_height="100dp"
I'm having trouble finding documentation as to the units used for the w and h parameters. Are they in pixels?