private int getPixelSize() {
        if (getSize() == Size.NORMAL) {
            return getResources().getDimensionPixelSize(R.dimen.floating_action_button_size_normal);
        } else if (getSize() == Size.SMALL) {
            return getResources().getDimensionPixelSize(R.dimen.floating_action_button_size_small);
        } else {
            return getResources().getDimensionPixelSize(R.dimen.floating_action_button_size_large);
        }
    }
private int getPixelSize() {
        if (getSize() == Size.NORMAL) {
            return getResources().getDimensionPixelSize(R.dimen.floating_action_button_size_normal);
        } else if (getSize() == Size.SMALL) {
            return getResources().getDimensionPixelSize(R.dimen.floating_action_button_size_small);
        } else {
            return getResources().getDimensionPixelSize(R.dimen.floating_action_button_size_large);
        }
    }
private int getPixelSize ( ) { if ( getSize ( ) == Size . NORMAL ) { return getResources ( ) . getDimensionPixelSize ( R . dimen . floating_action_button_size_normal ) ; } else if ( getSize ( ) == Size . SMALL ) { return getResources ( ) . getDimensionPixelSize ( R . dimen . floating_action_button_size_small ) ; } else { return getResources ( ) . getDimensionPixelSize ( R . dimen . floating_action_button_size_large ) ; } }
Returns the size of the floating action button in pixels, depending on its current size.

@return The size of the floating action button in pixels as an {@link Integer} value
Returns the size of the floating action button in pixels depending on its current size .