Searched refs:kScalingFactor (Results 1 – 2 of 2) sorted by relevance
34 const float kScalingFactor = 0.5; variable199 return attached_ ? value : static_cast<int>(value * kScalingFactor); in ScaleValue()249 cairo_scale(cairo_context, kScalingFactor, kScalingFactor); in SetContainerShapeMask()261 int tab_height = static_cast<int>(kScalingFactor * in SetContainerShapeMask()289 int tab_width = static_cast<int>(kScalingFactor * in OnExposeEvent()291 int tab_height = static_cast<int>(kScalingFactor * in OnExposeEvent()335 cairo_scale(cr, kScalingFactor, kScalingFactor); in OnExposeEvent()
23 static const float kScalingFactor = 0.5; variable166 shader_scale.setScale(kScalingFactor, kScalingFactor); in PaintDetachedView()185 static_cast<int>(ps.width() * kScalingFactor), in PaintFocusRect()186 static_cast<int>(ps.height() * kScalingFactor)); in PaintFocusRect()195 return static_cast<int>(value * kScalingFactor); in ScaleValue()