I typically ferment most of my ales for 2 weeks, and lagers go for about 3. I go straight into the keg after primary ferment. However, I let the beer decide when it's time to move. I'll always take a gravity and observe the beer clarity prior to transfer. When the gravity is about where I expect it, and the beer is somewhat clear, I'll then transfer off the yeast into the keg for ales, or I'll drop to lagering temps while still on the yeast for lagers for a lagering period. I like to lager on the yeast.