Home | History | Annotate | Download | only in view

Lines Matching refs:MeasureSpec

3073      * account both the MeasureSpec requirements for this view and its padding.
3093 * account both the MeasureSpec requirements for this view and its padding.
3114 * account both the MeasureSpec requirements for this view and its padding
3142 * Does the hard part of measureChildren: figuring out the MeasureSpec to
3143 * pass to a particular child. This method figures out the right MeasureSpec
3146 * The goal is to combine information from our MeasureSpec with the
3148 * if the this view knows its size (because its MeasureSpec has a mode of
3158 * @return a MeasureSpec integer for the child
3161 int specMode = MeasureSpec.getMode(spec);
3162 int specSize = MeasureSpec.getSize(spec);
3171 case MeasureSpec.EXACTLY:
3174 resultMode = MeasureSpec.EXACTLY;
3178 resultMode = MeasureSpec.EXACTLY;
3183 resultMode = MeasureSpec.AT_MOST;
3188 case MeasureSpec.AT_MOST:
3192 resultMode = MeasureSpec.EXACTLY;
3197 resultMode = MeasureSpec.AT_MOST;
3202 resultMode = MeasureSpec.AT_MOST;
3207 case MeasureSpec.UNSPECIFIED:
3211 resultMode = MeasureSpec.EXACTLY;
3216 resultMode = MeasureSpec.UNSPECIFIED;
3221 resultMode = MeasureSpec.UNSPECIFIED;
3225 return MeasureSpec.makeMeasureSpec(resultSize, resultMode);