Lines Matching refs:slots
156 static const int VISIBLE_SLOT_PADDING = 2; // # slots to draw on either side of visible slots
180 int visibleSlotCount; // number of visible slots (for culling)
199 float overscrollSlots; // amount of allowed overscroll (in slots)
386 // Returns total angle for given number of slots
387 static float wedgeAngle(float slots)
389 return slots * 2.0f * M_PI / slotCount;
1588 // Restoring force to match cards with slots
1592 const float fraction = position - floor(position); // fractional position between slots
1656 // If visibleSlotCount is > 0, then only show those slots and cull the rest.
1660 // Calculate the first and last angles of visible slots. We include
1661 // VISIBLE_SLOT_PADDING slots on either side of visibleSlotCount to allow
1668 // from either side of the visible slots.