SLayoutSize SLinearLayoutParam::GetSpecifiedSize(ORIENTATION orientation) const { switch(orientation) { case Horz: return width; case Vert: return height; case Any: case Both: default: SASSERT_FMTA(FALSE,"GetSpecifiedSize can only be applied for Horz or Vert"); return SLayoutSize(); } }
const SLayoutSize SDimensionParser::GetNullValue() { return SLayoutSize(); }