Searched refs:handleWidth (Results 1 – 1 of 1) sorted by relevance
350 final int handleWidth = tabBackground.getIntrinsicWidth(); in layout() local358 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()359 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout()360 final int left = (parentWidth - handleWidth) / 2; in layout()361 final int right = left + handleWidth; in layout()370 tab.layout(0, top, handleWidth, bottom); in layout()376 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); in layout()