Searched refs:handleWidth (Results 1 – 1 of 1) sorted by relevance
344 final int handleWidth = tabBackground.getIntrinsicWidth(); in layout() local352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()353 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout()354 final int left = (parentWidth - handleWidth) / 2; in layout()355 final int right = left + handleWidth; in layout()364 tab.layout(0, top, handleWidth, bottom); in layout()370 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); in layout()