int (AbstractPosition position) { if (myPointerSize == null || myPointerSize.width <= 0) { if (myDialogMode) { return position.isTopBottomPointer() ? DIALOG_TOPBOTTOM_POINTER_WIDTH.get() : DIALOG_POINTER_WIDTH.get(); } else { return position.isTopBottomPointer() ? TOPBOTTOM_POINTER_WIDTH.get() : POINTER_WIDTH.get(); } } else { return myPointerSize.width; } }