Page 1205 - 3-3
P. 1205
// lRoot_Width_Max = lRoot_WidthSize;
// break;
// throw new IllegalArgumentException(String.format(" onMeasure
Width Unspecified %08X", lRoot_MeasureSpec_Width));
lRoot_Width_Max = Float.MAX_VALUE;
// throw new IllegalArgumentException(String.format(" onMeasure
Width Unspecified %08X lRoot_MeasureSpec_WidthMode:%d lRoot_MeasureSpec_Width:%d",
// lRoot_MeasureSpec_Width, lRoot_MeasureSpec_WidthMode,
lRoot_MeasureSpec_Width));
}
}
switch (lRoot_MeasureSpec_HeightMode) {
case MeasureSpec.EXACTLY: {
lRoot_Height_Max = lRoot_MeasureSpec_Height;
// log(" onMeasure Height Exactly = "+lRoot_Height_Max);
} break;
case MeasureSpec.AT_MOST: {
if (lRoot_MeasureSpec_WidthMode == MeasureSpec.EXACTLY) {
// lRoot_Height_Max = lRoot_MeasureSpec_Height;
lRoot_Height_Max = Float.MAX_VALUE;
} else {
lRoot_Height_Max = lRoot_MeasureSpec_Height;
}
// log(" onMeasure Height AtMost = "+lRoot_Height_Max);
} break;
default: {
// lRoot_Height = lRoot_Width * mRatioOfWidthHeight;
//// log(" onMeasure Height Unspecified "+lRootHeight+" =
"+lRootWidth+"*"+mRatioOfWidthHeight);
// break;
lRoot_Height_Max = Float.MAX_VALUE;
// throw new IllegalArgumentException(String.format(" onMeasure
Height Unspecified %08X lRoot_MeasureSpec_HeightMode:%d lRoot_MeasureSpec_Height:%d",
// l R o o t _ M e a s u r e S p e c _ H e i g h t ,
lRoot_MeasureSpec_HeightMode, lRoot_MeasureSpec_Height));
}
}
}
// log(String.format("onMeasure 1 lScale:%5.3f ChildCount:%d Root:(%5.3f, %5.3f)",
(lRootWidth/mScale_Full_Width), getChildCount(), lRootWidth, lRootHeight));
// log(String.format("onMeasure 1 lScale:%5.3f ChildCount:%d",
(lRootWidth/mScale_Full_Width), getChildCount()));
- 1205 -