fm/fmapp2/src/com/caf/fmradio/HorizontalNumberPicker.java
private int resolveSizeAndStateRespectingMinSize(int minSize,
            int measuredSize, int measureSpec) {
        if (minSize != SIZE_UNSPECIFIED) {
            final int desiredWidth = Math.max(minSize, measuredSize);
            return resolveSizeAndState(desiredWidth, measureSpec, 0);
        } else {
            return measuredSize;
        }
    }
/**
     * Utility to reconcile a desired size and state, with constraints imposed
     * by a MeasureSpec. Tries to respect the min size, unless a different size
     * is imposed by the constraints.
     *
     * @param minSize
     *            The minimal desired size.
     * @param measuredSize
     *            The currently measured size.
     * @param measureSpec
     *            The current measure spec.
     * @return The resolved size and state.
     */
Utility to reconcile a desired size and state, with constraints imposed
by a MeasureSpec. Tries to respect the min size, unless a different size
is imposed by the constraints.

@param minSize
The minimal desired size.
@param measuredSize
The currently measured size.
@param measureSpec
The current measure spec.
@return The resolved size and state.
Utility to reconcile a desired size and state with constraints imposed by a MeasureSpec . Tries to respect the min size unless a different size is imposed by the constraints . @param minSize The minimal desired size . @param measuredSize The currently measured size . @param measureSpec The current measure spec . @return The resolved size and state .
private int resolveSizeAndStateRespectingMinSize(int minSize,
            int measuredSize, int measureSpec) {
        if (minSize != SIZE_UNSPECIFIED) {
            final int desiredWidth = Math.max(minSize, measuredSize);
            return resolveSizeAndState(desiredWidth, measureSpec, 0);
        } else {
            return measuredSize;
        }
    }
private int resolveSizeAndStateRespectingMinSize ( int minSize , int measuredSize , int measureSpec ) { if ( minSize != SIZE_UNSPECIFIED ) { final int desiredWidth = Math . max ( minSize , measuredSize ) ; return resolveSizeAndState ( desiredWidth , measureSpec , 0 ) ; } else { return measuredSize ; } }
Utility to reconcile a desired size and state, with constraints imposed
 by a MeasureSpec.
Utility to reconcile a desired size and state with constraints imposed by a MeasureSpec .