scale 37 android_webview/javatests/src/org/chromium/android_webview/test/AwZoomTest.java private String getZoomableHtml(float scale) { scale 38 android_webview/javatests/src/org/chromium/android_webview/test/AwZoomTest.java final int divWidthPercent = (int)(100.0f / scale); scale 44 android_webview/javatests/src/org/chromium/android_webview/test/AwZoomTest.java scale, scale, divWidthPercent); scale 434 android_webview/renderer/print_web_view_helper.cc canvas->scale(1 / webkit_scale_factor, 1 / webkit_scale_factor); scale 172 ash/accelerators/accelerator_controller.cc float scale = scale 176 ash/accelerators/accelerator_controller.cc std::floor(std::log(scale) / std::log(kMagnificationScaleFactor) + 0.5); scale 184 ash/accelerators/accelerator_controller.cc float scale = delta_index > 0 ? kDefaultPartialMagnifiedScale : 1; scale 186 ash/accelerators/accelerator_controller.cc SetScale(scale); scale 82 ash/accessibility_delegate.h virtual void SaveScreenMagnifierScale(double scale) = 0; scale 97 ash/default_accessibility_delegate.cc void DefaultAccessibilityDelegate::SaveScreenMagnifierScale(double scale) { scale 38 ash/default_accessibility_delegate.h virtual void SaveScreenMagnifierScale(double scale) OVERRIDE; scale 103 ash/display/display_info.h void set_device_scale_factor(float scale) { device_scale_factor_ = scale; } scale 124 ash/display/display_info.h void set_configured_ui_scale(float scale) { configured_ui_scale_ = scale; } scale 87 ash/display/display_manager.cc explicit ScaleComparator(float s) : scale(s) {} scale 91 ash/display/display_manager.cc return std::abs(scale - s) < kEpsilon; scale 93 ash/display/display_manager.cc float scale; scale 206 ash/display/display_manager.cc float scale = info.configured_ui_scale(); scale 209 ash/display/display_manager.cc if (ScaleComparator(scales[i])(scale)) { scale 52 ash/drag_drop/drag_drop_controller.cc float scale, scale 56 ash/drag_drop/drag_drop_controller.cc final_size.Scale(scale); scale 57 ash/drag_drop/drag_drop_controller.cc drag_image_offset->set_x(drag_image_offset->x() * scale); scale 58 ash/drag_drop/drag_drop_controller.cc drag_image_offset->set_y(drag_image_offset->y() * scale); scale 72 ash/magnifier/magnification_controller.cc virtual void SetScale(float scale, bool animate) OVERRIDE; scale 100 ash/magnifier/magnification_controller.cc bool Redraw(const gfx::PointF& position, float scale, bool animate); scale 101 ash/magnifier/magnification_controller.cc bool RedrawDIP(const gfx::PointF& position, float scale, bool animate); scale 113 ash/magnifier/magnification_controller.cc void RedrawKeepingMousePosition(float scale, bool animate); scale 133 ash/magnifier/magnification_controller.cc gfx::RectF GetWindowRectDIP(float scale) const; scale 138 ash/magnifier/magnification_controller.cc void ValidateScale(float* scale); scale 195 ash/magnifier/magnification_controller.cc float scale, bool animate) { scale 204 ash/magnifier/magnification_controller.cc (scale_ / scale) * (mouse_in_root.x() - origin_.x()), scale 206 ash/magnifier/magnification_controller.cc (scale_ / scale) * (mouse_in_root.y() - origin_.y())); scale 207 ash/magnifier/magnification_controller.cc bool changed = RedrawDIP(origin, scale, animate); scale 213 ash/magnifier/magnification_controller.cc float scale, scale 217 ash/magnifier/magnification_controller.cc return RedrawDIP(position_in_dip, scale, animate); scale 221 ash/magnifier/magnification_controller.cc float scale, scale 228 ash/magnifier/magnification_controller.cc ValidateScale(&scale); scale 236 ash/magnifier/magnification_controller.cc const gfx::SizeF window_size_in_dip = GetWindowRectDIP(scale).size(); scale 247 ash/magnifier/magnification_controller.cc scale == scale_) { scale 253 ash/magnifier/magnification_controller.cc scale_ = scale; scale 389 ash/magnifier/magnification_controller.cc gfx::RectF MagnificationControllerImpl::GetWindowRectDIP(float scale) const { scale 391 ash/magnifier/magnification_controller.cc const float width = size_in_dip.width() / scale; scale 392 ash/magnifier/magnification_controller.cc const float height = size_in_dip.height() / scale; scale 401 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::ValidateScale(float* scale) { scale 404 ash/magnifier/magnification_controller.cc if (*scale < kMinMagnifiedScaleThreshold) scale 405 ash/magnifier/magnification_controller.cc *scale = kNonMagnifiedScale; scale 409 ash/magnifier/magnification_controller.cc if (*scale > kMaxMagnifiedScaleThreshold) scale 410 ash/magnifier/magnification_controller.cc *scale = kMaxMagnifiedScale; scale 412 ash/magnifier/magnification_controller.cc DCHECK(kNonMagnifiedScale <= *scale && *scale <= kMaxMagnifiedScale); scale 468 ash/magnifier/magnification_controller.cc float scale = GetScale(); scale 476 ash/magnifier/magnification_controller.cc RedrawKeepingMousePosition(scale, true); scale 483 ash/magnifier/magnification_controller.cc void MagnificationControllerImpl::SetScale(float scale, bool animate) { scale 487 ash/magnifier/magnification_controller.cc ValidateScale(&scale); scale 489 ash/magnifier/magnification_controller.cc SaveScreenMagnifierScale(scale); scale 490 ash/magnifier/magnification_controller.cc RedrawKeepingMousePosition(scale, animate); scale 517 ash/magnifier/magnification_controller.cc float scale = scale 520 ash/magnifier/magnification_controller.cc if (scale <= 0.0f) scale 521 ash/magnifier/magnification_controller.cc scale = kInitialMagnifiedScale; scale 522 ash/magnifier/magnification_controller.cc ValidateScale(&scale); scale 525 ash/magnifier/magnification_controller.cc if (is_enabled_ && scale == scale_) scale 529 ash/magnifier/magnification_controller.cc RedrawKeepingMousePosition(scale, true); scale 530 ash/magnifier/magnification_controller.cc shell->accessibility_delegate()->SaveScreenMagnifierScale(scale); scale 578 ash/magnifier/magnification_controller.cc float scale = GetScale(); scale 579 ash/magnifier/magnification_controller.cc scale += scroll_event->y_offset() * kScrollScaleChangeFactor; scale 580 ash/magnifier/magnification_controller.cc SetScale(scale, true); scale 44 ash/magnifier/magnification_controller.h virtual void SetScale(float scale, bool animate) = 0; scale 358 ash/magnifier/magnification_controller_unittest.cc float scale = 2.f; scale 364 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 365 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 373 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 374 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 380 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 381 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 387 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 388 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 404 ash/magnifier/magnification_controller_unittest.cc float scale = 2.f; scale 410 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 411 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 419 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 420 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 426 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 427 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 433 ash/magnifier/magnification_controller_unittest.cc scale *= kMagnificationScaleFactor; scale 434 ash/magnifier/magnification_controller_unittest.cc GetMagnificationController()->SetScale(scale, false); scale 54 ash/magnifier/partial_magnification_controller.cc void PartialMagnificationController::SetScale(float scale) { scale 58 ash/magnifier/partial_magnification_controller.cc scale_ = scale; scale 35 ash/magnifier/partial_magnification_controller.h void SetScale(float scale); scale 183 ash/shelf/shelf_button.cc double scale = (.35 + .65 * animation); scale 186 ash/shelf/shelf_button.cc bounds.set_width(base_bounds_.width() * scale); scale 190 ash/shelf/shelf_button.cc bounds.set_height(base_bounds_.height() * scale); scale 206 ash/system/chromeos/network/network_icon.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 207 ash/system/chromeos/network/network_icon.cc gfx::Size pixel_size = gfx::ToFlooredSize(gfx::ScaleSize(size_, scale)); scale 209 ash/system/chromeos/network/network_icon.cc return gfx::ImageSkiaRep(empty_bitmap, scale); scale 229 ash/system/chromeos/network/network_icon.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 230 ash/system/chromeos/network/network_icon.cc gfx::ImageSkiaRep icon_rep = icon_.GetRepresentation(scale); scale 262 ash/touch/touch_hud_debug.cc void SetScale(int scale) { scale 263 ash/touch/touch_hud_debug.cc if (scale_ == scale) scale 265 ash/touch/touch_hud_debug.cc scale_ = scale; scale 124 ash/wm/ash_native_cursor_manager.cc float scale, scale 126 ash/wm/ash_native_cursor_manager.cc image_cursors_->SetScale(scale); scale 127 ash/wm/ash_native_cursor_manager.cc delegate->CommitScale(scale); scale 56 ash/wm/ash_native_cursor_manager.h float scale, scale 200 ash/wm/gestures/long_press_affordance_handler.cc gfx::Transform scale; scale 201 ash/wm/gestures/long_press_affordance_handler.cc scale.Scale(current_scale_, current_scale_); scale 204 ash/wm/gestures/long_press_affordance_handler.cc canvas->Transform(scale); scale 124 ash/wm/image_cursors.cc void ImageCursors::SetScale(float scale) { scale 125 ash/wm/image_cursors.cc if (scale < FLT_EPSILON) { scale 127 ash/wm/image_cursors.cc scale = 1.0f; scale 130 ash/wm/image_cursors.cc scale_ = scale; scale 133 ash/wm/image_cursors.cc cursor_loader_->set_scale(scale); scale 42 ash/wm/image_cursors.h void SetScale(float scale); scale 170 ash/wm/overview/scoped_transform_overview_window.cc float scale = std::min(1.0f, scale 173 ash/wm/overview/scoped_transform_overview_window.cc return gfx::Rect(bounds.x() + 0.5 * (bounds.width() - scale * rect.width()), scale 174 ash/wm/overview/scoped_transform_overview_window.cc bounds.y() + 0.5 * (bounds.height() - scale * rect.height()), scale 175 ash/wm/overview/scoped_transform_overview_window.cc rect.width() * scale, scale 176 ash/wm/overview/scoped_transform_overview_window.cc rect.height() * scale); scale 109 ash/wm/window_animations.cc scoped_ptr<ui::InterpolatedTransform> scale( scale 119 ash/wm/window_animations.cc scale->SetChild(translation.release()); scale 120 ash/wm/window_animations.cc scale->SetReversed(show); scale 127 ash/wm/window_animations.cc scale.release(), duration)); scale 443 ash/wm/window_animations.cc const float scale = scale 447 ash/wm/window_animations.cc transform.Translate(-layer->bounds().width() * (scale - 1.0f) / 2, scale 448 ash/wm/window_animations.cc -layer->bounds().height() * (scale - 1.0f) / 2); scale 449 ash/wm/window_animations.cc transform.Scale(scale, scale); scale 491 base/third_party/dmg_fp/dtoa.cc BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; scale 2274 base/third_party/dmg_fp/dtoa.cc p2 -= bc->scale; scale 2286 base/third_party/dmg_fp/dtoa.cc word0(rv) = (1 + bc->scale) << Exp_shift; scale 2740 base/third_party/dmg_fp/dtoa.cc bc.scale = 0; scale 2821 base/third_party/dmg_fp/dtoa.cc bc.scale = 2*P; scale 2825 base/third_party/dmg_fp/dtoa.cc if (bc.scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask) scale 2930 base/third_party/dmg_fp/dtoa.cc j = bbe - bc.scale; scale 2955 base/third_party/dmg_fp/dtoa.cc bd2 += bc.scale; scale 3023 base/third_party/dmg_fp/dtoa.cc if (!bc.scale || y > 2*P*Exp_msk1) scale 3035 base/third_party/dmg_fp/dtoa.cc if (bc.scale && (y = word0(&rv) & Exp_mask) scale 3066 base/third_party/dmg_fp/dtoa.cc if (bc.scale && (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) scale 3131 base/third_party/dmg_fp/dtoa.cc (bc.scale && (y = word0(&rv) & Exp_mask) <= 2*P*Exp_msk1) scale 3158 base/third_party/dmg_fp/dtoa.cc if (L <= (bc.scale ? (2*P+1)*Exp_msk1 : Exp_msk1)) scale 3173 base/third_party/dmg_fp/dtoa.cc if (bc.scale) { scale 3290 base/third_party/dmg_fp/dtoa.cc if (bc.scale && y <= 2*P*Exp_msk1) { scale 3357 base/third_party/dmg_fp/dtoa.cc if (!bc.scale) scale 3400 base/third_party/dmg_fp/dtoa.cc if (bc.scale) { scale 144 cc/animation/transform_operation.cc SkMScalar from_x = IsOperationIdentity(from) ? 1 : from->scale.x; scale 145 cc/animation/transform_operation.cc SkMScalar from_y = IsOperationIdentity(from) ? 1 : from->scale.y; scale 146 cc/animation/transform_operation.cc SkMScalar from_z = IsOperationIdentity(from) ? 1 : from->scale.z; scale 147 cc/animation/transform_operation.cc SkMScalar to_x = IsOperationIdentity(to) ? 1 : to->scale.x; scale 148 cc/animation/transform_operation.cc SkMScalar to_y = IsOperationIdentity(to) ? 1 : to->scale.y; scale 149 cc/animation/transform_operation.cc SkMScalar to_z = IsOperationIdentity(to) ? 1 : to->scale.z; scale 43 cc/animation/transform_operation.h } scale; scale 148 cc/animation/transform_operations.cc bool TransformOperations::ScaleComponent(gfx::Vector3dF* scale) const { scale 149 cc/animation/transform_operations.cc *scale = gfx::Vector3dF(1.f, 1.f, 1.f); scale 168 cc/animation/transform_operations.cc scale->Scale(operations_[i].scale.x, scale 169 cc/animation/transform_operations.cc operations_[i].scale.y, scale 170 cc/animation/transform_operations.cc operations_[i].scale.z); scale 231 cc/animation/transform_operations.cc to_add.scale.x = x; scale 232 cc/animation/transform_operations.cc to_add.scale.y = y; scale 233 cc/animation/transform_operations.cc to_add.scale.z = z; scale 104 cc/animation/transform_operations.h bool ScaleComponent(gfx::Vector3dF* scale) const; scale 1277 cc/animation/transform_operations_unittest.cc TransformOperations scale; scale 1278 cc/animation/transform_operations_unittest.cc scale.AppendScale(1.f, 2.f, 3.f); scale 1279 cc/animation/transform_operations_unittest.cc EXPECT_TRUE(scale.AffectsScale()); scale 1336 cc/animation/transform_operations_unittest.cc TransformOperations scale; scale 1337 cc/animation/transform_operations_unittest.cc scale.AppendScale(1.f, 2.f, 3.f); scale 1338 cc/animation/transform_operations_unittest.cc EXPECT_FALSE(scale.IsTranslation()); scale 165 cc/layers/heads_up_display_layer_impl.cc hud_canvas_->scale(contents_scale_x(), contents_scale_y()); scale 442 cc/layers/layer.h void set_raster_scale(float scale) { raster_scale_ = scale; } scale 597 cc/layers/layer_impl.cc float scale = layer_tree_impl()->page_scale_factor(); scale 600 cc/layers/layer_impl.cc delta_from_scroll.Scale(1.f / scale); scale 611 cc/layers/layer_impl.cc delta_from_pinch.Scale((1.f - scale_delta) / (scale * scale_delta)); scale 84 cc/layers/painted_scrollbar_layer.cc float PaintedScrollbarLayer::ClampScaleToMaxTextureSize(float scale) { scale 88 cc/layers/painted_scrollbar_layer.cc gfx::Size scaled_bounds = ComputeContentBoundsForScale(scale, scale); scale 96 cc/layers/painted_scrollbar_layer.cc return scale; scale 258 cc/layers/painted_scrollbar_layer.cc skcanvas.scale(SkFloatToScalar(scale_x), scale 78 cc/layers/painted_scrollbar_layer.h float ClampScaleToMaxTextureSize(float scale); scale 53 cc/layers/picture_image_layer.cc canvas->scale(content_to_layer_scale_x, content_to_layer_scale_y); scale 691 cc/layers/picture_layer_impl.cc float scale = contents_scale_x(); scale 693 cc/layers/picture_layer_impl.cc tilings_.get(), scale, content_rect, ideal_contents_scale_); scale 1035 cc/layers/picture_layer_impl.cc float PictureLayerImpl::SnappedContentsScale(float scale) { scale 1037 cc/layers/picture_layer_impl.cc float snapped_contents_scale = scale; scale 1041 cc/layers/picture_layer_impl.cc float ratio = PositiveRatio(tiling_contents_scale, scale); scale 230 cc/layers/video_layer_impl.cc gfx::Transform scale; scale 231 cc/layers/video_layer_impl.cc scale.Scale(tex_width_scale, tex_height_scale); scale 240 cc/layers/video_layer_impl.cc scale * provider_client_impl_->stream_texture_matrix()); scale 1312 cc/output/gl_renderer.cc bottom_edge.scale(sign); scale 1313 cc/output/gl_renderer.cc left_edge.scale(sign); scale 1314 cc/output/gl_renderer.cc top_edge.scale(sign); scale 1315 cc/output/gl_renderer.cc right_edge.scale(sign); scale 439 cc/output/software_renderer.cc current_canvas_->scale(1, -1); scale 56 cc/resources/content_layer_updater.cc canvas->scale(SkFloatToScalar(contents_width_scale), scale 19 cc/resources/layer_quad.cc scale(1.0f / tangent.Length()); scale 30 cc/resources/layer_quad.cc left_.scale(sign); scale 31 cc/resources/layer_quad.cc right_.scale(sign); scale 32 cc/resources/layer_quad.cc top_.scale(sign); scale 33 cc/resources/layer_quad.cc bottom_.scale(sign); scale 53 cc/resources/layer_quad.h void scale(float sx, float sy, float sz) { scale 58 cc/resources/layer_quad.h void scale(float s) { scale(s, s, s); } scale 362 cc/resources/picture.cc canvas->scale(contents_scale, contents_scale); scale 521 cc/resources/picture.cc Picture::AsTraceableRasterData(float scale) const { scale 524 cc/resources/picture.cc raster_data->SetDouble("scale", scale); scale 166 cc/resources/picture.h AsTraceableRasterData(float scale) const; scale 54 cc/resources/picture_layer_tiling_set.cc float scale = tilings_[i]->contents_scale(); scale 55 cc/resources/picture_layer_tiling_set.cc if (scale >= minimum_contents_scale && !!other.TilingAtScale(scale)) scale 122 cc/resources/picture_layer_tiling_set.cc PictureLayerTiling* PictureLayerTilingSet::TilingAtScale(float scale) const { scale 124 cc/resources/picture_layer_tiling_set.cc if (tilings_[i]->contents_scale() == scale) scale 46 cc/resources/picture_layer_tiling_set.h PictureLayerTiling* TilingAtScale(float scale) const; scale 79 cc/resources/picture_layer_tiling_set_unittest.cc float scale = min_scale; scale 80 cc/resources/picture_layer_tiling_set_unittest.cc for (int i = 0; i < num_tilings; ++i, scale += scale_increment) { scale 81 cc/resources/picture_layer_tiling_set_unittest.cc PictureLayerTiling* tiling = set.AddTiling(scale); scale 87 cc/resources/picture_layer_tiling_set_unittest.cc float max_contents_scale = scale; scale 104 cc/resources/picture_layer_tiling_set_unittest.cc float scale = iter.CurrentTiling()->contents_scale(); scale 105 cc/resources/picture_layer_tiling_set_unittest.cc EXPECT_EQ(expected_scale, scale); scale 232 cc/resources/picture_layer_tiling_unittest.cc float scale = 6.7f; scale 234 cc/resources/picture_layer_tiling_unittest.cc gfx::Rect full_rect(gfx::ToCeiledSize(gfx::ScaleSize(bounds, scale))); scale 236 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(scale, full_rect); scale 237 cc/resources/picture_layer_tiling_unittest.cc VerifyTilesExactlyCoverRect(scale, gfx::Rect(2014, 1579, 867, 1033)); scale 235 cc/test/layer_tree_test.cc float scale) OVERRIDE { scale 236 cc/test/layer_tree_test.cc test_hooks_->ApplyScrollAndScale(scroll_delta, scale); scale 64 cc/test/layer_tree_test.h float scale) {} scale 382 cc/trees/layer_tree_host.cc pending_page_scale_animation_->scale, scale 696 cc/trees/layer_tree_host.cc float scale, scale 701 cc/trees/layer_tree_host.cc pending_page_scale_animation_->scale = scale; scale 238 cc/trees/layer_tree_host.h float scale, scale 425 cc/trees/layer_tree_host.h float scale; scale 1263 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale; scale 1264 cc/trees/layer_tree_host_common_unittest.cc scale.Scale(2, 2); scale 1268 cc/trees/layer_tree_host_common_unittest.cc root.get(), root->bounds(), scale, &render_surface_layer_list); scale 1271 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(scale, root->draw_properties().target_space_transform); scale 1272 cc/trees/layer_tree_host_common_unittest.cc EXPECT_EQ(scale, child->draw_properties().target_space_transform); scale 1291 cc/trees/layer_tree_host_common_unittest.cc composite.ConcatTransform(scale); scale 7747 cc/trees/layer_tree_host_common_unittest.cc gfx::Transform scale; scale 7748 cc/trees/layer_tree_host_common_unittest.cc scale.Scale(2.0, 2.0); scale 7749 cc/trees/layer_tree_host_common_unittest.cc child_->SetTransform(scale); scale 2821 cc/trees/layer_tree_host_impl_unittest.cc int scale = 2; scale 2823 cc/trees/layer_tree_host_impl_unittest.cc scale_transform.Scale(scale, scale); scale 2842 cc/trees/layer_tree_host_impl_unittest.cc gfx::Vector2d(0, scroll_delta.y() / scale)); scale 4645 cc/trees/layer_tree_host_impl_unittest.cc gfx::Transform scale; scale 4646 cc/trees/layer_tree_host_impl_unittest.cc scale.Scale(2.f, 2.f); scale 4647 cc/trees/layer_tree_host_impl_unittest.cc scaling_layer->SetTransform(scale); scale 83 cc/trees/layer_tree_host_pixeltest_masks.cc canvas.scale(SkIntToScalar(4), SkIntToScalar(4)); scale 1233 cc/trees/layer_tree_host_unittest.cc float scale) OVERRIDE { scale 1236 cc/trees/layer_tree_host_unittest.cc layer_tree_host()->SetPageScaleFactorAndLimits(scale, 0.5f, 2.f); scale 88 cc/trees/layer_tree_host_unittest_scroll.cc float scale) OVERRIDE { scale 172 cc/trees/layer_tree_host_unittest_scroll.cc float scale) OVERRIDE { scale 336 cc/trees/layer_tree_host_unittest_scroll.cc float scale) OVERRIDE { scale 509 cc/trees/layer_tree_host_unittest_scroll.cc float scale) OVERRIDE { scale 869 cc/trees/layer_tree_host_unittest_scroll.cc float scale) OVERRIDE { scale 3413 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* scale = this->CreateLayer( scale 3416 cc/trees/occlusion_tracker_unittest.cc scale, this->identity_matrix, gfx::PointF(), gfx::Size(500, 500), true); scale 3452 cc/trees/occlusion_tracker_unittest.cc typename Types::LayerType* scale = this->CreateLayer( scale 3455 cc/trees/occlusion_tracker_unittest.cc scale, this->identity_matrix, gfx::PointF(), gfx::Size(500, 500), true); scale 92 chrome/browser/chromeos/accessibility/magnification_manager.cc virtual void SaveScreenMagnifierScale(double scale) OVERRIDE { scale 96 chrome/browser/chromeos/accessibility/magnification_manager.cc profile_->GetPrefs()->SetDouble(prefs::kScreenMagnifierScale, scale); scale 49 chrome/browser/chromeos/accessibility/magnification_manager.h virtual void SaveScreenMagnifierScale(double scale) = 0; scale 45 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc void SetFullScreenMagnifierScale(double scale) { scale 47 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc magnification_controller()->SetScale(scale, false); scale 54 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc void SetSavedFullScreenMagnifierScale(double scale) { scale 55 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc MagnificationManager::Get()->SaveScreenMagnifierScale(scale); scale 88 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc void SetFullScreenMagnifierScalePref(double scale) { scale 89 chrome/browser/chromeos/accessibility/magnification_manager_browsertest.cc prefs()->SetDouble(prefs::kScreenMagnifierScale, scale); scale 28 chrome/browser/download/download_file_icon_extractor.h float scale, scale 308 chrome/browser/extensions/api/downloads/downloads_api.cc float scale, scale 313 chrome/browser/extensions/api/downloads/downloads_api.cc float scale, const IconURLCallback& callback, gfx::Image* icon); scale 320 chrome/browser/extensions/api/downloads/downloads_api.cc float scale, scale 330 chrome/browser/extensions/api/downloads/downloads_api.cc base::Unretained(this), scale, callback), scale 336 chrome/browser/extensions/api/downloads/downloads_api.cc float scale, const IconURLCallback& callback, gfx::Image* icon) { scale 339 chrome/browser/extensions/api/downloads/downloads_api.cc icon->ToImageSkia()->GetRepresentation(scale).sk_bitmap())); scale 1489 chrome/browser/extensions/api/downloads/downloads_api.cc float scale = 1.0; scale 1493 chrome/browser/extensions/api/downloads/downloads_api.cc scale = ui::GetImageScale(ui::GetScaleFactorForNativeView( scale 1498 chrome/browser/extensions/api/downloads/downloads_api.cc scale, scale 626 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc float scale, scale 64 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc float scale) { scale 65 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc SkBitmap bitmap1 = i1.GetRepresentation(scale).sk_bitmap(); scale 66 chrome/browser/extensions/api/extension_action/browser_action_apitest.cc SkBitmap bitmap2 = i2.GetRepresentation(scale).sk_bitmap(); scale 87 chrome/browser/extensions/api/extension_action/extension_action_api.cc ui::ScaleFactor scale; scale 124 chrome/browser/extensions/api/extension_action/extension_action_api.cc std::string RepresentationToString(const gfx::ImageSkia& image, float scale) { scale 125 chrome/browser/extensions/api/extension_action/extension_action_api.cc SkBitmap bitmap = image.GetRepresentation(scale).sk_bitmap(); scale 188 chrome/browser/extensions/api/extension_action/extension_action_api.cc float scale = ui::GetImageScale(kIconSizes[i].scale); scale 189 chrome/browser/extensions/api/extension_action/extension_action_api.cc icon.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); scale 218 chrome/browser/extensions/api/extension_action/extension_action_api.cc float scale = ui::GetImageScale(kIconSizes[i].scale); scale 219 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (icon.HasRepresentation(scale)) { scale 222 chrome/browser/extensions/api/extension_action/extension_action_api.cc RepresentationToString(icon, scale)); scale 690 chrome/browser/extensions/api/extension_action/extension_action_api.cc float scale = ui::GetImageScale(kIconSizes[i].scale); scale 691 chrome/browser/extensions/api/extension_action/extension_action_api.cc icon.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); scale 41 chrome/browser/extensions/extension_action.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 42 chrome/browser/extensions/extension_action.cc gfx::ImageSkiaRep icon_rep = icon_.GetRepresentation(scale); scale 46 chrome/browser/extensions/extension_action.cc icon_rep.scale()); scale 41 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return image_rep1.scale() == image_rep2.scale() && scale 56 chrome/browser/extensions/extension_action_icon_factory_unittest.cc gfx::ImageSkiaRep CreateBlankRep(int size_dip, float scale) { scale 59 chrome/browser/extensions/extension_action_icon_factory_unittest.cc static_cast<int>(size_dip * scale), scale 60 chrome/browser/extensions/extension_action_icon_factory_unittest.cc static_cast<int>(size_dip * scale)); scale 63 chrome/browser/extensions/extension_action_icon_factory_unittest.cc return gfx::ImageSkiaRep(bitmap, scale); scale 89 chrome/browser/extensions/extension_icon_image.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; scale 114 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkiaRep IconImage::Source::GetImageForScale(float scale) { scale 118 chrome/browser/extensions/extension_icon_image.cc host_->LoadImageForScaleFactor(ui::GetSupportedScaleFactor(scale)); scale 124 chrome/browser/extensions/extension_icon_image.cc return blank_image_.GetRepresentation(scale); scale 167 chrome/browser/extensions/extension_icon_image.cc const float scale = ui::GetImageScale(scale_factor); scale 169 chrome/browser/extensions/extension_icon_image.cc static_cast<int>(resource_size_in_dip_ * scale); scale 188 chrome/browser/extensions/extension_icon_image.cc return default_icon_.GetRepresentation(scale); scale 195 chrome/browser/extensions/extension_icon_image.cc gfx::Size(resource_size_in_dip_, resource_size_in_dip_), scale)), scale 203 chrome/browser/extensions/extension_icon_image.cc scale)); scale 208 chrome/browser/extensions/extension_icon_image.cc void IconImage::OnImageLoaded(float scale, const gfx::Image& image_in) { scale 216 chrome/browser/extensions/extension_icon_image.cc gfx::ImageSkiaRep rep = image->GetRepresentation(scale); scale 218 chrome/browser/extensions/extension_icon_image.cc DCHECK_EQ(scale, rep.scale()); scale 221 chrome/browser/extensions/extension_icon_image.cc image_skia_.RemoveRepresentation(scale); scale 34 chrome/browser/extensions/extension_icon_image_unittest.cc const float scale = ui::GetImageScale(scale_factor); scale 36 chrome/browser/extensions/extension_icon_image_unittest.cc static_cast<int>(size_dip * scale), scale 37 chrome/browser/extensions/extension_icon_image_unittest.cc static_cast<int>(size_dip * scale)); scale 62 chrome/browser/extensions/extension_icon_image_unittest.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 63 chrome/browser/extensions/extension_icon_image_unittest.cc return image_.GetRepresentation(scale); scale 319 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_EQ(2.0f, representation.scale()); scale 357 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_EQ(1.0f, representation.scale()); scale 562 chrome/browser/extensions/extension_icon_image_unittest.cc EXPECT_EQ(1.0f, representation.scale()); scale 430 chrome/browser/extensions/extension_web_ui.cc float scale = ui::GetImageScale(scale_factors[i]); scale 431 chrome/browser/extensions/extension_web_ui.cc int pixel_size = static_cast<int>(gfx::kFaviconSize * scale); scale 313 chrome/browser/extensions/image_loader_unittest.cc EXPECT_EQ(1.0f, img_rep1->scale()); scale 315 chrome/browser/extensions/image_loader_unittest.cc EXPECT_EQ(2.0f, img_rep2->scale()); scale 150 chrome/browser/favicon/favicon_util.cc float scale = ui::GetImageScale(favicon_scale_factors[i]); scale 151 chrome/browser/favicon/favicon_util.cc if (scale == kScale1x) { scale 153 chrome/browser/favicon/favicon_util.cc } else if (scale > kScale1x) { scale 204 chrome/browser/favicon/favicon_util.cc if (png_reps[i].scale == ui::GetImageScale(scale_factors_to_generate[j])) scale 249 chrome/browser/favicon/favicon_util.cc resized_image_skia_reps[i].scale())); scale 61 chrome/browser/history/select_favicon_frames.cc float scale = ui::GetImageScale(scale_factor); scale 63 chrome/browser/history/select_favicon_frames.cc static_cast<int>(desired_size_in_dip * scale + 0.5f); scale 182 chrome/browser/history/select_favicon_frames.cc float scale = ui::GetImageScale(scale_factor); scale 184 chrome/browser/history/select_favicon_frames.cc desired_size_in_dip * scale + 0.5f); scale 673 chrome/browser/local_discovery/privet_http_impl.cc double scale = dpi_; scale 674 chrome/browser/local_discovery/privet_http_impl.cc scale /= printing::kPointsPerInch; scale 677 chrome/browser/local_discovery/privet_http_impl.cc gfx::Rect area(std::min(page_size_.width(), page_size_.height()) * scale, scale 678 chrome/browser/local_discovery/privet_http_impl.cc std::max(page_size_.width(), page_size_.height()) * scale); scale 117 chrome/browser/process_info_snapshot_mac.cc uint64_t scale = 1; scale 119 chrome/browser/process_info_snapshot_mac.cc scale *= 1024; scale 120 chrome/browser/process_info_snapshot_mac.cc *out_scale = scale; scale 251 chrome/browser/process_info_snapshot_mac.cc uint64_t scale; scale 252 chrome/browser/process_info_snapshot_mac.cc if (!ConvertByteUnitToScale(unit[0], &scale)) scale 254 chrome/browser/process_info_snapshot_mac.cc values[i] *= scale; scale 107 chrome/browser/speech/speech_recognition_bubble.cc copy_dst, image_reps[i].scale())); scale 718 chrome/browser/sync/test/integration/bookmarks_helper.cc float scale = ui::GetImageScale(favicon_scale_factors[i]); scale 719 chrome/browser/sync/test/integration/bookmarks_helper.cc int pixel_width = dip_width * scale; scale 720 chrome/browser/sync/test/integration/bookmarks_helper.cc int pixel_height = dip_height * scale; scale 478 chrome/browser/themes/browser_theme_pack.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 479 chrome/browser/themes/browser_theme_pack.cc if (source_.HasRepresentation(scale)) scale 480 chrome/browser/themes/browser_theme_pack.cc return source_.GetRepresentation(scale); scale 485 chrome/browser/themes/browser_theme_pack.cc ui::GetSupportedScaleFactor(scale)); scale 486 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(scaled_bitmap, scale); scale 508 chrome/browser/themes/browser_theme_pack.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 509 chrome/browser/themes/browser_theme_pack.cc ui::ScaleFactor scale_factor = ui::GetSupportedScaleFactor(scale); scale 514 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(exact_bitmap_it->second, scale); scale 528 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(bitmap, scale); scale 570 chrome/browser/themes/browser_theme_pack.cc return gfx::ImageSkiaRep(scaled_bitmap, scale); scale 1475 chrome/browser/themes/browser_theme_pack.cc ui::GetSupportedScaleFactor(rep_it->scale())); scale 1533 chrome/browser/themes/browser_theme_pack.cc float scale = static_cast<float>(percent) / 100.0f; scale 1535 chrome/browser/themes/browser_theme_pack.cc if (fabs(ui::GetImageScale(scale_factors_[i]) - scale) < 0.001) { scale 127 chrome/browser/thumbnails/content_analysis.cc float scale = 255.0f / value_span; scale 129 chrome/browser/thumbnails/content_analysis.cc float scaled_value = (*it - value_min) * scale; scale 83 chrome/browser/ui/app_list/fast_show_pickler.cc pickle->WriteFloat(it->scale()); scale 106 chrome/browser/ui/app_list/fast_show_pickler.cc float scale = 0.0f; scale 107 chrome/browser/ui/app_list/fast_show_pickler.cc if (!it->ReadFloat(&scale)) scale 142 chrome/browser/ui/app_list/fast_show_pickler.cc result.AddRepresentation(gfx::ImageSkiaRep(bitmap, scale)); scale 50 chrome/browser/ui/app_list/search/common/url_icon_source.cc gfx::ImageSkiaRep UrlIconSource::GetImageForScale(float scale) { scale 55 chrome/browser/ui/app_list/search/common/url_icon_source.cc return icon_.GetRepresentation(scale); scale 58 chrome/browser/ui/app_list/search/common/url_icon_source.cc .GetImageSkiaNamed(default_icon_resource_id_)->GetRepresentation(scale); scale 48 chrome/browser/ui/app_list/search/common/url_icon_source.h virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; scale 121 chrome/browser/ui/app_list/search/people/people_result.cc image_.RemoveRepresentation(image_reps[i].scale()); scale 168 chrome/browser/ui/app_list/search/webstore/webstore_result.cc icon_.RemoveRepresentation(image_reps[i].scale()); scale 43 chrome/browser/ui/app_list/test/fast_show_pickler_unittest.cc ASSERT_EQ(reps1[i].scale(), reps2[i].scale()); scale 159 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc virtual void SaveScreenMagnifierScale(double scale) OVERRIDE { scale 161 chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc chromeos::MagnificationManager::Get()->SaveScreenMagnifierScale(scale); scale 117 chrome/browser/ui/ash/chrome_shell_delegate_views.cc virtual void SaveScreenMagnifierScale(double scale) OVERRIDE { scale 114 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc float scale = std::min(float_dest_w / bitmap_w, scale 116 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int final_dest_w = static_cast<int>(bitmap_w * scale); scale 117 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc int final_dest_h = static_cast<int>(bitmap_h * scale); scale 1112 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc double scale = is_selected ? kSelectedTabThrobScale : 1; scale 1116 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc kMiniTitleChangeThrobOpacity * scale + min; scale 1120 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc return kHoverOpacity * hover_animation_->GetCurrentValue() * scale + min; scale 55 chrome/browser/ui/libgtk2ui/gtk2_border.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 56 chrome/browser/ui/libgtk2ui/gtk2_border.cc int w = size_.width() * scale; scale 57 chrome/browser/ui/libgtk2ui/gtk2_border.cc int h = size_.height() * scale; scale 59 chrome/browser/ui/libgtk2ui/gtk2_border.cc gtk2_ui_->DrawGtkButtonBorder(state_, focused_, w, h), scale); scale 67 chrome/browser/ui/views/avatar_menu_bubble_view.cc float scale = static_cast<float>(scaled_width) / scale 69 chrome/browser/ui/views/avatar_menu_bubble_view.cc scaled_height = Round(src_height * scale); scale 72 chrome/browser/ui/views/avatar_menu_bubble_view.cc float scale = static_cast<float>(scaled_height) / scale 74 chrome/browser/ui/views/avatar_menu_bubble_view.cc scaled_width = Round(src_width * scale); scale 66 chrome/browser/ui/views/avatar_menu_button.cc float scale = scale 69 chrome/browser/ui/views/avatar_menu_button.cc int dst_height = Round(button_icon_.height() * scale); scale 126 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc double scale = std::min(x_scale, y_scale); scale 127 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc width = capture_bitmap_->width() * scale; scale 128 chrome/browser/ui/views/panels/taskbar_window_thumbnailer_win.cc height = capture_bitmap_->height() * scale; scale 129 chrome/browser/ui/views/tab_icon_view.cc float scale = std::min(static_cast<float>(width()) / scalable_w, scale 131 chrome/browser/ui/views/tab_icon_view.cc int dest_w = static_cast<int>(float_src_w * scale); scale 132 chrome/browser/ui/views/tab_icon_view.cc int dest_h = static_cast<int>(float_src_h * scale); scale 1602 chrome/browser/ui/views/tabs/tab.cc double scale = is_selected ? kSelectedTabThrobScale : 1; scale 1606 chrome/browser/ui/views/tabs/tab.cc return tab_animation_->GetCurrentValue() * kHoverOpacity * scale + min; scale 1610 chrome/browser/ui/views/tabs/tab.cc return kHoverOpacity * hover_controller_.GetAnimationValue() * scale + scale 470 chrome/browser/ui/views/tabs/tab_strip.cc float scale = ui::GetImageScale(scale_factor); scale 472 chrome/browser/ui/views/tabs/tab_strip.cc if (!mask->HasRepresentation(scale)) scale 475 chrome/browser/ui/views/tabs/tab_strip.cc gfx::Canvas canvas(gfx::Size(width, height), scale, false); scale 486 chrome/browser/ui/views/toolbar/wrench_menu.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 487 chrome/browser/ui/views/toolbar/wrench_menu.cc const gfx::ImageSkiaRep& rep = image_.GetRepresentation(scale); scale 505 chrome/browser/ui/views/toolbar/wrench_menu.cc return gfx::ImageSkiaRep(white, scale); scale 603 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc float scale = ui::GetImageScale(scale_factors[i]); scale 605 chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc static_cast<int>(gfx::kFaviconSize * scale + 0.5f); scale 36 chrome/browser/ui/webui/favicon_source.cc ui::ScaleFactor scale) scale 40 chrome/browser/ui/webui/favicon_source.cc scale_factor(scale) { scale 91 chrome/browser/ui/webui/favicon_source.h ui::ScaleFactor scale); scale 266 chrome/renderer/pepper/pepper_pdf_host.cc float scale) { scale 283 chrome/renderer/pepper/pepper_pdf_host.cc gfx::ImageSkiaRep image_skia_rep = res_image_skia->GetRepresentation(scale); scale 285 chrome/renderer/pepper/pepper_pdf_host.cc if (image_skia_rep.is_null() || image_skia_rep.scale() != scale) scale 65 chrome/renderer/pepper/pepper_pdf_host.h float scale); scale 374 chrome/renderer/pepper/ppb_pdf_impl.cc float scale) { scale 375 chrome/renderer/pepper/ppb_pdf_impl.cc ui::ScaleFactor supported_scale_factor = ui::GetSupportedScaleFactor(scale); scale 465 chrome/renderer/printing/print_web_view_helper.cc canvas->scale(1 / webkit_scale_factor, 1 / webkit_scale_factor); scale 76 chrome/test/data/dromaeo/store.php $id, $row->collection, $row->version, $row->name, $row->scale, $row->median, $row->min, $row->max, $row->mean, $row->deviation, $row->runs) ); scale 1172 components/autofill/content/renderer/form_autofill_util.cc gfx::RectF GetScaledBoundingBox(float scale, WebFormControlElement* element) { scale 1174 components/autofill/content/renderer/form_autofill_util.cc return gfx::RectF(bounding_box.x() * scale, scale 1175 components/autofill/content/renderer/form_autofill_util.cc bounding_box.y() * scale, scale 1176 components/autofill/content/renderer/form_autofill_util.cc bounding_box.width() * scale, scale 1177 components/autofill/content/renderer/form_autofill_util.cc bounding_box.height() * scale); scale 173 components/autofill/content/renderer/form_autofill_util.h gfx::RectF GetScaledBoundingBox(float scale, scale 701 components/autofill/content/renderer/password_autofill_agent.cc float scale = web_view_->pageScaleFactor(); scale 702 components/autofill/content/renderer/password_autofill_agent.cc gfx::RectF bounding_box_scaled(bounding_box.x() * scale, scale 703 components/autofill/content/renderer/password_autofill_agent.cc bounding_box.y() * scale, scale 704 components/autofill/content/renderer/password_autofill_agent.cc bounding_box.width() * scale, scale 705 components/autofill/content/renderer/password_autofill_agent.cc bounding_box.height() * scale); scale 710 content/browser/android/content_view_core_impl.cc float scale, scale 720 content/browser/android/content_view_core_impl.cc view->GetScaledContentBitmap(scale, skbitmap_format, src_subrect, scale 1247 content/browser/android/content_view_core_impl.cc event.data.pinchUpdate.scale = delta; scale 60 content/browser/android/content_view_core_impl.h float scale, scale 193 content/browser/devtools/renderer_overrides_handler.cc double scale = 1; scale 194 content/browser/devtools/renderer_overrides_handler.cc ParseCaptureParameters(screencast_command_.get(), &format, &quality, &scale); scale 201 content/browser/devtools/renderer_overrides_handler.cc gfx::ScaleSize(view_bounds.size(), scale)); scale 215 content/browser/devtools/renderer_overrides_handler.cc double* scale) { scale 217 content/browser/devtools/renderer_overrides_handler.cc *scale = 1; scale 236 content/browser/devtools/renderer_overrides_handler.cc *scale = std::min(*scale, max_width / view_bounds.width()); scale 238 content/browser/devtools/renderer_overrides_handler.cc *scale = std::min(*scale, max_height / view_bounds.height()); scale 244 content/browser/devtools/renderer_overrides_handler.cc if (*scale <= 0) scale 245 content/browser/devtools/renderer_overrides_handler.cc *scale = 0.1; scale 246 content/browser/devtools/renderer_overrides_handler.cc if (*scale > 5) scale 247 content/browser/devtools/renderer_overrides_handler.cc *scale = 5; scale 960 content/browser/devtools/renderer_overrides_handler.cc double scale; scale 963 content/browser/devtools/renderer_overrides_handler.cc &scale)) { scale 966 content/browser/devtools/renderer_overrides_handler.cc event.data.pinchUpdate.scale = static_cast<float>(scale); scale 46 content/browser/devtools/renderer_overrides_handler.h double* scale); scale 21 content/browser/renderer_host/backing_store_aura.cc gfx::Size ToPixelSize(gfx::Size dipSize, float scale) { scale 22 content/browser/renderer_host/backing_store_aura.cc return gfx::ToCeiledSize(gfx::ScaleSize(dipSize, scale)); scale 194 content/browser/renderer_host/compositing_iosurface_transformer_mac_unittest.cc canvas.scale(static_cast<double>(result.width()) / cropped_src.width(), scale 348 content/browser/renderer_host/input/gesture_event_queue.cc pinch_event.event.data.pinchUpdate.scale = combined_scale; scale 372 content/browser/renderer_host/input/gesture_event_queue.cc float scale = gesture_event.event.data.pinchUpdate.scale; scale 374 content/browser/renderer_host/input/gesture_event_queue.cc gesture_transform.Scale(scale,scale); scale 94 content/browser/renderer_host/input/gesture_event_queue_unittest.cc void SimulateGesturePinchUpdateEvent(float scale, scale 99 content/browser/renderer_host/input/gesture_event_queue_unittest.cc SyntheticWebGestureEventBuilder::BuildPinchUpdate(scale, scale 367 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); scale 384 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); scale 401 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(3, merged_event.data.pinchUpdate.scale); scale 418 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); scale 444 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); scale 479 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); scale 496 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(6, merged_event.data.pinchUpdate.scale); scale 507 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(0.5, merged_event.data.pinchUpdate.scale); scale 539 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(0.5, merged_event.data.pinchUpdate.scale); scale 596 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); scale 611 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); scale 642 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); scale 657 content/browser/renderer_host/input/gesture_event_queue_unittest.cc EXPECT_EQ(1.5, merged_event.data.pinchUpdate.scale); scale 791 content/browser/renderer_host/input/input_router_impl.cc gesture_event.event.data.pinchUpdate.scale = dx; scale 186 content/browser/renderer_host/input/input_router_impl_unittest.cc void SimulateGesturePinchUpdateEvent(float scale, scale 191 content/browser/renderer_host/input/input_router_impl_unittest.cc SyntheticWebGestureEventBuilder::BuildPinchUpdate(scale, scale 181 content/browser/renderer_host/input/web_input_event_util.cc float scale) { scale 187 content/browser/renderer_host/input/web_input_event_util.cc touch.position.x = event.GetX(pointer_index) * scale; scale 188 content/browser/renderer_host/input/web_input_event_util.cc touch.position.y = event.GetY(pointer_index) * scale; scale 192 content/browser/renderer_host/input/web_input_event_util.cc event.GetTouchMajor(pointer_index) * 0.5f * scale; scale 217 content/browser/renderer_host/input/web_input_event_util.cc float scale) { scale 232 content/browser/renderer_host/input/web_input_event_util.cc result.touches[i] = CreateWebTouchPoint(event, i, scale); scale 239 content/browser/renderer_host/input/web_input_event_util.cc float scale) { scale 241 content/browser/renderer_host/input/web_input_event_util.cc gesture.x = data.x * scale; scale 242 content/browser/renderer_host/input/web_input_event_util.cc gesture.y = data.y * scale; scale 250 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; scale 252 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; scale 258 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; scale 259 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.height = data.details.bounding_box_f().height() * scale; scale 265 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; scale 266 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.height = data.details.bounding_box_f().height() * scale; scale 272 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.width = data.details.bounding_box_f().width() * scale; scale 273 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.tap.height = data.details.bounding_box_f().height() * scale; scale 278 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; scale 280 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; scale 285 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; scale 287 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; scale 292 content/browser/renderer_host/input/web_input_event_util.cc data.details.scroll_x_hint() * scale; scale 294 content/browser/renderer_host/input/web_input_event_util.cc data.details.scroll_y_hint() * scale; scale 298 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.deltaX = data.details.scroll_x() * scale; scale 299 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.deltaY = data.details.scroll_y() * scale; scale 300 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.velocityX = data.details.velocity_x() * scale; scale 301 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.scrollUpdate.velocityY = data.details.velocity_y() * scale; scale 308 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.flingStart.velocityX = data.details.velocity_x() * scale; scale 309 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.flingStart.velocityY = data.details.velocity_y() * scale; scale 319 content/browser/renderer_host/input/web_input_event_util.cc gesture.data.pinchUpdate.scale = data.details.scale(); scale 330 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().width() * scale; scale 332 content/browser/renderer_host/input/web_input_event_util.cc data.details.bounding_box_f().height() * scale; scale 29 content/browser/renderer_host/input/web_input_event_util.h float scale); scale 35 content/browser/renderer_host/input/web_input_event_util.h float scale); scale 1443 content/browser/renderer_host/render_view_host_impl.cc float scale = ui::GetImageScale(GetScaleFactorForView(GetView())); scale 1444 content/browser/renderer_host/render_view_host_impl.cc gfx::ImageSkia image(gfx::ImageSkiaRep(bitmap, scale)); scale 722 content/browser/renderer_host/render_widget_host_unittest.cc void SimulateGesturePinchUpdateEvent(float scale, scale 727 content/browser/renderer_host/render_widget_host_unittest.cc SyntheticWebGestureEventBuilder::BuildPinchUpdate(scale, scale 229 content/browser/renderer_host/render_widget_host_view_android.cc float scale, scale 248 content/browser/renderer_host/render_widget_host_view_android.cc gfx::ToCeiledSize(gfx::ScaleSize(bounds, scale / device_scale_factor))); scale 897 content/browser/renderer_host/render_widget_host_view_android.cc canvas.scale( scale 228 content/browser/renderer_host/render_widget_host_view_android.h float scale, scale 880 content/browser/renderer_host/render_widget_host_view_browsertest.cc base::StringPrintf("%f", scale())); scale 882 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::ForceHighDPISupportForTesting(scale()); scale 891 content/browser/renderer_host/render_widget_host_view_browsertest.cc PASS_TEST_IF_SCALE_FACTOR_NOT_SUPPORTED(scale()); scale 905 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::ToFlooredSize(gfx::ScaleSize(output_size, scale(), scale())); scale 924 content/browser/renderer_host/render_widget_host_view_browsertest.cc gfx::ToFlooredSize(gfx::ScaleSize(output_size, scale(), scale())); scale 192 content/browser/renderer_host/ui_events_helper.cc gesture_event.data.pinchUpdate.scale = event.details().scale(); scale 1245 content/browser/web_contents/web_contents_impl.cc totalPinchGestureAmount_ += event.data.pinchUpdate.scale; scale 2499 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = kZoomStepValue * 0.8f; scale 2509 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = -kZoomStepValue; scale 2527 content/browser/web_contents/web_contents_impl_unittest.cc event.data.pinchUpdate.scale = kZoomStepValue * 3; scale 85 content/common/cursors/webcursor.cc float scale; scale 94 content/common/cursors/webcursor.cc !iter->ReadFloat(&scale) || scale 104 content/common/cursors/webcursor.cc if (scale < 0.01 || scale > 100 || scale 105 content/common/cursors/webcursor.cc size_x / scale > kMaxCursorDimension || scale 106 content/common/cursors/webcursor.cc size_y / scale > kMaxCursorDimension) scale 122 content/common/cursors/webcursor.cc custom_scale_ = scale; scale 239 content/common/gpu/client/gl_helper_unittest.cc bool CheckScale(double scale, int samples, bool already_scaled) { scale 241 content/common/gpu/client/gl_helper_unittest.cc if (samples == 1 && scale == 1.0) { scale 245 content/common/gpu/client/gl_helper_unittest.cc if (scale == 2.0 * samples) { scale 251 content/common/gpu/client/gl_helper_unittest.cc if (samples == 1 && scale <= 1.0) { scale 255 content/common/gpu/client/gl_helper_unittest.cc if (scale > samples / 2.0 && scale < samples) { scale 122 content/common/input/synthetic_web_input_event_builders.cc float scale, scale 128 content/common/input/synthetic_web_input_event_builders.cc result.data.pinchUpdate.scale = scale; scale 50 content/common/input/synthetic_web_input_event_builders.h static blink::WebGestureEvent BuildPinchUpdate(float scale, scale 175 content/common/input/web_input_event_traits.cc event->data.pinchUpdate.scale *= event_to_coalesce.data.pinchUpdate.scale; scale 132 content/common/input/web_input_event_traits_unittest.cc pinch0.data.pinchUpdate.scale = 2.f; scale 134 content/common/input/web_input_event_traits_unittest.cc pinch1.data.pinchUpdate.scale = 3.f; scale 137 content/common/input/web_input_event_traits_unittest.cc EXPECT_EQ(2.f * 3.f, pinch1.data.pinchUpdate.scale); scale 542 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java float scale = (float) DeviceDisplayInfo.create(getContext()).getDIPScale(); scale 545 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java int leftMargin = Math.round(x * scale); scale 546 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java int topMargin = Math.round(mRenderCoordinates.getContentOffsetYPix() + y * scale); scale 547 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java int scaledWidth = Math.round(width * scale); scale 554 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java scaledWidth, Math.round(height * scale)); scale 569 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java scaledWidth, (int) (height * scale), leftMargin, topMargin); scale 457 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java float scale = fractionAnimation * (mScale - 1.0f) / mScale + 1.0f / mScale; scale 467 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java rect.left = mTouch.x - mLeftExtrusion * scale + unshiftX; scale 468 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java rect.top = mTouch.y - mTopExtrusion * scale + unshiftY; scale 469 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java rect.right = mTouch.x + mRightExtrusion * scale + unshiftX; scale 470 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java rect.bottom = mTouch.y + mBottomExtrusion * scale + unshiftY; scale 476 content/public/android/java/src/org/chromium/content/browser/PopupZoomer.java canvas.scale(scale, scale, rect.left, rect.top); scale 433 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java float scale = (float) (i + 1) / steps; scale 434 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java int x = fromLocation[0] + (int) (scale * (toLocation[0] - fromLocation[0])); scale 435 content/public/android/javatests/src/org/chromium/content/browser/input/SelectionHandleTest.java int y = fromLocation[1] + (int) (scale * (toLocation[1] - fromLocation[1])); scale 57 content/public/browser/android/content_view_core.h float scale, scale 69 content/public/renderer/pepper_plugin_instance.h float scale) = 0; scale 1023 content/renderer/browser_plugin/browser_plugin.cc canvas->scale(inverse_scale_factor, inverse_scale_factor); scale 67 content/renderer/disambiguation_popup_helper.cc float scale) { scale 71 content/renderer/disambiguation_popup_helper.cc max_size = ToCeiledSize(ScaleSize(max_size, 1.0 / scale)); scale 40 content/renderer/disambiguation_popup_helper_unittest.cc float scale = DisambiguationPopupHelper::ComputeZoomAreaAndScaleFactor( scale 45 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_LE(kDisambiguationPopupMinScale, scale); scale 47 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); scale 57 content/renderer/disambiguation_popup_helper_unittest.cc float scale = DisambiguationPopupHelper::ComputeZoomAreaAndScaleFactor( scale 62 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_EQ(kDisambiguationPopupMaxScale, scale); scale 65 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); scale 76 content/renderer/disambiguation_popup_helper_unittest.cc float scale = DisambiguationPopupHelper::ComputeZoomAreaAndScaleFactor( scale 81 content/renderer/disambiguation_popup_helper_unittest.cc EXPECT_EQ(kDisambiguationPopupMaxScale, scale); scale 84 content/renderer/disambiguation_popup_helper_unittest.cc gfx::Size scaled_size = ToCeiledSize(ScaleSize(zoom_rect.size(), scale)); scale 26 content/renderer/external_popup_menu.cc float scale, const gfx::Point& offset) { scale 27 content/renderer/external_popup_menu.cc origin_scale_for_emulation_ = scale; scale 31 content/renderer/external_popup_menu.h float scale, const gfx::Point& offset); scale 227 content/renderer/input/input_handler_proxy.cc gesture_event.data.pinchUpdate.scale, scale 305 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 1.5; scale 314 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 0.5; scale 356 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 1.5; scale 376 content/renderer/input/input_handler_proxy_unittest.cc gesture_.data.pinchUpdate.scale = 0.5; scale 39 content/renderer/pepper/fake_pepper_plugin_instance.cc float scale) { scale 25 content/renderer/pepper/fake_pepper_plugin_instance.h float scale) OVERRIDE; scale 390 content/renderer/pepper/pepper_graphics_2d_host.cc canvas->scale(scale_, scale_); scale 408 content/renderer/pepper/pepper_graphics_2d_host.cc void PepperGraphics2DHost::SetScale(float scale) { scale 409 content/renderer/pepper/pepper_graphics_2d_host.cc scale_ = scale; scale 551 content/renderer/pepper/pepper_graphics_2d_host.cc float scale) { scale 552 content/renderer/pepper/pepper_graphics_2d_host.cc if (scale > 0.0f) { scale 553 content/renderer/pepper/pepper_graphics_2d_host.cc scale_ = scale; scale 784 content/renderer/pepper/pepper_graphics_2d_host.cc bool PepperGraphics2DHost::ConvertToLogicalPixels(float scale, scale 787 content/renderer/pepper/pepper_graphics_2d_host.cc if (scale == 1.0f || scale <= 0.0f) scale 794 content/renderer/pepper/pepper_graphics_2d_host.cc *op_rect = gfx::ToEnclosingRect(gfx::ScaleRect(*op_rect, scale)); scale 797 content/renderer/pepper/pepper_graphics_2d_host.cc float inverse_scale = 1.0f / scale; scale 798 content/renderer/pepper/pepper_graphics_2d_host.cc *delta = gfx::ToFlooredPoint(gfx::ScalePoint(*delta, scale)); scale 82 content/renderer/pepper/pepper_graphics_2d_host.h void SetScale(float scale); scale 111 content/renderer/pepper/pepper_graphics_2d_host.h float scale); scale 152 content/renderer/pepper/pepper_graphics_2d_host.h static bool ConvertToLogicalPixels(float scale, scale 27 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc static bool ConvertToLogicalPixels(float scale, scale 30 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc return PepperGraphics2DHost::ConvertToLogicalPixels(scale, op_rect, delta); scale 110 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc float scale; scale 152 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc bool res = ConvertToLogicalPixels(tests[i].scale, &r1, &delta); scale 160 content/renderer/pepper/pepper_graphics_2d_host_unittest.cc ConvertToLogicalPixels(1.0f / tests[i].scale, &r1, NULL); scale 1260 content/renderer/pepper/pepper_plugin_instance_impl.cc float scale = bound_graphics_2d_platform_->GetScale(); scale 1262 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::ScaleRect(pixel_plugin_backing_store_rect, scale)); scale 1285 content/renderer/pepper/pepper_plugin_instance_impl.cc *scale_factor = 1.0 / scale; scale 2893 content/renderer/pepper/pepper_plugin_instance_impl.cc float scale) { scale 2894 content/renderer/pepper/pepper_plugin_instance_impl.cc gfx::ImageSkiaRep image_skia_rep = source_image->GetRepresentation(scale); scale 2896 content/renderer/pepper/pepper_plugin_instance_impl.cc if (image_skia_rep.is_null() || image_skia_rep.scale() != scale) scale 359 content/renderer/pepper/pepper_plugin_instance_impl.h float scale) OVERRIDE; scale 141 content/renderer/pepper/ppb_scrollbar_impl.cc canvas->scale(scale(), scale()); scale 62 content/renderer/pepper/ppb_widget_impl.cc void PPB_Widget_Impl::SetScale(float scale) { scale 63 content/renderer/pepper/ppb_widget_impl.cc scale_ = scale; scale 38 content/renderer/pepper/ppb_widget_impl.h virtual void SetScale(float scale) OVERRIDE; scale 52 content/renderer/pepper/ppb_widget_impl.h float scale() const { return scale_; } scale 4640 content/renderer/render_view_impl.cc canvas->scale(new_total_scale / device_scale_factor_, scale 546 content/renderer/render_widget.cc popup_origin_scale_for_emulation_ = emulator->scale(); scale 567 content/renderer/render_widget.cc emulator->scale(), emulator->offset()); scale 1298 content/renderer/render_widget.cc canvas->scale(device_scale_factor_, device_scale_factor_); scale 1336 content/renderer/render_widget.cc canvas->scale(device_scale_factor_, device_scale_factor_); scale 2133 content/renderer/render_widget.cc float scale = popup_origin_scale_for_emulation_; scale 2135 content/renderer/render_widget.cc (pos.x - popup_view_origin_for_emulation_.x()) * scale; scale 2137 content/renderer/render_widget.cc (pos.y - popup_view_origin_for_emulation_.y()) * scale; scale 180 content/renderer/render_widget_fullscreen_pepper.cc canvas->scale(canvas_scale, canvas_scale); scale 126 content/renderer/skia_benchmarking_extension.cc double scale = 1.0; scale 141 content/renderer/skia_benchmarking_extension.cc params_dict->GetDouble("scale", &scale); scale 153 content/renderer/skia_benchmarking_extension.cc clip.Scale(scale); scale 167 content/renderer/skia_benchmarking_extension.cc canvas.scale(scale, scale); scale 56 content/renderer/skia_benchmarking_extension_unittest.cc canvas.scale(SkIntToScalar(2), SkIntToScalar(2)); scale 27 gpu/command_buffer/tests/occlusion_query_unittest.cc void DrawRect(float x, float z, float scale, float* color); scale 36 gpu/command_buffer/tests/occlusion_query_unittest.cc static void SetMatrix(float x, float z, float scale, float* matrix) { scale 37 gpu/command_buffer/tests/occlusion_query_unittest.cc matrix[0] = scale; scale 43 gpu/command_buffer/tests/occlusion_query_unittest.cc matrix[5] = scale; scale 49 gpu/command_buffer/tests/occlusion_query_unittest.cc matrix[10] = scale; scale 58 gpu/command_buffer/tests/occlusion_query_unittest.cc void OcclusionQueryTest::DrawRect(float x, float z, float scale, float* color) { scale 61 gpu/command_buffer/tests/occlusion_query_unittest.cc SetMatrix(x, z, scale, matrix); scale 91 media/base/audio_converter_unittest.cc bool ValidateAudioData(int index, int frames, float scale) { scale 95 media/base/audio_converter_unittest.cc expected_audio_bus_->channel(i)[j] * scale); scale 97 media/base/audio_converter_unittest.cc EXPECT_NEAR(expected_audio_bus_->channel(i)[j] * scale, scale 109 media/base/audio_converter_unittest.cc bool RenderAndValidateAudioData(float scale) { scale 124 media/base/audio_converter_unittest.cc return ValidateAudioData(0, audio_bus_->frames(), scale); scale 162 media/base/audio_converter_unittest.cc float scale = inputs > 1 ? inputs / 2.0f : inputs; scale 164 media/base/audio_converter_unittest.cc ASSERT_TRUE(RenderAndValidateAudioData(scale)); scale 99 media/base/audio_renderer_mixer_unittest.cc bool ValidateAudioData(int index, int frames, float scale, double epsilon) { scale 103 media/base/audio_renderer_mixer_unittest.cc expected_audio_bus_->channel(i)[j] * scale); scale 105 media/base/audio_renderer_mixer_unittest.cc EXPECT_NEAR(expected_audio_bus_->channel(i)[j] * scale, scale 115 media/base/audio_renderer_mixer_unittest.cc bool ValidateAudioData(int index, int frames, float scale) { scale 116 media/base/audio_renderer_mixer_unittest.cc return ValidateAudioData(index, frames, scale, epsilon_); scale 119 media/base/audio_renderer_mixer_unittest.cc bool RenderAndValidateAudioData(float scale) { scale 143 media/base/audio_renderer_mixer_unittest.cc return ValidateAudioData(0, frames, scale); scale 109 media/base/channel_mixer.cc void Mix(Channels input_ch, Channels output_ch, float scale); scale 111 media/base/channel_mixer.cc float scale); scale 203 media/base/channel_mixer.cc float scale = scale 206 media/base/channel_mixer.cc Mix(LEFT, CENTER, scale); scale 207 media/base/channel_mixer.cc Mix(RIGHT, CENTER, scale); scale 213 media/base/channel_mixer.cc float scale = scale 215 media/base/channel_mixer.cc MixWithoutAccounting(CENTER, LEFT, scale); scale 216 media/base/channel_mixer.cc Mix(CENTER, RIGHT, scale); scale 224 media/base/channel_mixer.cc float scale = HasInputChannel(SIDE_LEFT) ? kEqualPowerScale : 1; scale 225 media/base/channel_mixer.cc Mix(BACK_LEFT, SIDE_LEFT, scale); scale 226 media/base/channel_mixer.cc Mix(BACK_RIGHT, SIDE_RIGHT, scale); scale 247 media/base/channel_mixer.cc float scale = HasInputChannel(BACK_LEFT) ? kEqualPowerScale : 1; scale 248 media/base/channel_mixer.cc Mix(SIDE_LEFT, BACK_LEFT, scale); scale 249 media/base/channel_mixer.cc Mix(SIDE_RIGHT, BACK_RIGHT, scale); scale 346 media/base/channel_mixer.cc float scale = matrix_[output_ch][input_ch]; scale 347 media/base/channel_mixer.cc if (scale > 0) { scale 348 media/base/channel_mixer.cc DCHECK_EQ(scale, 1.0f); scale 360 media/base/channel_mixer.cc float scale = matrix_[output_ch][input_ch]; scale 362 media/base/channel_mixer.cc DCHECK_GE(scale, 0); scale 363 media/base/channel_mixer.cc if (scale > 0) { scale 364 media/base/channel_mixer.cc vector_math::FMAC(input->channel(input_ch), scale, output->frames(), scale 389 media/base/channel_mixer.cc void MatrixBuilder::Mix(Channels input_ch, Channels output_ch, float scale) { scale 390 media/base/channel_mixer.cc MixWithoutAccounting(input_ch, output_ch, scale); scale 395 media/base/channel_mixer.cc float scale) { scale 404 media/base/channel_mixer.cc (*matrix_)[output_ch_index][input_ch_index] = scale; scale 56 media/base/channel_mixer_unittest.cc float scale) scale 61 media/base/channel_mixer_unittest.cc scale(scale) { scale 75 media/base/channel_mixer_unittest.cc scale(1.0f) { scale 81 media/base/channel_mixer_unittest.cc output_layout, scale); scale 90 media/base/channel_mixer_unittest.cc float scale; scale 132 media/base/channel_mixer_unittest.cc float scale = GetParam().scale; scale 136 media/base/channel_mixer_unittest.cc expected_value += channel_values[ch] * scale; scale 14 media/base/simd/vector_math_sse.cc void FMUL_SSE(const float src[], float scale, int len, float dest[]) { scale 17 media/base/simd/vector_math_sse.cc __m128 m_scale = _mm_set_ps1(scale); scale 23 media/base/simd/vector_math_sse.cc dest[i] = src[i] * scale; scale 26 media/base/simd/vector_math_sse.cc void FMAC_SSE(const float src[], float scale, int len, float dest[]) { scale 29 media/base/simd/vector_math_sse.cc __m128 m_scale = _mm_set_ps1(scale); scale 37 media/base/simd/vector_math_sse.cc dest[i] += src[i] * scale; scale 37 media/base/vector_math.cc typedef void (*MathProc)(const float src[], float scale, int len, float dest[]); scale 67 media/base/vector_math.cc void FMAC(const float src[], float scale, int len, float dest[]) { scale 71 media/base/vector_math.cc return FMAC_FUNC(src, scale, len, dest); scale 74 media/base/vector_math.cc void FMAC_C(const float src[], float scale, int len, float dest[]) { scale 76 media/base/vector_math.cc dest[i] += src[i] * scale; scale 79 media/base/vector_math.cc void FMUL(const float src[], float scale, int len, float dest[]) { scale 83 media/base/vector_math.cc return FMUL_FUNC(src, scale, len, dest); scale 86 media/base/vector_math.cc void FMUL_C(const float src[], float scale, int len, float dest[]) { scale 88 media/base/vector_math.cc dest[i] = src[i] * scale; scale 120 media/base/vector_math.cc void FMAC_NEON(const float src[], float scale, int len, float dest[]) { scale 123 media/base/vector_math.cc float32x4_t m_scale = vmovq_n_f32(scale); scale 131 media/base/vector_math.cc dest[i] += src[i] * scale; scale 134 media/base/vector_math.cc void FMUL_NEON(const float src[], float scale, int len, float dest[]) { scale 137 media/base/vector_math.cc float32x4_t m_scale = vmovq_n_f32(scale); scale 143 media/base/vector_math.cc dest[i] = src[i] * scale; scale 25 media/base/vector_math.h MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]); scale 29 media/base/vector_math.h MEDIA_EXPORT void FMUL(const float src[], float scale, int len, float dest[]); scale 17 media/base/vector_math_testing.h MEDIA_EXPORT void FMAC_C(const float src[], float scale, int len, float dest[]); scale 18 media/base/vector_math_testing.h MEDIA_EXPORT void FMUL_C(const float src[], float scale, int len, float dest[]); scale 23 media/base/vector_math_testing.h MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len, scale 25 media/base/vector_math_testing.h MEDIA_EXPORT void FMUL_SSE(const float src[], float scale, int len, scale 32 media/base/vector_math_testing.h MEDIA_EXPORT void FMAC_NEON(const float src[], float scale, int len, scale 34 media/base/vector_math_testing.h MEDIA_EXPORT void FMUL_NEON(const float src[], float scale, int len, scale 188 media/base/vector_math_unittest.cc EWMATestScenario ScaledBy(float scale) const { scale 193 media/base/vector_math_unittest.cc *p *= scale; scale 262 media/filters/wsola_internals.cc const float scale = 2.0f * M_PI / window_length; scale 264 media/filters/wsola_internals.cc window[n] = 0.5f * (1.0f - cosf(n * scale)); scale 210 media/video/capture/fake_video_capture_device.cc canvas.scale(3, 3); scale 48 native_client_sdk/src/examples/demo/flock/vector2.h void Scale(double scale) { scale 49 native_client_sdk/src/examples/demo/flock/vector2.h x_ *= scale; scale 50 native_client_sdk/src/examples/demo/flock/vector2.h y_ *= scale; scale 65 ppapi/c/dev/ppb_widget_dev.h void (*SetScale)(PP_Resource widget, float scale); scale 268 ppapi/c/ppb_graphics_2d.h PP_Bool (*SetScale)(PP_Resource resource, float scale); scale 158 ppapi/c/private/ppb_pdf.h float scale); scale 78 ppapi/cpp/dev/widget_dev.cc void Widget_Dev::SetScale(float scale) { scale 80 ppapi/cpp/dev/widget_dev.cc get_interface<PPB_Widget_Dev_0_4>()->SetScale(pp_resource(), scale); scale 32 ppapi/cpp/dev/widget_dev.h void SetScale(float scale); scale 142 ppapi/cpp/graphics_2d.cc bool Graphics2D::SetScale(float scale) { scale 146 ppapi/cpp/graphics_2d.cc scale)); scale 277 ppapi/cpp/graphics_2d.h bool SetScale(float scale); scale 178 ppapi/cpp/private/pdf.cc float scale) { scale 182 ppapi/cpp/private/pdf.cc instance.pp_instance(), image_id, scale)); scale 64 ppapi/cpp/private/pdf.h float scale); scale 679 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static PP_Bool Pnacl_M27_PPB_Graphics2D_SetScale(PP_Resource resource, float scale) { scale 681 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->SetScale(resource, scale); scale 4406 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M27_PPB_Graphics2D_SetScale, scale 103 ppapi/proxy/graphics_2d_resource.cc PP_Bool Graphics2DResource::SetScale(float scale) { scale 104 ppapi/proxy/graphics_2d_resource.cc if (scale <= 0.0f) scale 106 ppapi/proxy/graphics_2d_resource.cc Post(RENDERER, PpapiHostMsg_Graphics2D_SetScale(scale)); scale 107 ppapi/proxy/graphics_2d_resource.cc scale_ = scale; scale 41 ppapi/proxy/graphics_2d_resource.h virtual PP_Bool SetScale(float scale) OVERRIDE; scale 163 ppapi/proxy/pdf_resource.cc float scale) { scale 167 ppapi/proxy/pdf_resource.cc RENDERER, PpapiHostMsg_PDF_GetResourceImage(image_id, scale), &reply, scale 55 ppapi/proxy/pdf_resource.h float scale) OVERRIDE; scale 345 ppapi/tests/test_graphics_2d.cc const float scale = 1.0f/2.0f; scale 349 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(dc.SetScale(scale)); scale 350 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(scale, dc.GetScale()); scale 355 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(scale, dc.GetScale()); scale 719 ppapi/tests/test_graphics_2d.cc const float scale = 1.0f/2.0f; scale 723 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(dc.SetScale(scale)); scale 724 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(scale, dc.GetScale()); scale 729 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(scale, dc.GetScale()); scale 35 ppapi/thunk/ppb_graphics_2d_api.h virtual PP_Bool SetScale(float scale) = 0; scale 88 ppapi/thunk/ppb_graphics_2d_thunk.cc PP_Bool SetScale(PP_Resource resource, float scale) { scale 93 ppapi/thunk/ppb_graphics_2d_thunk.cc return enter.object()->SetScale(scale); scale 33 ppapi/thunk/ppb_pdf_api.h float scale) = 0; scale 129 ppapi/thunk/ppb_pdf_thunk.cc float scale) { scale 133 ppapi/thunk/ppb_pdf_thunk.cc return enter.functions()->GetResourceImageForScale(image_id, scale); scale 21 ppapi/thunk/ppb_widget_api.h virtual void SetScale(float scale) = 0; scale 59 ppapi/thunk/ppb_widget_dev_thunk.cc void SetScale(PP_Resource widget, float scale) { scale 64 ppapi/thunk/ppb_widget_dev_thunk.cc enter.object()->SetScale(scale); scale 612 printing/emf_win.cc float scale = sqrt(float(raster_area_in_pixels) / page_size.GetArea()); scale 613 printing/emf_win.cc page_size.set_width(std::max<int>(1, page_size.width() * scale)); scale 614 printing/emf_win.cc page_size.set_height(std::max<int>(1, page_size.height() * scale)); scale 44 printing/metafile_skia_wrapper.cc double scale) { scale 46 printing/metafile_skia_wrapper.cc meta.setScalar(kCustomScaleKey, SkFloatToScalar(scale)); scale 51 printing/metafile_skia_wrapper.cc double* scale) { scale 57 printing/metafile_skia_wrapper.cc *scale = SkScalarToFloat(value); scale 28 printing/metafile_skia_wrapper.h static void SetCustomScaleOnCanvas(const SkCanvas& canvas, double scale); scale 29 printing/metafile_skia_wrapper.h static bool GetCustomScaleOnCanvas(const SkCanvas& canvas, double* scale); scale 209 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java float scale = Math.min((float)mRenderData.screenWidth / mRenderData.imageWidth, scale 211 remoting/android/java/src/org/chromium/chromoting/TrackingInputHandler.java mRenderData.transform.setScale(scale, scale); scale 108 skia/ext/image_operations.cc float GetFilterSupport(float scale) { scale 143 skia/ext/image_operations.cc float scale, scale 213 skia/ext/image_operations.cc float scale, scale 222 skia/ext/image_operations.cc float clamped_scale = std::min(1.0f, scale); scale 229 skia/ext/image_operations.cc float inv_scale = 1.0f / scale; scale 303 skia/ext/pixel_ref_utils_unittest.cc canvas->scale(2, 0.5); scale 413 skia/ext/pixel_ref_utils_unittest.cc canvas->scale(5, 6); scale 530 skia/ext/pixel_ref_utils_unittest.cc canvas->scale(5, 6); scale 30 skia/ext/skia_utils_ios.h CGFloat scale, scale 949 skia/ext/vector_canvas_unittest.cc vcanvas_->scale(SkDoubleToScalar(1.9), SkDoubleToScalar(1.5)); scale 950 skia/ext/vector_canvas_unittest.cc pcanvas_->scale(SkDoubleToScalar(1.9), SkDoubleToScalar(1.5)); scale 405 third_party/harfbuzz-ng/src/hb-font-private.hh inline hb_position_t em_scale (int16_t v, int scale) { return (hb_position_t) (v * (int64_t) scale / face->get_upem ()); } scale 1108 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh inline int get_delta (unsigned int ppem, int scale) const scale 1116 third_party/harfbuzz-ng/src/hb-ot-layout-common-private.hh return (int) (pixels * (int64_t) scale / ppem); scale 625 third_party/libwebp/enc/picture.c const double scale = 1. / kGammaScale; scale 631 third_party/libwebp/enc/picture.c const double x = scale * (v << kGammaTabFix); scale 146 third_party/libwebp/utils/alpha_processing.c const uint32_t scale = GetScale(alpha, inverse); scale 148 third_party/libwebp/utils/alpha_processing.c out |= Mult(argb >> 0, scale) << 0; scale 149 third_party/libwebp/utils/alpha_processing.c out |= Mult(argb >> 8, scale) << 8; scale 150 third_party/libwebp/utils/alpha_processing.c out |= Mult(argb >> 16, scale) << 16; scale 175 third_party/libwebp/utils/alpha_processing.c const uint32_t scale = GetScale(a, inverse); scale 176 third_party/libwebp/utils/alpha_processing.c ptr[x] = Mult(ptr[x], scale); scale 954 third_party/libxslt/libxslt/numbers.c double scale; scale 1284 third_party/libxslt/libxslt/numbers.c scale = pow(10.0, (double)(format_info.frac_digits + format_info.frac_hash)); scale 1285 third_party/libxslt/libxslt/numbers.c number = floor((scale * number + 0.5)) / scale; scale 1325 third_party/libxslt/libxslt/numbers.c number = floor(scale * number + 0.5); scale 516 third_party/mach_override/libudis86/decode.c op->scale = (1 << SIB_S(inp_curr(u))) & ~1; scale 523 third_party/mach_override/libudis86/decode.c op->scale = UD_NONE; scale 554 third_party/mach_override/libudis86/decode.c op->scale = (1 << SIB_S(inp_curr(u))) & ~1; scale 560 third_party/mach_override/libudis86/decode.c op->scale = UD_NONE; scale 84 third_party/mach_override/libudis86/syn-att.c if (op->scale) { scale 85 third_party/mach_override/libudis86/syn-att.c ud_asmprintf(u, ",%d", op->scale); scale 78 third_party/mach_override/libudis86/syn-intel.c if (op->scale) { scale 79 third_party/mach_override/libudis86/syn-intel.c ud_asmprintf(u, "*%d", op->scale); scale 178 third_party/mach_override/libudis86/syn.c UD_ASSERT(op->scale == UD_NONE && op->offset != 8); scale 153 third_party/mach_override/libudis86/types.h uint8_t scale; scale 70 third_party/qcms/src/transform-sse1.c const __m128 scale = _mm_load_ps(floatScaleX4); scale 108 third_party/qcms/src/transform-sse1.c result = _mm_mul_ps(vec_r, scale); scale 141 third_party/qcms/src/transform-sse1.c result = _mm_mul_ps(vec_r, scale); scale 190 third_party/qcms/src/transform-sse1.c const __m128 scale = _mm_load_ps(floatScaleX4); scale 234 third_party/qcms/src/transform-sse1.c result = _mm_mul_ps(vec_r, scale); scale 269 third_party/qcms/src/transform-sse1.c result = _mm_mul_ps(vec_r, scale); scale 70 third_party/qcms/src/transform-sse2.c const __m128 scale = _mm_load_ps(floatScaleX4); scale 108 third_party/qcms/src/transform-sse2.c result = _mm_mul_ps(vec_r, scale); scale 139 third_party/qcms/src/transform-sse2.c result = _mm_mul_ps(vec_r, scale); scale 184 third_party/qcms/src/transform-sse2.c const __m128 scale = _mm_load_ps(floatScaleX4); scale 228 third_party/qcms/src/transform-sse2.c result = _mm_mul_ps(vec_r, scale); scale 261 third_party/qcms/src/transform-sse2.c result = _mm_mul_ps(vec_r, scale); scale 20594 third_party/sqlite/amalgamation/sqlite3.c double scale = 1.0; scale 20597 third_party/sqlite/amalgamation/sqlite3.c while( e%308 ) { scale *= 1.0e+1; e -= 1; } scale 20599 third_party/sqlite/amalgamation/sqlite3.c result = s / scale; scale 20602 third_party/sqlite/amalgamation/sqlite3.c result = s * scale; scale 20608 third_party/sqlite/amalgamation/sqlite3.c while( e%22 ) { scale *= 1.0e+1; e -= 1; } scale 20609 third_party/sqlite/amalgamation/sqlite3.c while( e>0 ) { scale *= 1.0e+22; e -= 22; } scale 20611 third_party/sqlite/amalgamation/sqlite3.c result = s / scale; scale 20613 third_party/sqlite/amalgamation/sqlite3.c result = s * scale; scale 374 third_party/sqlite/src/src/util.c double scale = 1.0; scale 377 third_party/sqlite/src/src/util.c while( e%308 ) { scale *= 1.0e+1; e -= 1; } scale 379 third_party/sqlite/src/src/util.c result = s / scale; scale 382 third_party/sqlite/src/src/util.c result = s * scale; scale 388 third_party/sqlite/src/src/util.c while( e%22 ) { scale *= 1.0e+1; e -= 1; } scale 389 third_party/sqlite/src/src/util.c while( e>0 ) { scale *= 1.0e+22; e -= 22; } scale 391 third_party/sqlite/src/src/util.c result = s / scale; scale 393 third_party/sqlite/src/src/util.c result = s * scale; scale 3428 third_party/wtl/include/atlctrlx.h if (pdecLeft->scale < pdecRight->scale) scale 3443 third_party/wtl/include/atlctrlx.h temp.scale < pdecRight->scale) scale 3446 third_party/wtl/include/atlctrlx.h int scaleDiff = pdecRight->scale - temp.scale; scale 3467 third_party/wtl/include/atlctrlx.h temp.scale = (BYTE)(temp.scale + scaleDiff); scale 3469 third_party/wtl/include/atlctrlx.h if (temp.scale < pdecRight->scale) scale 183 tools/traceline/traceline/assembler.h Operand(Register base, Register index, ScaleFactor scale, int disp) { scale 184 tools/traceline/traceline/assembler.h Init(base, index, scale, disp); scale 188 tools/traceline/traceline/assembler.h Operand(Register index, ScaleFactor scale, int disp) { scale 189 tools/traceline/traceline/assembler.h Init(index, scale, disp); scale 234 tools/traceline/traceline/assembler.h ScaleFactor scale, scale 240 tools/traceline/traceline/assembler.h set_sib(scale, index, base); scale 244 tools/traceline/traceline/assembler.h set_sib(scale, index, base); scale 249 tools/traceline/traceline/assembler.h set_sib(scale, index, base); scale 256 tools/traceline/traceline/assembler.h ScaleFactor scale, scale 263 tools/traceline/traceline/assembler.h if (scale == SCALE_TIMES_2) { scale 267 tools/traceline/traceline/assembler.h set_sib(scale, index, EBP); scale 284 tools/traceline/traceline/assembler.h void set_sib(ScaleFactor scale, Register index, Register base) { scale 286 tools/traceline/traceline/assembler.h ASSERT((scale & -4) == 0); scale 287 tools/traceline/traceline/assembler.h buf_[1] = scale << 6 | index << 3 | base; scale 133 ui/android/java/src/org/chromium/ui/UiUtils.java double scale = maximumDimension / Math.max(originalWidth, originalHeight); scale 134 ui/android/java/src/org/chromium/ui/UiUtils.java newWidth = (int) Math.round(originalWidth * scale); scale 135 ui/android/java/src/org/chromium/ui/UiUtils.java newHeight = (int) Math.round(originalHeight * scale); scale 152 ui/android/java/src/org/chromium/ui/UiUtils.java double scale = maximumDimension / Math.max(originalWidth, originalHeight); scale 153 ui/android/java/src/org/chromium/ui/UiUtils.java newWidth = (int) Math.round(originalWidth * scale); scale 154 ui/android/java/src/org/chromium/ui/UiUtils.java newHeight = (int) Math.round(originalHeight * scale); scale 158 ui/android/java/src/org/chromium/ui/UiUtils.java canvas.scale((float) (newWidth / originalWidth), scale 50 ui/app_list/views/app_list_main_view.cc float scale) scale 56 ui/app_list/views/app_list_main_view.cc item_->icon().GetRepresentation(scale); scale 178 ui/app_list/views/app_list_main_view.cc float scale = ui::GetImageScale(scale_factor); scale 192 ui/app_list/views/app_list_main_view.cc if (item->icon().HasRepresentation(scale)) scale 195 ui/app_list/views/app_list_main_view.cc pending_icon_loaders_.push_back(new IconLoader(this, item, scale)); scale 39 ui/aura/client/cursor_client.h virtual void SetScale(float scale) = 0; scale 52 ui/aura/test/test_cursor_client.cc void TestCursorClient::SetScale(float scale) { scale 32 ui/aura/test/test_cursor_client.h virtual void SetScale(float scale) OVERRIDE; scale 144 ui/aura/window_tree_host.cc float scale = ui::GetDeviceScaleFactor(window()->layer()); scale 146 ui/aura/window_tree_host.cc transform.Scale(scale, scale); scale 158 ui/aura/window_tree_host.cc float scale = ui::GetDeviceScaleFactor(window()->layer()); scale 160 ui/aura/window_tree_host.cc transform.Scale(1.0f / scale, 1.0f / scale); scale 33 ui/base/cursor/cursor_loader.h float scale() const { scale 38 ui/base/cursor/cursor_loader.h void set_scale(const float scale) { scale 39 ui/base/cursor/cursor_loader.h scale_ = scale; scale 167 ui/base/cursor/cursor_loader_x11.cc scale(), display().rotation(), &bitmap, &hotpoint); scale 16 ui/base/cursor/cursor_util.cc void ScaleAndRotateCursorBitmapAndHotpoint(float scale, scale 41 ui/base/cursor/cursor_util.cc if (scale < FLT_EPSILON) { scale 43 ui/base/cursor/cursor_util.cc scale = 1.0f; scale 46 ui/base/cursor/cursor_util.cc if (scale == 1.0f) scale 50 ui/base/cursor/cursor_util.cc gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); scale 57 ui/base/cursor/cursor_util.cc *hotpoint = gfx::ToFlooredPoint(gfx::ScalePoint(*hotpoint, scale)); scale 20 ui/base/cursor/cursor_util.h float scale, scale 104 ui/base/layout.cc ScaleFactor GetSupportedScaleFactor(float scale) { scale 110 ui/base/layout.cc float diff = std::abs(kScaleFactorScales[scale_factor] - scale); scale 138 ui/base/layout.cc ScaleFactor FindClosestScaleFactorUnsafe(float scale) { scale 143 ui/base/layout.cc float diff = std::abs(kScaleFactorScales[scale_factor] - scale); scale 79 ui/base/layout.h UI_BASE_EXPORT ScaleFactor FindClosestScaleFactorUnsafe(float scale); scale 103 ui/base/resource/resource_bundle.cc virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 106 ui/base/resource/resource_bundle.cc ScaleFactor scale_factor = GetSupportedScaleFactor(scale); scale 117 ui/base/resource/resource_bundle.cc gfx::ToCeiledInt(image.width() * scale), scale 118 ui/base/resource/resource_bundle.cc gfx::ToCeiledInt(image.height() * scale)); scale 122 ui/base/resource/resource_bundle.cc LOG(ERROR) << "Missing " << scale << "x scaled resource. id=" scale 135 ui/base/resource/resource_bundle.cc scale); scale 137 ui/base/resource/resource_bundle.cc return gfx::ImageSkiaRep(image, scale); scale 362 ui/base/resource/resource_bundle.cc float scale = GetImageScale(scale_factor_to_load); scale 370 ui/base/resource/resource_bundle.cc scale); scale 465 ui/base/resource/resource_bundle_unittest.cc GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); scale 468 ui/base/resource/resource_bundle_unittest.cc GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); scale 475 ui/base/resource/resource_bundle_unittest.cc EXPECT_EQ(ui::SCALE_FACTOR_100P, GetSupportedScaleFactor(image_rep.scale())); scale 478 ui/base/resource/resource_bundle_unittest.cc EXPECT_EQ(ui::SCALE_FACTOR_200P, GetSupportedScaleFactor(image_rep.scale())); scale 484 ui/base/resource/resource_bundle_unittest.cc ui::ScaleFactor scale_factor = GetSupportedScaleFactor(image_rep.scale()); scale 518 ui/base/resource/resource_bundle_unittest.cc EXPECT_EQ(ui::SCALE_FACTOR_200P, GetSupportedScaleFactor(image_rep.scale())); scale 583 ui/base/resource/resource_bundle_unittest.cc GetSupportedScaleFactor(image_skia->image_reps()[0].scale())); scale 91 ui/base/webui/web_ui_util.cc double scale = 0; scale 94 ui/base/webui/web_ui_util.cc if (!base::StringToDouble(stripped, &scale)) { scale 99 ui/base/webui/web_ui_util.cc *scale_factor = ui::GetSupportedScaleFactor(static_cast<float>(scale)); scale 16 ui/base/win/dpi_setup.cc float scale = 1.0; scale 19 ui/base/win/dpi_setup.cc scale = gfx::GetModernUIScale(); scale 22 ui/base/win/dpi_setup.cc scale = gfx::GetDPIScale(); scale 24 ui/base/win/dpi_setup.cc gfx::InitDeviceScaleFactor(scale); scale 399 ui/base/x/x11_util.cc float scale = 1.f; scale 401 ui/base/x/x11_util.cc scale = kMaxPixel / cursor_image->width(); scale 403 ui/base/x/x11_util.cc scale = kMaxPixel / cursor_image->height(); scale 407 ui/base/x/x11_util.cc static_cast<int>(cursor_image->width() * scale), scale 408 ui/base/x/x11_util.cc static_cast<int>(cursor_image->height() * scale)); scale 409 ui/base/x/x11_util.cc hotspot_point = gfx::ToFlooredPoint(gfx::ScalePoint(hotspot, scale)); scale 339 ui/compositor/compositor.cc void Compositor::SetScaleAndSize(float scale, const gfx::Size& size_in_pixel) { scale 340 ui/compositor/compositor.cc DCHECK_GT(scale, 0); scale 348 ui/compositor/compositor.cc if (device_scale_factor_ != scale) { scale 349 ui/compositor/compositor.cc device_scale_factor_ = scale; scale 351 ui/compositor/compositor.cc root_layer_->OnDeviceScaleFactorChanged(scale); scale 218 ui/compositor/compositor.h void SetScaleAndSize(float scale, const gfx::Size& size_in_pixel); scale 85 ui/compositor/debug_utils.cc *out << L"scale: " << decomp.scale[0]; scale 86 ui/compositor/debug_utils.cc *out << L", " << decomp.scale[1]; scale 44 ui/compositor/dip_util.cc float scale = 1.0f / GetDeviceScaleFactor(layer); scale 45 ui/compositor/dip_util.cc return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_pixel, scale)); scale 62 ui/compositor/dip_util.cc float scale = GetDeviceScaleFactor(layer); scale 63 ui/compositor/dip_util.cc return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_dip, scale)); scale 661 ui/compositor/layer.cc canvas->sk_canvas()->scale(SkFloatToScalar(device_scale_factor_), scale 430 ui/events/event.cc if (decomp.scale[0]) scale 431 ui/events/event.cc offset_.set_x(offset_.x() * decomp.scale[0]); scale 432 ui/events/event.cc if (decomp.scale[1]) scale 433 ui/events/event.cc offset_.set_y(offset_.y() * decomp.scale[1]); scale 514 ui/events/event.cc if (decomp.scale[0]) scale 515 ui/events/event.cc radius_x_ *= decomp.scale[0]; scale 516 ui/events/event.cc if (decomp.scale[1]) scale 517 ui/events/event.cc radius_y_ *= decomp.scale[1]; scale 143 ui/events/gesture_detection/gesture_provider.cc float scale = detector.GetScaleFactor(); scale 144 ui/events/gesture_detection/gesture_provider.cc if (scale == 1) scale 155 ui/events/gesture_detection/gesture_provider.cc scale = std::pow(scale > 1 ? 1.0f + kDoubleTapDragZoomSpeed scale 159 ui/events/gesture_detection/gesture_provider.cc GestureEventDetails pinch_details(ET_GESTURE_PINCH_UPDATE, scale, 0); scale 481 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_LT(1.f, GetMostRecentGestureEvent().details.scale()); scale 489 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_GT(1.f, GetMostRecentGestureEvent().details.scale()); scale 937 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_LT(1.f, GetMostRecentGestureEvent().details.scale()); scale 1046 ui/events/gesture_detection/gesture_provider_unittest.cc EXPECT_LT(1.f, GetMostRecentGestureEvent().details.scale()); scale 42 ui/events/gesture_event_details.cc data.scale = delta_x; scale 114 ui/events/gesture_event_details.h float scale() const { scale 116 ui/events/gesture_event_details.h return data.scale; scale 168 ui/events/gesture_event_details.h float scale; // PINCH scale. scale 1081 ui/events/gestures/gesture_sequence.cc float scale, scale 1093 ui/events/gestures/gesture_sequence.cc float scale, scale 1098 ui/events/gestures/gesture_sequence.cc GestureEventDetails(ui::ET_GESTURE_PINCH_UPDATE, scale, 0), scale 148 ui/events/gestures/gesture_sequence.h float scale, scale 151 ui/events/gestures/gesture_sequence.h float scale, scale 42 ui/gfx/canvas.cc canvas_->scale(scale_scalar, scale_scalar); scale 46 ui/gfx/canvas.cc : image_scale_(image_rep.scale()), scale 53 ui/gfx/canvas.cc canvas_->scale(scale_scalar, scale_scalar); scale 82 ui/gfx/canvas.cc canvas_->scale(scale_scalar, scale_scalar); scale 221 ui/gfx/canvas.cc canvas_->scale(SkIntToScalar(x_scale), SkIntToScalar(y_scale)); scale 342 ui/gfx/canvas.cc float bitmap_scale = image_rep.scale(); scale 345 ui/gfx/canvas.cc canvas_->scale(SkFloatToScalar(1.0f / bitmap_scale), scale 405 ui/gfx/canvas.cc image_rep.scale() == 1.0f) { scale 582 ui/gfx/canvas.cc float bitmap_scale = image_rep.scale(); scale 515 ui/gfx/color_analysis.cc float scale = 0.0; scale 518 ui/gfx/color_analysis.cc scale = 255.0 / (max_val - min_val); scale 519 ui/gfx/color_analysis.cc t0 *= scale; scale 520 ui/gfx/color_analysis.cc tr *= scale; scale 521 ui/gfx/color_analysis.cc tg *= scale; scale 522 ui/gfx/color_analysis.cc tb *= scale; scale 72 ui/gfx/display.h void set_device_scale_factor(float scale) { device_scale_factor_ = scale; } scale 42 ui/gfx/geometry/box_f.h void Scale(float scale) { scale 43 ui/gfx/geometry/box_f.h Scale(scale, scale, scale); scale 136 ui/gfx/geometry/box_f.h inline BoxF ScaleBox(const BoxF& b, float scale) { scale 137 ui/gfx/geometry/box_f.h return ScaleBox(b, scale, scale, scale); scale 32 ui/gfx/geometry/insets.h Insets Scale(float scale) const { scale 33 ui/gfx/geometry/insets.h return Scale(scale, scale); scale 27 ui/gfx/geometry/point3_f.h void Scale(float scale) { scale 28 ui/gfx/geometry/point3_f.h Scale(scale, scale, scale); scale 114 ui/gfx/geometry/point3_f.h inline Point3F ScalePoint(const Point3F& p, float scale) { scale 115 ui/gfx/geometry/point3_f.h return ScalePoint(p, scale, scale, scale); scale 23 ui/gfx/geometry/point_f.h void Scale(float scale) { scale 24 ui/gfx/geometry/point_f.h Scale(scale, scale); scale 65 ui/gfx/geometry/point_f.h inline PointF ScalePoint(const PointF& p, float scale) { scale 66 ui/gfx/geometry/point_f.h return ScalePoint(p, scale, scale); scale 76 ui/gfx/geometry/quad_f.h void Scale(float scale) { Scale(scale, scale); } scale 121 ui/gfx/geometry/rect.h inline Rect ScaleToEnclosingRect(const Rect& rect, float scale) { scale 122 ui/gfx/geometry/rect.h return ScaleToEnclosingRect(rect, scale, scale); scale 135 ui/gfx/geometry/rect.h inline Rect ScaleToEnclosedRect(const Rect& rect, float scale) { scale 136 ui/gfx/geometry/rect.h return ScaleToEnclosedRect(rect, scale, scale); scale 46 ui/gfx/geometry/rect_f.h void Scale(float scale) { scale 47 ui/gfx/geometry/rect_f.h Scale(scale, scale); scale 95 ui/gfx/geometry/rect_f.h inline RectF ScaleRect(const RectF& r, float scale) { scale 96 ui/gfx/geometry/rect_f.h return ScaleRect(r, scale, scale); scale 430 ui/gfx/geometry/rect_unittest.cc float scale; scale 460 ui/gfx/geometry/rect_unittest.cc RectF scaled = ScaleRect(r1, tests[i].scale); scale 23 ui/gfx/geometry/size_f.h void Scale(float scale) { scale 24 ui/gfx/geometry/size_f.h Scale(scale, scale); scale 44 ui/gfx/geometry/size_f.h inline SizeF ScaleSize(const SizeF& p, float scale) { scale 45 ui/gfx/geometry/size_f.h return ScaleSize(p, scale, scale); scale 57 ui/gfx/geometry/vector2d_f.h void Scale(float scale) { Scale(scale, scale); } scale 106 ui/gfx/geometry/vector2d_f.h inline Vector2dF ScaleVector2d(const Vector2dF& v, float scale) { scale 107 ui/gfx/geometry/vector2d_f.h return ScaleVector2d(v, scale, scale); scale 65 ui/gfx/geometry/vector3d_f.h void Scale(float scale) { Scale(scale, scale, scale); } scale 118 ui/gfx/geometry/vector3d_f.h inline Vector3dF ScaleVector3d(const Vector3dF& v, float scale) { scale 119 ui/gfx/geometry/vector3d_f.h return ScaleVector3d(v, scale, scale, scale); scale 20 ui/gfx/image/canvas_image_source.cc gfx::ImageSkiaRep CanvasImageSource::GetImageForScale(float scale) { scale 21 ui/gfx/image/canvas_image_source.cc gfx::Canvas canvas(size_, scale, is_opaque_); scale 33 ui/gfx/image/canvas_image_source.h virtual gfx::ImageSkiaRep GetImageForScale(float scale) OVERRIDE; scale 68 ui/gfx/image/image.cc if (image_png_reps[i].scale == 1.0f) scale 162 ui/gfx/image/image.cc << image_png_reps[i].scale scale 167 ui/gfx/image/image.cc bitmap, image_png_reps[i].scale)); scale 177 ui/gfx/image/image.cc if (image_skia_rep.scale() != 1.0f || scale 276 ui/gfx/image/image.cc if (it->scale == 1.0f) { scale 783 ui/gfx/image/image.cc if (image_png_reps[i].scale == 1.0f) scale 30 ui/gfx/image/image_png_rep.h float scale; scale 37 ui/gfx/image/image_skia.cc explicit Matcher(float scale) : scale_(scale) { scale 41 ui/gfx/image/image_skia.cc return rep.scale() == scale_; scale 65 ui/gfx/image/image_skia.cc ImageSkiaStorage(ImageSkiaSource* source, float scale) scale 68 ui/gfx/image/image_skia.cc ImageSkia::ImageSkiaReps::iterator it = FindRepresentation(scale, true); scale 112 ui/gfx/image/image_skia.cc float scale, bool fetch_new_image) const { scale 123 ui/gfx/image/image_skia.cc if (it->scale() == scale) { scale 131 ui/gfx/image/image_skia.cc float diff = std::abs(it->scale() - scale); scale 142 ui/gfx/image/image_skia.cc ImageSkiaRep image = source_->GetImageForScale(scale); scale 147 ui/gfx/image/image_skia.cc Matcher(image.scale())) == image_reps_.end()) { scale 154 ui/gfx/image/image_skia.cc if (image.is_null() || image.scale() != scale) { scale 155 ui/gfx/image/image_skia.cc non_const->image_reps().push_back(ImageSkiaRep(SkBitmap(), scale)); scale 159 ui/gfx/image/image_skia.cc return FindRepresentation(scale, false); scale 196 ui/gfx/image/image_skia.cc ImageSkia::ImageSkia(ImageSkiaSource* source, float scale) scale 197 ui/gfx/image/image_skia.cc : storage_(new internal::ImageSkiaStorage(source, scale)) { scale 285 ui/gfx/image/image_skia.cc void ImageSkia::RemoveRepresentation(float scale) { scale 292 ui/gfx/image/image_skia.cc storage_->FindRepresentation(scale, false); scale 293 ui/gfx/image/image_skia.cc if (it != image_reps.end() && it->scale() == scale) scale 297 ui/gfx/image/image_skia.cc bool ImageSkia::HasRepresentation(float scale) const { scale 302 ui/gfx/image/image_skia.cc ImageSkiaReps::iterator it = storage_->FindRepresentation(scale, false); scale 303 ui/gfx/image/image_skia.cc return (it != storage_->image_reps().end() && it->scale() == scale); scale 306 ui/gfx/image/image_skia.cc const ImageSkiaRep& ImageSkia::GetRepresentation(float scale) const { scale 312 ui/gfx/image/image_skia.cc ImageSkiaReps::iterator it = storage_->FindRepresentation(scale, true); scale 52 ui/gfx/image/image_skia.h ImageSkia(ImageSkiaSource* source, float scale); scale 98 ui/gfx/image/image_skia.h void RemoveRepresentation(float scale); scale 102 ui/gfx/image/image_skia.h bool HasRepresentation(float scale) const; scale 106 ui/gfx/image/image_skia.h const gfx::ImageSkiaRep& GetRepresentation(float scale) const; scale 28 ui/gfx/image/image_skia_operations.cc gfx::Size DIPToPixelSize(gfx::Size dip_size, float scale) { scale 29 ui/gfx/image/image_skia_operations.cc return ToCeiledSize(ScaleSize(dip_size, scale)); scale 32 ui/gfx/image/image_skia_operations.cc gfx::Rect DIPToPixelBounds(gfx::Rect dip_bounds, float scale) { scale 33 ui/gfx/image/image_skia_operations.cc return gfx::Rect(ToFlooredPoint(ScalePoint(dip_bounds.origin(), scale)), scale 34 ui/gfx/image/image_skia_operations.cc DIPToPixelSize(dip_bounds.size(), scale)); scale 39 ui/gfx/image/image_skia_operations.cc ImageSkiaRep GetErrorImageRep(float scale, const gfx::Size& pixel_size) { scale 45 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep(bitmap, scale); scale 63 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 64 ui/gfx/image/image_skia_operations.cc ImageSkiaRep first_rep = first_.GetRepresentation(scale); scale 65 ui/gfx/image/image_skia_operations.cc ImageSkiaRep second_rep = second_.GetRepresentation(scale); scale 67 ui/gfx/image/image_skia_operations.cc DCHECK_NE(first_rep.scale(), second_rep.scale()); scale 68 ui/gfx/image/image_skia_operations.cc if (first_rep.scale() == second_rep.scale()) { scale 70 ui/gfx/image/image_skia_operations.cc return GetErrorImageRep(first_rep.scale(),first_rep.pixel_size()); scale 78 ui/gfx/image/image_skia_operations.cc return GetErrorImageRep(first_rep.scale(), first_rep.pixel_size()); scale 81 ui/gfx/image/image_skia_operations.cc DCHECK_EQ(first_rep.scale(), second_rep.scale()); scale 120 ui/gfx/image/image_skia_operations.cc return ImageSkiaRep(blended, first_rep.scale()); scale 166 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 167 ui/gfx/image/image_skia_operations.cc ImageSkiaRep image_rep = image_.GetRepresentation(scale); scale 176 ui/gfx/image/image_skia_operations.cc image_rep.scale()); scale 200 ui/gfx/image/image_skia_operations.cc first_rep.scale()); scale 223 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 224 ui/gfx/image/image_skia_operations.cc ImageSkiaRep source_rep = source_.GetRepresentation(scale); scale 226 ui/gfx/image/image_skia_operations.cc dst_h_), source_rep.scale()); scale 231 ui/gfx/image/image_skia_operations.cc source_rep.scale()); scale 256 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 257 ui/gfx/image/image_skia_operations.cc ImageSkiaRep image_rep = image_.GetRepresentation(scale); scale 260 ui/gfx/image/image_skia_operations.cc hsl_shift_), image_rep.scale()); scale 286 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 287 ui/gfx/image/image_skia_operations.cc ImageSkiaRep image_rep = image_.GetRepresentation(scale); scale 288 ui/gfx/image/image_skia_operations.cc ImageSkiaRep mask_rep = mask_.GetRepresentation(scale); scale 289 ui/gfx/image/image_skia_operations.cc if (image_rep.scale() != mask_rep.scale()) { scale 296 ui/gfx/image/image_skia_operations.cc image_rep.scale()); scale 321 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 322 ui/gfx/image/image_skia_operations.cc ImageSkiaRep image_rep = image_.GetRepresentation(scale); scale 324 ui/gfx/image/image_skia_operations.cc DIPToPixelBounds(subset_bounds_, image_rep.scale())); scale 329 ui/gfx/image/image_skia_operations.cc return gfx::ImageSkiaRep(dst, image_rep.scale()); scale 353 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 354 ui/gfx/image/image_skia_operations.cc const ImageSkiaRep& image_rep = source_.GetRepresentation(scale); scale 359 ui/gfx/image/image_skia_operations.cc const Size target_pixel_size = DIPToPixelSize(target_dip_size_, scale); scale 365 ui/gfx/image/image_skia_operations.cc return ImageSkiaRep(resized, scale); scale 388 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 389 ui/gfx/image/image_skia_operations.cc const ImageSkiaRep& image_rep = source_.GetRepresentation(scale); scale 393 ui/gfx/image/image_skia_operations.cc shadows_in_pixel.push_back(shaodws_in_dip_[i].Scale(scale)); scale 398 ui/gfx/image/image_skia_operations.cc return ImageSkiaRep(shadow_bitmap, image_rep.scale()); scale 420 ui/gfx/image/image_skia_operations.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 421 ui/gfx/image/image_skia_operations.cc const ImageSkiaRep& image_rep = source_.GetRepresentation(scale); scale 424 ui/gfx/image/image_skia_operations.cc return ImageSkiaRep(rotated_bitmap, image_rep.scale()); scale 15 ui/gfx/image/image_skia_rep.cc ImageSkiaRep::ImageSkiaRep(const gfx::Size& size, float scale) : scale_(scale) { scale 17 ui/gfx/image/image_skia_rep.cc static_cast<int>(size.width() * scale), scale 18 ui/gfx/image/image_skia_rep.cc static_cast<int>(size.height() * scale)); scale 22 ui/gfx/image/image_skia_rep.cc ImageSkiaRep::ImageSkiaRep(const SkBitmap& src, float scale) scale 24 ui/gfx/image/image_skia_rep.cc scale_(scale) { scale 23 ui/gfx/image/image_skia_rep.h ImageSkiaRep(const gfx::Size& size, float scale); scale 27 ui/gfx/image/image_skia_rep.h ImageSkiaRep(const SkBitmap& src, float scale); scale 44 ui/gfx/image/image_skia_rep.h float scale() const { return scale_; } scale 24 ui/gfx/image/image_skia_source.h virtual gfx::ImageSkiaRep GetImageForScale(float scale) = 0; scale 34 ui/gfx/image/image_skia_unittest.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 51 ui/gfx/image/image_skia_unittest.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 52 ui/gfx/image/image_skia_unittest.cc return gfx::ImageSkiaRep(size_, scale); scale 69 ui/gfx/image/image_skia_unittest.cc virtual ImageSkiaRep GetImageForScale(float scale) OVERRIDE { scale 124 ui/gfx/image/image_skia_unittest.cc EXPECT_EQ(1.0f, result_100p.scale()); scale 133 ui/gfx/image/image_skia_unittest.cc EXPECT_EQ(1.0f, result_200p.scale()); scale 149 ui/gfx/image/image_skia_unittest.cc EXPECT_EQ(1.0f, result_100p.scale()); scale 158 ui/gfx/image/image_skia_unittest.cc EXPECT_EQ(2.0f, result_200p.scale()); scale 198 ui/gfx/image/image_skia_unittest.cc if (image_reps[i].scale() == 1.0f) scale 200 ui/gfx/image/image_skia_unittest.cc else if (image_reps[i].scale() == 2.0f) scale 28 ui/gfx/image/image_skia_util_ios.h float scale); scale 92 ui/gfx/image/image_unittest_util.cc float scale = img1_reps[i].scale(); scale 93 ui/gfx/image/image_unittest_util.cc const gfx::ImageSkiaRep& image_rep2 = image_skia2.GetRepresentation(scale); scale 94 ui/gfx/image/image_unittest_util.cc if (image_rep2.scale() != scale || scale 163 ui/gfx/image/image_unittest_util.cc if (image_rep.is_null() || image_rep.scale() != scales[i]) scale 183 ui/gfx/image/image_unittest_util.cc float scale = ImageSkia::GetMaxSupportedScale(); scale 188 ui/gfx/image/image_unittest_util.cc gfx::SkBitmapToUIImageWithColorSpace(bitmap, scale, color_space); scale 32 ui/gfx/image/image_util.cc if (image_skia_rep.scale() != 1.0f) scale 46 ui/gfx/interpolated_transform_unittest.cc gfx::Transform scale; scale 47 ui/gfx/interpolated_transform_unittest.cc scale.Scale(i, i); scale 49 ui/gfx/interpolated_transform_unittest.cc CheckApproximatelyEqual(scale, interpolated); scale 51 ui/gfx/interpolated_transform_unittest.cc CheckApproximatelyEqual(scale, interpolated); scale 186 ui/gfx/interpolated_transform_unittest.cc scoped_ptr<ui::InterpolatedTransform> scale( scale 205 ui/gfx/interpolated_transform_unittest.cc scale->SetChild(translation.release()); scale 206 ui/gfx/interpolated_transform_unittest.cc rotation_about_pivot->SetChild(scale.release()); scale 31 ui/gfx/shadow_value.cc ShadowValue ShadowValue::Scale(float scale) const { scale 33 ui/gfx/shadow_value.cc gfx::ToFlooredPoint(gfx::ScalePoint(offset_, scale)); scale 34 ui/gfx/shadow_value.cc return ShadowValue(scaled_offset, blur_ * scale, color_); scale 36 ui/gfx/shadow_value.h ShadowValue Scale(float scale) const; scale 71 ui/gfx/skia_util.cc SkScalar bitmap_scale = SkFloatToScalar(image_rep.scale()); scale 249 ui/gfx/transform_unittest.cc float scale; scale 262 ui/gfx/transform_unittest.cc Transform scale; scale 263 ui/gfx/transform_unittest.cc scale.Scale(value.scale, value.scale); scale 264 ui/gfx/transform_unittest.cc xform = scale * xform; scale 268 ui/gfx/transform_unittest.cc if (value.scale == value.scale) { scale 477 ui/gfx/transform_unittest.cc float scale; scale 490 ui/gfx/transform_unittest.cc Transform scale; scale 491 ui/gfx/transform_unittest.cc scale.Scale(value.scale, value.scale); scale 492 ui/gfx/transform_unittest.cc xform = scale * xform; scale 496 ui/gfx/transform_unittest.cc if (value.scale == value.scale) { scale 1288 ui/gfx/transform_unittest.cc EXPECT_EQ(1.0, decomp.scale[i]); scale 1323 ui/gfx/transform_unittest.cc EXPECT_NEAR(decomp.scale[0], degrees + 1, epsilon); scale 1324 ui/gfx/transform_unittest.cc EXPECT_NEAR(decomp.scale[1], 2 * degrees + 1, epsilon); scale 1370 ui/gfx/transform_unittest.cc gfx::Transform scale; scale 1371 ui/gfx/transform_unittest.cc scale.Scale3d(4.0, 10.0, 100.0); scale 1372 ui/gfx/transform_unittest.cc EXPECT_TRUE(scale.IsInvertible()); scale 1375 ui/gfx/transform_unittest.cc bool is_invertible = scale.GetInverse(&inverse_scale); scale 27 ui/gfx/transform_util.cc void Scale3(SkMScalar v[3], SkMScalar scale) { scale 29 ui/gfx/transform_util.cc v[i] *= scale; scale 110 ui/gfx/transform_util.cc SkMScalar scale = 1.0 / m.get(3, 3); scale 113 ui/gfx/transform_util.cc m.set(i, j, m.get(i, j) * scale); scale 208 ui/gfx/transform_util.cc matrix.setScale(SkDoubleToMScalar(decomp.scale[0]), scale 209 ui/gfx/transform_util.cc SkDoubleToMScalar(decomp.scale[1]), scale 210 ui/gfx/transform_util.cc SkDoubleToMScalar(decomp.scale[2])); scale 215 ui/gfx/transform_util.cc decomp.scale[0] = Round(decomp.scale[0]); scale 216 ui/gfx/transform_util.cc decomp.scale[1] = Round(decomp.scale[1]); scale 217 ui/gfx/transform_util.cc decomp.scale[2] = Round(decomp.scale[2]); scale 225 ui/gfx/transform_util.cc const SkMatrix44& scale) { scale 232 ui/gfx/transform_util.cc matrix.preConcat(scale); scale 277 ui/gfx/transform_util.cc Transform GetScaleTransform(const Point& anchor, float scale) { scale 279 ui/gfx/transform_util.cc transform.Translate(anchor.x() * (1 - scale), scale 280 ui/gfx/transform_util.cc anchor.y() * (1 - scale)); scale 281 ui/gfx/transform_util.cc transform.Scale(scale, scale); scale 287 ui/gfx/transform_util.cc scale[0] = scale[1] = scale[2] = 1.0; scale 301 ui/gfx/transform_util.cc Combine<3>(out->scale, to.scale, from.scale, scalea, scaleb); scale 374 ui/gfx/transform_util.cc decomp->scale[0] = Length3(row[0]); scale 375 ui/gfx/transform_util.cc if (decomp->scale[0] != 0.0) scale 376 ui/gfx/transform_util.cc Scale3(row[0], 1.0 / decomp->scale[0]); scale 383 ui/gfx/transform_util.cc decomp->scale[1] = Length3(row[1]); scale 384 ui/gfx/transform_util.cc if (decomp->scale[1] != 0.0) scale 385 ui/gfx/transform_util.cc Scale3(row[1], 1.0 / decomp->scale[1]); scale 387 ui/gfx/transform_util.cc decomp->skew[0] /= decomp->scale[1]; scale 396 ui/gfx/transform_util.cc decomp->scale[2] = Length3(row[2]); scale 397 ui/gfx/transform_util.cc if (decomp->scale[2] != 0.0) scale 398 ui/gfx/transform_util.cc Scale3(row[2], 1.0 / decomp->scale[2]); scale 400 ui/gfx/transform_util.cc decomp->skew[1] /= decomp->scale[2]; scale 401 ui/gfx/transform_util.cc decomp->skew[2] /= decomp->scale[2]; scale 410 ui/gfx/transform_util.cc decomp->scale[i] *= -1.0; scale 441 ui/gfx/transform_util.cc SkMatrix44 scale = BuildScaleMatrix(decomp); scale 443 ui/gfx/transform_util.cc return ComposeTransform(perspective, translation, rotation, skew, scale); scale 454 ui/gfx/transform_util.cc SkMatrix44 scale = BuildSnappedScaleMatrix(decomp); scale 464 ui/gfx/transform_util.cc ComposeTransform(perspective, translation, rotation_matrix, skew, scale); scale 485 ui/gfx/transform_util.cc scale[0], scale 486 ui/gfx/transform_util.cc scale[1], scale 487 ui/gfx/transform_util.cc scale[2], scale 17 ui/gfx/transform_util.h GFX_EXPORT Transform GetScaleTransform(const Point& anchor, float scale); scale 27 ui/gfx/transform_util.h SkMScalar scale[3]; scale 19 ui/gfx/transform_util_unittest.cc Transform scale = GetScaleTransform(kAnchor, kScale); scale 26 ui/gfx/transform_util_unittest.cc scale.TransformPoint(&test); scale 129 ui/gfx/win/dpi.cc void InitDeviceScaleFactor(float scale) { scale 130 ui/gfx/win/dpi.cc DCHECK_NE(0.0f, scale); scale 131 ui/gfx/win/dpi.cc g_device_scale_factor = scale; scale 160 ui/gfx/win/dpi.cc void ForceHighDPISupportForTesting(float scale) { scale 162 ui/gfx/win/dpi.cc g_device_scale_factor = scale; scale 242 ui/gfx/win/dpi.cc static double scale = -1.0; scale 243 ui/gfx/win/dpi.cc if (scale == -1.0) { scale 244 ui/gfx/win/dpi.cc scale = 1.0; scale 252 ui/gfx/win/dpi.cc scale = static_cast<double>(value) / kDefaultDPIX; scale 257 ui/gfx/win/dpi.cc return scale; scale 261 ui/gfx/win/dpi.cc static double scale = scale 264 ui/gfx/win/dpi.cc return scale; scale 20 ui/gfx/win/dpi.h GFX_EXPORT void InitDeviceScaleFactor(float scale); scale 40 ui/gfx/win/dpi.h GFX_EXPORT void ForceHighDPISupportForTesting(float scale); scale 1698 ui/native_theme/native_theme_win.cc float scale = save_transform.eM11; scale 1699 ui/native_theme/native_theme_win.cc if (scale != 1 && save_transform.eM12 == 0) { scale 1702 ui/native_theme/native_theme_win.cc gfx::ScaleRect(rect, scale)); scale 130 ui/views/controls/table/table_header.cc const int scale = base::i18n::IsRTL() ? -1 : 1; scale 140 ui/views/controls/table/table_header.cc SkIntToScalar(indicator_x + kSortIndicatorSize * scale), scale 143 ui/views/controls/table/table_header.cc SkIntToScalar(indicator_x + kSortIndicatorSize / 2 * scale), scale 149 ui/views/controls/table/table_header.cc SkIntToScalar(indicator_x + kSortIndicatorSize * scale), scale 152 ui/views/controls/table/table_header.cc SkIntToScalar(indicator_x + kSortIndicatorSize / 2 * scale), scale 240 ui/views/controls/table/table_header.cc const int scale = base::i18n::IsRTL() ? -1 : 1; scale 241 ui/views/controls/table/table_header.cc const int delta = scale * scale 1684 ui/views/view.cc decomp.scale[0], scale 1685 ui/views/view.cc decomp.scale[1]); scale 1942 ui/views/view_unittest.cc gfx::Transform scale; scale 1943 ui/views/view_unittest.cc scale.Scale(0.8f, 0.5f); scale 1944 ui/views/view_unittest.cc transform.ConcatTransform(scale); scale 89 ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc float scale, scale 64 ui/views/widget/desktop_aura/desktop_native_cursor_manager.h float scale, scale 694 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc float scale = 1; scale 697 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc scale = gfx::Screen::GetScreenFor(root)-> scale 701 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::ToCeiledPoint(gfx::ScalePoint(bounds.origin(), scale)), scale 702 ui/views/widget/desktop_aura/desktop_native_widget_aura.cc gfx::ToFlooredSize(gfx::ScaleSize(bounds.size(), scale))); scale 21 ui/views/widget/desktop_aura/desktop_screen_position_client.cc float scale = gfx::Screen::GetScreenFor(window)-> scale 24 ui/views/widget/desktop_aura/desktop_screen_position_client.cc gfx::ScalePoint(origin_in_pixels, 1 / scale)); scale 41 ui/views/widget/desktop_aura/desktop_screen_x11.cc float scale = screen_dpi / kCSSDefaultDPI; scale 43 ui/views/widget/desktop_aura/desktop_screen_x11.cc return ui::GetImageScale(ui::GetSupportedScaleFactor(scale)); scale 1207 ui/views/win/hwnd_message_handler.cc double scale = gfx::win::GetDeviceScaleFactor(); scale 1208 ui/views/win/hwnd_message_handler.cc layered_window_contents_->sk_canvas()->scale( scale 1209 ui/views/win/hwnd_message_handler.cc SkScalar(scale),SkScalar(scale)); scale 1212 ui/views/win/hwnd_message_handler.cc layered_window_contents_->sk_canvas()->scale( scale 1213 ui/views/win/hwnd_message_handler.cc SkScalar(1.0/scale),SkScalar(1.0/scale)); scale 41 ui/wm/core/cursor_manager.cc void set_scale(float scale) { scale 42 ui/wm/core/cursor_manager.cc scale_ = scale; scale 126 ui/wm/core/cursor_manager.cc void CursorManager::SetScale(float scale) { scale 127 ui/wm/core/cursor_manager.cc state_on_unlock_->set_scale(scale); scale 128 ui/wm/core/cursor_manager.cc if (GetScale() != state_on_unlock_->scale()) scale 129 ui/wm/core/cursor_manager.cc delegate_->SetScale(state_on_unlock_->scale(), this); scale 133 ui/wm/core/cursor_manager.cc return current_state_->scale(); scale 221 ui/wm/core/cursor_manager.cc void CursorManager::CommitScale(float scale) { scale 222 ui/wm/core/cursor_manager.cc current_state_->set_scale(scale); scale 47 ui/wm/core/cursor_manager.h virtual void SetScale(float scale) OVERRIDE; scale 67 ui/wm/core/cursor_manager.h virtual void CommitScale(float scale) OVERRIDE; scale 45 ui/wm/core/cursor_manager_unittest.cc float scale, scale 47 ui/wm/core/cursor_manager_unittest.cc delegate->CommitScale(scale); scale 293 ui/wm/core/image_grid.cc float scale = static_cast<float>(center.width()) / layer_width; scale 294 ui/wm/core/image_grid.cc transform.Scale(scale, 1.0); scale 302 ui/wm/core/image_grid.cc float scale = static_cast<float>(center.height()) / layer_height; scale 303 ui/wm/core/image_grid.cc transform.Scale(1.0, scale); scale 47 ui/wm/core/native_cursor_manager.h float scale, scale 27 ui/wm/core/native_cursor_manager_delegate.h virtual void CommitScale(float scale) = 0; scale 241 ui/wm/core/window_animations.cc gfx::Transform scale = gfx::GetScaleTransform( scale 245 ui/wm/core/window_animations.cc return scale; scale 283 ui/wm/core/window_animations.cc scoped_ptr<ui::InterpolatedTransform> scale(new ui::InterpolatedScale( scale 292 ui/wm/core/window_animations.cc scale.release())); scale 355 ui/wm/core/window_animations.cc scoped_ptr<ui::InterpolatedTransform> scale( scale 360 ui/wm/core/window_animations.cc scale.release())); scale 282 win8/metro_driver/print_document_source.cc float scale = width_ / width; scale 342 win8/metro_driver/print_document_source.cc d2d_context->SetTransform(D2D1::Matrix3x2F(1/scale, 0, 0, 1/scale, 0, 0));