Searched refs:switchSize_ (Results 1 – 3 of 3) sorted by relevance
208 switchSize_ = in PerformLayout()213 switchSize_ = drawSize_; in PerformLayout()220 if (switchSize_.Width() > width_) { in PerformLayout()222 std::max(switchSize_.Height(), height_) + NormalizeToPx(hotZoneVerticalPadding_) * 2)); in PerformLayout()227 double widthOverflow = layoutSize.Width() - switchSize_.Width(); in PerformLayout()228 paintPosition_ = Alignment::GetAlignPosition(layoutSize, switchSize_, Alignment::CENTER) + in PerformLayout()303 double pointTrackLength = switchSize_.Width() - rawPointSize_.Width() - pointPadding * 2; in OnDrag()378 from = switchSize_.Width() - pointPadding - rawPointSize_.Width(); in UpdateAnimation()382 to = switchSize_.Width() - pointPadding - rawPointSize_.Width(); in UpdateAnimation()405 double pointTrackLength = switchSize_.Width() - rawPointSize_.Width() - pointPadding * 2; in UpdatePointPosition()[all …]
69 paintTrackSize_ = switchSize_; in Paint()77 RequestFocusBorder(paintOffset, switchSize_, switchSize_.Height() / 2.0); in Paint()139 double trackRadius = switchSize_.Height() / 2.0; in PaintTrack()151 double trackRadius = switchSize_.Height() / 2.0; in PaintTrack()234 double trackRadius = switchSize_.Height() / 2.0; in DrawTrackAnimation()293 auto width = switchSize_.Width() - rawPointSize_.Width() - pointPadding * 3.0; in DrawTrackOffAndOn()357 paintTrackSize_.SetWidth(switchSize_.Width() - borderWidth); in SetPaintStyle()358 paintTrackSize_.SetHeight(switchSize_.Height() - borderWidth); in SetPaintStyle()375 paintTrackSize_.SetWidth(switchSize_.Width() - borderWidth); in SetPaintStyle()376 paintTrackSize_.SetHeight(switchSize_.Height() - borderWidth); in SetPaintStyle()[all …]
80 Size switchSize_; variable