Searched refs:kScalingFactor (Results 1 – 4 of 4) sorted by relevance
/external/chromium/chrome/browser/ui/gtk/tabs/ |
D | dragged_tab_gtk.cc | 34 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/ |
D | dragged_tab_view.cc | 23 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()
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
D | dragged_tab_view.cc | 23 static const float kScalingFactor = 0.5; variable 166 shader_scale.setScale(kScalingFactor, kScalingFactor); in PaintDetachedView() 180 static_cast<int>(ps.width() * kScalingFactor), in PaintFocusRect() 181 static_cast<int>(ps.height() * kScalingFactor))); in PaintFocusRect() 190 return static_cast<int>(value * kScalingFactor); in ScaleValue()
|
/external/chromium_org/chrome/browser/ui/gtk/tabs/ |
D | dragged_view_gtk.cc | 39 const float kScalingFactor = 0.5; variable 292 return attached_ ? value : static_cast<int>(value * kScalingFactor); in ScaleValue() 345 cairo_scale(cairo_context, kScalingFactor, kScalingFactor); in SetContainerShapeMask() 366 kScalingFactor * renderers_[drag_data_->source_tab_index()]->height() - in SetContainerShapeMask() 392 kScalingFactor * renderers_[drag_data_->source_tab_index()]->height()); in OnExpose() 436 cairo_scale(cr, kScalingFactor, kScalingFactor); in OnExpose() 465 paint_at = widget_width / kScalingFactor - in PaintTab()
|