Lines Matching refs:channel

295 		// Search the channel on which the mouse was over
297 for (int32 channel = 0; channel < numChannels; channel++) {
298 BRect frame = ThumbFrameFor(channel);
301 float range = ThumbRangeFor(channel);
313 fCurrentChannel = channel;
314 SetCurrentChannel(channel);
491 status_t err = data->AddString("suites", "suite/vnd.Be-channel-slider");
544 BChannelSlider::DrawChannel(BView* into, int32 channel, BRect area,
554 bottomRight.Set(leftTop.x, leftTop.y + ThumbRangeFor(channel));
557 bottomRight.Set(area.left + ThumbRangeFor(channel), leftTop.y);
560 DrawGroove(into, channel, leftTop, bottomRight);
564 thumbLocation.y += ThumbDeltaFor(channel);
566 thumbLocation.x += ThumbDeltaFor(channel);
568 DrawThumb(into, channel, thumbLocation, pressed);
573 BChannelSlider::DrawGroove(BView* into, int32 channel, BPoint leftTop,
593 BChannelSlider::DrawThumb(BView* into, int32 channel, BPoint where,
598 const BBitmap* thumb = ThumbFor(channel, pressed);
620 BChannelSlider::ThumbFor(int32 channel, bool pressed)
646 BChannelSlider::ThumbFrameFor(int32 channel)
651 const BBitmap* thumb = ThumbFor(channel, false);
655 frame.OffsetBy(channel * frame.Width(), (frame.Height() / 2.0) -
658 frame.OffsetBy(frame.Width() / 2.0, channel * frame.Height()
667 BChannelSlider::ThumbDeltaFor(int32 channel)
670 if (channel >= 0 && channel < MaxChannelCount()) {
671 float range = ThumbRangeFor(channel);
672 int32 limitRange = MaxLimitList()[channel] - MinLimitList()[channel];
673 delta = (ValueList()[channel] - MinLimitList()[channel]) * range
685 BChannelSlider::ThumbRangeFor(int32 channel)
691 BRect frame = ThumbFrameFor(channel);
815 for (int32 channel = 0; channel < CountChannels(); channel++) {
816 channelArea = ThumbFrameFor(channel);
818 && (channel == fCurrentChannel || fAllChannels);
819 DrawChannel(fBackingView, channel, channelArea, pressed);