public synchronized Widget measureChild ( final int dataIndex , boolean calculateOffset ) { Log . d ( Log . SUBSYSTEM . LAYOUT , TAG , "measureChild dataIndex = %d" , dataIndex ) ; Widget widget = mContainer . get ( dataIndex ) ; if ( widget != null ) { synchronized ( mMeasuredChildren ) { mMeasuredChildren . add ( dataIndex ) ; } } return widget ; }
Calculate the child size along the axis and measure the offset inside the layout container