Searched refs:handleWidth (Results 1 – 1 of 1) sorted by relevance
347 final int handleWidth = tabBackground.getIntrinsicWidth(); in layout() local355 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2; in layout()356 final int rightTarget = (int) ((1.0f - THRESHOLD) * parentWidth) - handleWidth / 2; in layout()357 final int left = (parentWidth - handleWidth) / 2; in layout()358 final int right = left + handleWidth; in layout()367 tab.layout(0, top, handleWidth, bottom); in layout()373 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); in layout()