Home
last modified time | relevance | path

Searched refs:kScalingFactor (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/tabs/
Ddragged_tab_gtk.cc34 const float kScalingFactor = 0.5; variable
199 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()
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_view.cc23 static const float kScalingFactor = 0.5; variable
166 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()